some help getting my video card working with dri please
I'm having some trouble getting dri working.. it might have something to do with my video card drivers or kernel modules.
Here are some of my problems..
babylon:/var# xdriinfo
Screen 0: not direct rendering capable.
Here's some stuff from my XFree86.0.log:
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 6.4.7
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.5
...
(II) Loading sub module "r128"
(II) LoadModule: "r128"
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
(II) Module r128: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 4.0.1
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.5
...
(II) R128(0): Starting up Xvideo subsystems
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
[drm] failed to load kernel module "r128"
(II) R128(0): [drm] drmOpen failed
(EE) R128(0): [dri] DRIScreenInit failed. Disabling DRI.
...
This is in xorg.conf:
Section "Device"
Identifier "ATI"
Driver "ati"
BusID "PCI:1:0:0"
VideoRam 32768
Option "DRI"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 31.5-70
VertRefresh 50-120
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
Apparently DRM isn't working right either.. how can I fix this?
babylon:/etc/X11# dmesg | grep drm
kobject_register failed for drm (-17)
r128: Unknown symbol drm_get_dev
r128: Unknown symbol drm_cleanup_pci
kobject_register failed for drm (-17)
r128: Unknown symbol drm_get_dev
r128: Unknown symbol drm_cleanup_pci
If anyone can tell me what I'm doing wrong I would really appreciate it.
Thanks!
Last edited by maq; 05-09-2005 at 07:23 PM.
|