Kodi Community Forum

Full Version: Radeon OSS with vdpau (howto)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2013-11-22, 19:34)libgradev Wrote: [ -> ]Pop along and add your voice to it!

I've added my 2c, hope that helps.

Until there's a fix the VDPAU is completely unusable, therefore I'm wondering if it's possible to create a codec exception list for VDPAU? Something like a workaround to skip broken implementation and do mpeg-2 on CPU?

Thanks Sam
Nice. I debugged this with fabiosth and it did not help. It was the first i tried. Could have been cause of his raid. Will update. Thx again.
(2013-11-23, 13:32)universam Wrote: [ -> ]
(2013-11-22, 19:34)libgradev Wrote: [ -> ]Pop along and add your voice to it!

I've added my 2c, hope that helps.

Until there's a fix the VDPAU is completely unusable, therefore I'm wondering if it's possible to create a codec exception list for VDPAU? Something like a workaround to skip broken implementation and do mpeg-2 on CPU?

Thanks Sam

Quite easy. Patch welcome.
Completely unusable: just disable it completely.
recently started getting lockups when playing mpeg2 video.
http://paste.ubuntu.com/6463358/

EDIT
added dmesg to the freedesktop bug 71796.
I followed your how-to but I am running into quite a bit of problems:
I have an Arctic MC-001N (CPU Dual Core Intel Atom D525 (1.8GHz) Graphics ATI Mobility Radeon HD 5430, 512MB GDDR3)

1. I could not get xbmc to autostart without installing lightdm
2. Now that it is started, my logitech harmony doesn't work
3. The only resolutions I get are 1024x768, 800x600, 640x480, 720x400
4. There is no audio.
5. The CPU-xbmc is at about 318%

XBMC Logs

UPDATE: I have fixed all previous issues. But now I have about an inch of underscan all around the picture. How can I fix this?
sudo aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0 does not work
sudo aticonfig --query-monitor states X Windows is not running or $DISPLAY is not set

UPDATE: I'm an idiot. I have everything working. Thanks for the great write-up.
Please don't patch out my mpeg2 8). My 6140d/a4 3400
decodes mpeg2 fine on vdpau. Tested several Wtv files as ota recordings over samba 1080i 29.97 and 720p 59.94 playback fine. Do you have a sample that cuts out?
That will never happen, don't be afraid.
I seem to be getting a lot of dropped frames. On movies that pan or have a lot of motion the video jerks about every 4-5 seconds. Any ideas on how to fix that?
@VanillaXtract. Please try to disable *vertical black sync*- op guide sets to always. I get better panning. Just curious.
That caused a lot of tearing.
On the video? Strange. I cannot Get tearing at all. Fglrx was tearing a lot. Thanks for trying. My sony set is 120hz and seems to work magic I guess. What is the media info? Are your setting the same as op exactly?
4.) XBMC settings
System->Settings->System->Video Settings:
Vertical Sync: Always on

System ->Video->Playback:
VDPAU: On
Prefer VDPAU Mixer: ON
VAAPI: off
Adjust Refreshrate to match video: On
Sync Playback to Display: On
Sync Method: Video Clock (Drop/Dupe)
Logfiles or it never happened.
(2013-11-24, 10:48)fritsch Wrote: [ -> ]Logfiles or it never happened.

@fritsch Good point. I ended up switching to the 12.3 pre (wsnipex-xbmc-fernetmenta) to see if that would fix my issues but they are still present. Here is my log file. XBMC Log. As you can tell it is after the switch.

@gfisher What do you mean fglrx was tearing a lot? I had to install fglrx to get video. I did the minimal install plus fglrx, lightdm, and samba. Yes, my settings are the same as op and yours.
@VanillaXtract, I was referring to when I used to use fglrx.

The point of this thread is to not use fglrx/xvba closed source amd drivers. Your judder is from who knows what decoding. Good news is once you get rid of fglrx and install wsnipex mesa ppa which installs the new open source drivers, your system should rock. 8)
If you are having a hard time with minimal. Try xubuntu 64 13.10. Then follow the op but skip making the upstart script. Disable compositing in settings -> windows. It uses pulse - stereo HDMI is seems fine on my systems. Pm me if you need help setting it up.
Else you should try to redo the op guide again cleanly and do not load fglrx. The magic is the new open source driver.
wsnipex-xbmc-fernetmenta: gotham
xbmc 12.3 pre: Frodo 12.3 prerelease

They have as much in common as me General Eisenhower.

Disable this
Quote:21:35:34 T:140021553174400 ERROR: XLCDproc::Connect - Unable to connect to host, LCDd not running?
21:35:34 T:140021553174400 ERROR: XLCDproc::Initialize - Connect failed. Retry in 64 seconds.

Follow the howto and post the relevant files
Quote:21:37:03 T:140020212029184 NOTICE: vdp_device = 0xffffffff vdp_st = 0x00000001
21:37:03 T:140020212029184 ERROR: (VDPAU) unable to init VDPAU - vdp_st = 0x1. Falling back.
21:37:03 T:140020212029184 NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
21:37:03 T:140020212029184 NOTICE: (VDPAU) Close