You are not logged in.

#1 2009-03-28 21:08:42

sadklown
Member
Registered: 2008-10-30
Posts: 6

Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

With the release of radeon 6.12 there is supposed to be Xv and EXA acceleration support if you build new drm modules from the r600-r700 experimental branch for the qualifying ATI HD 3000 - 4000
video cards.  I followed the instructions and built and installed the new drm modules from X.org website.  I was hoping some body out there had some suggestions to help me get this working correctly!

thanks

here is some info

dmesg http://pastebin.com/m5785f647
Xorg.0.log http://pastebin.com/m10234ab6
xorg.conf http://pastebin.com/m155da63b

Offline

#2 2009-03-28 21:52:20

gerd
Member
Registered: 2007-03-19
Posts: 7

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

Hi,

did you load the drm and radeon kernel module?
I assume that you copied the built modules to /lib/modules/2.6.29-ARCH/kernel/drivers/gpu/drm/

Did you issue the depmod command after that?

try
depmod -a
modprobe -l drm
modprobe -l radeon

watch the output in dmesg:

[drm] Initialized drm 1.1.0 20060810
[drm] Initialized radeon 1.29.0 20080613 on minor 0
[drm] Used old pci detect: framebuffer loaded
[drm] Setting GART location based on new memory map
[drm] Loading RV770 PFP Microcode
[drm] Loading RV770 CP Microcode
[drm] Resetting GPU
[drm] writeback test succeeded in 1 usecs

If that works, try to start X.

Scan your Xorg.0.log for this:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0

Last edited by gerd (2009-03-28 22:04:13)

Offline

#3 2009-03-28 22:07:34

sadklown
Member
Registered: 2008-10-30
Posts: 6

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

yeah gerd, I tried manually loading with modprobe and get these error messages:
FATAL: Error inserting drm (/lib/modules/2.6.29-ARCH/kernel/drivers/gpu/drm/drm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting radeon (/lib/modules/2.6.29-ARCH/kernel/drivers/gpu/drm/radeon/radeon.ko): Unknown symbol in module, or unknown parameter (see dmesg)

then i looked at dmesg and it says:
drm unknown symbol init_mm

any help is appreciated

Offline

#4 2009-03-28 22:52:37

gerd
Member
Registered: 2007-03-19
Posts: 7

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

did you try the following command?

depmod  -ae

Offline

#5 2009-03-28 22:55:16

sadklown
Member
Registered: 2008-10-30
Posts: 6

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

I tried depmod -a with no luck.  Since you suggested I tried depmod -ae no help there either.

thanks

Offline

#6 2009-03-29 03:22:18

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

How did you compile and install the driver? X may be loading the wrong modules, take a look in the package and see where your modules are being placed. You may need to load the modules manually or use rc.local to load them every time for you (before X starts).
Check if your drivers got installed to /lib/modules/2.6.28-ARCH/kernel/drivers/char/drm/ the radeonhd with xv and exa support gets installed there so it may be a similar problem, just a different driver.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2009-03-30 03:54:08

sadklown
Member
Registered: 2008-10-30
Posts: 6

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

I used git to clone the r600-r700 experimental brach drm that is required for xv and exa, make drm.0 and radeon.0 and at first I put in the dir you suggest (like it says on X.org), but I have also tried in:
/lib/modules/2.6.29-ARCH/kernel/drivers/gpu/drm/
which i believe is where Arch has it placed.  I have tried to load manually and I get a unknown symbol error. In dmesg it says unknown symbol init_mm.  I recompiled the two modules again and payed closer attention to the output and it gives me a warning about the symbol init_mm.  So I have come to the conclusion that the error lies within the complie, but alas I do not know how to proceed from here so again any suggestions would be most apprectiated.

thanks gang

Offline

#8 2009-03-30 10:19:14

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

When I updated today from testing and went to kernel 2.6.29 I found my previously working 2d acceleration broken (ati HD3200 on board). Desktop was jerky, videos a no-go in full screen. i.e. kernel26 no longer recognises my HD3200. /dev/dri is empty.

I built the radeon and drm kernel modules from AUR, deleted the modules that came with kernel26, depmod and it worked. Reading comments in AUR RADEONHD, although radeonhd has been merged to master, the drm hasn't.

Last edited by vacant (2009-03-30 10:19:35)

Offline

#9 2009-04-02 21:23:54

sadklown
Member
Registered: 2008-10-30
Posts: 6

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

Yeah i figured that out also, and have discovered my problem is with the build of the drm modules. I get a unknown symbol init_mm error, which i tried depmod but no luck.  I am now at a loss.

thanks anyway vacant

Offline

#10 2009-04-04 11:45:26

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

vacant wrote:

I built the radeon and drm kernel modules from AUR, deleted the modules that came with kernel26, depmod and it worked. Reading comments in AUR RADEONHD, although radeonhd has been merged to master, the drm hasn't.

You don't have to delete the modules from the kernel26 package any more. The new modules in the drm-radeon-module-git-r6xx-r7xx packate are put in the updates folder.
You are right. The r6xx-r7xx branches from the radeonhd and ati driver are merged to master. I prefer to use xf86-video-ati-git (requires xorg 1.6) or xf86-video-radeonhd-git.

Offline

#11 2009-04-04 18:08:49

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

vacant wrote:

When I updated today from testing and went to kernel 2.6.29 I found my previously working 2d acceleration broken (ati HD3200 on board). Desktop was jerky, videos a no-go in full screen. i.e. kernel26 no longer recognises my HD3200. /dev/dri is empty.

I built the radeon and drm kernel modules from AUR, deleted the modules that came with kernel26, depmod and it worked. Reading comments in AUR RADEONHD, although radeonhd has been merged to master, the drm hasn't.

i'm running the same config on 2.6.29.1, do you also notice slightly slower screen writes than with kernel .28, even with EXA? i'm still on xorg 1.5 though, should 1.6 give better results?

edit: i swapped the r6xx branch for radeonhd-git and it's all good now

edit 2: no it's not, same thing tongue

Last edited by litemotiv (2009-04-04 18:56:25)


ᶘ ᵒᴥᵒᶅ

Offline

#12 2009-04-06 15:50:29

paolo83
Member
Registered: 2009-03-30
Posts: 11

Re: Need help with xf86-video-ati 6.12 Xv, EXA dri, drm

anyone knows if work the powersafe with open drive? I'm using windows if anyone tell me this :-(

Offline

Board footer

Powered by FluxBB