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) - gangkill13 - 2014-01-14

Thanks fritsch!

Switching to 720p solved the problem. May i ask how this setting solved the problem?


openSUSE howto - tomtomme - 2014-01-14

update to the openSUSE howto:
http://forum.xbmc.org/showthread.php?tid=174854&pid=1546145#pid1546145

##### update concerning pulse audio and HD audio formats (workaround) ######

- Pulse Audio can help with sounds playing at the same time in xbmc and other apps. It does however not support HD audio formats. Desktop (KDE/Gnome etc.) users that want HD audio and pulse-audio change their Exec= line in

/usr/share/applications/xbmc.desktop

from

Exec=xbmc

to

Exec=echo "autospawn=no" > ~/.pulse/client.conf && pulseaudio -k && xbmc & rm ~/.pulse/client.conf && pulseaudio --start

################


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-14

You only need that workaround if you want to bypass your local PulseAudio Server. In that Case also xbmc pulse won't enumerate and just plain do nothing. Alsa will be used.


RE: Radeon OSS with vdpau (howto) - numminorih - 2014-01-15

Good Day!

When I compiled a new version of kernel rc8 by manual, I see some errors in terminal, such as: Error! Bad return status for module build on kernel: 3.13.0-031300rc8-generic (x86_64).
But cernel completly instaled:

What is the error, and what should I do?

% uname -r
3.13.0-031300rc8-generic


Terminal:
...
Настраивается пакет linux-headers-3.13.0-031300rc8-generic (3.13.0-031300rc8.201401120535) …
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.13.0-031300rc8-generic /boot/vmlinuz-3.13.0-031300rc8-generic
Error! Bad return status for module build on kernel: 3.13.0-031300rc8-generic (x86_64)
Consult /var/lib/dkms/virtualbox-guest/4.2.16/build/make.log for more information.
Настраивается пакет linux-image-3.13.0-031300rc8-generic (3.13.0-031300rc8.201401120535) …
Running depmod.

...


RE: Radeon OSS with vdpau (howto) - wsnipex - 2014-01-15

reinstall the virtualbox kernel module(vbox). Btw: this is off topic


RE: Radeon OSS with vdpau (howto) - numminorih - 2014-01-15

Sorry, thx,
i just didn't noticed after hard working day :-)

In last kernel i have 12-14% load jn my AMD A10 6800K when i se HDTV film. Is it normal?
In rс6 it was someone near 4-8%/

thx

Sorry hard day.... AMD A10 6800K


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-15

:-) Make some statistics.


RE: Radeon OSS with vdpau (howto) - pci__ - 2014-01-15

Hi,
just a post to thank author(s) of this great how to.
Many thanks.
Hope I will help with one soon. I'm actually setting up my audio backend (pulseaudio) to "auto-switch" from my hdmi audio card to the bluetooth headset once is connected with command line tools.

pci.


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-15

That's not needed anymore :-)

Set xbmc to use Default (PULSE) device, that's all you need to do within xbmc. You might run pactl set-default-sink "name of your bluetooth" thingy and done. But the latter can for sure be automated by the OS and the PA tools.


RE: Radeon OSS with vdpau (howto) - blm14 - 2014-01-16

(2014-01-13, 09:35)fritsch Wrote: OSS VDPAU only does VC1 Advanced. A media info will tell.

Is that going to change? Even software or CPU decode support for older WMV files would be great...


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-16

No idea. I don't program the AMD drivers.


RE: Radeon OSS with vdpau (howto) - nunux59 - 2014-01-17

Thanks to AMD OSS devs, fritsch and probably a lot of other devs, I got OSS radeon driver to work well on my setup Smile

I have enabled Vertical Sync, the image is very smooth but I have tearing when playing a video :/ I have Xubuntu and I launch XBMC on top of XFCE.

Here are my logs :

xbmc@htpc:~$ dmesg | pastebinit
http://paste.ubuntu.com/6767926/
xbmc@htpc:~$ cat ~/.xbmc/temp/xbmc.log | pastebinit
http://paste.ubuntu.com/6767927/
xbmc@htpc:~$ cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/6767928/
xbmc@htpc:~$ DISPLAY=:0 vdpauinfo | pastebinit
http://paste.ubuntu.com/6767930/
xbmc@htpc:~$ dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/6767931/


Anyone has an idea?
Thanks in advance.


RE: Radeon OSS with vdpau (howto) - gfisher - 2014-01-17

Nunux59. Make sure you disable compositing. GUI based.. Settings > windows tweaks manager under the right tab deselect compositing. http://docs.xfce.org/xfce/xfwm4/wmtweaks
That works for me. The pavucontrol fritsch wrote works great.


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-17

@gfisher: You have passthrough working? Which OS version?


RE: Radeon OSS with vdpau (howto) - gfisher - 2014-01-17

Sorry no pass through. HDMI to LCD only. Xubuntu 64 13.10 full desktop. I run xbmc on top of desktop. I played with your pa sink nothing is broken as far as I can see. 8)