PDA

View Full Version : Catalyst 9.8 + Kernel 2.6.29 = Freeze


blindfrog
08-18-2009, 12:15 PM
Running up to date Fedora 11 here just wondering how many people are having this issue? Does it happen with 2.6.30? Does it hang up With other distros whose kernels are 2.6.29.x or 2.6.30.x or is this just Fedora specific issue?

Catalyst driver installs fine and then after rebooting it loads everything like it's supposed to, but then basically when moving a cursor under KDE 4.3 computer just freezes (must be rebooted) under 5 seconds. With or without desktop effects.

P.S.
Maybe Catalyst devs should just target Fedora releases of the desktop "GNU/Linuxes", since when it works under Fedora it should work everywhere ;D

TrentZ
08-18-2009, 12:20 PM
Running up to date Fedora 11 here just wondering how many people are having this issue? Does it happen with 2.6.30? Does it hang up With other distros whose kernels are 2.6.29.x or 2.6.30.x or is this just Fedora specific issue?

Catalyst driver installs fine and then after rebooting it loads everything like it's supposed to, but then basically when moving a cursor under KDE 4.3 computer just freezes (must be rebooted) under 5 seconds. With or without desktop effects.

P.S.
Maybe Catalyst devs should just target Fedora releases of the desktop "GNU/Linuxes", since when it works under Fedora it should work everywhere ;D

In Fedora 11, Xorg segfaults with Catalyst.

TorkildJ
08-18-2009, 02:33 PM
Fedora 11 with self-compiled 2.6.30.4 kernel gives same result
Black screen + freeze on startup. The first time i installed it ( using init 3 and init 5 to restart X server) it worked for 10 seconds before it froze my computer.
Here is the output



X.Org X Server 1.6.1.901 (1.6.2 RC 1)
Release Date: 2009-5-8
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-128.1.6.el5 x86_64
Current Operating System: Linux localhost.localdomain 2.6.30.4 #1 SMP Sat Aug 8 16:54:10 CEST 2009 x86_64
Kernel command line: ro vga=0x346 root=UUID=93d72aff-1281-47e9-a48d-f6c59363454e rhgb quiet
Build Date: 18 May 2009 02:47:15PM
Build ID: xorg-x11-server 1.6.1.901-1.fc11
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.1.log", Time: Tue Aug 18 11:36:06 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "aticonfig-Screen[0]-0" (0)
(**) | |-->Monitor "aticonfig-Monitor[0]-0"
(**) | |-->Device "aticonfig-Device[0]-0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
catalogue:/etc/X11/fontpath.d,
built-ins,
catalogue:/etc/X11/fontpath.d,
built-ins
(**) ModulePath set to "/usr/lib64/xorg/modules"
(**) Extension "Composite" is disabled
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x7b40
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0@1:0:0) ATI Technologies Inc RV770 [Radeon HD 4870] rev 0, Mem @ 0xd0000000/268435456, 0xfe9e0000/65536, I/O @ 0x0000c000/256, BIOS @ 0x????????/131072
(II) No APM support in BIOS or kernel
(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) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="FireGL - ATI Technologies Inc."
compiled for 7.4.0, module version = 1.0.0
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/lib64/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 7.4.0, module version = 1.0.0
(II) Loading extension XFree86-DRI
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/lib64/xorg/modules/linux//libfglrxdrm.so
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
compiled for 1.4.99.906, module version = 8.64.3
(II) LoadModule: "dri2"
(II) Loading /usr/lib64/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.6.1.901, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.6.1.901, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.6.1.901, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.6.1.901, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "fglrx"
(II) Loading /usr/lib64/xorg/modules/drivers//fglrx_drv.so

Backtrace:

Does not even output backtrace before it dies

Erikina
08-18-2009, 05:54 PM
There's 2.6.30 in updates-testing for F11 if you want to give that a go. Haven't heard of any people being successful yet with Fedora though, so I'm the response (and hopefully package) of rpmfusion guys.

Not targeting Fedora seems silly. The majority of stuff comes out there first here and the users are happier with a bit more breakage. Sounds like ideal beta testing place ;D


Edit: Might want to watch this space:
https://bugzilla.rpmfusion.org/show_bug.cgi?id=562

Technojunkie
08-18-2009, 07:54 PM
See my post from another thread:
http://www.phoronix.com/forums/showpost.php?p=87765&postcount=39
The money quote:

Installation complete!

*** glibc detected *** ./setup.data/bin/x86_64/setup: double free or corruption (fasttop): 0x00000000018314b0 ***

When installing from console. Installing from X leaves you blissfully unaware of this error message. Can anyone else confirm?

I'm running F11 AMD64.

TrentZ
08-19-2009, 08:09 PM
With SWCursor, Xorg doesn't freeze, however it shows corruption around the cursor if AIGLX composition is enabled. Add this to the "Device" section in Xorg.

Option "SWCursor" "true"

