Linux - Radeon OSS with vdpau (howto)

  Thread Rating:
  • 24 Votes - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
aix85 Offline
Junior Member
Posts: 3
Joined: Dec 2012
Reputation: 0
Post: #31
XBMC working with GPU support for me now after removing /etc/X11/xorg.conf.

The only thing is that I cannot see any driver options in Settings -> Video -> Playback. The options are limited to:
* Play the next video automatically
* Display 4:3 videos as
* Activate Teletext
* Scale Teletext to 4:3
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,843
Joined: Aug 2011
Reputation: 154
Location: Karlsruhe
Post: #32
Press "left" and choose "Advanced"

This is the new settings hiearchy, that should help, that noobs don't make advanced settings :-)

It works pretty well, hehe.
find quote
aix85 Offline
Junior Member
Posts: 3
Joined: Dec 2012
Reputation: 0
Post: #33
Thank you. Now it works pretty good. I'll look if things like Suspend to RAM are still working or not in the next few days.
find quote
lawrencecurtis Offline
Junior Member
Posts: 6
Joined: May 2012
Reputation: 0
Post: #34
Ive done this from scratch as said, was running fine, now after a reboot it seems to be using the VESA driver and doesn't load the radeon driver, there something I'm missing?

my bad… didn't do the kernel bits, all good again now
(This post was last modified: 2013-10-03 23:43 by lawrencecurtis.)
find quote
locomot1f Offline
Posting Freak
Posts: 976
Joined: Mar 2011
Reputation: 8
Location: ohio
Post: #35
http://paste.ubuntu.com/6190460/
http://paste.ubuntu.com/6190464/
http://paste.ubuntu.com/6190466/
http://paste.ubuntu.com/6190470/

here ya go. hope these help. I think I did as you've asked. let me know if I missed something.
again, no tearing in the video, just the XBMC environment.
as if something with the dirty regions... but i feel like i've tried everything with that... even taken it out.
(This post was last modified: 2013-10-04 03:09 by locomot1f.)
find quote
ycchang Offline
Junior Member
Posts: 1
Joined: Oct 2013
Reputation: 0
Post: #36
Hi, thanks for the work and this how-do. It's very helpful. Now I have two silly questions.
First, my current system uses XVBA (installed from xbmc-xvba) under Ubuntu 12.04. If I want to continue getting the latest update of XBMC, I will have to switch to Radeon OSS with vdpau, right? I don't want to rebuild my HTPC from scratch again, would it be possible to provide some tips (or even a hot-to) about switching from XVBA to new OSS with vdpau?
I can imagine what I need to do are
1. Remove glfx
2. Uninstall my currenst installed XBMC
2. Partially follow this how-to to install new XBMC with vdpau support.
Do I miss any things?

Second, if I don't want to upgrade my XBMC (to vdpau) immendiately, what's will happen to my current system? Since XVBA has been deprecated and xbmc-xvba (https://launchpad.net/~wsnipex/+archive/xbmc-xvba) is not updated anymore, I won't receive any new update for XBMC in the feature, right? Actually, my system just have some troubles (can not properly play mp4 and mkv files) after receiving the latest update of XBMC from xbmc-xvba today. Is it relevant?

Thanks.
find quote
wsnipex Offline
Team-Kodi Member
Posts: 3,962
Joined: Jun 2011
Reputation: 96
Post: #37
ad 1) generally yes, but its a more advanced procedure then installing from scratch following this howto.

ad 2) you don't have to upgrade immediately if xvba works for you. Did you check the audio and video settings after installing the last upgrade? Make sure you switch to advanced settings level(press left arrow in the settings menu)
If it still doesn't work, pastebin a debug log in the xvba thread.
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,843
Joined: Aug 2011
Reputation: 154
Location: Karlsruhe
Post: #38
(2013-10-04 03:01)locomot1f Wrote:  http://paste.ubuntu.com/6190460/
http://paste.ubuntu.com/6190464/
http://paste.ubuntu.com/6190466/
http://paste.ubuntu.com/6190470/

here ya go. hope these help. I think I did as you've asked. let me know if I missed something.
again, no tearing in the video, just the XBMC environment.
as if something with the dirty regions... but i feel like i've tried everything with that... even taken it out.

