Kodi Community Forum
Linux Radeon OSS with vdpau (howto) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux Radeon OSS with vdpau (howto) (/showthread.php?tid=174854)



RE: Radeon OSS with vdpau (howto) - drawks - 2014-12-20

Just wanted to say that bitstreaming and vdpau works great with the latest version of kodi from the unstable ppa running on ubuntu 14.04LTS Desktop amd64. Passthrough mode absolutely wouldn't work until I uninstalled pulseaudio. The first set of packages listed in the first post of this thread were also installed, but nothing else special config wise was needed.

Just watched 300 with TruHD and am now watching FireFly in DD+

Hardware is an AMD A10-5700 APU with Gallium Aruba onboard. While streaming 1080p uncompressed bluray rips CPU usage hovers around 10%


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-12-20

Yeah, this howto does _not_ use the 14.04 LTS desktop, but a minimal iso. It also does not install pulseaudio.

For pulseaudio, there is a wiki entry, that explains the dos and don'ts: http://kodi.wiki/view/PulseAudio

Edit: In order to have correct Sync Playback to Display, you will need to install a 3.16.x kernel, read some posts back.


RE: Radeon OSS with vdpau (howto) - Endeavour79 - 2014-12-20

Is it safe to update to kernel 3.18.1 vivid?
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.1-vivid/


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-12-20

3.17 had a problem with the powersates, therefore I still suggest 3.16. I did not test 3.18.x yet on my AMD systems.

You could do so and report back, please.

Test the following files, please - with the settings from post 1:

http://solidrun.maltegrosse.de/~fritsch/

Additionally:
Some 24p and 24.0 hz movies with bitstream passthrough. Take care for the sync.

If all fine or "as fine as before". We can suggest 3.18.x


RE: Radeon OSS with vdpau (howto) - blm14 - 2014-12-22

this is maybe better asked in the openELEC forum, but I figured I'd ask here as well - has this code made it into stable openELEC?


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-12-22

Everything is and will be in OpenELEC 5.0

4.2.1 has the gotham version back of the time.


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-12-22

For those missing Limited Color Range, subscribe here: https://bugs.freedesktop.org/show_bug.cgi?id=87591


RE: Radeon OSS with vdpau (howto) - Krobar - 2014-12-23

(2014-12-22, 15:28)fritsch Wrote: For those missing Limited Color Range, subscribe here: https://bugs.freedesktop.org/show_bug.cgi?id=87591

Subscribed. Is there a current bug for the no HD audio with anything but 60P?


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-12-23

Yes.https://www.libreoffice.org/bugzilla/show_bug.cgi?id=75064


RE: Radeon OSS with vdpau (howto) - drawks - 2014-12-23

(2014-12-20, 08:08)fritsch Wrote: Yeah, this howto does _not_ use the 14.04 LTS desktop, but a minimal iso. It also does not install pulseaudio.

For pulseaudio, there is a wiki entry, that explains the dos and don'ts: http://kodi.wiki/view/PulseAudio

Yeah, sure. I was just reporting that portions of the howto were helpful to get things working for me on desktop AND that it worked in spite of lots of other conflicting reports that it wouldn't.

Quote:Edit: In order to have correct Sync Playback to Display, you will need to install a 3.16.x kernel, read some posts back.


3.13.0-43-generic seems to chugging along just fine. No audio/video sync issues thus far. One VC1+TruHD HD-DVD uncompressed HD-DVD rip I have doesn't seem to want to get a good "lock" with my receiver, but so far it's just the one.


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-12-23

what is a "good lock"?


RE: Radeon OSS with vdpau (howto) - drawks - 2014-12-23

(2014-12-23, 09:36)fritsch Wrote: what is a "good lock"?

When playback first starts typically the display on my onkyo receiver blinks an HDMI indicator. Most of the time it blinks once or twice and then the receiver displays whatever encoding it has detected. With this one video however the hdmi indicator blinks for maybe 5-8 seconds and then goes out and i get no audio. Without much more to go on than that diagnostically I suspect it is a matter of the signal clocks being out of phase, data loss, or data corruption of somesort. But thats purely speculative.


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-12-23

A Debug Log would perhaps show.


RE: Radeon OSS with vdpau (howto) - sheepy - 2014-12-23

Hello,
I had installed ubuntu 14.04 server with kernel 3.16.7-031607 and kodi 15.0-Alpha1. The system is running on a ASRock AM1H-ITX with a AMD Athlon 5350.

My problem:
When I'm running a movie with vdpau kodi crashes.

my kodi.old.log has logged this error:
Quote:14:28:18 T:140117226268416 ERROR: (VDPAU) Error: No backend implementation could be loaded.(1) at VDPAU.cpp:1047
Can someone help me with this problem?

If I checked vdpauinfo i get the message:
Quote:DISPLAY=:0 vdpauinfo
Error creating VDPAU device: 23

but if I run it with sudo, it works. Is this okay?

Complete logs:
kodi.old.log
dpkg -l | grep mesa
XOrg.0.log
vdpauinfo (with sudo)


best regards,
sheepy


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-12-23

You miss permissions.

Make sure the user you are running kodi is member of video and audio.

cat /etc/group |grep -i "Your user name"