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) - fritsch - 2014-09-02

You run pulseaudio.


RE: Radeon OSS with vdpau (howto) - TheCritter - 2014-09-02

Thx, where can I change it? On Xbmc?

Edit: Ok, I have remove pulseaudio


RE: Radeon OSS with vdpau (howto) - valdi74 - 2014-09-02

(2014-09-02, 11:38)TheCritter Wrote: Thx, where can I change it? On Xbmc?
1. You can remove pulseaudio from system:
Code:
sudo apt-get remove pulseaudio
but sound in Ubuntu will be broken.

OR

2. You can kill pulseaudio before run XBMC. In standard instalation, pulseaudio server starts automatically after kill, so you have to disable it:
Edit pulse configuration file:
Code:
/etc/pulse/client.conf
and add (or uncomment and change to "no") following line:
Code:
autospawn = no
In your unity/gnome session go to startup programs and add new command:
Code:
pulseaudio --start
Before run XMBC, kill pulseaudio:
Code:
pulseaudio --kill
After exit from XMBC, run pulseaudio, to restore Ubuntu sounds:
Code:
pulseaudio --start



RE: Radeon OSS with vdpau (howto) - thctlo - 2014-09-02

(2014-08-28, 15:16)FernetMenta Wrote: you can skip the log for 13.x, this version is of no interest. Do you roughly remember the last working Helix version?

Hai, wel, i do, the 9 august and before all worked ok with the keyboard.
I have this problem with the xbmc app over wifi.

as of the 15 august update it stopped working.


RE: Radeon OSS with vdpau (howto) - Stewinashoe - 2014-09-05

Hey everyone. I seem to have run into an issue. I followed this guide exactly and got to the point where XBMC should be installed, however, after rebooting the computer it only boots to a login prompt. I checked the log in /var/log/upstart/xbmc.log, and it says, "no passwd entry for user xbmc". I checked the passwd file and it does have an entry for xbmc. I also changed the user in the upstart script to a different user, and still have the same issue. Does anyone have some insight on this?


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-09-05

Did you create the file from Windows with putty? Make sure to use an utf-8 session. Windows clipboard seems to add chunk at line ends. Seems to be a win 8.1 feature.


RE: Radeon OSS with vdpau (howto) - lemur - 2014-09-08

I have a pretty strange config. A VM with Ubuntu 14.04 running on top of a esxi host with a radeon 7750 readeon passed through. The problem is that when using OSS drivers - after entering the login and password information nothing happens and the system hangs with just a wallpaper. So i am not sure if HDMI or anything works out. Is there anyway to enable hardware acceleration on the latest proprietary drivers inside Ubuntu? Or i am out of luck?


RE: Radeon OSS with vdpau (howto) - magny - 2014-09-08

Hello

I get crazy now after updating from saucy to trusty 14.04.01, cant get the HW decoding to work again. Installed the latest ATI drivers (fglrx-14.10.1006.1001) but the only thing I get from vdpauinfo is:

Code:
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1

I have google it and find alot with same problem, but nothing that solves it for me.

dmesg | pastebinit
http://paste.ubuntu.com/8293407/

cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/8293468/

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1

DISPLAY=:0 vdpauinfo | pastebinit
http://paste.ubuntu.com/8293471/

dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/8293474/

Thanks and best regards Andreas


AW: RE: Radeon OSS with vdpau (howto) - Jan0sh - 2014-09-08

(2014-09-08, 22:51)magny Wrote: Hello

I get crazy now after updating from saucy to trusty 14.04.01, cant get the HW decoding to work again. Installed the latest ATI drivers (fglrx-14.10.1006.1001) but the only thing I get from vdpauinfo is:

Hi andreas!
Reread the first post. Carefully. And then read it again. Even more carefull.

This thread is ***NOT*** about amds fglrx driver.

It is about the open source driver.

No one will/may/can help you here with questions about fglrx.
Support for fglrx has been dropped (see the first post on this thread)

Best regards


RE: Radeon OSS with vdpau (howto) - magny - 2014-09-08

Thanks JanOsh

I have tried to figure this out for hours... Now it works perfectly after a couple of minutes, and back to good performance again!


Best regards Andreas


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

Concerning old radeons have a look here: http://www.phoronix.com/forums/showthread.php?105333-AMD-Releases-UVD-Video-Decode-Support-For-R600-GPUs&p=439019#post439019

Alex explains which chips will work. Disadvantage: you need very latest 10.4 mesa via oibaf.


RE: Radeon OSS with vdpau (howto) - deltazulu - 2014-09-09

I upgraded to 13.2 after getting a notice that I was running an old xbmc. I did sudo apt-get install xbmc and it did its thing.

Now my machine boots to a login screen instead of to xbmc and I cannot login to either xbmc or xbmcbuntu sessions from this login window. I can login from virtual console or ssh. I can also login fine using xpra/window-switch and launch xbmc remotely to my other machine just fine and can confirm it is updated to gotham 13.2. I just can't get xbmc to run on my actual local machine to the attached display

Image

dmesg - http://paste.ubuntu.com/8302704
xbmc.log - http://paste.ubuntu.com/8302705
xorg.0.log - http://paste.ubuntu.com/8302706
dpkg mesa - http://paste.ubuntu.com/8302714

Code:
xbmc@htpc-ubuntu:~$ DISPLAY=:0 vdpauinfo
No protocol specified
vdpauinfo: cannot connect to X server :0

Well DISREGARD -- found that .Xauthority in xbmc home directory was owned by root. Deleted it and lightdm started right up.


RE: Radeon OSS with vdpau (howto) - talvins - 2014-09-10

Hello,

Everything worked perfectly... until I upgrade to Trusty. Now, when xbmc start, i've just a black screen Confused

I try to reinstall xorg but nothing change.

All seems to work fine...

dmesg
~/.xbmc/temp/xbmc.log
/var/log/Xorg.0.log
DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr
dpkg -l |grep mesa

Thanks.


RE: Radeon OSS with vdpau (howto) - wsnipex - 2014-09-10

read the output of your mesa packages, very carefully.
Quote from the howto:
Quote:2014/04/26: Note for upgraders from saucy. Make sure to run: sudo ppa-purge ppa:wsnipex/mesa and ppa-purge ppa:wsnipex/xbmc-fernetmenta-master prior to running sudo do-release-upgrade - If you have missed those steps, you need to readd the saucy line of the mesa ppa, run sudo apt-get update and purge afterwards.



RE: Radeon OSS with vdpau (howto) - talvins - 2014-09-11

Pfff... so stupid, I don't see that. After a cleanup, it's ok now. Thank you !