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-03-18

drop != skip

skip happens in the renderer, drop means the decoder is too slow.

I don't like to explain the 100.1 % again for the 2000st time. It does not do what you think it does.


RE: Radeon OSS with vdpau (howto) - unicron1980 - 2014-03-18

(2014-03-18, 20:50)fritsch Wrote: drop != skip

skip happens in the renderer, drop means the decoder is too slow.

I don't like to explain the 100.1 % again for the 2000st time. It does not do what you think it does.

Okay, excuse my incorrect use of the words drop and skip. Everywhere I say drop, I mean skip. The codecinfo 'O' output also speaks of skips.

What determines the decoding speed? which clock? xbmc-xrand tells my screen is runnin at 23.976, but somehow it is decoding slower and the P (Presenter?) has to skip a frame every so many seconds


RE: Radeon OSS with vdpau (howto) - FernetMenta - 2014-03-19

Looks like a bug in mesa. HDMI clock seems to run at wrong speed which results in incorrect refresh rate. xrandr may display 23.976 but actually it runs slower.
I thought this was fixed already but obviously not.


RE: Radeon OSS with vdpau (howto) - FernetMenta - 2014-03-19

Most likely this issue: https://bugs.freedesktop.org/show_bug.cgi?id=71753


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

Yeah, good time to update this old bugreport. When I filed it, I thought I had given all information - but it seems, it does not have that much priority with the oss devs.


RE: Radeon OSS with vdpau (howto) - Questionario - 2014-03-19

(2014-03-18, 17:17)fritsch Wrote: For all those asking for 14.04, head over to: http://forum.xbmc.org/showthread.php?tid=189553 which is the testing thread for new xbmcbuntu based on 14.04 Trusty.

will there be any disadvantage over using the version described in this thread here?
I am using the same device you do (AD10)

PS: just to note, I installed according to the instructions here and think it should be noted in the first post (not somewhere hidden in the second post) that there are issues with USB keyboards with 13.10 (did you come across this problem as well?) and you need to install 13.04 first.
I also had an issue installing grub to a partition (sdaX instead of sda) with the mini installer, I tried fixing it from a different ubuntu install (12.10) on the same drive, tried with boot repair live disc and even the 13.04mini install rescue mode (mounting the "broken" partition) to try to install grub again, in the end I installed a 13.04 (full, not mini) on another partition, mounted the "broken" partition and fixed it from there, which worked.
One thing I did notice after the installation is that it boots up faster than the official XBMCBuntu, even though both are on the same SSD.


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

Test xbmcbuntu v13 and tell us :-)

xbmcbuntu uses lightdm to start xbmc, this howto uses a more simple upstart script, while not having a windowmanager at all.


RE: Radeon OSS with vdpau (howto) - Questionario - 2014-03-19

I will try Smile
this howto also got rid of my problem that lightdm sometimes came up with a screwed up login-prompt instead of xbmc... until now I like it better but I havent tried DTS-HD yet which I hopefully will soon =)
PS: did you have the same problems with USB on the AD10 or not? If you did, isnt it worth mentioning in the first page?
I understand that the grub problem isnt worth mentioning as it differes from the standard installation of this howto and not many install it on a sub-partition instead of the main sdX


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

I will upgrade that howto to 14.04 if the "stop bug" is fixed in mesa or xbmc. Then most of the things will work out of the box and the howto gets quite minimal.


RE: Radeon OSS with vdpau (howto) - Endeavour79 - 2014-03-19

Thanks for that fritsch! Can you include a section for updating the current version to 14.04 in case there's anything special needed. Cheers


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

I rather would like you to backup your .xbmc and reinstall. On upgrade a lot can go wrong.

From an xbmc point of view - nothing needs to be updated as final xbmc will be provided for Saucy, too.

Btw. with xbmcbuntu v13 - those howtos are not really needed anymore. Fernetmenta PPA can be integrated (if needed) quite easily.


RE: Radeon OSS with vdpau (howto) - unicron1980 - 2014-03-19

(2014-03-19, 09:08)FernetMenta Wrote: Most likely this issue: https://bugs.freedesktop.org/show_bug.cgi?id=71753

(2014-03-19, 09:10)fritsch Wrote: Yeah, good time to update this old bugreport. When I filed it, I thought I had given all information - but it seems, it does not have that much priority with the oss devs.

Okay, clear. By the way 25fps and 29.97fps are okay, it is just 23.976fps that is the problem.

Didn't one of you also have an AMD fusion e-350? Are you also having the problem? Or anybody else for that matter in this topic?


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

Same problem - It was me that filed the bug :-)

But got captured by real life lately and did not do any AMD research.


RE: Radeon OSS with vdpau (howto) - adolchristin - 2014-03-19

(2014-03-19, 12:40)fritsch Wrote: I will upgrade that howto to 14.04 if the "stop bug" is fixed in mesa or xbmc. Then most of the things will work out of the box and the howto gets quite minimal.

With regards to that bug, I've tried a few things on my Arch installation:

mesa versions: 10.0, 10.1 and 10.2
kernels: 3.13.6 and 3.14.rc7

All these combinations still seem to have the "stop bug" with vdpau. I'd try an arch lts kernel but iirc 3.13 is the minimal kernel needed for GL interop?

edit: I can also confirm that booting that the 14.04 xbmcubuntu image exhibits the same crash on stop behavior with vdpau enabled.


RE: Radeon OSS with vdpau (howto) - Pinpin - 2014-03-20

Hello,

Debian now compile vdpau with mesa 10.2 (in experimental) and after updating my mesa package, almost everything is working like a charm.
In fact, I have on small issue : when my setup change of refresh rate, my TV is black for a few second and then display the movie. But I know that i missed the early beginning of the movie because I can ear it thrue the speaker.
No matter the lenght of the pause that I set up during the change of refresh rate, I always have this issue.
Is it a problem relative to UVD/radeon or should I open a new thread ?