You are not logged in.

#1 2009-01-19 07:23:44

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

logout crashes system when using fglrx [SOLVED]

Hi guys,

I admit I'm a little annoyed about X related issues with Arch on my thinkpad T400, none of choice is working totally fine on it now. It has ATI HD3470 discrete card and Intel X4500 integrated card, I've tried all available dirvers: xf86-video-ati, xf86-video-radeonhd, catalyst(fglrx) and xf86-video-intel. Here are problem descriptions:

1, Intel X4500 + xf86-video-intel
This scheme is the best working choice at present. Everything is fine, except cannot pass 3D acceleration test in Cedega. glxinfo shows direct rendering is "yes", and openGL direct rendering test in Cedega is passed. With 3D acceleration test failed, I cannot run any games in it. Glxgears shows 420FPS with Intel X4500

2, ATI HD3470 + xf86-video-ati / xf86-video-radeonhd
Annoying! I'm not sure how well the open source driver support my card, surely they are working, but only provide very basically performance. 3D acceleration test in Cedega cannot pass either, while direct rendering is "yes" in glxinfo too! Besides this, the really annoying thing is laptop FAN is keep running with these two drivers, even CPU occupation is ZERO. Glxgears shows 370FPS with radeon or radeonhd.

3, ATI HD3470 + catalyst
This scheme provides best performance, that 3D acceleration test in Cedega can pass, and the game plays smoothly. However, this driver has a frustrated problem: It works fine when first boot up, but if I logout, then X would crash to a black screen, and both keyboard and mouse lost response. Only press power button for 3 seconds to hardly shutdown can leave the mess. More details can refer to: http://bbs.archlinux.org/viewtopic.php?id=62413
Glxgears shows 1200FPS with fglrx.

I guess a comparison is suitable here, with fglrx+ubuntu installed on this laptop, Glxgears shows 3200FPS, and it works totally fine without logging out to black screen problem either. I'm a newbie switched from Ubuntu to Arch, I love the Arch way. But I have to say, I DO NOT like the Arch's X way. sad

Hope someone who has the same hardware or even the same laptop can help me. Though I don't like to configure X, I like the feeling manually solve problems. Any advice or suggestion or even criticism will be highly appreciated. My xorg.conf are attached in pastebin:

xorg.conf_intel: http://pastebin.com/f49274228
xorg.conf_radeon/radeonhd: http://pastebin.com/f2493d0d9
xorg.conf_catalyst: http://pastebin.com/f3a8545f4

Best regards,
L.Y.

Last edited by leeyee (2009-01-30 09:00:46)


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

#2 2009-01-23 13:21:26

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

Re: logout crashes system when using fglrx [SOLVED]

Nobody knows any clue to this?


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

#3 2009-01-23 16:12:20

Jerry
Member
From: Philippines
Registered: 2007-09-14
Posts: 126

Re: logout crashes system when using fglrx [SOLVED]

I have a T400 too but unfortunately I've stuck with 1.4.2 xserver with the older catalyst drivers,  I'm updating this Sunday and I'll update this thread of my result.  I'll be sticking with the official catalyst drivers only.

Offline

#4 2009-01-23 19:30:00

fmma
Member
From: London
Registered: 2008-07-25
Posts: 25

Re: logout crashes system when using fglrx [SOLVED]

Same problem here. Have a HIS Radeon 4650. Can confirm your findings, have similar fps observed. Also have the the expirience with the fglrx driver. You can avoid the problem by deleting .Xauthority file in your home directory before starting X. I don't know why this helps.

Offline

#5 2009-01-23 19:36:28

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: logout crashes system when using fglrx [SOLVED]

i have the same ati card and i'm constantly changing drivers. Right now i'm with catalyst cuz yesterday i was testing a game. The open-source driver, the radeonhd one, doesn't have 2D aceleration implemented and any 3D support yet. Only option is the catalyst. Sorry is the truth. I hate y laptop because of it, i wish i had one with intel graphics.

Offline

#6 2009-01-24 15:35:38

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

Re: logout crashes system when using fglrx [SOLVED]

Hi, after kernel upgraded to 2.6.28, fglrx problem is still there. Besides, X4500 card with xf86-video-intel would also randomly boot into the black screen problem. This problem is randomly happened when booting, not when logout. When black screen, keyboard and mouse also lost response.

