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

Wrong audio config. Set it to 2.0 disable passthrough and retry.

Btw. you are using an EDID overwrite - why?


RE: Radeon OSS with vdpau (howto) - tiasg - 2014-01-02

Thanks for your fast response.
According to Xbmc Settings, Audio Config is and was 2.0 with passthrough disabled.
I turned off "adjust refresh rate" and "sync to Display" and it seems the Problem is gone. Maybe my tv doesnt Support the fps or something, altough i'm not sure why it sometimes works.

EDID: I didn't even knew what this is. Why do you think it is overeritten? The tv is a 4-5 Year Old lg lcd


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-02

Jep, I looked again. Not a config problem. We are currently tracking a similar problem. Btw. do you have any chance to test this OpenELEC build: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-devel-20140101193627-r16778-gea1cd76.tar

If that works I have an idea.


RE: Radeon OSS with vdpau (howto) - laric - 2014-01-02

fritsch a suggestion for a feature.. configoption to add what framerates you want to switch to using "adjust framerate" and what to nor adjust framerate to Smile


RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2014-01-02

@Fritsch:

I use xbmc from a desktop on my lcd monitor, the previous version worked just fine. I never had "adjust refresh rate" and "sync to Display" enabled, i checked it again and acording to the gui they are off.
I compiled the fernetmenta, and fritsch branches then the vanilla xbmc, all have the same issue.
The only way i could have some audio is to use the physical device, but that gives distorted sound and hogs the device. I have 2.0 audio and no passthrough set, i even recreated the ~/.xmc folder but no change.
I have mesa, kernel, drm, glamor compiled from git. Hardware is Radeon HD 8570D (A8-6500 APU), running Debian Testing 64 bit.


RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2014-01-02

And another thing i found:
xbmc doesnt quit (the gui closes, but the process remains) - pavucontrol shows an open alsa stream and if i terminate it, xbmc closes.


RE: Radeon OSS with vdpau (howto) - wsnipex - 2014-01-02

(2014-01-02, 06:21)laric Wrote: fritsch a suggestion for a feature.. configoption to add what framerates you want to switch to using "adjust framerate" and what to nor adjust framerate to Smile

already possible via <adjustrefreshrate> in advancedsettings.xml


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-02

(2014-01-02, 10:52)gradinaruvasile Wrote: And another thing i found:
xbmc doesnt quit (the gui closes, but the process remains) - pavucontrol shows an open alsa stream and if i terminate it, xbmc closes.

We don't support pulseaudio yet. And the second one is handled on the very first post. Disable the Update Checker. If this does not help, it's another Addon.


RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2014-01-02

(2014-01-02, 12:30)fritsch Wrote:
(2014-01-02, 10:52)gradinaruvasile Wrote: And another thing i found:
xbmc doesnt quit (the gui closes, but the process remains) - pavucontrol shows an open alsa stream and if i terminate it, xbmc closes.

We don't support pulseaudio yet. And the second one is handled on the very first post. Disable the Update Checker. If this does not help, it's another Addon.

Well it was a pulseaudio related issue.I had to launch xbmc with
Code:
PULSE_LATENCY_MSEC=0 xbmc
And now it works.


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-02

qed


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-02

https://github.com/torvalds/linux/commit/9a0bb2966efbf30a71c128c3af63307d8b5f5fc0 <- so 3.13 can come :-) all in.


RE: Radeon OSS with vdpau (howto) - ln17 - 2014-01-02

You mentioned earlier that if everything works fine you will close this topic. What is the next one you want to resolve?


RE: Radeon OSS with vdpau (howto) - deadite66 - 2014-01-02

ubuntu enabling vdpau by default in mesa would be the next thing, maybe in ubuntu 14.04.


RE: Radeon OSS with vdpau (howto) - pyrodex - 2014-01-02

(2014-01-02, 17:58)deadite66 Wrote: ubuntu enabling vdpau by default in mesa would be the next thing, maybe in ubuntu 14.04.

I'm hoping for a default install of 14.04 LTS with a good version of mesa and kernel. So far the trusty PPA shows mesa 10.0.1 and 3.13 but not sure about the mesa version if it will be the same as wsnipex with patches.


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-02

Installing packages from a ppa is not that hard, so future looks pride :-)