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) - locomot1f - 2014-03-28

(2014-03-27, 19:40)Intermezzo Wrote: Just wanted to confirm. Same issue for me. Stuttering and echoes for some seconds over HDMI on E350. No Problem over optical. Tried a lot of settings: VDPAU on/off, Audi Video syncing.... Same issue on newest XBMCbuntu and with mini ISO.

can you also try to post some logs, see if there are any similarities in hardware / Motherboard...Huh

also, never got an answer to my question about increasing buffer for ALSA... is this possible? does this make sense?


RE: Radeon OSS with vdpau (howto) - Diederik - 2014-03-28

That's quite cool. Hadn't noticed that bullet point "hardware video decoding on AMD cards (via OSS radeon driver)"
Nice.

Overall though, I'm happy with my minimalistic Ubuntu install. (With GNOME for browsing etc.)

(2014-03-27, 21:23)locomot1f Wrote:
(2014-03-27, 20:41)Diederik Wrote: This thread is very cool, thanks a million. The sweet, sweet hardware acceleration I get from my hardware is nothing short of awesome.

Not sure if anyone has mentioned this before, bit won't it be quite easy to make a custom iso with this configuration for not so technical users using a tool like https://help.ubuntu.com/community/LiveCDCustomization Just a thought...

you mean xbmcbuntuHuh
http://forum.xbmc.org/showthread.php?tid=189553



RE: Radeon OSS with vdpau (howto) - tomtomme - 2014-03-28

(2014-03-26, 22:50)eroxm Wrote: Updated to mesa 10.0.4 and stop bug is gone. Thanks to everyone involved!

Is this also fixed in 10.1.0 (which I run) or will it be in 10.1.1?

Maybe a small problem I have is related:
Since some weeks my (unsupported, selfcompiled) xbmc crashes always at the end of a (music-video)-stream from the MTV-plugin and other RTMP-Streams. The crash-log is not very helpful to me:

http://pastebin.com/xy4zV03c

If it is not mesa or xbmc, maybe it is a RTMP bug?
For next compilation I will enable debug-mode if no one has an idea.

(KDE-compositing is disabled, PA stopped at xbmc-launch)


RE: Radeon OSS with vdpau (howto) - Intermezzo - 2014-03-28

(2014-03-28, 15:33)locomot1f Wrote:
(2014-03-27, 19:40)Intermezzo Wrote: Just wanted to confirm. Same issue for me. Stuttering and echoes for some seconds over HDMI on E350. No Problem over optical. Tried a lot of settings: VDPAU on/off, Audi Video syncing.... Same issue on newest XBMCbuntu and with mini ISO.

can you also try to post some logs, see if there are any similarities in hardware / Motherboard...Huh

also, never got an answer to my question about increasing buffer for ALSA... is this possible? does this make sense?

Here you go my logs:

http://paste.ubuntu.com/7170174/
http://paste.ubuntu.com/7170176/
http://paste.ubuntu.com/7170177/
http://paste.ubuntu.com/7170178/
http://paste.ubuntu.com/7170179/

hope this helps I got audio stuttering after 1min40sec or so.


RE: Radeon OSS with vdpau (howto) - blm14 - 2014-03-29

excellent, appreciate it!


RE: Radeon OSS with vdpau (howto) - deivid - 2014-03-29

(2014-03-28, 09:30)fritsch Wrote: @deivid: Use xbmcbuntu v13 - all mainline

https://launchpad.net/~team-xbmc/+archive/ppa?field.series_filter=saucy
has frodo.. does it even work? I'm sorry if i'm doing something stupid but I'd rather not reinstall everything, if I could just change the ppa.


RE: Radeon OSS with vdpau (howto) - wsnipex - 2014-03-29

(2014-03-29, 00:44)deivid Wrote:
(2014-03-28, 09:30)fritsch Wrote: @deivid: Use xbmcbuntu v13 - all mainline

https://launchpad.net/~team-xbmc/+archive/ppa?field.series_filter=saucy
has frodo.. does it even work? I'm sorry if i'm doing something stupid but I'd rather not reinstall everything, if I could just change the ppa.

Xbmcbuntu is not the team xbmc ppa....


RE: Radeon OSS with vdpau (howto) - jaymax - 2014-03-29

Just saw this and was wondering if it would help: Valve's patches to Mesa
Comparison to standard 10.1


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

For those with start / stop and video clock problems, please try an special OpenELEC build which also includes a fix triggered by the bugreport of unicron1980.

Link is here: http://saraev.ca/OpenELEC-Generic.x86_64-devel-20140330151700-r18049-g02739c3.tar

On the other side, we still hope that the start / stop fix gets included into 14.04 - sadly the kernel goodies from 3.14 won't make it.


RE: Radeon OSS with vdpau (howto) - gfisher - 2014-03-31

Tried it, 29.97i occasional skips like before. 23.976 >> Black screen no video signal detected, crackling noise, press stop returns menu and video. Went back to r18022
Edit: http://xbmcnightlybuilds.com/openelec-generic-x86_64-r18022-g4473271-download/ , all is fine again. A4 3400, Sony nx711 NTSC TV. I can log if you like. I was very interested in that patch. Thx. Xvba had no skips.. Wink


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

(2014-03-25, 20:32)fritsch Wrote: @MTroi: Check Expert Setting Mpeg-4 VDPAU and disable that one for a test.
Edit: Mpeg-2 of course

I noticed this on a couple of old xvid files as well. Does xvid just not play well with vdpau? It seems like i remember when vdpau first came about trying to decode xvid would yield a green screen. What exactly happens when you uncheck mpeg2 under acceleration with expert settings? The decoder still says it's using vdpau but I assume it's actually software when it's unchecked?


RE: Radeon OSS with vdpau (howto) - Cheddoleum - 2014-03-31

Yeah, I noticed a lot of old XviDs and DivXs were getting massive amounts of green and black macroblock-shaped artifacts. Realized that I had forced "Advanced Shaders". Basic Shaders and Software rendering both look fine.

Decided the sensible thing was to leave it on Auto Detect: while I don't know offhand how to tell which one its using for any given format, judging by the CPU usage it seems to be making efficient choices.


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

Mpeg-4 should is disabled by default, exactly out of that reason.


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

(2014-03-31, 02:28)gfisher Wrote: Tried it, 29.97i occasional skips like before. 23.976 >> Black screen no video signal detected, crackling noise, press stop returns menu and video. Went back to r18022
Edit: http://xbmcnightlybuilds.com/openelec-generic-x86_64-r18022-g4473271-download/ , all is fine again. A4 3400, Sony nx711 NTSC TV. I can log if you like. I was very interested in that patch. Thx. Xvba had no skips.. Wink

Head over to that bugreport and tell that you are not able to get a 23.976 mode onto your TV, just a black screen. Provide logs with drm.debug=0xe and add those. This is a major rewrite of how the PLL registers work / are used. No need to mention any OE specific version, cause upstream does only care for drm code.


RE: Radeon OSS with vdpau (howto) - MTroi - 2014-03-31

(2014-03-31, 08:21)fritsch Wrote: Mpeg-4 should is disabled by default, exactly out of that reason.

Thanks for your conclusion, although it sounds kind of "no for mpeg-4 support ever" on AMD graphics with XBMC?!

At least it's no problem to do software decoding for these low resolution/quality files.