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

Same problem with: https://dl.dropboxusercontent.com/u/55728161/clannad.mkv or: https://dl.dropboxusercontent.com/u/55728161/deinterlacing-test.mp4 ?


openSUSE Howto UPDATE - tomtomme - 2014-03-03

update to the openSUSE howto here:
http://forum.xbmc.org/showthread.php?tid=174854&pid=1546145#pid1546145

##### Recent CHANGES ######
- switched from openSUSE 13.1 to openSUSE Tumbleweed with stable kernel and mesa
- libtag 1.9 is now included in packman repo and has not to be downlaoded seperately anymore
######################


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

(2014-02-26, 15:22)locomot1f Wrote:
(2014-02-26, 09:36)fritsch Wrote: You can already try 3.14-rc4 it's on ubuntu mainline ...

i'm running with my AMD Radeon 8xxx
working fine for me

retracting this statement. i was using my S/PDIF for output -- this works fine.

when I switched to my HDMI for audio output, i get nothing, and the video is very laggy.


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

Logfile or it never happened :-)

Something else: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1287326 (just watch, don't spam)


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

(2014-03-03, 21:26)fritsch Wrote: Logfile or it never happened :-)

Something else: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1287326 (just watch, don't spam)

i'll get you some logs tomorrow.


RE: Radeon OSS with vdpau (howto) - ToniCipriani - 2014-03-04

Updated my machine last week, then this started happening. Occasionally when I stop a video, XBMC quits with a crash log. Here's one sample:

http://paste.ubuntu.com/7030440/

Thoughts?


RE: Radeon OSS with vdpau (howto) - ORbit2 - 2014-03-04

(2014-03-03, 13:48)fritsch Wrote: Same problem with: https://dl.dropboxusercontent.com/u/55728161/clannad.mkv or: https://dl.dropboxusercontent.com/u/55728161/deinterlacing-test.mp4 ?

The first one no problem (no sound though correct?) the second one not watchable. ( is called deinterlacing?? stutters + weird green and purple colors + squares )

Bizar: when I left the second one playing and went back to the main menu it played fine, you know in the background.

Here the logs;

http://paste.ubuntu.com/7031285/
http://paste.ubuntu.com/7031284/
http://paste.ubuntu.com/7031282/
http://paste.ubuntu.com/7031273/
http://paste.ubuntu.com/7031271/


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

Quote:[ 387.844782] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[ 388.043990] [drm:radeon_uvd_cs_reloc] *ERROR* reloc 1FDEC000-201E8000 crossing 256MB boundary!
[ 388.044010] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[ 388.205552] [drm:radeon_uvd_cs_reloc] *ERROR* reloc 1FDEC000-201E8000 crossing 256MB boundary!
[ 388.205571] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[ 388.323994] [drm:radeon_uvd_cs_reloc] *ERROR* reloc 1FDEC000-201E8000 crossing 256MB boundary!

You have a kernel problem. Make sure you have set UMA size to at least 512 MB in the bios.

Image

Edit: If this does not help, head over to bugs.freedesktop.org and file it.


Understanding Audio options (passthrough vs. transcode) - arkadi - 2014-03-04

I've set up my HTPC (AMD A6-5400K, Asrock FM2A75 PRO4-M) based on xubuntu 13.10 with all packages up-to-date following this how-to. The receiver is a 7.1 channel Onkyo TX NR-5007, connected with HDMI. I've set all high-res audio formats to passthrough.
Quite often with DTSHD-MA or DD TrueHD there are loud "clicks" sometimes every few seconds, sometimes about once a minute. Without passthrough there are no clicks, but some formats are not handled, like DTS where I get only the core out this way.

I am trying to understand how these audio options are supposed to work and how to debug this problem. Should XBMC be able to decode and transcode (into PCM) all high-res formats, or is passthrough the recommended or only option?

How do these options interact with the various synchronization settings (adjust refresh rate, sync playback, a/v sync method)? Should I try others than the ones recommended in the first post?

Any recommendations are very much appreciated. There are so many knobs to tweak that I need some idea of where to start.

Roman


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

Those clicks appear, when your video clock and audio clock go into different directions or when the audio sink is too slow (logfile will tell). If you for example play 23.97 fps at 60 hz it's quite bad for passthrough. When you really want this, set the sync method to "Audio Clock".

xbmc can decode every format, despite DTS-HD Master audio, here the DTS core is decoded and you get a 5.1 pcm signal.

The best experience concerning audio _and_ video and sync, when refreshrate does not match video fps, you get is: Video Clock with method resample audio. This will of course only work, when passthrough is disabled.

I need:
xbmc.log (with debugging)
DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr | pastebinit


RE: Radeon OSS with vdpau (howto) - RayMen - 2014-03-04

(2014-03-03, 14:00)tomtomme Wrote: update to the openSUSE howto here:
http://forum.xbmc.org/showthread.php?tid=174854&pid=1546145#pid1546145

##### Recent CHANGES ######
- switched from openSUSE 13.1 to openSUSE Tumbleweed with stable kernel and mesa
- libtag 1.9 is now included in packman repo and has not to be downlaoded seperately anymore
######################

Does the temporal deinterlacer work on your system ?

If i use the repositories from your howto it tells me no temporal deinterlacing.


RE: Radeon OSS with vdpau (howto) - ORbit2 - 2014-03-04

(2014-03-04, 09:37)fritsch Wrote:
Quote:[ 387.844782] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[ 388.043990] [drm:radeon_uvd_cs_reloc] *ERROR* reloc 1FDEC000-201E8000 crossing 256MB boundary!
[ 388.044010] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[ 388.205552] [drm:radeon_uvd_cs_reloc] *ERROR* reloc 1FDEC000-201E8000 crossing 256MB boundary!
[ 388.205571] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[ 388.323994] [drm:radeon_uvd_cs_reloc] *ERROR* reloc 1FDEC000-201E8000 crossing 256MB boundary!

You have a kernel problem. Make sure you have set UMA size to at least 512 MB in the bios.

Edit: If this does not help, head over to bugs.freedesktop.org and file it.

Thanks Big Grin I was looking for that but didn't found it, never knew it is getting visible after you force the graphics card.

No more problems with the problem as described above.

Now a different one occurs only with the 'big' files, like those when you have a sound issue, it starts chopping.

The logs:

http://paste.ubuntu.com/7032120/
http://paste.ubuntu.com/7032123/
http://paste.ubuntu.com/7032125/
http://paste.ubuntu.com/7032126/
http://paste.ubuntu.com/7032129/


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

Quote:DEBUG: Window Manager Name: Compiz

No further questions.


RE: Radeon OSS with vdpau (howto) - gemx - 2014-03-04

(2014-03-04, 11:37)RayMen Wrote:
(2014-03-03, 14:00)tomtomme Wrote: update to the openSUSE howto here:
http://forum.xbmc.org/showthread.php?tid=174854&pid=1546145#pid1546145

##### Recent CHANGES ######
- switched from openSUSE 13.1 to openSUSE Tumbleweed with stable kernel and mesa
- libtag 1.9 is now included in packman repo and has not to be downlaoded seperately anymore
######################

Does the temporal deinterlacer work on your system ?

If i use the repositories from your howto it tells me no temporal deinterlacing.

I also just have "VDPAU: Bob" as Deinterlacing method and "Temporal" of course. But "Temporal" doesn't have the vdpau prefix so i asume this method isn't using the GPU or am i wrong?


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

You are wrong. Temporal is what you want.