TorkildJ
08-20-2009, 12:28 PM
With SWCursor, Xorg doesn't freeze, however it shows corruption around the cursor if AIGLX composition is enabled. Add this to the "Device" section in Xorg.

Option "SWCursor" "true"



I have tried this solution on both 32 and 64 bit versions of fedora 11. With standard kernel and 2.6.30.4 (self compiled).. and all results in black screen freeze... Error trace is exactly same as before, so basically this workaround does no good at all

xorg.conf

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "aticonfig-Screen[0]-0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection



Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection

Section "Module"
Load "glx"
Load "dri"
Load "dri2"
Load "extmod"
Load "record"
Load "dbe"
EndSection

Section "Extensions"
Option "Composite" "Disable" #make DRI work with fglrx.
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

#DisplaySize 510 290 # mm
Identifier "Monitor0"
VendorName "ACR"
ModelName "Acer V233H"
HorizSync 30.0 - 94.0
VertRefresh 49.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Option "SWCursor" "true"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "RV770 [Radeon HD 4870]"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

blindfrog
08-20-2009, 01:06 PM
With SWCursor, Xorg doesn't freeze, however it shows corruption around the cursor if AIGLX composition is enabled. Add this to the "Device" section in Xorg.

Option "SWCursor" "true"


Thx works here and yes cursor flickers with desktop effecst on :P

Funny that cursor movement can kill the whole system :D

TorkildJ
08-20-2009, 01:08 PM
Thx works here and yes cursor flickers with desktop effecst on :P

Funny that cursor movement can kill the whole system :D

Can you please post your xorg.conf?

blindfrog
08-20-2009, 01:11 PM
I have tried this solution on both 32 and 64 bit versions of fedora 11. With standard kernel and 2.6.30.4 (self compiled).. and all results in black screen freeze... Error trace is exactly same as before, so basically this workaround does no good at all

xorg.conf

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "aticonfig-Screen[0]-0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection



Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection

Section "Module"
Load "glx"
Load "dri"
Load "dri2"
Load "extmod"
Load "record"
Load "dbe"
EndSection

Section "Extensions"
Option "Composite" "Disable" #make DRI work with fglrx.
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

#DisplaySize 510 290 # mm
Identifier "Monitor0"
VendorName "ACR"
ModelName "Acer V233H"
HorizSync 30.0 - 94.0
VertRefresh 49.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Option "SWCursor" "true"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "BusType" # [<str>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
#Option "AGPMode" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "GARTSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "DMAForXv" # [<bool>]
#Option "FBTexPercent" # <i>
#Option "DepthBits" # <i>
#Option "PCIAPERSize" # <i>
#Option "AccelDFS" # [<bool>]
#Option "IgnoreEDID" # [<bool>]
#Option "DisplayPriority" # [<str>]
#Option "PanelSize" # [<str>]
#Option "ForceMinDotClock" # <freq>
#Option "ColorTiling" # [<bool>]
#Option "VideoKey" # <i>
#Option "RageTheatreCrystal" # <i>
#Option "RageTheatreTunerPort" # <i>
#Option "RageTheatreCompositePort" # <i>
#Option "RageTheatreSVideoPort" # <i>
#Option "TunerType" # <i>
#Option "RageTheatreMicrocPath" # <str>
#Option "RageTheatreMicrocType" # <str>
#Option "ScalerWidth" # <i>
#Option "RenderAccel" # [<bool>]
#Option "SubPixelOrder" # [<str>]
#Option "ShowCache" # [<bool>]
#Option "DynamicClocks" # [<bool>]
#Option "VGAAccess" # [<bool>]
#Option "ReverseDDC" # [<bool>]
#Option "LVDSProbePLL" # [<bool>]
#Option "AccelMethod" # <str>
#Option "DRI" # [<bool>]
#Option "ConnectorTable" # <str>
#Option "DefaultConnectorTable" # [<bool>]
#Option "DefaultTMDSPLL" # [<bool>]
#Option "TVDACLoadDetect" # [<bool>]
#Option "ForceTVOut" # [<bool>]
#Option "TVStandard" # <str>
#Option "IgnoreLidStatus" # [<bool>]
#Option "DefaultTVDACAdj" # [<bool>]
#Option "Int10" # [<bool>]
#Option "EXAVSync" # [<bool>]
#Option "ATOMTVOut" # [<bool>]
#Option "R4xxATOM" # [<bool>]
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "RV770 [Radeon HD 4870]"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection



Have you blacklisted radeon module from /etc/modprobe.d/blaclist.conf? Black screen here also if I haven't.

Add "blacklist radeon" there like the others that are already there.

nanonyme
08-20-2009, 01:13 PM
Maybe Catalyst devs should just target Fedora releases of the desktop "GNU/Linuxes", since when it works under Fedora it should work everywhere ;DFunny notion but a false one. Fedora sometimes diverts from upstream when testing is being done with X. (since stuff gets to Fedora before it gets upstream, sometimes)

TorkildJ
08-20-2009, 01:32 PM
Have you blacklisted radeon module from /etc/modprobe.d/blaclist.conf? Black screen here also if I haven't.