I'm not sure if the fglrx problem happens on everyone's meachine? I'm still not sure where the problem is, why fglrx under ubuntu working fine on the same laptop? There must be a workaround. ANNOYING!


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

#7 2009-01-25 06:17:03

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

Re: logout crashes system when using fglrx [SOLVED]

I reinstalled catalyst and now using fglrx driver. I reproduced the problem and paste X server log here, I hope anyone have or had this problem would come on to solve this, seems this problems is old, common and nasty all together.

My system:
Thinkpad T400
ATI Radeon HD3470
xorg-server 1.5.3-4
xorg-server-utils 7.4-2
catalyst 8.12-3
catalyst-utils 8.12-1
kernel26 2.6.28.1-1

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-ARCH i686
Current Operating System: Linux thinkpad 2.6.28-ARCH #1 SMP PREEMPT Sun Jan 18 20:17:17 UTC 2009 i686
Build Date: 17 December 2008  08:20:05PM

    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan 25 13:03:12 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Configured Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(**) |   |-->Device "ATI HD3470"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Configured Keyboard"
(**) |-->Input Device "Touchpad"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) Including the default font path /usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1.
(**) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1,
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1
(**) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
(WW) Disabling Configured Mouse
(WW) Disabling Configured Keyboard
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x81d5fe0
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 4.1
    X.Org XInput driver : 2.1
    X.Org Server Extension : 1.1
    X.Org Font Renderer : 0.6
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0@1:0:0) ATI Technologies Inc Mobility Radeon HD 3400 Series rev 0, Mem @ 0xd0000000/0, 0xcfff0000/0, I/O @ 0x00002000/0, BIOS @ 0x????????/131072
(II) System resource ranges:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
(II) LoadModule: "extmod"

