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) - bootdisk - 2014-03-27

(2014-03-27, 15:53)fritsch Wrote: The howto tells you to install Ubuntu 13.10 mini iso - do that or use xbmcbuntu v13.
For pulseaudio read: http://wiki.xbmc.org/index.php?title=PulseAudio



Thanks! Gonna try this when i get back home from work!


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

@fritsch

Could you share the executable of the radeontool for OpenElec 3.x? I saw in a earlier post that you seemed to be running the radeontool from openelec and from what I can see it is not included by default. And since there is no build environment in OpenElec building it is not that straightforward I guess.

I ask this because I opened a new bug on freedesktop for the HDMI clock problems on the AMD fusion e-350. https://bugs.freedesktop.org/show_bug.cgi?id=76564


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

@unicron1980: I will ask seo for this. Will report later.


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

@unicron1980: After reading the bugreport. Do you need that for OE 3.2 (e.g. to dump fglrx values?) or do you need it for version 4?
Edit: Here, try that: http://saraev.ca/tools.radeontool-4.1.0.zip (unzip and find the executable in bin/)
Edit2: I filed a similar bug last time, here: https://bugs.freedesktop.org/show_bug.cgi?id=46713


RE: Radeon OSS with vdpau (howto) - locomot1f - 2014-03-27

is there a way to increase the buffer size of ALSA?

i've been trying to fix the stuttering / echoing sounds that myself and @gfisher seem to be having

i've been trying to do something like this:
Code:
pcm.!default {
  type plug
  slave {
    pcm "hw:0,3" #delete the first hash for sound over hdmi
    rate 48000
    period_size 2048 # jm: much smoother than 1024/8192!
    buffer_size 32768
  }
}

but it's not being recognized in XBMC.

do you think increasing the buffer size is something that might helpHuh


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

(2014-03-27, 18:18)fritsch Wrote: @unicron1980: After reading the bugreport. Do you need that for OE 3.2 (e.g. to dump fglrx values?) or do you need it for version 4?
Edit: Here, try that: http://saraev.ca/tools.radeontool-4.1.0.zip (unzip and find the executable in bin/)
Edit2: I filed a similar bug last time, here: https://bugs.freedesktop.org/show_bug.cgi?id=46713

Thanks, this seems to work.

I'm trying to find out the register values that fglrx is using.

That bug seems more related towards the audio part. I'm having a problem with the video. Perhaps related, but to get the correct attention I filed a new bug report.


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

(2014-03-24, 18:19)locomot1f Wrote:
(2014-03-24, 17:47)locomot1f Wrote: I've been trying to switch my system from S/PDIF to HDMI for sound... setup reasons.

I've not had the best luck with getting the sound to cooperate.
The sound will start off playing correctly, then at any random time it will start to degrade, and get scratchy.
I've searched the forum for this, and I've seen things about it. things to try (sync A/V, set to fixed 48.0, etc.) but nothing seems to correct this.
I've also seen the issue about Upower, as you'll see in my log I get a few of those... but I did not see an answer to this solution.
can someone help point me in the right direction?

here's... Johnny! -- http://pastebin.com/VSjLPrmz

oh! I can reproduce this error, without fail, when i play a music file, and set 'ProjectM' for visualization.
that's how i was able to get the log.
otherwise, when i play a video... i could go 5min - 30min before the distortion will show up.

once it starts though, it will keep coming back quicker and quicker... make me think it's a buffering issue... Huh

would a sound clip help?
it will take some time, but i can try to get one.

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.


RE: Radeon OSS with vdpau (howto) - Claudio.Sjo - 2014-03-27

(2014-03-26, 21:26)FernetMenta Wrote:
(2014-03-25, 23:17)Claudio.Sjo Wrote: Hi,
when testing, I've found that the file
H.264-444-10bit-sample.mkv doesn't work anymore.
I'm running the latest updates that I can get via the update manager.

should be fixed by https://github.com/FernetMenta/xbmc/commit/0403142aaeb3449a6f5c7f4f2236317c4778d04b

It works like a charm today.
Very well done, guys!


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

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...


RE: Radeon OSS with vdpau (howto) - locomot1f - 2014-03-27

(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) - deivid - 2014-03-27

Fernetmenta seems to be using XBMC14 alpha. Are all the patches mainline for gotham? Is there any ppa for gotham? I don't know how well XBMC14 will work


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

still curious what's going to happen ultimately with those older WMV files that currently do not play in this. Will they fail over to software decode?


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

@deivid: Use xbmcbuntu v13 - all mainline
@blm14: bugs.freedesktop.org - need to be fixed upstream, we only open what the decoder tells as supported. You can manually disable VC1 in Expert settings.


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

I am experiencing this problem: http://forum.xbmc.org/showthread.php?tid=189722&page=9

in the OSS build. wsnipex mentioned in there there is a fix in the nightly ppa shortly, can we get it in this version as well?


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

will be in the next build.