fglrx, kernel 2.6.20, dri and composite problem
Hi all, I was running happily Debian Unstable for 3 years, when finally my hard drive died, and I had to install Debian from scratch. I want to install beryl http://wiki.beryl-project.org/wiki/Install/Debian Very nice outlook which obviously requires 3D acceleration and (as outlined on the page above) the option: Section "Extensions" Option "Composite" "Enable" EndSection I tried kernels 2.6.19 and 2.6.20 with the latest ati drivers (8.33.6-1) and the ones included in Debian (2.28.8). In a short what I did is: # ln -sf bash /bin/sh # bash ./ati-driver-installer-8.33.6-x86.x86_64.run --buildpkg Debian/unstable # dpkg -i *.deb # cd /usr/src # tar -jxvf fglrx.tar.bz2 # cd /usr/src/modules/fglrx/ # module-assistant prepare # module-assistant a-i fglrx restarting x... ===> kernel 2.6.20 (with both driver versions), the module cannot compile at all, complaining about . /usr/src/modules/fglrx/firegl_public.c:198: error: expected declaration specifiers or \u2018...\u2019 before \u2018mlock\u2019 /usr/src/modules/fglrx/firegl_public.c:198: error: expected declaration specifiers or \u2018...\u2019 before \u2018addr\u2019 ... .. ===> kernel 2.6.19 (with both driver versions), 3D acceleration works if Section "Extensions" Option "Composite" "Disable" EndSection But if I enable it I get: % fglrxinfo Xlib: extension "XFree86-DRI" missing on display ":0.0". 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) % glxgears Xlib: extension "XFree86-DRI" missing on display ":0.0". Any idea how to solve this? Nothing useful in google.. Cheers, Ivan P.S. Attached are /etc/X11/xorg.conf and /var/log/Xorg.0.log # /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section "Files" FontPath"/usr/share/fonts/X11/misc" # FontPath"/usr/X11R6/lib/X11/fonts/misc" # FontPath"/usr/share/fonts/X11/cyrillic" # FontPath"/usr/X11R6/lib/X11/fonts/cyrillic" FontPath"/usr/share/fonts/X11/100dpi/:unscaled" # FontPath"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath"/usr/share/fonts/X11/75dpi/:unscaled" # FontPath"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath"/usr/share/fonts/X11/Type1" # FontPath"/usr/X11R6/lib/X11/fonts/Type1" FontPath"/usr/share/fonts/X11/100dpi" # FontPath"/usr/X11R6/lib/X11/fonts/100dpi" FontPath"/usr/share/fonts/X11/75dpi" # FontPath"/usr/X11R6/lib/X11/fonts/75dpi" # path to defoma fonts # FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" #Load"GLcore" Load"i2c" Load"bitmap" Load"ddc" Load"dri" Load"freetype" #Load"GLcore" Load"glx" Load"dri" Load"extmod" Load"int10" Load"vbe" Load"GLcore" SubSection "extmod" Option "omit xfree86-dga" EndSubSection EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device""/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" EndSection Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents""true" Option "Device""/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" EndSection Section "Device" Identifier "ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]" Driver "fglrx" # BusID "PCI:1:0:0" #uncomment if the desired resolution is not supported #Option "NoDDC" # === Video Overlay for
Re: fglrx, kernel 2.6.20, dri and composite problem
Hi, Ivan Glushkov schrieb: [..] ===> kernel 2.6.19 (with both driver versions), 3D acceleration works if Section "Extensions" Option "Composite" "Disable" EndSection But if I enable it I get: % fglrxinfo Xlib: extension "XFree86-DRI" missing on display ":0.0". 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) Sorry, IIRC there is no way to use fglrx with Composite enabeld since ATI does not support the Composite extension, not even in their latest driver. One side effect of enabling Composite is a non functional DRI. It's a pity, but that's the way it used to be. :-( But I read that ATI developers intend to support it somewhere in the future ...maybe version 9.x of the fglrx driver. But no idea how long this may take. If you insist to use these nice 3d desktop effects with an ATI proprietary driver you should use the Xgl server instead of the usual Xorg server. HTH, Andre -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: fglrx, kernel 2.6.20, dri and composite problem
Hi! As far as I know, the official fglrx drivers doesn't allow composite. I have an Ati mobility radeon X700 and I didn't manage to activate composite with those drivers. BUT, on january, debian released new mesa glx and dri packages which supports 3D hardware acceleration for my card, and allows composite. Compiz-xgl works fine, I haven't try beryl. The section device is like this in my case: Section "Device" Identifier "Ati Mobility Radeon X700" Driver "radeon" Option "MonitorLayout" "LVDS,AUTO" #Without this I only see a blank screen, I think it's because of the screen size... not sure Try the free drivers. Greetings! -Inko- 2007/2/15, Ivan Glushkov <[EMAIL PROTECTED]>: Hi all, I was running happily Debian Unstable for 3 years, when finally my hard drive died, and I had to install Debian from scratch. I want to install beryl http://wiki.beryl-project.org/wiki/Install/Debian Very nice outlook which obviously requires 3D acceleration and (as outlined on the page above) the option: Section "Extensions" Option "Composite" "Enable" EndSection I tried kernels 2.6.19 and 2.6.20 with the latest ati drivers (8.33.6-1) and the ones included in Debian (2.28.8). In a short what I did is: # ln -sf bash /bin/sh # bash ./ati-driver-installer-8.33.6-x86.x86_64.run --buildpkg Debian/unstable # dpkg -i *.deb # cd /usr/src # tar -jxvf fglrx.tar.bz2 # cd /usr/src/modules/fglrx/ # module-assistant prepare # module-assistant a-i fglrx restarting x... ===> kernel 2.6.20 (with both driver versions), the module cannot compile at all, complaining about . /usr/src/modules/fglrx/firegl_public.c:198: error: expected declaration specifiers or \u2018...\u2019 before \u2018mlock\u2019 /usr/src/modules/fglrx/firegl_public.c:198: error: expected declaration specifiers or \u2018...\u2019 before \u2018addr\u2019 ... .. ===> kernel 2.6.19 (with both driver versions), 3D acceleration works if Section "Extensions" Option "Composite" "Disable" EndSection But if I enable it I get: % fglrxinfo Xlib: extension "XFree86-DRI" missing on display ":0.0". 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) % glxgears Xlib: extension "XFree86-DRI" missing on display ":0.0". Any idea how to solve this? Nothing useful in google.. Cheers, Ivan P.S. Attached are /etc/X11/xorg.conf and /var/log/Xorg.0.log # /etc/X11/xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the /etc/X11/xorg.conf manual page. # (Type "man /etc/X11/xorg.conf" at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section "Files" FontPath"/usr/share/fonts/X11/misc" # FontPath"/usr/X11R6/lib/X11/fonts/misc" # FontPath"/usr/share/fonts/X11/cyrillic" # FontPath"/usr/X11R6/lib/X11/fonts/cyrillic" FontPath"/usr/share/fonts/X11/100dpi/:unscaled" # FontPath"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath"/usr/share/fonts/X11/75dpi/:unscaled" # FontPath"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath"/usr/share/fonts/X11/Type1" # FontPath"/usr/X11R6/lib/X11/fonts/Type1" FontPath"/usr/share/fonts/X11/100dpi" # FontPath"/usr/X11R6/lib/X11/fonts/100dpi" FontPath"/usr/share/fonts/X11/75dpi" # FontPath"/usr/X11R6/lib/X11/fonts/75dpi" # path to defoma fonts # FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" #Load"GLcore" Load"i2c" Load"bitmap" Load"ddc" Load"dri" Load"freetype" #Load"GLcore" Load"glx" Load"dri" Load"extmod" Load"int10" Load"vbe" Load"GLcore" SubSection "extmod" Option "omit xfree86-dga" EndSubSection EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc104" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer"
Re: fglrx, kernel 2.6.20, dri and composite problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Inko, thanks for the advice. Could you point me to a how-to for installation of xgl + compiz (preferrebly + KDE) on Debian? I found some repository, but nothing useful. How did you install those? Cheers, Ivan Inko IA wrote: > Hi! > > As far as I know, the official fglrx drivers doesn't allow composite. > > I have an Ati mobility radeon X700 and I didn't manage to activate > composite with those drivers. BUT, on january, debian released new > mesa glx and dri packages which supports 3D hardware acceleration for > my card, and allows composite. Compiz-xgl works fine, I haven't try > beryl. > The section device is like this in my case: > > Section "Device" > Identifier "Ati Mobility Radeon X700" > Driver "radeon" >Option "MonitorLayout" "LVDS,AUTO" #Without this I only > see a blank screen, I think it's because of the screen size... not > sure > > > Try the free drivers. > > Greetings! > > -Inko- > > > > 2007/2/15, Ivan Glushkov <[EMAIL PROTECTED]>: >> Hi all, >> >> I was running happily Debian Unstable for 3 years, when finally my hard >> drive died, and I had to install Debian from scratch. I want to install >> beryl >> >> http://wiki.beryl-project.org/wiki/Install/Debian >> >> Very nice outlook which obviously requires 3D acceleration and (as >> outlined on the page above) the >> option: >> >> Section "Extensions" >> Option "Composite" "Enable" >> EndSection >> >> I tried kernels 2.6.19 and 2.6.20 with the latest ati drivers (8.33.6-1) >> and the ones included in Debian (2.28.8). In a short what I did is: >> >> # ln -sf bash /bin/sh >> # bash ./ati-driver-installer-8.33.6-x86.x86_64.run --buildpkg >> Debian/unstable >> # dpkg -i *.deb >> # cd /usr/src >> # tar -jxvf fglrx.tar.bz2 >> # cd /usr/src/modules/fglrx/ >> # module-assistant prepare >> # module-assistant a-i fglrx >> restarting x... >> >> ===> kernel 2.6.20 (with both driver versions), the module cannot >> compile at all, complaining about >> >> . >> /usr/src/modules/fglrx/firegl_public.c:198: error: expected declaration >> specifiers or \u2018...\u2019 before \u2018mlock\u2019 >> /usr/src/modules/fglrx/firegl_public.c:198: error: expected declaration >> specifiers or \u2018...\u2019 before \u2018addr\u2019 ... >> .. >> >> ===> kernel 2.6.19 (with both driver versions), 3D acceleration works if >> >> Section "Extensions" >> Option "Composite" "Disable" >> EndSection >> >> But if I enable it I get: >> >> % fglrxinfo >> Xlib: extension "XFree86-DRI" missing on display ":0.0". >> 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) >> >> % glxgears >> Xlib: extension "XFree86-DRI" missing on display ":0.0". >> >> >> Any idea how to solve this? Nothing useful in google.. >> >> Cheers, >> Ivan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF1a+RoPV3uf0E1nsRAsrtAJ4kMD53rkC5YlWJU5SfBJsfODxJOgCePsp/ SjGzP/1t4bf6tgD1UVZZcFY= =smda -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: fglrx, kernel 2.6.20, dri and composite problem
Hi Ivan! I used one of this Howtos, I don't remember which one: http://wiki.debian.org/Compiz http://sonique54.free.fr/xgl/xgl.htm BUT, I think Compiz xgl is for gnome. I remember that once I executed it on KDE and it changed the windows schemes to a gnome ones. Maybe there are some options in the config files somewhere, but I haven't check anything... Good luck! Greetings! -Inko- 2007/2/16, Ivan Glushkov <[EMAIL PROTECTED]>: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Inko, thanks for the advice. Could you point me to a how-to for installation of xgl + compiz (preferrebly + KDE) on Debian? I found some repository, but nothing useful. How did you install those? Cheers, Ivan Inko IA wrote: > Hi! > > As far as I know, the official fglrx drivers doesn't allow composite. > > I have an Ati mobility radeon X700 and I didn't manage to activate > composite with those drivers. BUT, on january, debian released new > mesa glx and dri packages which supports 3D hardware acceleration for > my card, and allows composite. Compiz-xgl works fine, I haven't try > beryl. > The section device is like this in my case: > > Section "Device" > Identifier "Ati Mobility Radeon X700" > Driver "radeon" >Option "MonitorLayout" "LVDS,AUTO" #Without this I only > see a blank screen, I think it's because of the screen size... not > sure > > > Try the free drivers. > > Greetings! > > -Inko- > > > > 2007/2/15, Ivan Glushkov <[EMAIL PROTECTED]>: >> Hi all, >> >> I was running happily Debian Unstable for 3 years, when finally my hard >> drive died, and I had to install Debian from scratch. I want to install >> beryl >> >> http://wiki.beryl-project.org/wiki/Install/Debian >> >> Very nice outlook which obviously requires 3D acceleration and (as >> outlined on the page above) the >> option: >> >> Section "Extensions" >> Option "Composite" "Enable" >> EndSection >> >> I tried kernels 2.6.19 and 2.6.20 with the latest ati drivers (8.33.6-1) >> and the ones included in Debian (2.28.8). In a short what I did is: >> >> # ln -sf bash /bin/sh >> # bash ./ati-driver-installer-8.33.6-x86.x86_64.run --buildpkg >> Debian/unstable >> # dpkg -i *.deb >> # cd /usr/src >> # tar -jxvf fglrx.tar.bz2 >> # cd /usr/src/modules/fglrx/ >> # module-assistant prepare >> # module-assistant a-i fglrx >> restarting x... >> >> ===> kernel 2.6.20 (with both driver versions), the module cannot >> compile at all, complaining about >> >> . >> /usr/src/modules/fglrx/firegl_public.c:198: error: expected declaration >> specifiers or \u2018...\u2019 before \u2018mlock\u2019 >> /usr/src/modules/fglrx/firegl_public.c:198: error: expected declaration >> specifiers or \u2018...\u2019 before \u2018addr\u2019 ... >> .. >> >> ===> kernel 2.6.19 (with both driver versions), 3D acceleration works if >> >> Section "Extensions" >> Option "Composite" "Disable" >> EndSection >> >> But if I enable it I get: >> >> % fglrxinfo >> Xlib: extension "XFree86-DRI" missing on display ":0.0". >> 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) >> >> % glxgears >> Xlib: extension "XFree86-DRI" missing on display ":0.0". >> >> >> Any idea how to solve this? Nothing useful in google.. >> >> Cheers, >> Ivan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF1a+RoPV3uf0E1nsRAsrtAJ4kMD53rkC5YlWJU5SfBJsfODxJOgCePsp/ SjGzP/1t4bf6tgD1UVZZcFY= =smda -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: fglrx, kernel 2.6.20, dri and composite problem [SOLVED]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I guess it is clear for all, but it was not for me.. One should completely _remove_ ati proprietary driver, before trying to use the open source one, since it changes /usr/lib/libGL.so. After removing it and including: deb http://debian.beryl-project.org/ etch main deb-src http://debian.beryl-project.org/ etch main in my sources.list, and running apt-get update; apt-get install beryl, I have radeon driver + composite + kernel 2.6.20 + beryl up and running :) Cheers, Ivan Inko IA wrote: > Hi Ivan! > > I used one of this Howtos, I don't remember which one: > > http://wiki.debian.org/Compiz > http://sonique54.free.fr/xgl/xgl.htm > > BUT, I think Compiz xgl is for gnome. I remember that once I executed > it on KDE and it changed the windows schemes to a gnome ones. Maybe > there are some options in the config files somewhere, but I haven't > check anything... > Good luck! > > Greetings! > > -Inko- > > 2007/2/16, Ivan Glushkov <[EMAIL PROTECTED]>: > Hi Inko, > > thanks for the advice. Could you point me to a how-to for installation > of xgl + compiz (preferrebly + KDE) on Debian? I found some repository, > but nothing useful. How did you install those? > > Cheers, > Ivan > > Inko IA wrote: >> Hi! > >> As far as I know, the official fglrx drivers doesn't allow composite. > >> I have an Ati mobility radeon X700 and I didn't manage to activate >> composite with those drivers. BUT, on january, debian released new >> mesa glx and dri packages which supports 3D hardware acceleration for >> my card, and allows composite. Compiz-xgl works fine, I haven't try >> beryl. >> The section device is like this in my case: > >> Section "Device" >> Identifier "Ati Mobility Radeon X700" >> Driver "radeon" >>Option "MonitorLayout" "LVDS,AUTO" #Without this I only >> see a blank screen, I think it's because of the screen size... not >> sure > > >> Try the free drivers. > >> Greetings! > >> -Inko- > > > >> 2007/2/15, Ivan Glushkov <[EMAIL PROTECTED]>: >>> Hi all, > >>> I was running happily Debian Unstable for 3 years, when finally my > hard >>> drive died, and I had to install Debian from scratch. I want to > install >>> beryl > >>> http://wiki.beryl-project.org/wiki/Install/Debian > >>> Very nice outlook which obviously requires 3D acceleration and (as >>> outlined on the page above) the >>> option: > >>> Section "Extensions" >>> Option "Composite" "Enable" >>> EndSection > >>> I tried kernels 2.6.19 and 2.6.20 with the latest ati drivers > (8.33.6-1) >>> and the ones included in Debian (2.28.8). In a short what I did is: > >>> # ln -sf bash /bin/sh >>> # bash ./ati-driver-installer-8.33.6-x86.x86_64.run --buildpkg >>> Debian/unstable >>> # dpkg -i *.deb >>> # cd /usr/src >>> # tar -jxvf fglrx.tar.bz2 >>> # cd /usr/src/modules/fglrx/ >>> # module-assistant prepare >>> # module-assistant a-i fglrx >>> restarting x... > >>> ===> kernel 2.6.20 (with both driver versions), the module cannot >>> compile at all, complaining about > >>> . >>> /usr/src/modules/fglrx/firegl_public.c:198: error: expected > declaration >>> specifiers or \u2018...\u2019 before \u2018mlock\u2019 >>> /usr/src/modules/fglrx/firegl_public.c:198: error: expected > declaration >>> specifiers or \u2018...\u2019 before \u2018addr\u2019 ... >>> .. > >>> ===> kernel 2.6.19 (with both driver versions), 3D acceleration > works if > >>> Section "Extensions" >>> Option "Composite" "Disable" >>> EndSection > >>> But if I enable it I get: > >>> % fglrxinfo >>> Xlib: extension "XFree86-DRI" missing on display ":0.0". >>> 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) > >>> % glxgears >>> Xlib: extension "XFree86-DRI" missing on display ":0.0". > > >>> Any idea how to solve this? Nothing useful in google.. > >>> Cheers, >>> Ivan >> >> - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] >> >> -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF2bFmoPV3uf0E1nsRAvoOAKCwOdWkJMYY5hYDC8w0k9NLzmzaXwCeOgM7 T32wUgUqnEjC+vB1yNGO99g= =1oLS -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]