Re: ATI 3D acceleleration and dpkg-divert
Hi! Just for closing this thread. I finally got 3d acceleration and OpenGL working well following the installation method from http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html. Celestia and Tuxracer are running smooth. Thanks to everybody Nico Nicolas de Sereville wrote: Hi! A big thanks to everybody who spare some time helping me. I now have the 3D acceleration working! My error was very stupid... As suggested by Wim, when removing my previous installation, the "dpkg --purge fglrx" command left some files that I did not erased, so I had a mix within new and old files. Deleting the directory and compiling again the kernel module was just fine. Also, I tried with two options: DRM compiled in th kernel and without DRM. The results are the same. However, I have some problem with OpenGL. Celestia is crashing with the error: "Unable to resolve GL/GLX symbols - please check your GL library installation." and the tuxracer is not well running. When racing I can see a lot of "flashing triangles". Is there some files I can check to see if OpenGL is well installed? Anyway, I will try now this method (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html) to see if it resolves my OpenGL problem. Thanks again for the help, it's really nice to know that in this community, when you have a problem you can surely resolve it with the help of the list! Nico Nicolas de Sereville wrote: Hi list, I have an Ati 9600XT graphical card and I want to get 3D acceleration with the propriatary drivers (fglrx). I am using debian Sid with the last xserver version (4.3.0.dfsg.1-7). Following the "ATI Radeon Linux How-To", I managed to get the 3D acceleration with the previous xserver version (4.3.0.dfsg.1-6) but overwriting the MESA libGL library with the ATI one, through a "dpkg --force-overwrite -i fglrx.deb". Everything worked well but I had a lot of troubles upgrading the xserver due to the libGL library. So I decided to make use of "dpkg-divert" as suggested on this web page (http://g-tec.co.at/ati_alt.html): dpkg-divert --package fglrx --add /usr/X11R6/lib/libGL.so.1.2 dpkg -i fglrx_4.3.0-4.12_i386.deb Everything went well (no complain about the libGL library) but when running "fglrxinfo", I obtain the following output showing that I am not using the ATI libGL library: display: :0.0 screen: 0 OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 So my question is (sorry for the long introduction): is there a way, using dpkg-divert, to specify which libGL library should be used (the ATI one) in order to have the 3D acceleration working? Thank in advance, Nico -- :-: : Nicolas de SEREVILLE: : I.E.E.C (Institut d'Estudis Espacials de Catalunya) : : Campus UAB - Falcutat de Ciencies : : Torre C-5 - parell - 2a planta : : E-08193 Bellaterra, : : SPAIN : : : : Tel : +34 93 581 43 59 : : Fax : +34 93 581 43 63 : : Web : http://www.ieec.fcr.es: :-: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
On Tue, 21 Sep 2004 19:05:37 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: > Hi! > [...] > > I guess I didn't explain well but I was thinking of the file > /usr/X11R6/lib/libGL.so.1.2.distrib. I can not find it. > I need glasses... The /usr/X11R6/lib/libGL.so.1.2.distrib should be the backup file created by dpkg-divert, if it's not present on that path i think your dpkg status isn't consistent with your system (at least a missing file, i suspect the --force-overwrite you stated at the beginning of this thread =). Andrea -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi! Andrea Vettorello wrote: On Tue, 21 Sep 2004 15:33:01 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: Hi! [...] # dpkg -S /usr/X11R6/lib/libGL.so.1.2 diversion by fglrx from: /usr/X11R6/lib/libGL.so.1.2 diversion by fglrx to: /usr/X11R6/lib/libGL.so.1.2.distrib fglrx, xlibmesa-gl: /usr/X11R6/lib/libGL.so.1.2 So the *.a libraries come from the xlibmesa-gl-dev package, whereas the libGL.so.1.2 is diverted. What I could test is to rename them temporarely and see if I can run tuxracer (after googling I could not find any description of my problem) and celestia. From the diversion of the libGL.so.1.2 library, I can see the /usr/X11R6/lib/libGL.so.1.2.distrib file but cannot find it? is it a real file? $ dpkg -S /usr/X11R6/lib/libGL.so.1.2 xlibmesa-gl: /usr/X11R6/lib/libGL.so.1.2 $ file /usr/X11R6/lib/libGL.so.1.2 /usr/X11R6/lib/libGL.so.1.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped I would say yes... I obtain the same aprt form the "stripped" and "not stripped": # file /usr/X11R6/lib/libGL.so.1.2 /usr/X11R6/lib/libGL.so.1.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped I guess I didn't explain well but I was thinking of the file /usr/X11R6/lib/libGL.so.1.2.distrib. I can not find it. Nico -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
On Tue, 21 Sep 2004 15:33:01 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: > Hi! [...] > > # dpkg -S /usr/X11R6/lib/libGL.so.1.2 > diversion by fglrx from: /usr/X11R6/lib/libGL.so.1.2 > diversion by fglrx to: /usr/X11R6/lib/libGL.so.1.2.distrib > fglrx, xlibmesa-gl: /usr/X11R6/lib/libGL.so.1.2 > > So the *.a libraries come from the xlibmesa-gl-dev package, whereas the > libGL.so.1.2 is diverted. What I could test is to rename them > temporarely and see if I can run tuxracer (after googling I could not > find any description of my problem) and celestia. > > From the diversion of the libGL.so.1.2 library, I can see the > /usr/X11R6/lib/libGL.so.1.2.distrib file but cannot find it? is it a > real file? > $ dpkg -S /usr/X11R6/lib/libGL.so.1.2 xlibmesa-gl: /usr/X11R6/lib/libGL.so.1.2 $ file /usr/X11R6/lib/libGL.so.1.2 /usr/X11R6/lib/libGL.so.1.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped I would say yes... Andrea -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi! However, I have some problem with OpenGL. Celestia is crashing with the error: "Unable to resolve GL/GLX symbols - please check your GL library installation." and the tuxracer is not well running. When racing I can see a lot of "flashing triangles". Is there some files I can check to see if OpenGL is well installed? Anyway, I will try now this method (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html) to see if it resolves my OpenGL problem. Maybe this helps: ls -l /usr/X11R6/lib/libGL* lrwxrwxrwx 1 root root 12 2004-09-19 20:47 /usr/X11R6/lib/libGL.so.1 -> libGL.so.1.2 -rwxr-xr-x 1 root root 798590 2004-07-16 17:23 /usr/X11R6/lib/libGL.so.1.2 lrwxrwxrwx 1 root root 13 2004-09-18 23:20 /usr/X11R6/lib/libGLU.so.1 -> libGLU.so.1.3 -rw-r--r-- 1 root root 500480 2004-09-06 13:16 /usr/X11R6/lib/libGLU.so.1.3 Try finding out where those libGL*.a files on your system come from with dpkg -S . Maybe that is causing problems. I only have these and everything works fine (as far as I can tell, haven't actually tried tuxracer yet). Maybe it's even in the ATI FAQ? ok, I obtain the following from my home directory: # dpkg -S /usr/X11R6/lib/libGL.a xlibmesa-gl-dev: /usr/X11R6/lib/libGL.a # dpkg -S /usr/X11R6/lib/libGL.so.1 xlibmesa-gl-dev: /usr/X11R6/lib/libGL.so.1 # dpkg -S /usr/X11R6/lib/libGL.so.1.2 diversion by fglrx from: /usr/X11R6/lib/libGL.so.1.2 diversion by fglrx to: /usr/X11R6/lib/libGL.so.1.2.distrib fglrx, xlibmesa-gl: /usr/X11R6/lib/libGL.so.1.2 So the *.a libraries come from the xlibmesa-gl-dev package, whereas the libGL.so.1.2 is diverted. What I could test is to rename them temporarely and see if I can run tuxracer (after googling I could not find any description of my problem) and celestia. From the diversion of the libGL.so.1.2 library, I can see the /usr/X11R6/lib/libGL.so.1.2.distrib file but cannot find it? is it a real file? I will let you know as soon as I can test Nico -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, On Tue, 21 Sep 2004 11:32:40 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: > Hi! > > A big thanks to everybody who spare some time helping me. I now have the > 3D acceleration working! My error was very stupid... As suggested by > Wim, when removing my previous installation, the "dpkg --purge fglrx" > command left some files that I did not erased, so I had a mix within new > and old files. Deleting the directory and compiling again the kernel > module was just fine. > Also, I tried with two options: DRM compiled in th kernel and without > DRM. The results are the same. Yes, I suspected as much. the fglrx module seems to have builtin DRM. > > However, I have some problem with OpenGL. Celestia is crashing with the > error: "Unable to resolve GL/GLX symbols - please check your GL library > installation." and the tuxracer is not well running. When racing I can > see a lot of "flashing triangles". > Is there some files I can check to see if OpenGL is well installed? > Anyway, I will try now this method > (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html) > to see if it resolves my OpenGL problem. Maybe this helps: ls -l /usr/X11R6/lib/libGL* lrwxrwxrwx 1 root root 12 2004-09-19 20:47 /usr/X11R6/lib/libGL.so.1 -> libGL.so.1.2 -rwxr-xr-x 1 root root 798590 2004-07-16 17:23 /usr/X11R6/lib/libGL.so.1.2 lrwxrwxrwx 1 root root 13 2004-09-18 23:20 /usr/X11R6/lib/libGLU.so.1 -> libGLU.so.1.3 -rw-r--r-- 1 root root 500480 2004-09-06 13:16 /usr/X11R6/lib/libGLU.so.1.3 Try finding out where those libGL*.a files on your system come from with dpkg -S . Maybe that is causing problems. I only have these and everything works fine (as far as I can tell, haven't actually tried tuxracer yet). Maybe it's even in the ATI FAQ? > > Thanks again for the help, it's really nice to know that in this > community, when you have a problem you can surely resolve it with the > help of the list! Glad to be of help. Wim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi! A big thanks to everybody who spare some time helping me. I now have the 3D acceleration working! My error was very stupid... As suggested by Wim, when removing my previous installation, the "dpkg --purge fglrx" command left some files that I did not erased, so I had a mix within new and old files. Deleting the directory and compiling again the kernel module was just fine. Also, I tried with two options: DRM compiled in th kernel and without DRM. The results are the same. However, I have some problem with OpenGL. Celestia is crashing with the error: "Unable to resolve GL/GLX symbols - please check your GL library installation." and the tuxracer is not well running. When racing I can see a lot of "flashing triangles". Is there some files I can check to see if OpenGL is well installed? Anyway, I will try now this method (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html) to see if it resolves my OpenGL problem. Thanks again for the help, it's really nice to know that in this community, when you have a problem you can surely resolve it with the help of the list! Nico Nicolas de Sereville wrote: Hi list, I have an Ati 9600XT graphical card and I want to get 3D acceleration with the propriatary drivers (fglrx). I am using debian Sid with the last xserver version (4.3.0.dfsg.1-7). Following the "ATI Radeon Linux How-To", I managed to get the 3D acceleration with the previous xserver version (4.3.0.dfsg.1-6) but overwriting the MESA libGL library with the ATI one, through a "dpkg --force-overwrite -i fglrx.deb". Everything worked well but I had a lot of troubles upgrading the xserver due to the libGL library. So I decided to make use of "dpkg-divert" as suggested on this web page (http://g-tec.co.at/ati_alt.html): dpkg-divert --package fglrx --add /usr/X11R6/lib/libGL.so.1.2 dpkg -i fglrx_4.3.0-4.12_i386.deb Everything went well (no complain about the libGL library) but when running "fglrxinfo", I obtain the following output showing that I am not using the ATI libGL library: display: :0.0 screen: 0 OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.3 Mesa 4.0.4 So my question is (sorry for the long introduction): is there a way, using dpkg-divert, to specify which libGL library should be used (the ATI one) in order to have the 3D acceleration working? Thank in advance, Nico -- :-: : Nicolas de SEREVILLE: : I.E.E.C (Institut d'Estudis Espacials de Catalunya) : : Campus UAB - Falcutat de Ciencies : : Torre C-5 - parell - 2a planta : : E-08193 Bellaterra, : : SPAIN : : : : Tel : +34 93 581 43 59 : : Fax : +34 93 581 43 63 : : Web : http://www.ieec.fcr.es: :-: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, Rob Sims wrote: On Sunday 19 September 2004 10:53 am, Nicolas de Sereville wrote: Following the "ATI Radeon Linux How-To", I managed to get the 3D acceleration with the previous xserver version (4.3.0.dfsg.1-6) but overwriting the MESA libGL library with the ATI one, through a "dpkg --force-overwrite -i fglrx.deb". Everything worked well but I had a lot of troubles upgrading the xserver due to the libGL library. So I decided to make use of "dpkg-divert" as suggested on this web page (http://g-tec.co.at/ati_alt.html): dpkg-divert --package fglrx --add /usr/X11R6/lib/libGL.so.1.2 dpkg -i fglrx_4.3.0-4.12_i386.deb Where does /usr/X11R6/lib/libGL.so.1 point now? On my system, it keeps getting set to the diverted library. ll /usr/X11R6/lib/libGL* gives: -rw-r--r--1 root root 666K 2004-09-06 13:16 libGL.a lrwxr-xr-x 1 root root12 2004-09-18 17:41 libGL.so -> libGL.so.1.2* lrwxr-xr-x 1 root root12 2004-09-20 22:19 libGL.so.1 -> libGL.so.1.2* -rwxr-xr-x 1 root root 780K 2004-07-16 17:23 libGL.so.1.2* -rw-r--r--1 root root 651K 2004-09-06 13:16 libGLU.a lrwxr-xr-x 1 root root 13 2004-09-18 17:41 libGLU.so -> libGLU.so.1.3 lrwxr-xr-x 1 root root 13 2004-09-18 17:41 libGLU.so.1 -> libGLU.so.1.3 -rw-r--r--1 root root 489K 2004-09-06 13:16 libGLU.so.1.3 -rw-r--r--1 root root 31K 2004-09-06 13:16 libGLw.a How can I recognize a diverted library? After a "find / -name 'libGL*'" I can only see these libraries. Nico -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
On Sunday 19 September 2004 10:53 am, Nicolas de Sereville wrote: > Following the "ATI Radeon Linux How-To", I managed to get the 3D > acceleration with the previous xserver version (4.3.0.dfsg.1-6) but > overwriting the MESA libGL library with the ATI one, through a "dpkg > --force-overwrite -i fglrx.deb". Everything worked well but I had a > lot of troubles upgrading the xserver due to the libGL library. So I > decided to make use of "dpkg-divert" as suggested on this web page > (http://g-tec.co.at/ati_alt.html): > dpkg-divert --package fglrx --add /usr/X11R6/lib/libGL.so.1.2 > dpkg -i fglrx_4.3.0-4.12_i386.deb Where does /usr/X11R6/lib/libGL.so.1 point now? On my system, it keeps getting set to the diverted library. -- Rob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
On Monday 20 September 2004 16:39, [EMAIL PROTECTED] wrote: > I reread the method I followed to > install the propriatary driver fglrx (http://g-tec.co.at/ati_alt.html) > and I found just before the "Notes about 2.6.x kernels" section that > "DRM" was not supported by the ATI drivers. So get your stuff from the CVS I used. Compile the DRM for your kernel and your card. The "World" make may or may not work or be useful. The instructions definitely apply to 2.6.x kernels. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, Wim De Smet wrote: Hi, On Mon, 20 Sep 2004 10:54:46 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: Hi, Wim De Smet wrote: Hi, On Mon, 20 Sep 2004 01:13:55 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: (WW) fglrx(0): Kernel Module version does *not* match driver. I missed this one. Did you compile the kernel driver again after installing a new version? Maybe the old module is still loaded en you need to unload it first. By "kernel module", do you mean AGP? Anyway I did not compile anything from the kernel after installing the new version of the fglrx drivers. You need to recompile the "fglrx" module. You can find the scripts for it in /lib/modules/fglrx, although there may be a problem there if you didn't purge this directory since the last time you compiled something in it. I would suggest removing this directory, reinstalling your generated .deb, then going into this folder and build a new kernel module. (by going into the build_mod dir and running 'sh make.sh') Ah! it may be that point! When I desinstalled the previous "fglrx" package to upgrade the xserver, it told me that some files could not be erased. But i reinstall the new .deb file and compiled the driver anyway, so I may have a mismatch between old and new files Will try what you suggest as soon as I go home and let you know. Thanks, Nico -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, David Baron wrote: On Monday 20 September 2004 06:30, [EMAIL PROTECTED] wrote: (WW) fglrx(0): Kernel Module version does *not* match driver. The "DRM" must be compiled against the kernel. There will be a means of telling the make which kernel and which module(s) to make. First, untar the kernel source. Create a "linux" symlink from the /usr/src to the kernel source head directory. Then, copy the system config from boot to the linux src folder as .config. make oldconfig. Then, start the kernel compile. Make is enough. You do not have to go through the whole mess. Once it starts doing CC compilations, you can stop it. What this does is makes sure all the .h files are where they are needed. Now compile the DRM--you may need to give it the path the the linux src folder. Finally, copy the resulting .ko file to the appropriate /lib/modules/ . folder. Reboot. A good WIKI can be found here: http://dri.sourceforge.net/cgi-bin/moin.cgi/Building#head-08d485086c70c4b931535491f1ccad21181d731f I used the DRM from this CVS for my ATI rage pro mach64 card but the instructions should be similar for a different source such as flgr. The "make World" from this CVS would not compile successfully but apparently was not needed--stuff from Sid was enough. Thank you for all this information! I reread the method I followed to install the propriatary driver fglrx (http://g-tec.co.at/ati_alt.html) and I found just before the "Notes about 2.6.x kernels" section that "DRM" was not supported by the ATI drivers. In my case and my actual kernel, "DRM" is compiled. So I am a little bit lost. I remember having read on the web (was not abble to find the web page again...) that one way for making work the 3D acceleration was using the ATI propriatary drivers *or* DRM/DRI *or* the gatos project. Am I right? So if I understand well, you suggest to install DRM/DRI and not the propriatary drivers. Ithink I will try first to deal with the propriatary drivers and recompile my kernel without the DRM activated. It may take some time since I am not very used to do that yet! Thanks, Nico -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, On Mon, 20 Sep 2004 10:54:46 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: > Hi, > > > > Wim De Smet wrote: > > >Hi, > >On Mon, 20 Sep 2004 01:13:55 +0200, Nicolas de Sereville > ><[EMAIL PROTECTED]> wrote: > > > > > >>(WW) fglrx(0): Kernel Module version does *not* match driver. > >> > >> > > > >I missed this one. Did you compile the kernel driver again after > >installing a new version? Maybe the old module is still loaded en you > >need to unload it first. > > > > > By "kernel module", do you mean AGP? Anyway I did not compile anything > from the kernel after installing the new version of the fglrx drivers. > You need to recompile the "fglrx" module. You can find the scripts for it in /lib/modules/fglrx, although there may be a problem there if you didn't purge this directory since the last time you compiled something in it. I would suggest removing this directory, reinstalling your generated .deb, then going into this folder and build a new kernel module. (by going into the build_mod dir and running 'sh make.sh') greets, Wim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, Wim De Smet wrote: Hi, On Mon, 20 Sep 2004 01:13:55 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: (WW) fglrx(0): Kernel Module version does *not* match driver. I missed this one. Did you compile the kernel driver again after installing a new version? Maybe the old module is still loaded en you need to unload it first. By "kernel module", do you mean AGP? Anyway I did not compile anything from the kernel after installing the new version of the fglrx drivers. Nico -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, On Mon, 20 Sep 2004 01:13:55 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: > (WW) fglrx(0): Kernel Module version does *not* match driver. I missed this one. Did you compile the kernel driver again after installing a new version? Maybe the old module is still loaded en you need to unload it first. greets, Wim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
On Monday 20 September 2004 06:30, [EMAIL PROTECTED] wrote: > (WW) fglrx(0): Kernel Module version does *not* match driver. The "DRM" must be compiled against the kernel. There will be a means of telling the make which kernel and which module(s) to make. First, untar the kernel source. Create a "linux" symlink from the /usr/src to the kernel source head directory. Then, copy the system config from boot to the linux src folder as .config. make oldconfig. Then, start the kernel compile. Make is enough. You do not have to go through the whole mess. Once it starts doing CC compilations, you can stop it. What this does is makes sure all the .h files are where they are needed. Now compile the DRM--you may need to give it the path the the linux src folder. Finally, copy the resulting .ko file to the appropriate /lib/modules/ . folder. Reboot. A good WIKI can be found here: http://dri.sourceforge.net/cgi-bin/moin.cgi/Building#head-08d485086c70c4b931535491f1ccad21181d731f I used the DRM from this CVS for my ATI rage pro mach64 card but the instructions should be similar for a different source such as flgr. The "make World" from this CVS would not compile successfully but apparently was not needed--stuff from Sid was enough. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, On Mon, 20 Sep 2004 01:13:55 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: > Wim De Smet wrote: > >On Sun, 19 Sep 2004 22:23:23 +0200, Nicolas de Sereville > ><[EMAIL PROTECTED]> wrote: > >>Wim De Smet wrote: > >>>On Sun, 19 Sep 2004 18:53:58 +0200, Nicolas de Sereville > >>><[EMAIL PROTECTED]> wrote: > >>>[...] > >>Running the "groups" command shows that the user belongs to the video > >>group. Also, the fglrx module is loaded (I can see it with lsmod). I > >>think my problem is more related to the instalation procedure and the > >>use of dpkg-divert since I managed to have 3d acceleration with the > >>former version of the xserver but overwriting the libGL library. > >> > > > >Sounds good, but just to be sure check your xfree startup log. I had > >this fail a while back because of AGP support problems. I can't help > >you much with dpkg-divert, but as I recall from trying to change > >things myself the manpages aren't very helpfull and I'm doubtfull if > >they are correct. > > > > > Well, looking at the logs from XFree86.0.log, I can see the following: > > [snip logs] You can select somewhere in the config of X to use an external agpgart. Try compiling agpgart as a module for your kernel (or if you have done that already that would be even better), make sure the fglrx module isn't loaded and load the appropiate agpgart module. Don't forget to edit the X config on this point! Then start X and see if it can connect to it. At least, that's what I would do. greets, Wim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, Wim De Smet wrote: Hi, On Sun, 19 Sep 2004 22:23:23 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: Hi, Wim De Smet wrote: Hi, On Sun, 19 Sep 2004 18:53:58 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: Hi list, I have an Ati 9600XT graphical card and I want to get 3D acceleration with the propriatary drivers (fglrx). I am using debian Sid with the last xserver version (4.3.0.dfsg.1-7). [install stuff...] Are you sure the user you're running fglrxinfo with has access to opengl (eg member of group video) and that you have the ATI kernel module installed? Running the "groups" command shows that the user belongs to the video group. Also, the fglrx module is loaded (I can see it with lsmod). I think my problem is more related to the instalation procedure and the use of dpkg-divert since I managed to have 3d acceleration with the former version of the xserver but overwriting the libGL library. Sounds good, but just to be sure check your xfree startup log. I had this fail a while back because of AGP support problems. I can't help you much with dpkg-divert, but as I recall from trying to change things myself the manpages aren't very helpfull and I'm doubtfull if they are correct. Well, looking at the logs from XFree86.0.log, I can see the following: ... ... (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 (WW) fglrx(0): Kernel Module version does *not* match driver. (EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work (II) fglrx(0): [drm] removed 1 reserved context for kernel (II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe0912000 at 0x4024f000 (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): * * ... ... which doesn't sound good. I just installed the driver from the ATI webpage (after running the alien command). Maybe a problem when compiling the driver, but I took care using the same version of gcc (2.95) that I used for compiling my kernel. Cheers, Nico -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, On Sun, 19 Sep 2004 22:23:23 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: > Hi, > > > > Wim De Smet wrote: > > >Hi, > > > >On Sun, 19 Sep 2004 18:53:58 +0200, Nicolas de Sereville > ><[EMAIL PROTECTED]> wrote: > > > > > >>Hi list, > >> > >>I have an Ati 9600XT graphical card and I want to get 3D acceleration > >>with the propriatary drivers (fglrx). I am using debian Sid with the > >>last xserver version (4.3.0.dfsg.1-7). > >> > >>[install stuff...] > >> > >> > >> > > > >Are you sure the user you're running fglrxinfo with has access to > >opengl (eg member of group video) and that you have the ATI kernel > >module installed? > > > > > > > Running the "groups" command shows that the user belongs to the video > group. Also, the fglrx module is loaded (I can see it with lsmod). I > think my problem is more related to the instalation procedure and the > use of dpkg-divert since I managed to have 3d acceleration with the > former version of the xserver but overwriting the libGL library. Sounds good, but just to be sure check your xfree startup log. I had this fail a while back because of AGP support problems. I can't help you much with dpkg-divert, but as I recall from trying to change things myself the manpages aren't very helpfull and I'm doubtfull if they are correct. greets, Wim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
Hi, On Sun, 19 Sep 2004 18:53:58 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: > Hi list, > > I have an Ati 9600XT graphical card and I want to get 3D acceleration > with the propriatary drivers (fglrx). I am using debian Sid with the > last xserver version (4.3.0.dfsg.1-7). > > [install stuff...] > Are you sure the user you're running fglrxinfo with has access to opengl (eg member of group video) and that you have the ATI kernel module installed? greets, Wim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
On Sun, 19 Sep 2004 21:14:00 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: > Hi, thank you for the very fast reply! (see below for my answer) > [...] > > Anyway, I am not sure to understand well how work dpkg-divert. Does it > allow to have two versions of the same file and to choose which one I > need. If yes, how can I do it? > FWIK dpkg-divert it's used when two packages want to install both a file with the same path, or to avoid that dpkg will overwrite that file when installing a package. So to reply to your question, you can only have one version of a file and dpkg-divert will preserve it when you install a newer package which contains that file. You choose which to use with dpkg-divert, but you should look to the man page cause i've seldom, if never, used it. Hope this was enough clear. Andrea -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ATI 3D acceleleration and dpkg-divert
On Sun, 19 Sep 2004 18:53:58 +0200, Nicolas de Sereville <[EMAIL PROTECTED]> wrote: > Hi list, > > I have an Ati 9600XT graphical card and I want to get 3D acceleration > with the propriatary drivers (fglrx). I am using debian Sid with the > last xserver version (4.3.0.dfsg.1-7). > [...] > > So my question is (sorry for the long introduction): is there a way, > using dpkg-divert, to specify which libGL library should be used (the > ATI one) in order to have the 3D acceleration working? > Don't know if can be of interest, anyway here (http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html) there are some info on how to use the proprietary ATI driver with Debian... Andrea -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]