Linux - Radeon OSS with vdpau (howto)

  Thread Rating:
  • 26 Vote(s) - 4.58 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
fritsch Online
Team-Kodi Developer
Posts: 17,223
Joined: Aug 2011
Reputation: 523
Location: Stuttgart*
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
locomot1f Offline
Posting Freak
Posts: 1,333
Joined: Mar 2011
Reputation: 12
Location: ohio
Post: #47
peace fritsch,

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

i have these files as well:
Code:
[email protected]:~$ 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.

Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
find
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
fritsch Online
Team-Kodi Developer
Posts: 17,223
Joined: Aug 2011
Reputation: 523
Location: Stuttgart*
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
cirkator Offline
Senior Member
Posts: 111
Joined: Apr 2012
Reputation: 0
Post: #50
Would it be possible to get a Frodo Version with the HD-Audio patches applied?
find
fritsch Online
Team-Kodi Developer
Posts: 17,223
Joined: Aug 2011
Reputation: 523
Location: Stuttgart*
Post: #51
HD Audio patch is not xbmc related, it is a kernel patch.
find
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
fritsch Online
Team-Kodi Developer
Posts: 17,223
Joined: Aug 2011
Reputation: 523
Location: Stuttgart*
Post: #53
You have some intel / radeon mixture. No idea howto handle this, never had such hardware.
find
locomot1f Offline
Posting Freak
Posts: 1,333
Joined: Mar 2011
Reputation: 12
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/

Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
(This post was last modified: 2013-10-04 15:16 by locomot1f.)
find
fritsch Online
Team-Kodi Developer
Posts: 17,223
Joined: Aug 2011
Reputation: 523
Location: Stuttgart*
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
locomot1f Offline
Posting Freak
Posts: 1,333
Joined: Mar 2011
Reputation: 12
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.

Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
(This post was last modified: 2013-10-04 15:57 by locomot1f.)
find
cirkator Offline
Senior Member
Posts: 111
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
fritsch Online
Team-Kodi Developer
Posts: 17,223
Joined: Aug 2011
Reputation: 523
Location: Stuttgart*
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
cirkator Offline
Senior Member
Posts: 111
Joined: Apr 2012
Reputation: 0
Post: #59
I see!
Thanks for the explanation :-)
find
locomot1f Offline
Posting Freak
Posts: 1,333
Joined: Mar 2011
Reputation: 12
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

Linux Mint 18 LTS 64-bit - Kodi 17 Beta6
Odroid-C2 - Libreelec v7.90.009
find
Thread Closed