You did not completely follow the howto:
Quote:[ 1.393848] radeon 0000:00:01.0: radeon_uvd: Can't load firmware "radeon/TAHITI_uvd.bin"

You are missing the current linux firmware UVD files which are in the oibaf repo within linux-firmware package.

Quote:fritsch@openelec:~$ dpkg -S TAHITI
linux-firmware: /lib/firmware/radeon/TAHITI_ce.bin
linux-firmware: /lib/firmware/radeon/TAHITI_me.bin
linux-firmware: /lib/firmware/radeon/TAHITI_smc.bin
linux-firmware: /lib/firmware/radeon/TAHITI_uvd.bin
linux-firmware: /lib/firmware/radeon/TAHITI_rlc.bin
linux-firmware: /lib/firmware/radeon/TAHITI_pfp.bin
linux-firmware: /lib/firmware/radeon/TAHITI_mc.bin

So neither UVD nor DPM is working for you. Please stick to the howto. All is in there.

You are also missing the complete backend. Did you completely skip the oibaf step?

Quote:http://paste.ubuntu.com/6190470/
(This post was last modified: 2013-10-04 07:58 by fritsch.)
find quote
bibibo Offline
Junior Member
Posts: 33
Joined: Jul 2012
Reputation: 0
Post: #39
Hello, I reinstalled my PC and now I have a problem with audio. No sound output.

http://paste.ubuntu.com/6191125/
http://paste.ubuntu.com/6191126/
http://paste.ubuntu.com/6191127/
http://paste.ubuntu.com/6191128/
http://paste.ubuntu.com/6191129/
find quote
nickr Online
Donor
Posts: 9,562
Joined: May 2009
Reputation: 174
Location: Christchurch NZ
Post: #40
Gotta say a great big shout out for these developments. Well done guys!

I have been following xvba-testing for some time on my Linux Mint 13 (based on ubuntu 12.04) laptop which has a Radeon HD 6600M video chipset and fglrx. Kernel is 3.2.0. I don't really watch a lot of media on the laptop unless I am away from home on holiday. But it is fun to have a test machine which has Gotham.

So is there an easy way to get the radeon vdpau stuff working on this setup, or would it require a more up to date kernel, in fact perhaps the whole distro?

Secondly all my media players in the house have nVidia graphics (for very good reason when I see the shagging around with the fglrx drivers, sheesh) - but I have been running xvba-frodo on them because of it's updated vdpau support. They are also based on ubuntu 12.04 (specifically mythbuntu). What should my future be with these machines? Should I cahnge from xvba-frodo - if so to what? bearing in mind I am not ready to change them to gotham yet.

If I have helped you or increased your knowledge, click the plus button and increase my reputation :)
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,843
Joined: Aug 2011
Reputation: 154
Location: Karlsruhe
Post: #41
(2013-10-04 09:10)bibibo Wrote:  Hello, I reinstalled my PC and now I have a problem with audio. No sound output.

http://paste.ubuntu.com/6191125/
http://paste.ubuntu.com/6191126/
http://paste.ubuntu.com/6191127/
http://paste.ubuntu.com/6191128/
http://paste.ubuntu.com/6191129/

put the following to /etc/asound.conf and reboot:

Code:
pcm.!default {
  type plug
  slave {
    pcm "hw:0,3" #delete the first hash for sound over hdmi
    rate 48000
  }
}

Then go to xbmc and choose (you have to enable Advanced Settings levels before, click left and choose Advanced):
Quote:HD-Audio Generic HDMI

as your sound device
(This post was last modified: 2013-10-04 09:45 by fritsch.)
find quote
fritsch Offline
Team-XBMC Developer
Posts: 6,843
Joined: Aug 2011
Reputation: 154
Location: Karlsruhe
Post: #42
(2013-10-04 09:39)nickr Wrote:  Gotta say a great big shout out for these developments. Well done guys!

I have been following xvba-testing for some time on my Linux Mint 13 (based on ubuntu 12.04) laptop which has a Radeon HD 6600M video chipset and fglrx. Kernel is 3.2.0. I don't really watch a lot of media on the laptop unless I am away from home on holiday. But it is fun to have a test machine which has Gotham.

