Announcement

Collapse
No announcement yet.

AIGLX fails after using VT1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AIGLX fails after using VT1

    I'm running ubuntu 8.04 with catalyst 8.4 from amd/ati driver, M54 (aka X1400 Mobility) laptop

    seems to be a bug that causes AIGLX to disable after using a virtual terminal (C-A-F1)

    when it fails, it prevents logging into session (kde or gnome) and restarts xserver .. on 2nd start AIGLX seems to work and login proceeds normally.

    other times, logout / login freezes after starting VT1 and have to reboot to get back in. Without using a virtual term seems ok.

    these errors appear in the failed (grep EE Xorg.0.log)
    (EE) fglrx(0): [drm] failed to remove DRM signal handler
    (EE) AIGLX error: drmGetMagic failed
    (EE) AIGLX: reverting to software rendering

    diff Xorg.0.log Xorg.0.log.old between working and failed sessions gives:

    23c23
    < (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 23 21:21:39 2008
    ---
    > (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 23 21:20:10 2008
    739c739
    < (II) fglrx(0): [drm] framebuffer handle = 0x1b5000
    ---
    > (II) fglrx(0): [drm] framebuffer handle = 0xda000
    755c755
    < (II) fglrx(0): [drm] register handle = 0x001b7000
    ---
    > (II) fglrx(0): [drm] register handle = 0x000dc000
    944c944,1020
    < (II) AIGLX: Suspending AIGLX clients for VT switch
    ---
    > SetClientVersion: 0 9
    > Warning: LookupDrawable()/SecurityLookupDrawable() are deprecated. Please convert your driver/module to use dixLookupDrawable().
    > Receive 3D performance mode message with status: 00000001
    > (II) XAA: Evicting pixmaps
    > (II) fglrx(0): Shutdown CMMQS
    > (EE) fglrx(0): [drm] failed to remove DRM signal handler
    > (II) fglrx(0): [drm] removed 1 reserved context for kernel
    > (II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xd9000 at 0xb7f39000
    > (II) fglrx(0): [drm] Closed DRM master.
    > (II) Open ACPI successful (/var/run/acpid.socket)
    > (II) APM registered successfully
    > (II) fglrx(0): driver needs X.org 7.1.x.y with x.y >= 0.0
    > (WW) fglrx(0): could not detect X server version (query_status=-3)
    > (II) fglrx(0): doing DRIScreenInit
    > drmOpenDevice: node name is /dev/dri/card0
    > drmOpenDevice: open result is 7, (OK)
    > drmOpenDevice: node name is /dev/dri/card0
    > drmOpenDevice: open result is 7, (OK)
    > drmOpenByBusid: Searching for BusID PCI:1:0:0
    > drmOpenDevice: node name is /dev/dri/card0
    > drmOpenDevice: open result is 7, (OK)
    > drmOpenByBusid: drmOpenMinor returns 7
    > drmOpenByBusid: drmGetBusid reports PCI:1:0:0
    > (II) [drm] DRM interface version 1.0
    > (II) [drm] DRM open master succeeded.
    > (II) fglrx(0): [drm] Using the DRM lock SAREA also for drawables.
    > (II) fglrx(0): [drm] framebuffer handle = 0xda000
    > (II) fglrx(0): [drm] added 1 reserved context for kernel
    > (II) fglrx(0): X context handle = 0x5
    > (II) fglrx(0): [drm] installed DRM signal handler
    > (II) fglrx(0): DRIScreenInit done
    > (II) fglrx(0): Kernel Module Version Information:
    > (II) fglrx(0): Name: fglrx
    > (II) fglrx(0): Version: 8.47.3
    > (II) fglrx(0): Date: Mar 29 2008
    > (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.24-16-generic
    > (II) fglrx(0): Build-Kernel MODVERSIONS: yes
    > (II) fglrx(0): Build-Kernel __SMP__: yes
    > (II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
    > (II) fglrx(0): [drm] register handle = 0x000dc000
    > (II) fglrx(0): Interrupt handler installed at IRQ 16.
    > (II) fglrx(0): Exposed events to the /proc interface
    > (II) fglrx(0): DRI initialization successfull!
    > (II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x01008000
    > (II) fglrx(0): FBMM initialized for area (0,0)-(1728,2432)
    > (II) fglrx(0): FBMM auto alloc for area (0,0)-(1728,1050) (front color buffer - assumption)
    > (II) fglrx(0): Largest offscreen area available: 1728 x 1376
    > (**) fglrx(0): DPMS enabled
    > (**) fglrx(0): Textured Video is enabled.
    > (II) fglrx(0): GLESX enableFlags = 16
    > (II) fglrx(0): GLESX is enabled
    > (II) fglrx(0): Acceleration enabled
    > (II) fglrx(0): [DRI] installation complete
    > (II) fglrx(0): Direct rendering enabled
    > [atiddx] ASYNCIO init succeed!
    > (==) fglrx(0): Using hardware cursor
    > (==) RandR enabled
    > (EE) AIGLX error: drmGetMagic failed
    > (EE) AIGLX: reverting to software rendering
    > (II) Loading sub module "GLcore"
    > (II) LoadModule: "GLcore"
    > (II) Loading /usr/lib/xorg/modules/extensions//libGLcore.so
    > (II) Module GLcore: vendor="X.Org Foundation"
    > compiled for 1.4.0.90, module version = 1.0.0
    > ABI class: X.Org Server Extension, version 0.3
    > (II) GLX: Initialized MESA-PROXY GL provider for screen 0
    > (II) evaluating device (Generic Keyboard)
    > (II) evaluating device (Configured Mouse)
    > (II) evaluating device (Synaptics Touchpad)
    > (II) Configured Mouse: ps2EnableDataReporting: succeeded
    > (--) Synaptics Touchpad auto-dev sets device to /dev/input/event12
    > (**) Option "Device" "/dev/input/event12"
    > (--) Synaptics Touchpad touchpad found
    > Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
    946d1021
    < (II) AIGLX: Resuming AIGLX clients after VT switch
    952,954c1027,1041
    < Warning: LookupDrawable()/SecurityLookupDrawable() are deprecated. Please convert your driver/module to use dixLookupDrawable().
    < Receive 3D performance mode message with status: 00000001
    < (II) XAA: Evicting pixmaps
    ---
    >
    > Backtrace:
    > 0: /usr/bin/X(xf86SigHandler+0x7e) [0x80c780e]
    > 1: [0xb7f53420]
    > 2: /usr/lib/xorg/modules/extensions//libglx.so(__glXleaveServer+0x2c) [0xb7b5936c]
    > 3: /usr/lib/xorg/modules/extensions//libglx.so [0xb7b5997e]
    > 4: /usr/bin/X [0x81506de]
    > 5: /usr/bin/X(Dispatch+0x2cf) [0x808d8df]
    > 6: /usr/bin/X(main+0x48b) [0x807471b]
    > 7: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7cdd450]
    > 8: /usr/bin/X(FontFileCompleteXLFD+0x201) [0x8073a91]
    >
    > Fatal server error:
    > Caught signal 11. Server aborting

  • #2
    Same happens with me on Gentoo using Catalyst 8.522.

    (1) First time kdm starts, everything is fine.
    (2) Then I logout and try to login: no more AIGLX.
    (3) Then I logout: X server crashes.
    (4) Then I restart X server, go to (1)

    Comment


    • #3
      2 things:
      do you have your display manager set to restart xorg on logout? (default is no. turn this option on)
      is atieventsd running? (default is yes. turn it off)

      Comment

      Working...
      X