View Full Version : Xv on R600
Dinth
06-07-2009, 04:06 AM
I have Radeon HD2600 card, and ive instaled xf86-video-ati 6.12.2, ati-dri 7.4.2, mesa 7.4.2, kernel 2.6.29.4.
Unfortunately i cannot get Xv video
X-Video Extension version 2.2
screen #0
no adaptors present
In X log i get error:
└─[$]> cat /var/log/Xorg.0.log | grep EE
Current Operating System: Linux dinth-archlinux 2.6.29-ARCH #1 SMP PREEMPT Wed May 20 07:06:02 UTC 2009 i686
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
(EE) RADEON(0): Acceleration initialization failed
It is possible get Xv video now, without using svn builds on R600 card ?
Wyatt
06-07-2009, 04:29 AM
It is possible get Xv video now, without using svn builds on R600 card ?
To my knowledge, no it is not. As I recall, it's actually the kernel DRM that is in the way. I've personally been using the r6xx-67xx-support branch for a while, though hopefully that will end soon. (Maybe as soon as next week? I've not been following things too close of late.)
You need drm update or kernel 2.6.30.
krazy
06-07-2009, 05:15 AM
what is Ubuntu Jaunty using?
Perry3D
06-07-2009, 06:32 AM
He is using Arch-Linux.
@Dinth: Install a package from AUR: http://aur.archlinux.org/packages.php?ID=24235 . This package build new drm kernel modules without overwriting the old ones.
And you have to enable EXA and DRI in the xorg.conf.
Perry3D
06-07-2009, 06:34 AM
He is using Arch-Linux.
@Dinth: Install this package from AUR: http://aur.archlinux.org/packages.php?ID=24235 . This package build new kernel modules without overwriting the old ones.
And you have to enable EXA and DRI in the xorg.conf.
Dinth
06-07-2009, 07:31 AM
Thanks very much i will test it. Must i add something to rc.conf for this ?
Perry3D
06-07-2009, 07:40 AM
Thanks very much i will test it. Must i add something to rc.conf for this ?
No, it installs the modules in the updates folder. They will automatically be used. If you want to use the old modules remove the package.
Dinth
06-07-2009, 08:59 AM
No, it installs the modules in the updates folder. They will automatically be used. If you want to use the old modules remove the package.
I finally get Xv to work. Unfortunately, desktop effects in KDE4 still dont work (i have DRI enabled in xorg.conf)
(II) AIGLX: Screen 0 is not DRI2 capable
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(EE) AIGLX error: Calling driver entry point failed(EE) AIGLX: reverting to software rendering
adamk
06-07-2009, 10:35 AM
r600 cards do not have 3D acceleration with the open source drivers, at least not in any form usable for end-users.
Adam
bridgman
06-07-2009, 11:30 AM
I finally get Xv to work. Unfortunately, desktop effects in KDE4 still dont work (i have DRI enabled in xorg.conf)
KDE has the ability to enable desktop effects using XRender (which is supported via EXA) rather than OpenGL (which is not supported yet). Maybe give that a try ?
nanonyme
06-07-2009, 11:51 AM
KDE has the ability to enable desktop effects using XRender (which is supported via EXA) rather than OpenGL (which is not supported yet). Maybe give that a try ?I heard it only does a limited set of the actual effects. It should give compositing though. :)
Dinth
06-07-2009, 01:08 PM
Unfortunately i cannot also enable compositing via Xrender.
When i run systemsettings via konsole, i get warning when im entering compositing settings:
unknown chip id 0x9589, can't guess.
Perry3D
06-07-2009, 01:15 PM
Unfortunately i cannot also enable compositing via Xrender.
When i run systemsettings via konsole, i get warning when im entering compositing settings:
unknown chip id 0x9589, can't guess.
Try installing xf86-video-ati-git. Maybe your card was already added.
Dinth
06-07-2009, 02:16 PM
I've installed xf-video-ati-git, but something bad happened.
Now i have
└─[$]> cat /var/log/Xorg.0.log | grep EE
Current Operating System: Linux dinth-archlinux 2.6.29-ARCH #1 SMP PREEMPT Wed May 20 07:06:02 UTC 2009 i686
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/r600_dri.so failed (/usr/lib/xorg/modules/dri/r600_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
in logs.
nanonyme
06-07-2009, 02:31 PM
That's to be expected, it doesn't have a Mesa driver yet. Ignore that, please. ;)
bridgman
06-07-2009, 02:37 PM
Yep, that's a Good Error (for today, anyways ;))
Dinth
06-07-2009, 02:42 PM
But unfortunately desktop effects still cannot be enabled. This time without even warning.
Please tell my what information should i provide.
bridgman
06-07-2009, 03:23 PM
Were you able to go into the "Advanced" screen and select XRender ?
I think the sequence is "click on Enable Effects => click on Advanced => choose XRender" or something like that...
EDIT - found some instructions that might help :
http://kubuntuforums.net/forums/index.php?topic=3099721.0
forum1793
06-07-2009, 03:32 PM
When compiling mesa, you can specify r600
But, the package that I get sticks r600 in /usr/lib/dri. So you can put a link to /usr/lib/dri in /usr/lib/xorg/modules/dri.
But then I still get dri disabled. I imagine the software is just not ready yet or I'm goofing it up. This for a HD3200. Your results may differ.
Dinth
06-07-2009, 03:34 PM
Yeah, ive tried choosing Xrender. I get KDE warning which tells me that KDE couldnt start desktop effects, and i should check my xorg.conf
Here is my xorg.conf:
http://pastebin.com/f521eee95
and here is my xorg log
http://pastebin.com/f5b3d626
nanonyme
06-07-2009, 04:16 PM
When compiling mesa, you can specify r600
But, the package that I get sticks r600 in /usr/lib/dri. So you can put a link to /usr/lib/dri in /usr/lib/xorg/modules/dri.
But then I still get dri disabled. I imagine the software is just not ready yet or I'm goofing it up. This for a HD3200. Your results may differ.Simple answer: the software is not ready yet. You're talking of OpenGL support, it's completely irrelated with EXA+Xv support and doesn't work yet.
(also the path it put the driver in is correct on a 32bit system)
bridgman
06-07-2009, 04:42 PM
Yeah, ive tried choosing Xrender. I get KDE warning which tells me that KDE couldnt start desktop effects, and i should check my xorg.conf.
I don't see anything obviously wrong in your log file. Maybe do some pruning on your conf file -- keep :
Option "AccelMethod" "EXA"
keep the EDID over-rides if you need them :
Option "IgnoreEDID" "on"
Option "NoDDC" "on"
... and comment out the rest :
VideoRam 262144
Option "RenderAccel" "on"
Option "EnablePageFlip" "on"
Option "DRI" "on"
Option "ColorTiling" "on"
Option "EXAVSync" "on"
Option "XAANoOffscreenPixmaps" "true"
EXAVSync is supported by the driver but try commenting that out as well just in case... once you get XRender-based desktop effects working you can try turning it back on again.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.