So is there an easy way to get the radeon vdpau stuff working on this setup, or would it require a more up to date kernel, in fact perhaps the whole distro?

Secondly all my media players in the house have nVidia graphics (for very good reason when I see the shagging around with the fglrx drivers, sheesh) - but I have been running xvba-frodo on them because of it's updated vdpau support. They are also based on ubuntu 12.04 (specifically mythbuntu). What should my future be with these machines? Should I cahnge from xvba-frodo - if so to what? bearing in mind I am not ready to change them to gotham yet.

Keep everything as you have it. If it is fine, no need to change anything. Next time you are reinstalling, follow the howto :-)
find quote
nickr Online
Donor
Posts: 9,562
Joined: May 2009
Reputation: 174
Location: Christchurch NZ
Post: #43
(2013-10-04 10:01)fritsch Wrote:  Keep everything as you have it. If it is fine, no need to change anything. Next time you are reinstalling, follow the howto :-)
Thanks and once again, appreciate these efforts!

If I have helped you or increased your knowledge, click the plus button and increase my reputation :)
find quote
bibibo Offline
Junior Member
Posts: 33
Joined: Jul 2012
Reputation: 0
Post: #44
super. Thanks a lot.
find quote
goldbär Offline
Junior Member
Posts: 7
Joined: Jan 2010
Reputation: 0
Post: #45
Hello,

I still have the vdpau problem
Code:
vdpauinfo
display: :0.0   screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1

Code:
sudo find /usr/lib -iname libvdpa*
/usr/lib/x86_64-linux-gnu/libvdpau.so
/usr/lib/x86_64-linux-gnu/libvdpau.so.1
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_trace.so.1.0.0
/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_trace.so.1
/usr/lib/x86_64-linux-gnu/libvdpau.so.1.0.0
/usr/lib/vdpau/libvdpau_softpipe.so
/usr/lib/vdpau/libvdpau_nouveau.so
/usr/lib/vdpau/libvdpau_softpipe.so.1.0.0
/usr/lib/vdpau/libvdpau_r300.so.1.0.0
/usr/lib/vdpau/libvdpau_r600.so
/usr/lib/vdpau/libvdpau_r600.so.1.0.0
/usr/lib/vdpau/libvdpau_r300.so.1
/usr/lib/vdpau/libvdpau_radeonsi.so
/usr/lib/vdpau/libvdpau_nouveau.so.1.0.0
/usr/lib/vdpau/libvdpau_r600.so.1
/usr/lib/vdpau/libvdpau_softpipe.so.1
/usr/lib/vdpau/libvdpau_radeonsi.so.1
/usr/lib/vdpau/libvdpau_nouveau.so.1
/usr/lib/vdpau/libvdpau_radeonsi.so.1.0.0
/usr/lib/vdpau/libvdpau_r300.so

Code:
apt-cache policy libvdpau1 linux-firmware libg3dvl-mesa libwayland-server0
libvdpau1:
  Installiert:           0.7-1~r~gd
  Installationskandidat: 0.7-1~r~gd
  Versionstabelle:
*** 0.7-1~r~gd 0
        500 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status
     0.4.1-8 0
        500 http://de.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
linux-firmware:
  Installiert:           1.116~gd~r
  Installationskandidat: 1.116~gd~r
  Versionstabelle:
*** 1.116~gd~r 0
        500 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status
     1.106 0
        500 http://de.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
libg3dvl-mesa:
  Installiert:           9.3~git1310031352.d13359+glvdpau~gd~r
  Installationskandidat: 9.3~git1310031352.d13359+glvdpau~gd~r
  Versionstabelle:
*** 9.3~git1310031352.d13359+glvdpau~gd~r 0
        500 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status
libwayland-server0:
  Installiert:           1.2.1-1~r~gd
  Installationskandidat: 1.2.1-1~r~gd
  Versionstabelle:
*** 1.2.1-1~r~gd 0
        500 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status

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

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

DISPLAY=:0 vdpauinfo | pastebinit
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
http://paste.ubuntu.com/6191344/

dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/6191346/
find quote
Post Reply