View previous topic :: View next topic |
Author |
Message |
Sleipnir Guru
Joined: 20 Sep 2005 Posts: 372 Location: Germany
|
Posted: Tue Sep 20, 2005 7:36 pm Post subject: Xorg freezes with glx and dri |
|
|
After start X with both dri and glx activated, I get a black screen and the
computer hangs. I have to reboot using the reset button. If I activate only
glx OR dri X starts perfectly.
Environment:
- AMD 64 (64bit environment) with ATI Radeon 9250 (rv280)
- Kernel 2.6.13
- xorg-x116.8.2-r4 with open source radeon driver
- drm is compiled into kernel and starts without error
The Xorg.0.log file shows no error. Here is my xorg.conf:
Code: |
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
RgbPath "/usr/lib/X11/rgb"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
ModulePath "/usr/X11R6/lib/modules"
EndSection
# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **********************************************************************
Section "Module"
Load "dbe"
Load "GLcore"
Load "glx"
Load "dri"
Load "drm"
Load "extmod"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
EndSection
# **********************************************************************
# Server flags section. This contains various server-wide Options.
# **********************************************************************
Section "ServerFlags"
# Set the basic blanking screen saver timeout.
Option "blank time" "10" # minutes
# Set the DPMS timeouts.
Option "standby time" "20" # minutes
Option "suspend time" "30" # minutes
Option "off time" "60" # minutes
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Cherry Keyboard"
Driver "keyboard"
Option "Xleds" "1 2 3"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Logimouse PS/2"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Logimouse USB"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/mouse"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
Section "Monitor"
Identifier "Samsung SubD"
VendorName "Samsung"
ModelName "SyncMaster 701N"
HorizSync 30-64
VertRefresh 60
Option "dpms"
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Radeon 9250 AGP"
Driver "radeon"
Screen 0
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "RenderAccel" "true"
Option "DynamicClocks" "true"
Option "EnablePageFlip" "true"
EndSection
# **********************************************************************
# Screen sections.
# **********************************************************************
Section "Screen"
Identifier "Screen Radeon SubD"
Device "Radeon 9250 AGP"
Monitor "Samsung SubD"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubsection
EndSection
Section "DRI"
Mode 0666
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Identifier "Main Layout"
Screen "Screen Radeon SubD"
InputDevice "Logimouse PS/2" "CorePointer"
InputDevice "Cherry Keyboard" "CoreKeyboard"
EndSection
|
Any help will be greatly appreciated! _________________ A)bort, R)etry, I)nfluence with large hammer. |
|
Back to top |
|
|
lambada Apprentice
Joined: 31 Jul 2005 Posts: 157
|
Posted: Tue Sep 20, 2005 9:17 pm Post subject: |
|
|
There is a gentoo Radeon howto around. Google for it. I have a nvidia card myself and I don't load dri because the nvidia driver has its own inbuilt stuff and does not need it. Maybe it's the same thing in your case.
Good luck _________________ Lambada |
|
Back to top |
|
|
Sleipnir Guru
Joined: 20 Sep 2005 Posts: 372 Location: Germany
|
Posted: Tue Sep 20, 2005 9:31 pm Post subject: |
|
|
As far as I understood, I meet all points of this howto:
xorg-x11 is installed and the kernel DRI and DRM drivers are built in.
DRI in itself works, only the combination DRI with glx seems to be broken.
Tomorrow I will try the x11-drm module instead of the kernel one, maybe
this helps. _________________ A)bort, R)etry, I)nfluence with large hammer. |
|
Back to top |
|
|
Sleipnir Guru
Joined: 20 Sep 2005 Posts: 372 Location: Germany
|
Posted: Wed Sep 21, 2005 7:26 pm Post subject: |
|
|
I merged x11-drm today and started a new try, but no success.
With the xorg dri drivers at least the machine is not hard locked
anymore. I can now reboot with ctrl-alt-del, but my screen stays
blank.
Please help! _________________ A)bort, R)etry, I)nfluence with large hammer. |
|
Back to top |
|
|
Gotterdammerung l33t
Joined: 11 Feb 2004 Posts: 627 Location: Rio de Janeiro, Brazil
|
Posted: Fri Sep 23, 2005 1:58 pm Post subject: |
|
|
Same problem here with different machine: Athlon XP 2400+. It occurred after a reboot after a xorg-x11 update to version 6.8.2-r4.
I'm at work now, but I'll try this no-dri solution when I get home.
Regards _________________ A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes |
|
Back to top |
|
|
Sleipnir Guru
Joined: 20 Sep 2005 Posts: 372 Location: Germany
|
Posted: Mon Sep 26, 2005 7:23 am Post subject: |
|
|
I think I found the problem at weekend.
My graphics card is able to do AGP x8, but somehow the radeon driver can't manage
to get the speed right. There was a short section in the /var/log/message file which says
that the AGP speed was set to x0 (zero, nothing, grrrr). So try to set the AGP speed to
x4 in the BIOS and disable 'AGPFastWrite" in your xorg.conf. This 'solved' the problem
for me. I will post the message logfile and/or my xorg.conf later today, because I am at
work...
Did the setting work for you?
As promised the part of the /var/log/messages about the AGP problem:
Code: |
Sep 22 22:47:14 Fafnir agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
Sep 22 22:47:14 Fafnir agpgart: Badness. Don't know which AGP mode to set. [bridge_agpstat:1f000a0a vga_agpstat:ff00021b fell back to:- bridge_agpstat:1f000208 vga_agpstat:ff00021b]
Sep 22 22:47:14 Fafnir agpgart: Bridge couldn't do AGP x4.
Sep 22 22:47:14 Fafnir agpgart: Putting AGP V3 device at 0000:00:00.0 into 0x mode
Sep 22 22:47:14 Fafnir agpgart: Putting AGP V3 device at 0000:01:00.0 into 0x mode
Sep 22 22:47:14 Fafnir [drm] Loading R200 Microcode
|
Tell me if you need my xorg.conf... Happy X-ing! _________________ A)bort, R)etry, I)nfluence with large hammer. |
|
Back to top |
|
|
|