Add "blacklist radeon" there like the others that are already there.

That helped a little bit.. Now it goes all the way to the login screen before it freezes (and screen is not black).. error message is however the same.. Maybe some other things in my xorg.conf is wrong?

TrentZ
08-20-2009, 01:52 PM
That helped a little bit.. Now it goes all the way to the login screen before it freezes (and screen is not black).. error message is however the same.. Maybe some other things in my xorg.conf is wrong?

Yes, you put "SWCurosr" in the wrong Device section. It should be in 'aticonfig-Device[0]-0'.

blindfrog
08-20-2009, 02:07 PM
Funny notion but a false one. Fedora sometimes diverts from upstream when testing is being done with X. (since stuff gets to Fedora before it gets upstream, sometimes)

Yes! And that's even better! I already see it "Catalyst: Even upstream can't keep up". ;D

TorkildJ
08-20-2009, 02:11 PM
Yes, you put "SWCurosr" in the wrong Device section. It should be in 'aticonfig-Device[0]-0'.

IT WORKS!
Thank you very much for your help.
But i am really a bit surprised that such a strange workaround is needed to avoid total catastrophe with the ati driver

So to sum up, what seems to do the trick for Fedora 11:

1. Go to init 3 (non graphical mode)
2. as root write "rmmod radeon; rmmod drm;"
3. now run ati-driver setup and verify that it has installed without errors
4. use xorg.conf with correct settings (provided below. "lib64" should be replaced with "lib" for 32bit systems
5. in /etc/modprobe.d/blacklist.conf add lines "blacklist radeon" and "blacklist drm"
6. run "depmod -a"
7. reboot system and pray that it works!



Here is the final xorg.conf that worked

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "aticonfig-Screen[0]-0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection



Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection

Section "Module"
Load "glx"
Load "dri"
Load "dri2"
Load "extmod"
Load "record"
Load "dbe"
EndSection

Section "Extensions"
Option "Composite" "Disable" #make DRI work with fglrx.
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

#DisplaySize 510 290 # mm
Identifier "Monitor0"
VendorName "ACR"
ModelName "Acer V233H"
HorizSync 30.0 - 94.0
VertRefresh 49.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection


Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "SWCursor" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

DteK
08-20-2009, 08:16 PM
IT WORKS!
Thank you very much for your help.
But i am really a bit surprised that such a strange workaround is needed to avoid total catastrophe with the ati driver

So to sum up, what seems to do the trick for Fedora 11:

1. Go to init 3 (non graphical mode)
2. as root write "rmmod radeon; rmmod drm;"
3. now run ati-driver setup and verify that it has installed without errors
4. use xorg.conf with correct settings (provided below. "lib64" should be replaced with "lib" for 32bit systems
5. in /etc/modprobe.d/blacklist.conf add lines "blacklist radeon" and "blacklist drm"
6. run "depmod -a"
7. reboot system and pray that it works!



Here is the final xorg.conf that worked

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "aticonfig-Screen[0]-0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection



Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection

Section "Module"
Load "glx"
Load "dri"
Load "dri2"
Load "extmod"
Load "record"
Load "dbe"
EndSection

Section "Extensions"
Option "Composite" "Disable" #make DRI work with fglrx.
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

#DisplaySize 510 290 # mm
Identifier "Monitor0"
VendorName "ACR"
ModelName "Acer V233H"
HorizSync 30.0 - 94.0
VertRefresh 49.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection


Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "SWCursor" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection



I did not have to blacklist drm, I did have to remake initrd after black listing radeon though. works lovely.

blindfrog
09-01-2009, 05:06 PM
Wohoo you can get rid of the "swcursor trick" now! There's a better fix for those lock ups.

http://forums.fedoraforum.org/showthread.php?t=155503&page=241

1) mv xorg.conf xorg.conf.old
2) aticonfig --initial -f
3) aticonfig --set-pcs-str="DDX,EnableRandR12,FALSE"

Works great and kwin desktop effects are usable again :)

Untit1ed
09-02-2009, 05:07 PM
Thanks, this topic is really helpful. I had the same problem on OpenSUSE 11.0 Kernel 2.6.25.20. I had to use radeonhd driver instead, because fglrx driver crashed my system on X startup.

Saphy
09-05-2009, 08:54 AM
Thanks, this topic is really helpful. I had the same problem on OpenSUSE 11.0 Kernel 2.6.25.20. I had to use radeonhd driver instead, because fglrx driver crashed my system on X startup.

fglrx also crash on me, even after I added the SWCursor True option. I also tried setting CONFIG_X86_PAT to N in kernel config. But I still get a black screen and a frozen system (probably a kernel panic) after a while, or immediately if I play any video or run any 3D program.

The only way to make it not crashing is to disable DRI, but that would have disabled all acceleration. I don't mind the lack of 3D accleration, but does anyone know if there is a way to disable only 3D acceleration so that I can play video?


Thanks