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

http://www.phoronix.com/scan.php?page=news_item&px=Radeon-DRM-DisplayPort-Audio <- seems there is some work done on the audio front.


RE: Radeon OSS with vdpau (howto) - luksol - 2015-01-15

(2014-12-28, 21:51)fritsch Wrote: Kabini can do that, but it is limited to 2048x1152.

Where is this limitation coming from? Is it all that kabini is capable of? I am waiting for new zbox PA330 (APU: A4 6400T 'Mullin') to be available for sale and specs says it is capable of 4K decoding, but as it has UVD 4.2 instead of UVD 4 in kabini, would that make such difference?


RE: Radeon OSS with vdpau (howto) - fritsch - 2015-01-15

all UVD, including UVD3 have that limitation. UVD4 should not have it hardware wise - but mesa did not see code to extend this, still the max is at 2048x1152.

Edit: Ouh and for Kabini I made some kernel patches - but when I tried it last time (a year ago) - I got 3 fps or something. You should ask on the mesa user mailing list or ask agd5f in #radeon channel.


RE: Radeon OSS with vdpau (howto) - m0nKeY - 2015-01-22

Hi,

thx for this great tutorial/howto. The installation works flawless, but I noticed some little problem with my system. It would be great if you can help me.

First thing is, KODI is not starting when my TV is not tuned on. Does this correlate with the init script? Can I just remove the start condition to wait for the udevtrigger?

Second thing is, I set up KODI to shut down after 30 minutes idle, but when I stream a video with yatse to a mobile device, this does not prevent KODI from shutting down.

Hope you can help me.

Greetings
m0nKeY


RE: Radeon OSS with vdpau (howto) - fritsch - 2015-01-22

(2015-01-22, 10:14)m0nKeY Wrote: Hi,

thx for this great tutorial/howto. The installation works flawless, but I noticed some little problem with my system. It would be great if you can help me.

First thing is, KODI is not starting when my TV is not tuned on. Does this correlate with the init script? Can I just remove the start condition to wait for the udevtrigger?

Second thing is, I set up KODI to shut down after 30 minutes idle, but when I stream a video with yatse to a mobile device, this does not prevent KODI from shutting down.

Hope you can help me.

Greetings
m0nKeY

A) You need to overwride the edid information, search that thread for drm_kms_helper. No xserver without output device. Leaving out the udevtrigger won't help.
B) Not related to this thread - it's the case on every installation - so "upstream bug". Open another thread for this - don't forget the relevant logfiles, in that case kodi.log.1


RE: Radeon OSS with vdpau (howto) - m0nKeY - 2015-01-22

Thx for the very fast help. If I had time and more knowledge about unix programming, I would try to work on developing KODI, too. :-) But as always, its hard to free time to work my self into such a project.


RE: Radeon OSS with vdpau (howto) - locomot1f - 2015-01-22

hello everyone,

I'm starting to get the popping noise in my video streams again with Kodi.

@fritsch, could this be the case of needing to increase the default number of streams?
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7546abfb8e1f9933b549f05898377e9444ee4cb2

i reopened the ticket -- https://bugs.freedesktop.org/show_bug.cgi?id=77002
but thought I'd post here to see if others are getting the same thing.

Here's some logs as well:
dmesg | pastebinit
http://paste.ubuntu.com/9820593/
cat ~/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/9820599/
cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/9820606/
DISPLAY=:0 vdpauinfo | pastebinit
http://paste.ubuntu.com/9820607/
dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/9820608/

It seems that when a streaming file hits a buffering moment, it happens. I have not (atm) notice it happening with files on my hard drive.

any pointers?


RE: Radeon OSS with vdpau (howto) - fritsch - 2015-01-22

No idea.


RE: Radeon OSS with vdpau (howto) - locomot1f - 2015-01-22

wow! that was fast.

thanks anyway...


RE: Radeon OSS with vdpau (howto) - locomot1f - 2015-01-22

ah! okay... i think i might be affected by this bug -- https://bugs.freedesktop.org/show_bug.cgi?id=76837


RE: Radeon OSS with vdpau (howto) - deadite66 - 2015-01-22

Fan control is working nicely in kernel 3.20 for SI/CI parts, if anyone has one of those.
card is as quiet as windows for me now.


RE: Radeon OSS with vdpau (howto) - fritsch - 2015-01-22

@deadite66: Can you test DTS-HDMA / TrueHD with this kernel? As it contains agd5f's audio rework?
@locomot1f: This would be an idea for you, too.


RE: Radeon OSS with vdpau (howto) - deadite66 - 2015-01-22

sorry nothing to test it on, i only listen through the TV speakers fritsch.


RE: Radeon OSS with vdpau (howto) - locomot1f - 2015-01-22

thanks for the suggestion @fritsch.

little bit beyond my scope (http://lists.freedesktop.org/archives/dri-devel/2015-January/076003.html) of merging and updating...

i think i might wait until 3.20 hits the rc stage.

using > radeon.bapm=0 radeon.dpm=0
in my grub.

seems to be holding steady for now.

i am excited about the changes though!


RE: Radeon OSS with vdpau (howto) - m0nKeY - 2015-01-22

Hi fritsch again,

sorry to tell, but the "drm_kms_helper" workaround did not work. I tried this: 1685301 (post)

The output of
Code:
for f in /sys/class/drm/card*; do echo $f && cat $f/enabled; done

is:

Quote:/sys/class/drm/card0-HDMI-A-1
enabled
/sys/class/drm/card0-VGA-1
disabled

So it is exactly the same string for me to add, as in your workaround. But after reboot with TV off this is the output of your for-loop:

Quote:/sys/class/drm/card0-HDMI-A-1
disabled
/sys/class/drm/card0-VGA-1
disabled

If got a HDMI Switch between the TV and the PC, could this be a problem? Which log do you need?

Greetings
m0nKeY