Linux - Radeon OSS with vdpau (howto)

  Thread Rating:
  • 24 Votes - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
fritsch Offline
Team-XBMC Developer
Posts: 7,179
Joined: Aug 2011
Reputation: 160
Location: Karlsruhe
Post: #46
@goldbär:

Wrong kernel, wrong kernel command line:

Quote:Command line: BOOT_IMAGE=/boot/vmlinuz-3.8.0-31-generic root=UUID=404a4d13-d620-485f-93ea-73eee755e366 ro quiet splash vt.handoff=7

Please _follow_ the howto.
find quote
locomot1f Offline
Posting Freak
Posts: 993
Joined: Mar 2011
Reputation: 8
Location: ohio
Post: #47
peace fritsch,

no, i'm pretty sure i hit every step.

i have these files as well:
Code:
xbmc@xbmc:~$ sudo 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

again, it's nothing to do with the videos i play, it's just the XBMC GUI...
i will try from scratch again.
find quote
goldbär Offline
Junior Member
Posts: 7
Joined: Jan 2010
Reputation: 0
Post: #48
Hello,

now I have the new kernel but still no luck with vdpauinfo

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

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

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/6191927/

dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/6191931/
find quote
fritsch Offline
Team-XBMC Developer
Posts: 7,179
Joined: Aug 2011
Reputation: 160
Location: Karlsruhe
Post: #49
Now it looks fine. Your dmesg is now a complete different one (3.11.3 - all fine there) - no need to reinstall.

What hardware are you running on?
(This post was last modified: 2013-10-04 14:04 by fritsch.)
find quote
cirkator Offline
Member
Posts: 64
Joined: Apr 2012
Reputation: 0
Post: #50
Would it be possible to get a Frodo Version with the HD-Audio patches applied?
find quote
fritsch Offline
Team-XBMC Developer
Posts: 7,179
Joined: Aug 2011
Reputation: 160
Location: Karlsruhe
Post: #51
HD Audio patch is not xbmc related, it is a kernel patch.
find quote
goldbär Offline
Junior Member
Posts: 7
Joined: Jan 2010
Reputation: 0
Post: #52
hwinfo | pastebinit
process 5116: arguments to dbus_move_error() were incorrect, assertion "(dest) == NULL || !dbus_error_is_set ((dest))" failed in file ../../dbus/dbus-errors.c line 282.
This is normally a bug in some application using the D-Bus library.
libhal.c 3483 : Error unsubscribing to signals, error=The name org.freedesktop.Hal was not provided by any .service files
http://paste.ubuntu.com/6192065/
find quote
fritsch Offline
Team-XBMC Developer
Posts: 7,179
Joined: Aug 2011
Reputation: 160
Location: Karlsruhe
Post: #53
You have some intel / radeon mixture. No idea howto handle this, never had such hardware.
find quote
locomot1f Offline
Posting Freak
Posts: 993
Joined: Mar 2011
Reputation: 8
Location: ohio
Post: #54
@fritsch,

did complete install again from scratch, and still getting the tearing in the XBMC gui.


http://paste.ubuntu.com/6192150/
http://paste.ubuntu.com/6192153/
http://paste.ubuntu.com/6192155/
http://paste.ubuntu.com/6192158/
http://paste.ubuntu.com/6192162/
(This post was last modified: 2013-10-04 15:16 by locomot1f.)
find quote
fritsch Offline
Team-XBMC Developer
Posts: 7,179
Joined: Aug 2011
Reputation: 160
Location: Karlsruhe
Post: #55
locomot1f:

System -> Settings -> System -> Video Hardware: Vertical Blank Sync: Always Enabled.

You have done this?

Also check here to workaround your "device not found" sound issue: http://forum.xbmc.org/showthread.php?tid...pid1520426
find quote
locomot1f Offline
Posting Freak
Posts: 993
Joined: Mar 2011
Reputation: 8
Location: ohio
Post: #56
yes, vsync set to always enabled

yeah. the sound.. not too worried about. that just happens on an initial install of XBMC. after that, it works fine.
(This post was last modified: 2013-10-04 15:57 by locomot1f.)
find quote
cirkator Offline
Member
Posts: 64
Joined: Apr 2012
Reputation: 0
Post: #57
(2013-10-04 14:40)fritsch Wrote:  HD Audio patch is not xbmc related, it is a kernel patch.

So if I would freshly install Ubuntu like in this how-to, I could then use the regular XBMC Frodo? Or do I have to use fernetmentas version?
find quote
fritsch Offline
Team-XBMC Developer
Posts: 7,179
Joined: Aug 2011
Reputation: 160
Location: Karlsruhe
Post: #58
If you have an AMD GPU, which I assume - there is no correctly working official frodo version, that is fast enough to do vdpau on radeons - cause gl interop is plain missing in there.

Fernet's vdpau was merged into xbmc master _after_ frodo.
And the patches that make radeon oss uvd actually work are currently PRd and are also not yet in mainline.
find quote
cirkator Offline
Member
Posts: 64
Joined: Apr 2012
Reputation: 0
Post: #59
I see!
Thanks for the explanation :-)
find quote
locomot1f Offline
Posting Freak
Posts: 993
Joined: Mar 2011
Reputation: 8
Location: ohio
Post: #60
.... still thinking....?

with the generic Drivers, I noticed that it is using the gallium llvmpipe. but that renders the menus VERY SLOWLY. and the menus look perforated.

is there a way to run these commands without a display?
Code:
To force the use of gallium llvmpipe software render:
$ LIBGL_ALWAYS_SOFTWARE=1 glxgears -info
To force the use of old non-gallium software render:
$ LIBGL_ALWAYS_SOFTWARE=1 LIBGL_DRIVERS_PATH=/usr/lib/dri-alternates glxgears -info
To force the use of gallium i915 driver:
$ LIBGL_DRIVERS_PATH=/usr/lib/dri-alternates glxgears -info
find quote
Post Reply