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) - miraclemaker - 2014-05-10

The stacktrace is missing because I didn't have debugging enabled, is that right? Or do I need to install something else?


RE: Radeon OSS with vdpau (howto) - Mysqo - 2014-05-10

I purged Mesa and xbmc after that upgraded to 14.04 added Mesa and xbmc everything works except some sound problems can't hear what they say, but music plays as it should


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

No idea - I cannot see your xbmc.log I don't know your passthrough configuration - just nothing :-)


RE: Radeon OSS with vdpau (howto) - Mysqo - 2014-05-10

Sorry, Tried to install the ppa:team-xbmc/ppa but it doesnt work eighter.

xbmc@xbmc:~$ dmesg | pastebinit
http://paste.ubuntu.com/7440131/

xbmc.log
http://paste.ubuntu.com/7440145/

xbmc@xbmc:~$ cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/7440151/

xbmc@xbmc:~$ DISPLAY=:0 vdpauinfo | pastebinit
http://paste.ubuntu.com/7440154/

xbmc@xbmc:~$ dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/7440162/


EDIT: Everyting works fine now...


RE: Radeon OSS with vdpau (howto) - pyrodex - 2014-05-10

(2014-05-10, 18:30)miraclemaker Wrote: The stacktrace is missing because I didn't have debugging enabled, is that right? Or do I need to install something else?

You need to install gdb per the earlier request:

Code:
sudo apt-get install gdb



RE: Radeon OSS with vdpau (howto) - miraclemaker - 2014-05-10

I did install it:

Code:
xbmc@htpc:~$ sudo apt-get install gdb
[sudo] password for xbmc:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libc6-dbg libpython3.4
Suggested packages:
  gdb-doc gdbserver
Recommended packages:
  libc-dbg
The following NEW packages will be installed
  gdb libc6-dbg libpython3.4
0 to upgrade, 3 to newly install, 0 to remove and 10 not to upgrade.
Need to get 6,955 kB of archives.
After this operation, 33.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://gb.archive.ubuntu.com/ubuntu/ trusty/main libpython3.4 amd64 3.4.0-2ubuntu1 [1,303 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ trusty/main gdb amd64 7.7-0ubuntu3 [2,197 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu/ trusty/main libc6-dbg amd64 2.19-0ubuntu6 [3,456 kB]
Fetched 6,955 kB in 38s (180 kB/s)
Selecting previously unselected package libpython3.4:amd64.
(Reading database ... 110597 files and directories currently installed.)
Preparing to unpack .../libpython3.4_3.4.0-2ubuntu1_amd64.deb ...
Unpacking libpython3.4:amd64 (3.4.0-2ubuntu1) ...
Selecting previously unselected package gdb.
Preparing to unpack .../gdb_7.7-0ubuntu3_amd64.deb ...
Unpacking gdb (7.7-0ubuntu3) ...
Selecting previously unselected package libc6-dbg:amd64.
Preparing to unpack .../libc6-dbg_2.19-0ubuntu6_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.19-0ubuntu6) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up libpython3.4:amd64 (3.4.0-2ubuntu1) ...
Setting up gdb (7.7-0ubuntu3) ...
Setting up libc6-dbg:amd64 (2.19-0ubuntu6) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...



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

Without a debug log that is showing the artifacts you see or a sample or anything else I cannot help you.


RE: Radeon OSS with vdpau (howto) - miraclemaker - 2014-05-11

Sure thing I understand. I'm not sure why the log was not showing anything.

Here's a photo showing the artefacts (apologies it's out of focus). The same video file plays fine on my windows machine.

Image

Can you clarify what you mean by a sample? A sample of the video file?

Thanks.


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

Yes - I want a video, where I can reproduce. This heavily looks like a decoding error - is that live tv with bad signal?


RE: Radeon OSS with vdpau (howto) - miraclemaker - 2014-05-11

It's an avi file encoded with XVID. I've extracted a 7MB slice of the file for you using Avidemux:

Edit: I've removed the link now it's done it's job.

This has artefacts when played through XBMC but is fine on windows.


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

Disable "VDPAU Mpeg-4" under Expert Settings.


RE: Radeon OSS with vdpau (howto) - miraclemaker - 2014-05-11

That's fixed it fritsch! Many thanks for your patience and expert assistance as always.

So Does VDPAU have issues with mpeg 4 or is it just something peculiar to my setup?


RE: Radeon OSS with vdpau (howto) - MTroi - 2014-05-11

The answer has been given a long time ago as I was running into a similar issue

(2014-03-31, 10:18)fritsch Wrote: No. That I did not say. We provide what the hw drivers / api provides. But yeah mpeg-4 / xvid was a time when a whole lot of different files / codecs / encodings / shitty encoders were around - so don't hold your breath too long. Xbmc does not do the decoding, it only uses well established interfaces (vdpau, vaapi, vda, dxva, etc.) most via ffmpeg hw context.



RE: Radeon OSS with vdpau (howto) - User 217690 - 2014-05-11

(2014-05-11, 14:36)miraclemaker Wrote: That's fixed it fritsch! Many thanks for your patience and expert assistance as always.

So Does VDPAU have issues with mpeg 4 or is it just something peculiar to my setup?
You can suscribe to this bug: https://bugs.freedesktop.org/show_bug.cgi?id=71812


RE: Radeon OSS with vdpau (howto) - gfisher - 2014-05-11

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15-rc5-utopic/
reporting mainline kernels works great skip-free on A4-5000 AQ01 xubuntu full desktop 64. compositing disabled via windows tweak manager.

In case someone else needs it for pulse audio installs that have static over hdmi. (system wide problem xbmc/youtube/firefox..) :

Code:
sudo nano /etc/pulse/default.pa

#find this line
load-module module-udev-detect
#modify/change/edit - to fix the Pulse Audio polling based code causing delay static.
load-module module-udev-detect tsched=0
Ctrl O
Ctrl X
sudo reboot