-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stefan, that solves only one of my problems. Looking at the entries in /var/log/messaes when using the internal agp support shows: Jun 23 10:17:03 jesaja kernel: Fire GL built-in AGP-support Jun 23 10:17:03 jesaja kernel: Based on agpgart interface v0.99 (c) Jeff Hartmann Jun 23 10:17:03 jesaja kernel: agpgart: Maximum main memory to use for agp memory: 439M Jun 23 10:17:03 jesaja kernel: agpgart: Detected SiS 645dx chipset Jun 23 10:17:03 jesaja kernel: agpgart: AGP aperture is 128M @ 0xd0000000 Jun 23 10:17:03 jesaja kernel: Power management callback for AGP chipset installed Jun 23 10:17:03 jesaja kernel: [fglrx] AGP detected, AgpState = 0x1f004e0b (hardware caps of chipset) Jun 23 10:17:03 jesaja kernel: AGP: Found 2 AGPv3 devices Jun 23 10:17:03 jesaja kernel: AGP: Doing enable for AGPv3 Jun 23 10:17:03 jesaja kernel: agpgart: Found an AGP 3.0 compliant device. Jun 23 10:17:03 jesaja kernel: [fglrx:_r6x_CheckAGPCommand] *ERROR* query for AGP device capabilities failed The lines above are written directly after rebooting the pc. If I restart the X server immediately I get: Jun 23 10:17:11 jesaja kernel: AGP: Found 2 AGPv3 devices Jun 23 10:17:11 jesaja kernel: AGP: Doing enable for AGPv3 Jun 23 10:17:11 jesaja kernel: agpgart: Found an AGP 3.0 compliant device. Jun 23 10:17:11 jesaja kernel: [fglrx] AGP enabled, AgpCommand = 0x1f004302 (selected caps) Jun 23 10:17:11 jesaja kernel: [fglrx] free AGP = 121909248 Jun 23 10:17:11 jesaja kernel: [fglrx] max AGP = 121909248 Jun 23 10:17:11 jesaja kernel: [fglrx] total AGP = 32768 So why do I need to restart the X server? Regards, Uwe Am Mittwoch, 23. Juni 2004 11:54 schrieb Stefan Dirsch:
Hi Uwe
Then the agp support for SiS 648 chipsets in the kernel is simply broken. I'll add the information to use the internal agp support of the fglrx kernel module for this chipset by specifying
Option "UseInternalAGPGART" "yes"
to the README.
Stefan
On Wed, Jun 23, 2004 at 11:03:38AM +0200, Uwe Noffke wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Stefan,
in addition to the hwinfo output I just sent to you (didn't arrive in the mailing list, too large) here some messages I found in /var/log/messages:
Jun 23 09:46:57 jesaja kernel: Linux agpgart interface v0.100 (c) Dave Jones Jun 23 09:46:57 jesaja kernel: agpgart: Detected SiS 648 chipset Jun 23 09:46:57 jesaja kernel: agpgart: Maximum main memory to use for agp memory: 439M Jun 23 09:46:57 jesaja kernel: agpgart: unable to determine aperture size. Jun 23 09:46:57 jesaja kernel: agpgart: agp_backend_initialize() failed. Jun 23 09:46:57 jesaja kernel: agpgart-sis: probe of 0000:00:00.0 failed with error -22
I believe the messages above resulted from trying to use the external AGP modules while the messages below result from using the internal AGP modules:
Jun 23 10:17:03 jesaja kernel: Fire GL built-in AGP-support Jun 23 10:17:03 jesaja kernel: Based on agpgart interface v0.99 (c) Jeff Hartmann Jun 23 10:17:03 jesaja kernel: agpgart: Maximum main memory to use for agp memory: 439M Jun 23 10:17:03 jesaja kernel: agpgart: Detected SiS 645dx chipset Jun 23 10:17:03 jesaja kernel: agpgart: AGP aperture is 128M @ 0xd0000000 Jun 23 10:17:03 jesaja kernel: Power management callback for AGP chipset installed Jun 23 10:17:03 jesaja kernel: [fglrx] AGP detected, AgpState = 0x1f004e0b (hardware caps of chipset) Jun 23 10:17:03 jesaja kernel: AGP: Found 2 AGPv3 devices Jun 23 10:17:03 jesaja kernel: AGP: Doing enable for AGPv3 Jun 23 10:17:03 jesaja kernel: agpgart: Found an AGP 3.0 compliant device. Jun 23 10:17:03 jesaja kernel: [fglrx:_r6x_CheckAGPCommand] *ERROR* query for AGP device capabilities failed Jun 23 10:17:11 jesaja kernel: AGP: Found 2 AGPv3 devices Jun 23 10:17:11 jesaja kernel: AGP: Doing enable for AGPv3 Jun 23 10:17:11 jesaja kernel: agpgart: Found an AGP 3.0 compliant device. Jun 23 10:17:11 jesaja kernel: [fglrx] AGP enabled, AgpCommand = 0x1f004302 (selected caps) Jun 23 10:17:11 jesaja kernel: [fglrx] free AGP = 121909248 Jun 23 10:17:11 jesaja kernel: [fglrx] max AGP = 121909248 Jun 23 10:17:11 jesaja kernel: [fglrx] total AGP = 32768
Am Mittwoch, 23. Juni 2004 10:39 schrieb Stefan Dirsch:
Hi Uwe
You mean AGP support via external agp modules does never work and the internal AGP support of the flgrx kernel module only sometimes. Sounds strange. Could you please send me the output of hwinfo so I can have a look at it? Thanks.
Stefan
On Wed, Jun 23, 2004 at 10:16:19AM +0200, Uwe Noffke wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I just managed to install the ATI 3.9.0 drivers. After rebooting the pc and running fglrxinfo I get the following output:
display: :0.0 screen: 0 OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.4 Mesa 5.0.2)
That's not what I would expect. The XFree86.0.log shows the following messages: ... (II) fglrx(0): doing DRIScreenInit drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmGetBusid returned '' (II) fglrx(0): [drm] loaded kernel module for "fglrx" driver (II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0" (II) fglrx(0): [drm] added 8192 byte SAREA at 0xe2948000 (II) fglrx(0): [drm] mapped SAREA 0xe2948000 to 0x402bc000 (II) fglrx(0): [drm] framebuffer handle = 0xd8000000 (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.9.0 (II) fglrx(0): Date: May 11 2004 (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.6.5-7.75-default (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 = 0xe8020000 (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 0xe2948000 at 0x402bc000 (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): ********************************************* * ...
Next, I changed the following line in XF86Config from
Option "UseInternalAGPGART" "no"
to
Option "UseInternalAGPGART" "yes"
Now, after rebooting the XFree86.0.log shows: ... (II) fglrx(0): doing DRIScreenInit drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmGetBusid returned '' (II) fglrx(0): [drm] loaded kernel module for "fglrx" driver (II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0" (II) fglrx(0): [drm] added 8192 byte SAREA at 0xe2948000 (II) fglrx(0): [drm] mapped SAREA 0xe2948000 to 0x402bc000 (II) fglrx(0): [drm] framebuffer handle = 0xd8000000 (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.9.0 (II) fglrx(0): Date: May 11 2004 (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.6.5-7.75-default (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 = 0xe8020000 (II) fglrx(0): [agp] Mode=0x1f004e0b bridge: 0x1039/0x0648 (II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000 (II) fglrx(0): [agp] AGP v3 disable mask 0x00000000 (II) fglrx(0): [agp] enabling AGP with mode=0x1f004f0a (EE) fglrx(0): [agp] Failed to set AGP mode! (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 0xe2948000 at 0x402bc000 (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): ********************************************* * ...
If I restart the X server now (without reboot!) the fglrxinfo output changes to:
display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON 9600 TX Generic OpenGL version string: 1.3 (X4.3.0-3.9.0)
and 3D acceleration works just fine.
The XFree86.0.log now shows: ... (II) fglrx(0): doing DRIScreenInit drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (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 0xe2948000 (II) fglrx(0): [drm] mapped SAREA 0xe2948000 to 0x402bc000 (II) fglrx(0): [drm] framebuffer handle = 0xd8000000 (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.9.0 (II) fglrx(0): Date: May 11 2004 (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.6.5-7.75-default (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 = 0xe8020000 (II) fglrx(0): [agp] Mode=0x1f004e0b bridge: 0x1039/0x0648 (II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000 (II) fglrx(0): [agp] AGP v3 disable mask 0x00000000 (II) fglrx(0): [agp] enabling AGP with mode=0x1f004f0a (II) fglrx(0): [agp] AGP protocoll is enabled for grafics board (cmd=0x1f004302) (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 = 0xeaef6000 (II) fglrx(0): shared FSAAScale=1 (II) fglrx(0): DRI initialization successfull! ...
Any ideas what might be wrong here?
- -- Uwe Noffke Siegfriedstr. 5, DE-35767 Breitscheid Tel: +49 (2777) 912739 Email: Uwe@noffke-online.de
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA2TxcHDhZCBBn3LMRAuFYAKCI6cnpfOZunxKHGUcryKuuj4tNagCfZqey HtMMlYiYmEgmDIawaqclWcI= =kwg9 -----END PGP SIGNATURE-----
-- To unsubscribe check the List-Unsubscribe header For additional commands, email: suse-xfree86-help@suse.com
Public Key available ---------------------------------------------------- Stefan Dirsch (Res. & Dev.) SUSE LINUX AG Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------
- -- Uwe Noffke Siegfriedstr. 5, DE-35767 Breitscheid Tel: +49 (2777) 912739 Email: Uwe@noffke-online.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA2UdyHDhZCBBn3LMRAsbMAJsG21Q0M4T53BxAutSM+xH51QbspwCfR5NK UyctY74e1/F+cBL4QDvIwNw= =0Y09 -----END PGP SIGNATURE-----
Public Key available ---------------------------------------------------- Stefan Dirsch (Res. & Dev.) SUSE LINUX AG Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ----------------------------------------------------
- -- Uwe Noffke Siegfriedstr. 5, DE-35767 Breitscheid Tel: +49 (2777) 912739 Email: Uwe@noffke-online.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA2VZPHDhZCBBn3LMRApcGAJ4jDFrugE8pDI8tjU6pKT+XYigUYQCdEdpF M1XLS8Yzi20Z/E6jnUdRmCI= =KaOU -----END PGP SIGNATURE-----