View previous topic :: View next topic |
Author |
Message |
Anderas Tux's lil' helper
Joined: 08 Sep 2003 Posts: 77
|
Posted: Wed Sep 10, 2003 9:18 pm Post subject: |
|
|
Wedge_ wrote: | Your original post says you're using the kernels AGP support, so have you got both modules loaded? agpgart and probably sis-agp from the look of your lspci output.
I've occasionally had the same kind of problem with some files, particularly XF86Config, where they are overwritten with binary junk and random bits of code, but I've never quite worked out why it happens. |
ReiserFS ;-) |
|
Back to top |
|
|
schoett n00b
Joined: 26 Jan 2003 Posts: 63
|
Posted: Wed Sep 10, 2003 9:28 pm Post subject: |
|
|
Anderas wrote: | Wedge_ wrote: | I've occasionally had the same kind of problem with some files, particularly XF86Config, where they are overwritten with binary junk and random bits of code, but I've never quite worked out why it happens. |
ReiserFS |
Indeed, I use ReiserFS. I take care to sync via SysRq before performing the emergency reboot. Can you explain why I get junk in my files nevertheless? |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Wed Sep 10, 2003 9:33 pm Post subject: |
|
|
I'm using Reiser on my root partition atm, but I'm sure I remember having these problems a few months back when I was using ext3. Some more information would be nice
Edit: When it happens to me, it isn't usually after a complete lockup. Occasionally X just fails to start for some strange reason of it's own, and when I check the log or config they're full of crap.
schoett: is the kernel detecting your AGP chipset properly (check dmesg output)? What happens if you remove the fglrx module from the /lib/modules/<kernelversion>/video dir and try starting X? It should still startup like that, although with any acceleration. Have you tried remerging X with more conservative CFLAGS? _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
schoett n00b
Joined: 26 Jan 2003 Posts: 63
|
Posted: Wed Sep 10, 2003 9:49 pm Post subject: |
|
|
Wedge_ wrote: | schoett: is the kernel detecting your AGP chipset properly (check dmesg output)? |
Code: | Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected SiS 648 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 128M @ 0xd0000000 |
Quote: | What happens if you remove the fglrx module from the /lib/modules/<kernelversion>/video dir and try starting X? |
When I put Code: | Option "no_dri" "yes" | into my /etc/X11/XF86Config, X works fine, but without DRI acceleration. The fglrx module is not loaded in this case. This is my normal mode of operation at the moment. |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Wed Sep 10, 2003 10:34 pm Post subject: |
|
|
Does changing your AGP aperture size make any difference? I wouldn't think so if it's already at 128 though. Are there any unusual settings in your XF86Config? What's your kernel config like? Do you have ACPI and/or APIC support? Is MTRR support compiled in? Does dmesg display any warnings when you load the fglrx module? Do the 2.9.13 drivers work? Does any driver/kernel combination work? Sorry for all the questions, but I don't have any real idea why it's behaving like this You might want to try posting over at Rage3D, someone there may have an idea. A couple of the guys who work on the Linux drivers for ATI also post on that forum. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
Sohryu Asuka Langley Apprentice
Joined: 14 Nov 2002 Posts: 199 Location: Hannover, Germany
|
Posted: Thu Sep 11, 2003 8:26 pm Post subject: |
|
|
I don't want to read the whole thread !!
How do i get the tvout runnin with my 9500 PRO ?!
Atitvout isn't workin for me ! _________________ There are 10 sorts of people on this world.
Who understand binary and don't ! |
|
Back to top |
|
|
Justice n00b
Joined: 12 Sep 2003 Posts: 7
|
Posted: Fri Sep 12, 2003 9:53 am Post subject: Nforce2 and Radeon 9100 |
|
|
Whenever I start x it crashes to a black screen (where I can sometimes Ctrl-Alt-Del).
I am running:
linux-2.4.20-gaming-r5
Xfree 4.3.0-r3
ati-drivers 3.2.5
i have tried with and without a console framebuffer and kernel options pci=noacpi and pci=biosirq
my system is:
AthlonXP 2600+
Epox 8RDA3+ (nforce2 with bios 8/27/2003)
Sapphire Radeon 9100 128M
512M DDR (single stick)
60G Western Digital 8M 7200RPM
Hercules Game Theatre XP
I have read that some people running the Epox 8RDA are having similar issues.
My /var/log/XFree86.0.log reports no errors, and my system is still up when i get the problem, I am able to ssh into the system, but unable to kill X.
I have also tried my GeForce2mx and had exactly the same problem |
|
Back to top |
|
|
Justice n00b
Joined: 12 Sep 2003 Posts: 7
|
Posted: Fri Sep 12, 2003 10:33 am Post subject: Nforce2 and Radeon 9100 |
|
|
I just tried to start x again ( i havent changed anything), this time i was able to see the cursor and move it around, but i could see a broken up picture of: "WindowsXP is now shutting down", this was after i had gone into windows, and rebooted the system back into linux. there was a large artifact at the top of the screen that stretched right across the screen and cam down about 1/6th of the height. |
|
Back to top |
|
|
Gelfling Tux's lil' helper
Joined: 21 Jan 2003 Posts: 106 Location: Avenel, NJ
|
Posted: Fri Sep 12, 2003 5:03 pm Post subject: |
|
|
Okay, I've got the 3.2.5 drivers working (2D, no 3D yet). Now the thing is agpgart is compiled in the ac-sources 2.4.22 kernel. Dmesg tells me:
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: unsupported bridge
agpgart: no supported devices found.
Further down I found this:
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected an Intel 875G Chipset with integrated grapics.
agpgart: unable to get memory for graphics translation table.
[fglrx:firegl_unlock] *ERROR* Process 4200 using kernel context 0
In /var/log/XFree86.0.log I have:
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe0c84000
(II) fglrx(0): [drm] mapped SAREA 0xe0c84000 to 0x40023000
(II) fglrx(0): [drm] framebuffer handle = 0xe0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 3.2.5
(II) fglrx(0): Date: Aug 6 2003
(II) fglrx(0): Desc: ATI Fire GL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.4.22
(II) fglrx(0): Build-Kernel MODVERSIONS: yes
(II) fglrx(0): Build-Kernel __SMP__: yes
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xf5000000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe0c84000 at 0x40023000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
What do I have to do to get 3D support for my video card? _________________ Phanbox64: MSI K8N Neo2, AMD Athlon64 3500+, ATI Radeon 9800XT, Corsair TwinX1024-3200C2 1024MB SDRAM, 2 WD 74GB Raptors & 120GB SATA HD, Audigy2 ZS, Plextor PX-708A DVD-/+RW, Pioneer DVD-106S DVD-ROM, CoolerMaster WaveMaster Case |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Fri Sep 12, 2003 5:51 pm Post subject: |
|
|
Sohryu Asuka Langley wrote: | I don't want to read the whole thread !!
How do i get the tvout runnin with my 9500 PRO ?!
Atitvout isn't workin for me ! |
I thought the new drivers only supported TV out on 9700/9800 cards? Or am I totally wrong?
Justice: have you tried changing the UseInternalAGPGART setting? Does that kernel have nForce2 AGP support?
Gelfing: if you compile AGP support into the kernel, it usually causes problems with the AGP support in the driver. Try building the kernel AGP as modules. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
Justice n00b
Joined: 12 Sep 2003 Posts: 7
|
Posted: Sat Sep 13, 2003 1:35 am Post subject: Nforce2 and Radeon 9100 |
|
|
The kernel does have Nforce2 agp support, and I have tried changing the USEInternalAGP setting. |
|
Back to top |
|
|
Gelfling Tux's lil' helper
Joined: 21 Jan 2003 Posts: 106 Location: Avenel, NJ
|
Posted: Sat Sep 13, 2003 4:00 am Post subject: |
|
|
I tried compiling agpgart as a module, but now the module fails to load when I re-booted my PC. Looking at this error message tells that the agpgart doesn't support my i875P mb.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: unsupported bridge
agpgart: no supported devices found.
If I'm wrong please let me know. I've been playing with the 2.6.0 test kerenls but I haven't had any luck getting it to boot. I just get a black screen after the lilo bootscreen. _________________ Phanbox64: MSI K8N Neo2, AMD Athlon64 3500+, ATI Radeon 9800XT, Corsair TwinX1024-3200C2 1024MB SDRAM, 2 WD 74GB Raptors & 120GB SATA HD, Audigy2 ZS, Plextor PX-708A DVD-/+RW, Pioneer DVD-106S DVD-ROM, CoolerMaster WaveMaster Case |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sat Sep 13, 2003 9:43 am Post subject: |
|
|
Justice: can you always do CTRL-ALT-F1 to get back to a console when you hit the black screen?
Gelfing: In your original post, the first set of agpgart messages are from the kernel, the second from the fglrx module. It looks like the fglrx module does have support for your chipset, so don't load the kernel agpgart module, just make sure you have "UseInternalAGPGART" set to "yes" in your XF86Config, and the fglrx module loaded. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
Merlin-TC l33t
Joined: 16 May 2003 Posts: 603 Location: Germany
|
Posted: Sat Sep 13, 2003 12:27 pm Post subject: |
|
|
Sorry for sounding dump but I don't have any idea how to applay this patch for the test5 kernel.
It would be really kind if someone can explain it a little bit more detailed.
Thanks |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sat Sep 13, 2003 12:58 pm Post subject: |
|
|
Open the ebuild for the driver version you want to emerge in an editor, then find the src_unpack() section. At the end of it you'll see some patch commands. After the last one, add a patch command for the test5 patch. It should look something like this when it's added: Code: | einfo "applying fglrx-2.6-vmalloc-vmaddr"
patch -p1 < ${FILESDIR}/fglrx-2.6-vmalloc-vmaddr.patch
einfo "applying 2.6.0-test5 fix"
patch -p1 < /path/to/fglrx-2.6-test5.patch
fi
} |
_________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
Merlin-TC l33t
Joined: 16 May 2003 Posts: 603 Location: Germany
|
Posted: Sat Sep 13, 2003 1:15 pm Post subject: |
|
|
Mind asking where I can find this patch?
I haven't found anything in this thread.
It should be on the last two pages I guess?
I only found this:
Code: |
423c423
< int minor = minor(inode->i_rdev);
---
> int minor = MINOR(inode->i_rdev);
849c849
< return minor(inode->i_rdev);
---
> return MINOR(inode->i_rdev);
|
Hope you will help me out again
Thanks |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sat Sep 13, 2003 1:24 pm Post subject: |
|
|
Try using this one. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
Merlin-TC l33t
Joined: 16 May 2003 Posts: 603 Location: Germany
|
Posted: Sat Sep 13, 2003 5:01 pm Post subject: |
|
|
Thanks once again Wedge, worked like a charm |
|
Back to top |
|
|
Justice n00b
Joined: 12 Sep 2003 Posts: 7
|
Posted: Sat Sep 13, 2003 5:02 pm Post subject: Nforce2 and Radeon 9100 |
|
|
I can never Ctrl-Alt-Fx but i can usually Ctrl-Alt-Del and the system will reboot |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sat Sep 13, 2003 5:03 pm Post subject: |
|
|
Can you post your logfile from one of the times it crashed? _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
jani80k n00b
Joined: 07 Aug 2003 Posts: 40
|
Posted: Sat Sep 13, 2003 7:31 pm Post subject: Freaking FGLRX |
|
|
Hello!
Please help me!
I am desperate. Whatever Kernel whether with or without agpgart/drm I am running, whatever version of the ati-drivers 2.9.12 - 3.2.5 I am using, I will always get an
(EE) No devices detected.
by XF86 4.3
I tried to change the BUS ID or even commented it out in the config file. I also tried internal and external agpgart. FGLRX seems to compile ok. modprobe flgrx works ok, too.
Please help me!! I don't know what to do anymore!!
MB: AsusA7N8X, Radeon 9500 PRO _________________ ...Linux is for free, if your time has no value. |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sat Sep 13, 2003 7:59 pm Post subject: |
|
|
Post your logfile (/var/log/XFree86.0.log). The "No screens detected" may not be the only error message. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
jani80k n00b
Joined: 07 Aug 2003 Posts: 40
|
Posted: Sun Sep 14, 2003 1:03 am Post subject: |
|
|
OK. I am getting closer ...
It seems, that the driver is not being loaded properly, maybe its not even being recognized by xfree. i can change the driver option in the xfree config file from "fglrx" to "blah" and i get the very same error message...if i change it to "ati" everything works ok!
what could have gone wrong with emerging the drivers, so that xfree doesn't recognize it?
EDIT:
cat /pro/dri/0/name puts out: fglrx 0xe200
A second question: could it be possible, that ati-drivers dont support 9500 pro?? _________________ ...Linux is for free, if your time has no value. |
|
Back to top |
|
|
Justice n00b
Joined: 12 Sep 2003 Posts: 7
|
Posted: Sun Sep 14, 2003 2:10 am Post subject: Nforce2 and Radeon 9100 |
|
|
The log never reports any errors. |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sun Sep 14, 2003 11:39 am Post subject: |
|
|
jani80k wrote: | OK. I am getting closer ...
It seems, that the driver is not being loaded properly, maybe its not even being recognized by xfree. i can change the driver option in the xfree config file from "fglrx" to "blah" and i get the very same error message...if i change it to "ati" everything works ok!
what could have gone wrong with emerging the drivers, so that xfree doesn't recognize it? |
Emerge the drivers again and check for any error messages. Have you run fglrxconfig?
jani80k wrote: | A second question: could it be possible, that ati-drivers dont support 9500 pro?? |
They should support that card. If you look at the Xfree logfile, you should see something like this: Code: | (II) FireGL8700/8800: Driver for chipset: ATI RV250 Id (R9000),
ATI RV250 Ie (R9000), ATI RV250 If (R9000), ATI RV250 Ig (R9000),
ATI RV250 Ld (M9), ATI RV250 Le (M9), ATI RV250 Lf (M9),
ATI RV250 Lg (M9), ATI RV280 5960 (R9200 PRO), ATI RV280 Ya (R9200),
ATI RV250 5C61 (M9+), ATI RV250 5C63 (M9+), ATI R200 QH (R8500),
ATI R200 QL (R8500), ATI R200 QM (R9100), ATI R200 QT (R8500),
ATI R200 QU (R9100), ATI R200 BB (R8500), ATI RV350 AP (R9600),
ATI RV350 AR (R9600 PRO), ATI RV350 NP (M10), ATI R300 AD (R9500),
ATI R300 AE (R9500), ATI R300 AF (R9500),
ATI R300 AG (Fire GL Z1/X1), ATI R300 ND (R9700 PRO),
ATI R300 NE (R9700/R9500 PRO), ATI R300 NF (R9600 TX),
ATI R300 NG (Fire GL X1), ATI R350 AK (Fire GL unknown),
ATI RV350 AT (Fire GL T2), ATI RV350 AU (Fire GL T2),
ATI RV350 AV (Fire GL T2), ATI RV350 AW (Fire GL T2),
ATI R350 NH (R9800), ATI R350 NK (Fire GL unknown) | and the 9500 Pro is listed there.
Justice: what are the last few lines in the log? Does it get past the section that looks like this?: Code: | (II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.0-test5-love3
(II) fglrx(0): Build-Kernel MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xe3000000
(II) fglrx(0): [agp] Mode=0x1f00421b bridge: 0x10de/0x01e0
(II) fglrx(0): [agp] AGP disable mask 0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f00431a
(II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f004312)
(II) fglrx(0): [agp] grafics chipset has AGP v3.0 (native mode)
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xe9c48000 |
Does it work if you set "no_dri" to "yes"? _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
|