View previous topic :: View next topic |
Author |
Message |
wipp n00b
Joined: 27 Mar 2004 Posts: 33 Location: Zurich, Switzerland
|
Posted: Mon Mar 13, 2006 8:32 pm Post subject: ATI Drivers - system lockup |
|
|
Hi
startx leads to visual artifacts and a system lockup (with "no_dri" set to "no" in xorg.conf).
I have been working on this for a long time (searched the forums, went to theGentoo ATI Radeon FAQ and to Gentoo Wiki: HOWTO ATI Drivers).
The card is working for
- M$ Winz
- kernel radeon driver (direct rendering)
- fglrx driver, "no_dri" set to "yes"
I've tried both "yes and "no" for "UseInternalAGPGART"
I have a Soyo Sy-7vca board (via chipset) with a HIS Excalibur Radeon 9000 ViVo
eselect opengl list
Code: |
Available OpenGL implementations:
[1] ati *
[2] xorg-x11
|
Code: |
grep DRM /usr/src/linux/.config
# CONFIG_DRM is not set
grep AGP /usr/src/linux/.config
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_VIA=m
# CONFIG_AGP_EFFICEON is not set
|
lspci | grep ATI
Code: |
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Radeon 9000] (rev 01)
01:00.1 Display controller: ATI Technologies Inc Radeon RV250 [Radeon 9000] (Secondary) (rev 01)
|
dmesg (relevant part)
Code: |
... (there is no line containing [drm])
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA Apollo Pro 133 chipset
agpgart: AGP aperture is 64M @ 0xd8000000
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 314 MBytes.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
[fglrx] module loaded - fglrx 8.22.5 [Feb 7 2006] on minor 0
|
grep -v ^# /etc/X11/xorg.conf
Code: |
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
Load "xtrap"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de_CH"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 28.0 - 96.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
# vendor=1002, device=496e
Identifier "ATI radeon"
Driver "radeon"
Option "Accel"
Option "AGPFastWrite" "yes"
Option "EnablePageFlip" "yes"
Option "AGPMode" "4"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
Option "no_accel" "no"
Option "no_dri" "no"
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
Option "MonitorLayout" "CRT, NONE"
Option "PseudoColorVisuals" "off"
Option "UseFastTLS" "2"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
Option "KernelModuleParm" "agplock=0"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
|
grep ^\(WW\) /var/log/Xorg.0.log
Code: |
(WW) No monitor specified for screen "Screen0".
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): MonitorLayout is no longer supported.
(WW) fglrx(0): Specified desktop setup not supported: 8
|
grep ^\(EE\) /var/log/Xorg.0.log -> gives nothing
Please help! |
|
Back to top |
|
|
Tlaloc Guru
Joined: 21 Feb 2005 Posts: 451 Location: Europe - Alps - Tyrol
|
Posted: Mon Mar 13, 2006 10:34 pm Post subject: |
|
|
Any framebuffer support enabled in kernel? If so, try with it disabled. This is only a guess, but I had lockups with it enabled.
Bye, Val. |
|
Back to top |
|
|
ferg Guru
Joined: 15 Nov 2002 Posts: 540 Location: Cambridge, UK
|
Posted: Tue Mar 14, 2006 12:56 am Post subject: |
|
|
me too!!
I just updated and rebuilt the whole system with GCC 4.1. In doing this I inadvertently upgrade to the latest at-drivers package.
Now everytime I runstartx I get a system lockup.
I've had to temporarily switch to using the opensource (non-dri) driver!
I'll do some more investigation and find out why this is happening!
Cheers
Ferg _________________ Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!" |
|
Back to top |
|
|
Admiral_Trigger_Happy Guru
Joined: 05 Sep 2004 Posts: 337 Location: Australia
|
Posted: Tue Mar 14, 2006 3:13 am Post subject: |
|
|
Are you using the 2.6.15 kernel?
There is currently issues with the 2.6.15 kernel and the ATI drivers, downgrading to the 2.6.14 kernel fixed all my problems _________________ Admiral Trigger Happy
-------------------------------
www.kiba-dock.org |
|
Back to top |
|
|
ferg Guru
Joined: 15 Nov 2002 Posts: 540 Location: Cambridge, UK
|
Posted: Tue Mar 14, 2006 9:06 am Post subject: |
|
|
Admiral_Trigger_Happy wrote: | Are you using the 2.6.15 kernel?
There is currently issues with the 2.6.15 kernel and the ATI drivers, downgrading to the 2.6.14 kernel fixed all my problems |
Hi Admiral_Trigger_Happy,
yes I am!!
However, I've been running 2.6.15-gentoo for quite a while with the previous version of the ATI-drivers.
I'll try downgrading and see if that fixes it!
Thanks
Ferg _________________ Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!" |
|
Back to top |
|
|
wipp n00b
Joined: 27 Mar 2004 Posts: 33 Location: Zurich, Switzerland
|
Posted: Tue Mar 14, 2006 10:46 am Post subject: |
|
|
Hi guys
I have now a 2.6.14 kernel without framebuffer support.
But no changes! |
|
Back to top |
|
|
ferg Guru
Joined: 15 Nov 2002 Posts: 540 Location: Cambridge, UK
|
Posted: Tue Mar 14, 2006 11:50 am Post subject: |
|
|
wipp wrote: | Hi guys
I have now a 2.6.14 kernel without framebuffer support.
But no changes! |
I don't have any framebuffer support built in to the kernel. So IF we are having the same problem, then I don't think it is this!!!
Sorry!
Cheers
Ferg _________________ Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!" |
|
Back to top |
|
|
wipp n00b
Joined: 27 Mar 2004 Posts: 33 Location: Zurich, Switzerland
|
Posted: Fri Mar 17, 2006 9:03 am Post subject: |
|
|
Some additional infos:
If I switch to xorg-x11 opengl (just for fun) startx results in a black screen (instead of the visual artifacts) and the system doesnt lock up anymore (I can switch back to the console or I can kill X with Ctrl-Alt-backspace).
No idea if this is helpful for our problem . |
|
Back to top |
|
|
|