(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"

(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"

(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
    compiled for 7.4.0, module version = 1.0.0
    ABI class: X.Org Server Extension, version 1.1
(**) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "freetype"

(II) Loading /usr/lib/xorg/modules/fonts//libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
    compiled for 1.5.3, module version = 2.1.0
    Module class: X.Org Font Renderer
    ABI class: X.Org Font Renderer, version 0.6
(II) Loading font FreeType
(II) LoadModule: "dri"

(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
    compiled for 7.4.0, module version = 1.0.0
    ABI class: X.Org Server Extension, version 1.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "fglrx"

(II) Loading /usr/lib/xorg/modules/drivers//fglrx_drv.so
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
    compiled for 1.4.99.906, module version = 8.56.4
    Module class: X.Org Video Driver
(II) LoadModule: "synaptics"

(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 0.99.3
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 2.1
(II) Primary Device is: PCI 01@00:00:0
(WW) Falling back to old probe method for fglrx
(II) ATI Proprietary Linux Driver Version Identifier:8.56.4
(II) ATI Proprietary Linux Driver Release Identifier: 8.561                               
(II) ATI Proprietary Linux Driver Build Date: Dec  1 2008 14:55:43
(WW) This ATI Proprietary Linux Driver does not guarantee support of video driver ABI higher than 2.0
(WW) Video driver ABI version of the X server is 4.1
(--) Chipset Supported AMD Graphics Processor (0x95C4) found
(II) AMD Video driver is running on a device belonging to a group targeted for this release
(II) AMD Video driver is signed
(II) resource ranges after xf86ClaimFixedResources() call:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
(II) fglrx(0): pEnt->device->identifier=0x8775500
(II) resource ranges after probing:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] 0    0    0x000a0000 - 0x000affff (0x10000) MS[b]
    [5] 0    0    0x000b0000 - 0x000b7fff (0x8000) MS[b]
    [6] 0    0    0x000b8000 - 0x000bffff (0x8000) MS[b]
    [7] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [8] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [9] 0    0    0x000003b0 - 0x000003bb (0xc) IS[b]
    [10] 0    0    0x000003c0 - 0x000003df (0x20) IS[b]
(II) Setting vga for screen 0.
(II) fglrx(0): === [atiddxPreInit] === begin
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"

(II) Loading /usr/lib/xorg/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 0.1.0
    ABI class: X.Org Video Driver, version 4.1
(II) fglrx(0): PCI bus 1 card 0 func 0
(**) fglrx(0): Depth 24, (--) framebuffer bpp 32
(II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) fglrx(0): Default visual is TrueColor
(**) fglrx(0): Option "DPMS" "true"
(II) fglrx(0): Loading PCS database from /etc/ati/amdpcsdb
(II) fglrx(0): 10BitPixelFormat disabled by default
(==) fglrx(0): RGB weight 888
(II) fglrx(0): Using 8 bits per RGB (8 bit DAC)
(**) fglrx(0): Gamma Correction for I is 0x06419064
(==) fglrx(0): Gamma Correction for II is 0x06419064
(==) fglrx(0): Buffer Tiling is ON
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"

(II) Loading /usr/lib/xorg/modules/linux//libfglrxdrm.so
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
    compiled for 1.4.99.906, module version = 8.56.4
    ABI class: X.Org Server Extension, version 1.1
(--) fglrx(0): Chipset: "ATI Mobility Radeon HD 3400 Series" (Chipset = 0x95c4)
(--) fglrx(0): (PciSubVendor = 0x17aa, PciSubDevice = 0x210e)
(--) fglrx(0): board vendor info: third party graphics adapter - NOT original ATI
(--) fglrx(0): Linear framebuffer (phys) at 0xd0000000
(--) fglrx(0): MMIO registers at 0xcfff0000
(--) fglrx(0): I/O port at 0x00002000
(==) fglrx(0): ROM-BIOS at 0x000c0000
(II) Loading sub module "int10"
(II) LoadModule: "int10"

(II) Loading /usr/lib/xorg/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.0.0
    ABI class: X.Org Video Driver, version 4.1
(II) fglrx(0): Primary V_BIOS segment is: 0xc000
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"

(II) Loading /usr/lib/xorg/modules//libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.1.0
    ABI class: X.Org Video Driver, version 4.1
(II) fglrx(0): VESA BIOS detected
(II) fglrx(0): VESA VBE Version 3.0
(II) fglrx(0): VESA VBE Total Mem: 16384 kB
(II) fglrx(0): VESA VBE OEM: ATI ATOMBIOS
(II) fglrx(0): VESA VBE OEM Software Rev: 10.88
(II) fglrx(0): VESA VBE OEM Vendor: (C) 1988-2005, ATI Technologies Inc.
(II) fglrx(0): VESA VBE OEM Product: M82
(II) fglrx(0): VESA VBE OEM Product Rev: 01.00
(II) fglrx(0): ATI Video BIOS revision 9 or later detected
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
(II) fglrx(0): Using adapter: 1:0.0.
(II) fglrx(0): [FB] MC range(MCFBBase = 0xc0000000, MCFBSize = 0x10000000)
(--) fglrx(0): Video RAM: 262144 kByte, Type: DDR3
(II) fglrx(0): PCIE card detected
(--) fglrx(0): Using per-process page tables (PPPT) as GART.
(WW) fglrx(0): board is an unknown third party board, chipset is supported

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x813017b]
1: /usr/bin/X(xf86SigHandler+0x51) [0x80d8cb1]
2: [0xb7f55400]

Fatal server error:
Caught signal 4.  Server aborting

Reproduce problem as follows:
1, Install fglrx as driver for ATI 3470 on LAPTOP
2, Boot up and login gnome will succeed every time.
3, Logout:
3.1 If using GDM
      Logout then it goes into a black screen, both keyboard and mouse lost response, only hard shutdown helps.
3.2 If on runlevel 3
      Logout succeeds, will back into user console. Log into normal users in other consoles succeeds. If now run startx, it will generate above quoted error: "Fatal Server Error: Caught signal 4". After this, commands such as su, ps, sudo, or as root log into other consoles will cause Segment Fault, or even Kernel panic. As these situations happen, only hard shutdown helps.

I've also tried these workarounds found with google or in other forums:
1, Edit /etc/gdm/custom.conf to set X server always restart value equal 1.
    Does not help. Actually, this problem might not caused by gdm, because I boot into runlevel 3 would also have this problem.
2, Edit /boot/grub/menu.lst to add "nopat" option into kernel line
    Does not help, the problem remains.
3, Build catalyst 8.11 with ABS
    Does not help, with catalyst-8.11 X will boot into black screen for the first time too. I'm not sure if I build it correctly, it has a 2.6.27.patch in abs, but I'm using 2.6.28 kernel.
4, Use D-sub instead of DVI
    I'm on LAPTOP, don't have a choice to change to D-sub connector, so I don't know if this help.
5, Remove .Xauthority file or edit /etc/ati/authatieventsd.sh file as https://bugs.launchpad.net/ubuntu/hardy … bug/118605 suggests
    Does not help either, It might not be X authority's problem. But I'm not quite sure.

Alright, I hope these details have made myself clear, because of my poor English. Hope you guys help, thanks in advance!

Last edited by leeyee (2009-01-25 06:33:35)


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

#8 2009-01-28 19:32:44

Jerry
Member
From: Philippines
Registered: 2007-09-14
Posts: 126

Re: logout crashes system when using fglrx [SOLVED]

I'm now on the same boat as you guys are.  Wish I had waited for the newer catalyst driver before reinstalling everything.

Offline

#9 2009-01-28 20:36:06

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: logout crashes system when using fglrx [SOLVED]

Diaz wrote:

i have the same ati card and i'm constantly changing drivers. Right now i'm with catalyst cuz yesterday i was testing a game. The open-source driver, the radeonhd one, doesn't have 2D aceleration implemented and any 3D support yet. Only option is the catalyst. Sorry is the truth. I hate y laptop because of it, i wish i had one with intel graphics.

The R500 series (x1???, x2???) has extremely fast 2D, much less buggy than fglrx, and experimental (read: temperamental) 3D. R600 acceleration support (your cards) should be coming soon, and 3D should get better. The rate of development on the RadeonHD driver is blistering. Check www.phoronix.com for more info.


There's lots of well-known issues with fglrx, this is one of them. Sorry to say, but I doubt it will be fixed anytime soon.

The good news is that I bet by the end of this year the RadeonHD driver will be able to run most 3D games at equal performance to the fglrx one big_smile Again, check www.phoronix.com for updates.

Last edited by Ranguvar (2009-01-28 20:38:06)

Offline

#10 2009-01-29 03:22:59

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

Re: logout crashes system when using fglrx [SOLVED]

Ranguvar wrote:
Diaz wrote:

i have the same ati card and i'm constantly changing drivers. Right now i'm with catalyst cuz yesterday i was testing a game. The open-source driver, the radeonhd one, doesn't have 2D aceleration implemented and any 3D support yet. Only option is the catalyst. Sorry is the truth. I hate y laptop because of it, i wish i had one with intel graphics.

The R500 series (x1???, x2???) has extremely fast 2D, much less buggy than fglrx, and experimental (read: temperamental) 3D. R600 acceleration support (your cards) should be coming soon, and 3D should get better. The rate of development on the RadeonHD driver is blistering. Check www.phoronix.com for more info.


There's lots of well-known issues with fglrx, this is one of them. Sorry to say, but I doubt it will be fixed anytime soon.

The good news is that I bet by the end of this year the RadeonHD driver will be able to run most 3D games at equal performance to the fglrx one big_smile Again, check www.phoronix.com for updates.

Can radeonHD automatically regulate laptop FAN running speed? In my box with radeon or radeonhd, the fan keeps running, making annoying noise. Which is not the case when using xf86-video-intel for X4500 and fglrx for ATI.


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

#11 2009-01-30 08:57:13

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

Re: logout crashes system when using fglrx [SOLVED]

Hi guys, I'm glad to tell you I've got this problem solved, by downgrading catalyst and catalyst-utils to 8.11 then I can logout or restart X without problem. Just following Wintervenom's advice in http://bbs.archlinux.org/viewtopic.php?id=62413.


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

#12 2009-02-12 13:28:17

leeyee
Member
From: Kingston, Canada
Registered: 2009-01-07
Posts: 150

Re: logout crashes system when using fglrx [SOLVED]

Hi, I found that with catalyst greater than 8.11 if I did

rmmod fglrx

before I startx for the second time, the crash problem will not come anymore. Can anyone explain me why it is?


Archlinux x86_64 on Thinkpad T400
Intel X4500MHD / ATI HD3470 Graphics, 2G RAM, 160G HD

Offline

Board footer

Powered by FluxBB