VDPAU support in VLC (radeon driver)

Hello,

I have problem with configuring video acceleration at my laptop. In debian I had to install mesa-vdpau-drivers library, and after that hardware acceleration worked fine in VLC and with Flash. Is there any way to get it working in openSuse? I can’t find any information nor tutorials about how to set this up. My graphic card is ATI Moblility Radeon HD4330 and I’m using opensource radeon driver (r600). I would be grateful for any help.

You shouldn’t have to do anything.
Hardware acceleration should work out of the box.

And I’m not aware of anything you could do either… :wink:

Yes, however video is not hardware accelerated, there is no difference between setting VDPAU to accelerate video in VLC or disable acceleration, it is not as smooth as it should be (in comparison to debian - same mesa version). I added user to a video group but it didn’t resolve the problem. The result of “grep -i vdpau /var/log/Xorg.0.log” is:

(II) RADEON(0): [DRI2]   VDPAU driver: r600

So it looks like driver is set up well, but it’s not using it to decoding video.

How do you come to that conclusion? (except that “it’s not as smooth as it should be”).

I’m not an expert in this area, on my Radeon 9600 (which doesn’t support hw decoding anyway), all videos I tried run fine.

What I can suggest is to install libvdpau_va_gl1 if it’s not installed already, or uninstall it if it is.

Maybe somebody else has a better idea though… :wink:

Ok, I’ve got a solution. What I had to do is install package libvdpau1, and add environment variable VDPAU_DRIVER=*r600, *by editing /etc/environment file. Now I can enjoy smooth full-hd movies on my old radeon :slight_smile:

Thanks for sharing your solution…

Although I would have thought that libvdpau1 should be installed by default. On my system I cannot even remove it because it is required by DirectFB, MPlayer, gstreamer, ffmpeg, and libxine2.

Also, I think that setting VDPAU_DRIVER shouldn’t be necessary, it should autodetect the correct driver.

Anyway, if it works for you now, great! :slight_smile: