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) - Endeavour79 - 2014-04-27

@fritsch
I didn't touch the advancedsettings file. Was working before I did the apt-get upgrade which installed the recently updated XBMC version.
Anyway, sensor is not too important.. Never mind I can live without it.


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-27

Provide the output of:
- sensors
and
- sensors|sed -ne "s/Core 0: \+[-+]\([0-9]\+\).*/\1 C/p"

Mentioning bugs and not trying to fix them is a no go :-)


RE: Radeon OSS with vdpau (howto) - AlexKid - 2014-04-27

@fritsch

I have a Problem with Audio Passthrough all Audio Codecs are played as PCM 2.0. , I did all the steps discribed in the first post. I did a clean install of Ubunut 14.04 Desktop and cleaned my home folder. When I install the official Xbmc from the reposetory Passthrough works fine but the Video lags. With your version 1a video is fine but Audio sucks. Your Xbmc mentioned another HDMI audio device than the official Xbmc Version. The same with version from 1b, but with Gotham I have another problem everytime I want to exit or shutdown Xbmc my Computer freeze.

Thanks for your help

My System is Zotac Mini-ITX E350


RE: Radeon OSS with vdpau (howto) - Endeavour79 - 2014-04-27

Haha..okay..ueberzeugt..

Code:
k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +61.0°C  (high = +70.0°C)
                       (crit = +100.0°C, hyst = +97.0°C)

radeon-pci-0008
Adapter: PCI adapter
temp1:        +61.0°C  (crit = +120.0°C, hyst = +90.0°C)

No output at all for sensors|sed -ne "s/Core 0: \+[-+]\([0-9]\+\).*/\1 C/p"

Relevant part of the advancedsettings
Code:
<cputempcommand>sensors|sed -ne '1h;1!H;${g;s/radeon.*k10temp.*temp1: \+[-+]\([0-9]\+\).*/\1 C/p}'</cputempcommand>

  <gputempcommand>sensors|sed -ne '1h;1!H;${g;s/radeon.*temp1: \+[-+]\([0-9]\+\).*/\1 C/p}'</gputempcommand>



RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-27

(2014-04-27, 10:02)AlexKid Wrote: @fritsch

I have a Problem with Audio Passthrough all Audio Codecs are played as PCM 2.0. , I did all the steps discribed in the first post. I did a clean install of Ubunut 14.04 Desktop and cleaned my home folder. When I install the official Xbmc from the reposetory Passthrough works fine but the Video lags. With your version 1a video is fine but Audio sucks. Your Xbmc mentioned another HDMI audio device than the official Xbmc Version. The same with version from 1b, but with Gotham I have another problem everytime I want to exit or shutdown Xbmc my Computer freeze.

Thanks for your help

My System is Zotac Mini-ITX E350

Provide the logfiles, the howto wants. Btw. Ubuntu 14.04 uses Pulseaudio by default and this howto explicitely suggests to install a _minimal_ iso. Read here: http://wiki.xbmc.org/index.php?title=PulseAudio


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-27

(2014-04-27, 10:04)Endeavour79 Wrote: Haha..okay..ueberzeugt..

Code:
k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +61.0°C  (high = +70.0°C)
                       (crit = +100.0°C, hyst = +97.0°C)

radeon-pci-0008
Adapter: PCI adapter
temp1:        +61.0°C  (crit = +120.0°C, hyst = +90.0°C)

No output at all for sensors|sed -ne "s/Core 0: \+[-+]\([0-9]\+\).*/\1 C/p"

Relevant part of the advancedsettings
Code:
<cputempcommand>sensors|sed -ne '1h;1!H;${g;s/radeon.*k10temp.*temp1: \+[-+]\([0-9]\+\).*/\1 C/p}'</cputempcommand>

  <gputempcommand>sensors|sed -ne '1h;1!H;${g;s/radeon.*temp1: \+[-+]\([0-9]\+\).*/\1 C/p}'</gputempcommand>

Your advancedsettings.xml does not match the one in the howto. Use the howto one and replace Core 0 with temp1 or something.


RE: Radeon OSS with vdpau (howto) - Endeavour79 - 2014-04-27

@AlexKid
Did you read the info about PulseAudio in the Wiki. Might be the source of your problem.


RE: Radeon OSS with vdpau (howto) - gen1uscat - 2014-04-27

Please help Sad

dmesg
cat ~/.xbmc/temp/xbmc.log
cat /var/log/Xorg.0.log
DISPLAY=:0 vdpauinfo
Quote:Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
dpkg -l |grep mesa


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-27

You are running fglrx. Please follow the howto.


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-27

Image

Image

We (especially christian) are currently tuning the 24p modes again - stay tuned.


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-27

Here are the kernels and the patch:

Code:
wget https://dl.dropboxusercontent.com/u/55728161/linux-image-3.14.2-amdfixes5%2B_1.0_amd64.deb https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.14.2-amdfixes5%2B_1.0_amd64.deb
sudo dpkg -i *amdfixes5*deb

The patch is here: http://sprunge.us/XcQW


RE: Radeon OSS with vdpau (howto) - gen1uscat - 2014-04-27

(2014-04-27, 12:54)fritsch Wrote: You are running fglrx. Please follow the howto.

Right! Remove fglrx and use xorg open-source driver. All works perfectly! Thanks! Big Grin


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-27

As you are now on the radeon boat, test the above kernels if you have time :-)


RE: Radeon OSS with vdpau (howto) - gfisher - 2014-04-27

(2014-04-27, 17:55)fritsch Wrote: Here are the kernels and the patch:

Code:
wget https://dl.dropboxusercontent.com/u/55728161/linux-image-3.14.2-amdfixes5%2B_1.0_amd64.deb https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.14.2-amdfixes5%2B_1.0_amd64.deb
sudo dpkg -i *amdfixes5*deb

The patch is here: http://sprunge.us/XcQW

This kernel works great on a4 3400, xubuntu64 full desktop 14.04 release + Fernetmenta ppa. No additional skips 1080px23.976 and 1080ix29.97 (temporal deint) = amazing PQ improvement (goodbye Judders and skips). Thanks so much. Some version of this must go mainline. OE 4.0 with this patch actually made my Zotac AQ01 perfect, 1080ix29.97+ temporal, a OK.


RE: Radeon OSS with vdpau (howto) - wsnipex - 2014-04-27

gfisher, does suspend/resume work on your AQ01?