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

Bug#319689: xorg: GLX/DRI mess up with radeon 9200 and recent kernels



Package: xorg
Followup-For: Bug #319689

Hi

I have been experiencing the same symptoms on my Pegasos II with recent
kernels. Symptoms are as follows:
- When gdm starts up, X hogs the CPU and the screen remains blank or out
  of sync range. It's impossible to switch to VTs, have to ssh into the
  box to reboot it.
- disabling *either* the glx or dri module fixes the issue

Kernels tested:
('-ck' are con kolivas', see http://members.optusnet.com.au/ckolivas/kernel/)
- Debian 2.6.15-1: works
- 2.6.15-ck1: works
- 2.6.15-ck3: might expose the bug sometimes (*)
- 2.6.15-ck4: will almost never work (*)
- 2.6.16 vanilla: doesn't work
- 2.6.16-ck1: doesn't work
- 2.6.16-ck5: doesn't work

Some more comments: the "(*)" above means that the bug will not always
show up with these kernels, that is, it is possible to have a working X
without tweaking the configuration file.
Investigating this a bit more, it seems to me that this bug is somewhat
related to the initialization sequence of the gfx card: depending on the
state it was left before the reboot, screen symptoms won't be exactly
the same (either totally blank, monitor going to suspend mode; or
garbage, monitor showing "out of sync range").
I couldn't tell a difference between cold and hot reboots though.
I also noticed that for the two "(*)" cases, fiddling with "UseFBDev"
setting would have an impact sometimes.

Now some technical data:
lspci -v:
0001:01:08.0 VGA compatible controller: ATI Technologies Inc RV280
[Radeon 9200 SE] (rev 01) (prog-if 00 [VGA])
        Subsystem: ABIT Computer Corp.: Unknown device 6191
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 9
        Memory at c0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at f8001000 [size=256]
        Memory at c8000000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at c8020000 [disabled] [size=128K]
        Capabilities: <available only to root>

0001:01:08.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200
SE] (Secondary) (rev 01)
        Subsystem: ABIT Computer Corp.: Unknown device 6190
        Flags: 66MHz, medium devsel
        Memory at d0000000 (32-bit, prefetchable) [disabled] [size=128M]
        Memory at c8010000 (32-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: <available only to root>

xorg.conf contents:
Section "Files"
        FontPath        "unix/:7100"                    # local font
server
        # if the local font server has problems, we can fall back on
        # these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
        # x-ttcidfont-conf - le rendering est pas top
        #FontPath
"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        #FontPath       "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"

EndSection

Section "Module"
        Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        #Load   "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        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          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "Radeon 9200 SE"
        Driver          "ati"
        BusID           "PCI:01:08:00"
        #VideoRam       131072
        #Option         "UseFBDev"              "true"
        Option          "BusType"               "PCI"
        #Option         "RenderAccel"           "true"
EndSection

Section "Monitor"
        HorizSync       50-100
        VertRefresh     50-90
        Identifier      "HP P920"
        Option          "DPMS"
        Modeline "1280x1024" 150.27 1280 1320 1392 1640 1024 1026 1030 1078  # 150 MHz, 91.6 kHz, 85.0 Hz
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Radeon 9200 SE"
        Monitor         "HP A4575A"
        DefaultDepth    24
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

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

Section "DRI"
        Mode    0666
EndSection

HTH

T-Bone

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (90, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-ck5
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)



Reply to: