PDA

View Full Version : latest kernel breaks X for Radeon video card



pjnewman
4th July 2006, 10:23 AM
Pretty sure kernel-2.6.17-1.2139_FC5 patch breaks xorg with my laptop Radeon Mobility M300 video card. I did apply this update in parallel with the xorg-x11-server-Xorg-1.0.1-9.fc5.5 update.

To get around this problem I booted the old kernel and disabled DRI in the xorg config which did the trick.

Do other people with Radeon video cards have the same problem?

further info:
log excerpt from /var/log/messages

Jul 4 16:36:08 localhost kernel: ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Jul 4 16:36:08 localhost kernel: Avoiding DRI on Radeon R300+. Use 'allow_r300=1' module option to override
Jul 4 16:36:08 localhost kernel: DRM: Fill_in_dev failed.

log excerpt from Xorg.log:

(II) RADEON(0): Dynamic Clock Scaling Disabled
(II) RADEON(0): BIOS HotKeys Disabled
(WW) RADEON(0): Enabling DRM support

*** Direct rendering support is highly experimental for Radeon 9500
*** and newer cards. The 3d mesa driver is not provided in this tree.
*** A very experimental (and incomplete) version is available from Mesa CVS.
*** Additional information can be found on http://r300.sourceforge.net
*** This message has been last modified on 2005-08-07.

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card3

(errors for card4 - card253 deleted)

drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card254
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
(II) RADEON(0): [drm] drmOpen failed
(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.
(II) RADEON(0): Depth moves disabled by default
(II) RADEON(0): Memory manager initialized to (0,0) (1440,8191)
(II) RADEON(0): Reserved area from (0,900) to (1440,902)
(II) RADEON(0): Largest offscreen area available: 1440 x 7289
(II) RADEON(0): Render acceleration unsupported on Radeon 9500/9700 and newer.
(II) RADEON(0): Render acceleration disabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)

evans
4th July 2006, 03:47 PM
I have no problems with the newest kernel, and my set up is the same?

My card is:
VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600]

kernel version:
2.6.17-1.2139_FC5smp i686

graphics driver (from livna)
xorg-x11-drv-fglrx-8.25.18-1.lvn5
kmod-fglrx-smp-8.25.18-2.2.6.17_1.2139_FC5

(some) contents of /etc/X11/xorg.conf:
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "TouchPad" "AlwaysCore"
EndSection

Section "Files"
FontPath "unix/:7100"
EndSection

Section "Module"

# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the Type1 and FreeType font modules
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
# This loads the GLX module
Load "glx" # libglx.a
Load "dri"
EndSection

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
# When using XQUEUE, comment out the above two lines, and uncomment
EndSection

Section "InputDevice"
Identifier "TouchPad"
Driver "synaptics"
Option "Protocol" "auto-dev"
Option "Device" "/dev/input/mice"
Option "LeftEdge" "1700"
Option "RightEdge" "5000"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
#Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1440x900"
HorizSync 31.5 - 48.5
VertRefresh 40.0 - 70.0
ModeLine "1440x900_60.00" 106.5 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
Option "dpms"
EndSection

Section "Device"
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection

Section "Device"

# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
# vendor=1002, device=3150
Identifier "ATI Graphics Adapter"
Driver "fglrx"
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
Option "DesktopSetup" "Clone"
Option "HSync2" "31.5 - 91.1"
Option "VRefresh2" "60 - 100"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "TVFormat" "NTSC-M"
Option "TVStandard" "VIDEO"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x06419064"
Option "MonitorLayout" "LCD, TV"
Option "IgnoreEDID" "off"
Option "Capabilities" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "CapabilitiesEx" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "CapabilitiesEx" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
Option "VideoOverlay" "on"
BusID "PCI:1:0:0"
EndSection

Section "Screen"

#Option "backingstore"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"

# initial origin if mode is smaller than desktop
# Virtual 1280 1024
Viewport 0 0
Depth 24
Modes "1440x900" "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"

# Access to OpenGL ICD is allowed for all users:
# Access to OpenGL ICD is restricted to a specific user group:
# Group 100 # users
# Mode 0660
Mode 0666
EndSection

SeRi@lDiE
4th July 2006, 04:37 PM
I have the same vid card and kernel with no prob..

bigjosh
5th July 2006, 01:30 AM
I had the same issue as pjnewman with a Radeon Mobility X600 on a Dell D810. I also disabled dri in xorg.conf and was able to boot just fine. I havent installed any drivers from Livna yet so that may correct the problem.

pjnewman
5th July 2006, 03:38 AM
hi Evans

I noticed that you're using:
Identifier "ATI Graphics Adapter"
Driver "fglrx"
so you're not using the radeon driver so maybe are by passing the problem that way.

I should add that I'm using a Dell Inspiron 9100 laptop and probably should have posted this in the laptop forum originally.

pjfg
5th July 2006, 03:22 PM
I'm using the 'radeon' driver with an ATI IGP 340M and kernel 2.6.17-1.2139_FC5 without any problems. But then I dont have your particular vga hardware:

$ strings /usr/lib/xorg/modules/drivers/radeon_drv.so | grep R300
Render acceleration unsupported on R300 type cards and newer.

Which is odd - either DRI has never worked for R300+ cards or support has been removed in a recent release.

$ rpm -qf /usr/lib/xorg/modules/drivers/radeon_drv.so
xorg-x11-drv-ati-6.5.7.3-4

$ rpm -q --changelog xorg-x11-drv-ati-6.5.7.3-4
* Tue Feb 21 2006 Mike A. Harris <mharris@redhat.com> 6.5.7.3-4
- Added xorg-x11-drv-ati-6.5.7.3-radeon-metamodes-SEGV-fix.patch from CVS HEAD.

* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 6.5.7.3-3.2
- bump again for double-long bug on ppc(64)

Apparently no changes in the driver since february...

Gonesolo
5th July 2006, 04:40 PM
I installed FC5 X64 on my machine last night. I have a Radeon X1600 card. i did all the updates to latest kernel etc and then installed the ATi drivers using the Fedora FAQ.

Only problem I had was I had to manually edit my xorg.conf to use fglrx but once I rebooted after that it was working perfectly - even have 3D acceleration working fine.