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.
I change my Board and yet I dont have HD Sounds. My old Board was a AMD E-350 from Biostar and my new Baord is a AMD A4-5000 from Biostar too.

If I have switch on DTSHD and play a Movie with HD Sound, then my Receiver is quiet und dont show DTS or DTSHD. But if I press Esc and the Movie goes in Background then I see DTSHD and hear Sounds, but the Sound stutter.
I have testing the original XBMC from trusty, and the XBMC from Post #1 and I have upgrade the Kernel to 3.16.2 and 3.17rc

What can I do?
It's a bug. keep it running in 60hz (which happens when you go to window mode). See the thread for the bugreport on freedesktop.org
Thx, a bug from the Chipset? Must I wait for a new driver in Kernel? Mesa version or XBMC?
On freedesktop.org I cant find a board Sad
on a side note: I'd _always_ prefer proper refresh rate over HD audio.
Hi,

my CPU APU is AMD A6-6400K, which is according to spec compliant with UVD 3.2 and fully supporting Mpeg-2 decoding with VDPAU.

What I see inspecting my system (Trusty, Gotham 13.2, Mesa 10.1.3) is that whenever I try to use VDPAU for Mpeg-2 encoded stream the machine freezes.

I am bit desperate because I had to switch off VDPAU in xbmc to have it functional.

Is it possible that the problem is in Mesa drivers?

When I try avconv decoding an inmupt Mpeg-2 file the result is following:

Code:
[mpegvideo_vdpau @ 0x1125e80] get_buffer() failed (-22 0 (nil))
Error while decoding stream #0:0
[mpegvideo_vdpau @ 0x1125e80] get_buffer() failed (-22 0 (nil))
.....

Thanks for any help.
It only uses shaders. Disable it in settings. Bug is filed in fdo.

Edit: you even missed all the logs from 1st post.
There is not such option to disable Mpeg-2 VDPAU. It was possible for some time, but now it is gone.

Code:
xbmc@galadriel:~$ dmesg | pastebinit
http://paste.ubuntu.com/8328823/
xbmc@galadriel:~$ cat ~/.xbmc/temp/xbmc.log | pastebinit
http://paste.ubuntu.com/8328825/
xbmc@galadriel:~$ cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/8328826/
xbmc@galadriel:~$ DISPLAY=:0 vdpauinfo | pastebinit
http://paste.ubuntu.com/8328827/
xbmc@galadriel:~$ dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/8328828/
Expert settings acceleration. Confluence skin.
Ok, you are right ... but I swear it was not there :-)

btw, when I switch Mpeg-4 VDPAU on, there are also problems (square flickering areas) in the videos
It seems to me that I am in the same situation as before when VDPAU was swithed off.
Also known and most probably will never be fixed cause in the times of mpeg-4 there were so many different / incomaptible coding parameters. This one is also disable for nvidia by default.
Not sure if unrelated to this tutorial but Airplay keeps crashing..
I posted here: http://forum.xbmc.org/showthread.php?tid=204404
Just wanted to say thanks to fritsh, I modifyed this script to start openbox and boots in quick.

I have a problem with shutdown/reboot and dvd drive now not working, but not sure if this is related as messed that up previously with nodm I think.
Before I get shouted at for be dozy I just noticed rest of first post lol.
Too late to try now, went on wild goose chase it seems as that answers shutdown problem I guess! Doh.

Edit: didn't work for me, used bits quoted in next post and all good.
(2014-08-03, 13:26)xtdv Wrote: [ -> ]I have trouble with shutdown menu in Ubuntu 14.04 (Trusty). Some variables in polkit-1 have been changed.

The file /etc/polkit-1/localauthority/50-local.d/custom-actions.pkla should look like this:

Code:
[Actions for xbmc user]
Identity=unix-user:xbmc
Action=org.freedesktop.login1.reboot;org.freedesktop.login1.reboot-multiple-sessions;org.freedesktop.login1.power-off;org.freedesktop.login1.power-off-multiple-sessions;org.freedesktop.login1.suspend;org.freedesktop.login1.suspend-multiple-sessions;org.freedesktop.login1.hibernate;org.freedesktop.login1.hibernate-multiple-sessions
ResultAny=yes
ResultInactive=yes
ResultActive=yes

[Untrusted Upgrade]
Identity=unix-user:xbmc
Action=org.debian.apt.upgrade-packages;org.debian.apt.update-cache
ResultAny=yes
ResultInactive=yes
ResultActive=yes

More information: http://askubuntu.com/questions/453479/ho...m-in-14-04

That sorted it, thanks!