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) - wsnipex - 2013-10-05

pvr-addons are now available in the same ppa.


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

@wsnipex: Thanks very much!


RE: Radeon OSS with vdpau (howto) - acandido - 2013-10-05

I'm having problems playing certain avi/divx files... XBMC crashes entirely.

dmesg
XBMC Debug
Xorg
vdpauinfo
dpkg

Thanks, let me know if any more info is needed.


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

Thanks for this feedback, we found the cause and have fixed it already (yesterday). Did you upgrade xbmc this morning?

Fix is here: https://github.com/FernetMenta/xbmc/commit/31b967c43be642c5de02abe6ba305bd977148081


RE: Radeon OSS with vdpau (howto) - acandido - 2013-10-05

You're right, I didn't update this morning. All working now, thanks Smile


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

@acandido: If you can and have a machine != E450 and != E350 please provide some qvdpautest benchmarks. If you need help to get them, just join #xbmc-xvba


RE: Radeon OSS with vdpau (howto) - gfisher - 2013-10-05

@fritsch
Does MIXER TEMPORAL_SPATIAL mean advanced deinterlacing for 1080i via GPU? OP says BOB. I am running an nv610 on an a4 3400. Would luv to ditch it. PQ is priority. Thx for the hard work on this one.


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

If you compare the numbers you will see that the values stay constant, so qvdpautest fakes here.

But temp / spat is currently in progress and will hit vdpau oss soon, here are two images for you:
A) http://i.imgur.com/uhBBfZz.jpg
B) http://i.imgur.com/3xLAcGy.jpg

Find the better one.


RE: Radeon OSS with vdpau (howto) - -DDD- - 2013-10-05

A is the better one


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

You have qualified for the next round :-)


RE: Radeon OSS with vdpau (howto) - gfisher - 2013-10-05

Z has less jaggie's look at the buildings on left above door line. Yuk! 8).
Edit. Y has the jaggies. So A is better!


RE: Radeon OSS with vdpau (howto) - acandido - 2013-10-05

qvdpauinfo:

Code:
qvdpautest 0.5.2
AMD E2-1800 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): 61 frames/s
MPEG DECODING (1280x720): 95 frames/s
H264 DECODING (1920x1080): 38 frames/s
H264 DECODING (1280x720): 72 frames/s
VC1 DECODING (1440x1080): 88 frames/s
MPEG4 DECODING (1920x1080): 53 frames/s

MIXER WEAVE (1920x1080): 321 frames/s
MIXER BOB (1920x1080): 515 fields/s
MIXER TEMPORAL (1920x1080): 584 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 585 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 585 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 584 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 585 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 584 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 719 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 59 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 591 fields/s



RE: Radeon OSS with vdpau (howto) - ihc100 - 2013-10-05

I just walked through the howto.

I followed the xvba-thread from the beginning and really appreciate the work, thank you all.

Here is qvdpau test .

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): 58 frames/s
MPEG DECODING (1280x720): 90 frames/s
H264 DECODING (1920x1080): 36 frames/s
H264 DECODING (1280x720): 68 frames/s
VC1 DECODING (1440x1080): 83 frames/s
MPEG4 DECODING (1920x1080): 50 frames/s

MIXER WEAVE (1920x1080): 275 frames/s
MIXER BOB (1920x1080): 391 fields/s
MIXER TEMPORAL (1920x1080): 472 fields/s
MIXER TEMPORAL + IVTC (1920x1080): 473 fields/s
MIXER TEMPORAL + SKIP_CHROMA (1920x1080): 473 fields/s
MIXER TEMPORAL_SPATIAL (1920x1080): 473 fields/s
MIXER TEMPORAL_SPATIAL + IVTC (1920x1080): 473 fields/s
MIXER TEMPORAL_SPATIAL + SKIP_CHROMA (1920x1080): 475 fields/s
MIXER TEMPORAL_SPATIAL (720x576 video to 1920x1080 display): 604 fields/s

MULTITHREADED MPEG DECODING (1920x1080): 54 frames/s
MULTITHREADED MIXER TEMPORAL (1920x1080): 491 fields/s

The maximum frequency in the bios is set to 1066.
Hope it helps.


RE: Radeon OSS with vdpau (howto) - noopiex - 2013-10-05

Hi guys,

Identical issue here as reported by locomot1f, only happening in XBMC GUI:
https://www.dropbox.com/s/wxij5f2fdy4p5jb/2013-10-05%2016.43.56.mp4

Also I still have the no-sound issue!
Followed the steps from first post one on one. What on earth could be wrong??
Please note, I have now updated to kernel 3.12 rc3 since the dropbox 3.11.1 didn't enable audio in dmesg, 3.12 does.

http://paste.ubuntu.com/6196722/
http://paste.ubuntu.com/6196725/
http://paste.ubuntu.com/6196730/
http://paste.ubuntu.com/6196734/
http://paste.ubuntu.com/6196735/


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

3.12-rc3 needs you to enable HDMI audio explicitely with xrandr, therefore I ported all the stuff back to 3.11.

Code:
xrandr --output HDMI-0 --set audio auto

should make audio working on 3.12-rc3. This -rc3 does not have the HD-Audio patches and it misses the cea mode fixes. Concerning your visual artifacts, could you remove the radeon.dpm=1 from the kernel command line and retry?

Also post your xorg.conf and try to add: Option "EXAPixmaps" "off"

Next try to set: XAA acceleration in xorg.conf