Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
2.6.20 fglrx Direct rendering
2.6.20 fglrx Direct rendering
Wondering if anyone is using the latest fgrlx (ATI drivers) with 2.6.20?
I downloaded the laters ATI drivers from the ATI site (8.35.5), ran it to create .deb's for Debian/unstable. (Since 'sarge' did not install, it said it needed xorg >7.1.99!). Installed those debs.
Had to download a patch
http://darcs.frugalware.org/repos/fruga ... 6.20.patch
to compile the kernel module, Installed it sucessfully,
checked with modprobe.
Some more info (output edited):
>uname -a
Linux scratchy 2.6.20.6070413 #1 PREEMPT Fri Apr 13 13:26:20 PDT 2007 i686 GNU/Linux
>Xorg -version
X Window System Version 7.1.1
>grep WW /var/log/Xorg.0.log
(WW) The directory "/usr/share/fonts/X11/Speedo/" does not exist.
(WW) Ignoring unrecognized extension "AIGLX"
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
The last is coz am using a dual head config...
>grep EE /var/log/Xorg.0.log
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
(EE) AIGLX: reverting to software rendering
I think this ^ is not an issue
Now the baffling part: (excerpts from xorg log)
(**) fglrx(0): Option "NoDRI" "no"
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): Direct rendering enabled
BUT
>fglrxinfo
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.5 Mesa 6.5.1)
and
>glxinfo |grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
Can anyone help me out here? have googled to no end, cant seem to find this kinda case.
did I miss anything obvious??
I downloaded the laters ATI drivers from the ATI site (8.35.5), ran it to create .deb's for Debian/unstable. (Since 'sarge' did not install, it said it needed xorg >7.1.99!). Installed those debs.
Had to download a patch
http://darcs.frugalware.org/repos/fruga ... 6.20.patch
to compile the kernel module, Installed it sucessfully,
checked with modprobe.
Some more info (output edited):
>uname -a
Linux scratchy 2.6.20.6070413 #1 PREEMPT Fri Apr 13 13:26:20 PDT 2007 i686 GNU/Linux
>Xorg -version
X Window System Version 7.1.1
>grep WW /var/log/Xorg.0.log
(WW) The directory "/usr/share/fonts/X11/Speedo/" does not exist.
(WW) Ignoring unrecognized extension "AIGLX"
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
The last is coz am using a dual head config...
>grep EE /var/log/Xorg.0.log
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
(EE) AIGLX: reverting to software rendering
I think this ^ is not an issue
Now the baffling part: (excerpts from xorg log)
(**) fglrx(0): Option "NoDRI" "no"
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): Direct rendering enabled
BUT
>fglrxinfo
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.5 Mesa 6.5.1)
and
>glxinfo |grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
Can anyone help me out here? have googled to no end, cant seem to find this kinda case.
did I miss anything obvious??
I've been told that ATI has no support for kernel 2.6.20. and will not have until their 8.36 drivers.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
with the patch that the OP mentioned, ati does support 2.6.20. I've got no clue about the specific problem, but maybe you are right in that kernel 2.6.20 is weird with the more complex parts of the ati drivers, eg dual head etc. All I can say is it worked fine with my x1600, but I've only used it in a simple way.
How can you tell? The link is for sure an unofficial one:john-boro wrote:with the patch that the OP mentioned, ati does support 2.6.20.
http://darcs.frugalware.org/repos/fruga ... 6.20.patch
As far as I know, ATI doesn't host its files on Frugalware Linux servers.
Might be interesting for you: The Ubuntu FGLRX packages support 2.6.20.
right. what I did was:
Download the ati driver installer. Try to run it, it runs and exits, and probably shows an error because it can't build the fglrx module.
Go into the directory /lib/modules/fglrx
In here there is a directory called build_mod. Cd into this directory, and copy the patch into it. run 'patch -p5 < [nameofpatch]' and then when it asks you which file to patch, enter firegl_public.c and press enter. It should patch with no errors.
Run ./make.sh from this directory. Then cd .. back into /lib/modules/fglrx. Run ./make_install.sh from this directory. It should run and build the module. You can then 'modprobe fglrx' to load the fglrx module, which will autoload from now on. Use aticonfig as normal to create a working xorg.conf, if you don't have one.
Download the ati driver installer. Try to run it, it runs and exits, and probably shows an error because it can't build the fglrx module.
Go into the directory /lib/modules/fglrx
In here there is a directory called build_mod. Cd into this directory, and copy the patch into it. run 'patch -p5 < [nameofpatch]' and then when it asks you which file to patch, enter firegl_public.c and press enter. It should patch with no errors.
Run ./make.sh from this directory. Then cd .. back into /lib/modules/fglrx. Run ./make_install.sh from this directory. It should run and build the module. You can then 'modprobe fglrx' to load the fglrx module, which will autoload from now on. Use aticonfig as normal to create a working xorg.conf, if you don't have one.
thx john.
Pretty much exactly what I did.
The module compiled (after the patch), loaded and X runs fine with the conf file having 'fglrx' for the driver section.
Even the log files say that 3D rendering should be up
Only glxinfo fails to confirm this, and the gears dont run fast
In your case glxinfo confirms that you have 3D rendering?
Just wanted to know if the problem am having is coz
(a)
there is a miss-match in the driver /kernel code which fails to log the error message for the reason that I dont get 3D rendering...
(b)
umm.. something weird thats happening only to me. Which would be the case if you have 3D enabled and working.
Pretty much exactly what I did.
The module compiled (after the patch), loaded and X runs fine with the conf file having 'fglrx' for the driver section.
Even the log files say that 3D rendering should be up
Only glxinfo fails to confirm this, and the gears dont run fast
In your case glxinfo confirms that you have 3D rendering?
Just wanted to know if the problem am having is coz
(a)
there is a miss-match in the driver /kernel code which fails to log the error message for the reason that I dont get 3D rendering...
(b)
umm.. something weird thats happening only to me. Which would be the case if you have 3D enabled and working.
Did you see Spontan's howto.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
Saw it now. Noticed that the patch was different from what I used, so went through the whole rigmarole using his patch info.
No dice.
If you notice the initial post, I have manged to compile, install and load fglrx.
Some more excerpts from the log file:
Correctly detects my card:
(--) fglrx(0): Chipset: "ATI FireGL V7100" (Chipset = 0x5550)
Load other required things:
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
compiled for 7.1.0, module version = 8.35.5
ABI class: X.Org Server Extension, version 0.3
(--) fglrx(0): VideoRAM: 131072 kByte, Type: DDR3
fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
more good stuff:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.35.5
(II) fglrx(0): Date: Mar 27 2007
(II) fglrx(0): Desc: ATI FireGL 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.20.6070413
(II) fglrx(0): Build-Kernel MODVERSIONS: yes
(II) fglrx(0): Build-Kernel __SMP__: yes
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
And finally, understand the dual head config AND supposedly enables direct rendering.
(II) fglrx(0): Initialized in-driver Xinerama extension
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Solid Lines
Dashed Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
20 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x1
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
And then the error:
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
(EE) AIGLX: reverting to software rendering
Which from my limited understanding (and googling) shouldnt effect output of glxinfo.
And then ( :
glxinfo|grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
No dice.
If you notice the initial post, I have manged to compile, install and load fglrx.
Some more excerpts from the log file:
Correctly detects my card:
(--) fglrx(0): Chipset: "ATI FireGL V7100" (Chipset = 0x5550)
Load other required things:
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
compiled for 7.1.0, module version = 8.35.5
ABI class: X.Org Server Extension, version 0.3
(--) fglrx(0): VideoRAM: 131072 kByte, Type: DDR3
fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
more good stuff:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.35.5
(II) fglrx(0): Date: Mar 27 2007
(II) fglrx(0): Desc: ATI FireGL 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.20.6070413
(II) fglrx(0): Build-Kernel MODVERSIONS: yes
(II) fglrx(0): Build-Kernel __SMP__: yes
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
And finally, understand the dual head config AND supposedly enables direct rendering.
(II) fglrx(0): Initialized in-driver Xinerama extension
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Solid Lines
Dashed Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
20 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x1
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
And then the error:
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
(EE) AIGLX: reverting to software rendering
Which from my limited understanding (and googling) shouldnt effect output of glxinfo.
And then ( :
glxinfo|grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
Disclaimer: Any errors/misstakes in spilling, glammer, tact, or fact are transmission errors
yaye!
googled some more..and then tried:
>setenv LIBGL_DEBUG verbose
>glxgears
and then realised that it was unable to locate fglrx_dri.so!
a quick locate showed me where it was, copied it over as:
cp /usr/ati/usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri/
and now:
>fgl_glxgears
Using GLX_SGIX_pbuffer
5668 frames in 5.0 seconds = 1133.600 FPS
5983 frames in 5.0 seconds = 1196.600 FPS
6342 frames in 5.0 seconds = 1268.400 FPS
muhahahaa
it prolly means I did something wrong initially.
Also wonder why this didnt show up in the log file..
googled some more..and then tried:
>setenv LIBGL_DEBUG verbose
>glxgears
and then realised that it was unable to locate fglrx_dri.so!
a quick locate showed me where it was, copied it over as:
cp /usr/ati/usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri/
and now:
>fgl_glxgears
Using GLX_SGIX_pbuffer
5668 frames in 5.0 seconds = 1133.600 FPS
5983 frames in 5.0 seconds = 1196.600 FPS
6342 frames in 5.0 seconds = 1268.400 FPS
muhahahaa
it prolly means I did something wrong initially.
Also wonder why this didnt show up in the log file..
Disclaimer: Any errors/misstakes in spilling, glammer, tact, or fact are transmission errors
New ATI drivers... Any support for AIGLX? Not in the release notes... Will there ever be? Why oh why did I ever buy anything ATI (besides being an idiot)? *suffering in agony*
EDIT:
And What is up with the supposed catalyst control panel, where is it?
$ dpkg -c fglrx-amdcccle_8.36.5-1_amd64.deb
drwxr-xr-x root/root 0 2007-04-20 17:00 ./
drwxr-xr-x root/root 0 2007-04-20 16:59 ./usr/
drwxr-xr-x root/root 0 2007-04-20 16:59 ./usr/share/
drwxr-xr-x root/root 0 2007-04-20 16:59 ./usr/share/doc/
drwxr-xr-x root/root 0 2007-04-20 16:59 ./usr/share/doc/fglrx-amdcccle/
-rw-r--r-- root/root 10711 2007-04-20 16:59 ./usr/share/doc/fglrx-amdcccle/copyright
I must have used ./ati* --buildpkg Debian/sid wrong...
ANOTHER EDIT:
Ah, found some hint at http://www.rage3d.com/board/showthread.php?t=33886840
Need ia32-libs maybe.
EDIT:
And What is up with the supposed catalyst control panel, where is it?
$ dpkg -c fglrx-amdcccle_8.36.5-1_amd64.deb
drwxr-xr-x root/root 0 2007-04-20 17:00 ./
drwxr-xr-x root/root 0 2007-04-20 16:59 ./usr/
drwxr-xr-x root/root 0 2007-04-20 16:59 ./usr/share/
drwxr-xr-x root/root 0 2007-04-20 16:59 ./usr/share/doc/
drwxr-xr-x root/root 0 2007-04-20 16:59 ./usr/share/doc/fglrx-amdcccle/
-rw-r--r-- root/root 10711 2007-04-20 16:59 ./usr/share/doc/fglrx-amdcccle/copyright
I must have used ./ati* --buildpkg Debian/sid wrong...
ANOTHER EDIT:
Ah, found some hint at http://www.rage3d.com/board/showthread.php?t=33886840
Need ia32-libs maybe.