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 - 2013-10-11

Christian has fixed the initial patch. Pick the two last from here: http://cgit.freedesktop.org/~deathsimple/mesa/log/

I also mailed oibaf. So the ppa should update soon.


RE: Radeon OSS with vdpau (howto) - theslime - 2013-10-11

Cool! Great work, again. I'm starting repeating myself here. Smile


RE: Radeon OSS with vdpau (howto) - antares81 - 2013-10-11

@gradinaruvasile
yeah I forgot that I had to add a line break at the end, so that the patch doesn't end unexpectedly.

Thanks again @fritsch and ckoenig for fixing it right away Smile


RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2013-10-11

(2013-10-11, 11:25)fritsch Wrote: Christian has fixed the initial patch. Pick the two last from here: http://cgit.freedesktop.org/~deathsimple/mesa/log/

It works. Thank you.


RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-10-11

according to the launchpad page:
=== Using VDPAU/XvMC accelerated video ===
Supported XvMC drivers: softpipe, r300, r600, radeonsi, nouveau
Supported VDPAU drivers: softpipe, r300, r600, radeonsi, nouveau

how do I know that I'm using the radeonsi drivers? is there an *. so file for that or is this the default? for the /XvMCConfig file?

i see the entries in /usr/lib/dri for all except radeonsi -- this is why i ask.


RE: Radeon OSS with vdpau (howto) - Claudio.Sjo - 2013-10-11

I don't compile myself, thus I'm on the "official" track.
Today I updated Xorg, now white screen if VDPAU and Mixer are ON, but the video plays if only Mixer is ON


Re: Radeon OSS with vdpau (howto) - nihues - 2013-10-11

I'm with official releases, waiting for the new Mesa, installed yesterday and noticed big improvement to response in guy and low CPU usage. Vdpau give white or green screen.

In the mean time, can the OP update the kernel with aufs support too? Its not enabled, I was using it to join multiple HDs.

Thanks


RE: Radeon OSS with vdpau (howto) - lawrencecurtis - 2013-10-11

PPA updates are currently building… won't be very long now Smile


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-11

@nihues: no - if you have advanced needs, that go beyond standard Ubuntu kernel config, you have to build yourself.

@all: There was another build problem in mesa, which got fixed two mins ago - so fabio needs to rebuild the ppa again.


RE: Radeon OSS with vdpau (howto) - antares81 - 2013-10-11

While testing the 3.12rc4 kernel from the ArchLinux AUR (https://aur.archlinux.org/packages/linux-mainline) I noticed some increase in frame drops/skips, especially with 1080i content. dmesg reports that while playing videos the gpu perfomance class sticks to "uvd_hd", while with the 3.11.4 repo kernel it sticks to "uvd". Clocks seem quite different:
Code:
$ dmesg | grep -i uvd
[    1.839809] [drm] UVD initialized successfully.
[    1.902422]     internal class: uvd_hd
[    1.902428]     uvd    vclk: 38824 dclk: 30000
[    1.902439]     internal class: uvd
[    1.902445]     uvd    vclk: 55000 dclk: 41250

Same while running qvdpautest, so obviously there is quite a difference too:
3.11.4 repo kernel:
Code:
qvdpautest 0.5.2
AMD E-450 APU with Radeon(tm) HD Graphics
Unknown GPU

VDPAU API version : 1
VDPAU implementation : G3DVL VDPAU Driver Shared Library version 1.0


MPEG DECODING (1920x1080): 60 frames/s
MPEG DECODING (1280x720): 92 frames/s
H264 DECODING (1920x1080): 38 frames/s
H264 DECODING (1280x720): 70 frames/s
MPEG4 DECODING (1920x1080): 52 frames/s

MIXER WEAVE (1920x1080): 301 frames/s
MIXER BOB (1920x1080): 502 fields/s
MIXER TEMPORAL (1920x1080): 593 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 593 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 592 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 593 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 593 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 592 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 713 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 58 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 602 fields/s
3.12rc4 kernel:
Code:
qvdpautest 0.5.2
AMD E-450 APU with Radeon(tm) HD Graphics
Unknown GPU

VDPAU API version : 1
VDPAU implementation : G3DVL VDPAU Driver Shared Library version 1.0


MPEG DECODING (1920x1080): 41 frames/s
MPEG DECODING (1280x720): 63 frames/s
H264 DECODING (1920x1080): 27 frames/s
H264 DECODING (1280x720): 49 frames/s
MPEG4 DECODING (1920x1080): 37 frames/s

MIXER WEAVE (1920x1080): 302 frames/s
MIXER BOB (1920x1080): 503 fields/s
MIXER TEMPORAL (1920x1080): 594 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 593 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 594 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 594 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 594 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 594 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 713 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 43 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 415 fields/s
Does anybody know what's going on? Why does the rc kernel stick to the lower performance class? Both kernels have the HDA and CEA patches applied, if that matters. It's actually not a big deal right now, since with the 3.11 kernel xbmc works smooth as butter. I'm just curious. Smile


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-11

There is a reason I tell to use 3.11.

3.12-rc4 has a bug, that does not go to the max UVD clock, which is not fixed yet.


RE: Radeon OSS with vdpau (howto) - antares81 - 2013-10-11

Thank you, I was just testing around, not blaming you for anything Wink


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-11

Did not assume so :-) All fine for my part.


Re: RE: Radeon OSS with vdpau (howto) - nihues - 2013-10-11

(2013-10-11, 18:49)fritsch Wrote: @nihues: no - if you have advanced needs, that go beyond standard Ubuntu kernel config, you have to build yourself.

@all: There was another build problem in mesa, which got fixed two mins ago - so fabio needs to rebuild the ppa again.

But I was using the standard kernel. I was thinking this was a modified kernel config. And aufs is in kernel not patched or anything.

Thanks anyway


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-11

That's indeed a vanilla kernel with Ubuntu kernel config. I did not like that the ubuntu guys need ages to port pointreleases to their saucy kernel tree... but i can in deed build the normal ubuntu git source in the future, would be even easier to maintain, as I can use git.