[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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 <glushkov@mail.desy.de>:
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 the Xv extension ===
        Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
        Option "OpenGLOverlay" "off"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn\u2019t work, try using "yes" here
# and disable the kernel agpgart driver.
        Option "UseInternalAGPGART" "no"
        Option "XAANoOffscreenPixmaps" "true"
        Option "AddARGBGLXVisuals" "On"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x800"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x800"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
EndSection

Section "DRI"
        Mode    0666
EndSection

Section "Extensions"
        Option  "Composite" "Enable"
EndSection





Reply to: