PDA

View Full Version : Sapphire x1650 Pro AGP and radeonhd


Grey Goshawk
06-19-2008, 08:13 AM
Hey everyone, after hearing the success of getting 3D on the radeonhd drivers I decided to try them out seeing as installing the fglrx drivers gives me a black screen and lockup.
The driver works great in 2D acceleration but whenever I enable DRI in my xorg.conf, the 2d acceleration slows down considerable: scrolling on firefox causes the whole screen to lag.

Looking at my xorg log it seems that this error repeats itself looking at a whole list of devices but not being about to find anything.
Any help would be appreciated :D
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 -19
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 -19
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 -19
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -19
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed

Then at the end of this part
(EE) RADEONHD(0): [dri] RHDDRIGetVersion failed to open the DRM
[dri] Disabling DRI.

adamk
06-19-2008, 08:44 AM
Please show us your *full* Xorg.0.log file as well as the output of 'dmesg | grep drm'.

Also, you should know that, last I heard, 2D and 3D acceleration does not work at the same time with the radeonhd driver, but it should work fine with the 'radeon' driver.

Adam

Grey Goshawk
06-19-2008, 09:05 AM
There's the result from the grep
# dmesg | grep drm
[62.313742] [drm] Initialized drm 1.1.0 20060810



Here's a link to my xorg log
http://freetexthost.com/us1xcjosm5

adamk
06-19-2008, 09:40 AM
I'm guessing that your DRM is too old. Did you update that from git, too? What's the output of 'lsmod | grep radeon' ? If it's not showing up there, run 'sudo modprobe radeon' and then check the output of 'dmesg | grep drm' again.

Adam

Grey Goshawk
06-19-2008, 09:42 AM
jonathan@jonathan-desktop:~$ lsmod | grep radeon
radeon 124192 0
drm 82452 1 radeon

yeah, I did update it from git. Well I followed the instructions that are on the xorg wiki. It seemed to work.

adamk
06-19-2008, 09:52 AM
Still no output from 'dmesg | grep drm' ? How about if you do a 'sudo rmmod radeon && sudo modprobe radeon'. Anything in the dmesg then?

Adam

Grey Goshawk
06-19-2008, 10:37 AM
jonathan@jonathan-desktop:~$ dmesg | grep drm
[ 62.313742] [drm] Initialized drm 1.1.0 20060810

That's what I get, I guess the fact that it's from 2006 indicates that there's a problem, I assume? :confused:

adamk
06-19-2008, 10:43 AM
No, 2006 is right for the drm module. However, you should also get something like:

[drm] Initialized radeon 1.29.0 20080528 on minor 0
[drm] Setting GART location based on new memory map
[drm] Loading R500 Microcode

Can you tell me exactly what steps you took to update your DRM?

Adam

Grey Goshawk
06-19-2008, 10:46 AM
I followed the steps here to update the DRM
http://www.x.org/wiki/radeonhd:DRI

But I seem to be getting errors about opening a minor, so perhaps there's a problem that's stopping it from loading properly?
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -19

adamk
06-19-2008, 10:53 AM
Xorg just isn't finding the dri device, but that's because the kernel module isn't loading.

What's the output of 'find /lib/modules/`uname -r`/ -iname "radeon.ko" -exec ls -la {} \; '

Grey Goshawk
06-19-2008, 11:03 AM
root@jonathan-desktop:/usr/src# find /lib/modules/`uname -r`/ -iname "radeon.ko" -exec ls -la {} \;
-rw-r--r-- 1 root root 127072 2008-06-18 19:13 /lib/modules/2.6.24-19-generic/kernel/drivers/char/drm/radeon.ko

:confused:

Edit:
hmm. it seems like that error doesn't come up in my xorg log anymore
http://freetexthost.com/ulzmosuhqa
But when I enable DRI everything is very slow, and glxgears causes the pc to lock up.

dmesg | grep drm doesn't return anything

lsmod | grep radeon also doesn't return anything

adamk
06-19-2008, 11:36 AM
Well direct rendering appears to be working.

I'm not sure why you'd be getting such a problem with the radeonhd driver. While I'm not sure it'd make a difference, you could try a newer version of the 'radeon' driver to see if that works instead.

Adam