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) - deadite66 - 2014-02-04

between 25% and 45% playing h264 1920x1080p content on my E350.


RE: Radeon OSS with vdpau (howto) - eroxm - 2014-02-04

How can I install qvdpautest?


RE: Radeon OSS with vdpau (howto) - jovis - 2014-02-04

(2014-02-04, 20:23)fritsch Wrote:
Quote:(EE) [mi] EQ overflow continuing. 500 events have been dropped.
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x3d) [0x7f4719af9fdd]
(EE) 1: /usr/bin/X (QueuePointerEvents+0x52) [0x7f47199c2a92]
(EE) 2: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f470f5b4000+0x566f) [0x7f470f5b966f]
(EE) 3: /usr/bin/X (0x7f4719957000+0x91ee8) [0x7f47199e8ee8]
...
(EE) 20: /usr/bin/X (0x7f4719957000+0x5525e) [0x7f47199ac25e]
(EE) 21: /usr/bin/X (0x7f4719957000+0x447ba) [0x7f471999b7ba]
(EE) 22: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f4717692de5]
(EE) 23: /usr/bin/X (0x7f4719957000+0x44aff) [0x7f471999baff]
(EE)
(EE) [mi] EQ overflow continuing. 600 events have been dropped.

Thanx, but this answer is a little too abstract for me ;-). Should I conclude from this that there is a bug in Xorg or the OSS radon driver which caused the crash?


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

Read back the forum, I already told some months ago.


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

(2014-02-04, 21:57)jovis Wrote:
(2014-02-04, 20:23)fritsch Wrote:
Quote:(EE) [mi] EQ overflow continuing. 500 events have been dropped.
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x3d) [0x7f4719af9fdd]
(EE) 1: /usr/bin/X (QueuePointerEvents+0x52) [0x7f47199c2a92]
(EE) 2: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f470f5b4000+0x566f) [0x7f470f5b966f]
(EE) 3: /usr/bin/X (0x7f4719957000+0x91ee8) [0x7f47199e8ee8]
...
(EE) 20: /usr/bin/X (0x7f4719957000+0x5525e) [0x7f47199ac25e]
(EE) 21: /usr/bin/X (0x7f4719957000+0x447ba) [0x7f471999b7ba]
(EE) 22: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f4717692de5]
(EE) 23: /usr/bin/X (0x7f4719957000+0x44aff) [0x7f471999baff]
(EE)
(EE) [mi] EQ overflow continuing. 600 events have been dropped.

Thanx, but this answer is a little too abstract for me ;-). Should I conclude from this that there is a bug in Xorg or the OSS radon driver which caused the crash?

Yes :-) I fear so.


RE: Radeon OSS with vdpau (howto) - locomot1f - 2014-02-04

went through and installed qvdpautest

here are my results:
Code:
qvdpautest 0.5.2++
AMD A6-6400K APU with Radeon(tm) HD Graphics
Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8470D]

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

FATAL: get_bits failed : No backend implementation could be loaded.!!

MPEG DECODING (1920x1080): 132 frames/s
MPEG DECODING (1280x720): 288 frames/s
H264 DECODING (1920x1080): 71 frames/s
H264 DECODING (1280x720): 167 frames/s
Profile unsupported.
MPEG4 DECODING (1920x1080): 120 frames/s

MIXER WEAVE (1920x1080): 792 frames/s
MIXER BOB (1920x1080): 1292 fields/s
MIXER TEMPORAL (1920x1080): 342 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 330 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 353 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 330 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 328 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 353 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 604 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 24 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 352 fields/s

tomorrow, i'll try to revert back to the stable mesa, and see what the increases where / are.
but these numbers look great!


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

The implementation of qvdpautest "sucks a bit". xbmc is much faster. I would say approx 20% from my testing.


RE: Radeon OSS with vdpau (howto) - eroxm - 2014-02-05

After puzzeling together the dependencies I managed to compile qvdpautest, so here are the results after installing latest mesa from test ppa:

Code:
xbmc@xbmc:~/qvdpautest/localbuild/src$ DISPLAY=:0 ./qvdpautest /home/xbmc/qvdpautest/data
qvdpautest 0.5.2
AMD E-350 Processor
Unknown GPU

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

FATAL: get_bits failed : No backend implementation could be loaded.!!

MPEG DECODING (1920x1080): 91 frames/s
MPEG DECODING (1280x720): 204 frames/s
H264 DECODING (1920x1080): 50 frames/s
H264 DECODING (1280x720): 121 frames/s
Profile unsupported.
MPEG4 DECODING (1920x1080): 81 frames/s

MIXER WEAVE (1920x1080): 274 frames/s
MIXER BOB (1920x1080): 462 fields/s
MIXER TEMPORAL (1920x1080): 140 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 121 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 129 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 124 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 121 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 129 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 214 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 91 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 149 fields/s

Looks good so far, but the 1080p60 sample that fritsch posted has a lot dropping and skipping, the 1080p50 has no drops, but some skips too. Something's still wrong...

dmesg
cat ~/.xbmc/temp/xbmc.log
cat /var/log/Xorg.0.log
DISPLAY=:0 vdpauinfo
dpkg -l |grep mesa
glxinfo | grep -i interop


RE: Radeon OSS with vdpau (howto) - gfisher - 2014-02-05

test ppa is fast xubuntu-64 desktop with PA
Code:
qvdpautest 0.5.2
AMD A4-3400 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): 135 frames/s
MPEG DECODING (1280x720): 304 frames/s
H264 DECODING (1920x1080): 72 frames/s
H264 DECODING (1280x720): 174 frames/s
MPEG4 DECODING (1920x1080): 118 frames/s

MIXER WEAVE (1920x1080): 447 frames/s
MIXER BOB (1920x1080): 690 fields/s
MIXER TEMPORAL (1920x1080): 202 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 187 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 202 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 190 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 187 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 202 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 345 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 135 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 217 fields/s
smooth playback


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

mesa 10.0.3 copied to mesa ppa.


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

1080p50 is approx max a E350 Fusion can do. That's also what we got with fglrx. The 1080p60 I got running on my Kabini.
Btw. to benchmark xbmc, is not so easy - as the "Renderer" skips in order to make it more fluent.

So - we are perfect now.

What's missing from my side:
Proper Limited Range / Full Range support.


RE: Radeon OSS with vdpau (howto) - eroxm - 2014-02-05

Ok, maybe I have to wait a bit more till some Mini-ITX Boards with A4-5000 APU are out and get one of those. TDP of 15W looks promising for HTPC purposes...

What kind of Kabini setup do you have?


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

Zotac Box


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

fritsch what is your thoughts on 3.14-rc1?


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

@pyrodex: No thoughts, no time - if you are on radeon_si you might want it.