Kodi Community Forum

Full Version: Radeon OSS with vdpau (howto)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2014-03-02, 19:23)fritsch Wrote: [ -> ]Another good news: The last custom patch to use radeon vdpau was pushed to xbmc master. So basically the mainline repo should now be able to run correctly. You will only miss the proper Monitor Management, e.g. the SDL drop.

Does this mean that if I rebuild an ubuntu 13.04 minimal box and then build from git I will have this code? Or still a custom kernel also?
14.04 is enough and team xbmc ppa (when ready). Nothing to build custom. That's the whole idea.
(2014-03-04, 15:05)fritsch Wrote: [ -> ]You are wrong. Temporal is what you want.

Great Big Grin
(2014-03-04, 10:41)arkadi Wrote: [ -> ]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

Hi arkadi

Thats exactly the same effects/problems which I have (with similar configuration)
see Post: #1416
Good to hear that I'm not the only one.
Meanwhile I updated to the latest kernel (3.15) and XBMC (nightly build) but this problem still exist with DTS-HD and also Dolby TRUE-HD (tested with demo-file) .

regards,
Ixbeemce
Post the same things, I requested for that user.
(2014-03-02, 19:23)fritsch Wrote: [ -> ]Another good news: The last custom patch to use radeon vdpau was pushed to xbmc master. So basically the mainline repo should now be able to run correctly. You will only miss the proper Monitor Management, e.g. the SDL drop.

Are you going to change the guide for the nightly for now or should we continue to use the current PPA?
Do you see it changed? I will have no time the next 10 days.
okay,
so I had some time. i upgraded to the 3.14 rc5 kernel.
here are my logs:
Linux xbmc 3.14.0-031400rc5-generic #201403022235 SMP Mon Mar 3 03:36:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

dmesg | pastebinit
http://paste.ubuntu.com/7033651/
cat ~/.xbmc/temp/xbmc.log | pastebinit
http://paste.ubuntu.com/7033687/
cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/7033653/
DISPLAY=:0 vdpauinfo | pastebinit
http://paste.ubuntu.com/7033656/
dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/7033657/

and here's a log file when trying to play a video... both online, and from my hard drive. and a music file (which made XBMC freeze):
http://paste.ubuntu.com/7033704/
(2014-03-04, 15:44)fritsch Wrote: [ -> ]Post the same things, I requested for that user.

here are the log-files (hopefully the right ones)

cat ~/.xbmc/temp/xbmc.log | pastebinit
http://paste.ubuntu.com/7033942/
DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr | pastebinit
http://paste.ubuntu.com/7033948/
You are playing 24p @ 60 hz and expect passthrough audio to not drop? That won't work.

Disable all passthrough codecs and use LPCM.
(2014-03-04, 19:09)fritsch Wrote: [ -> ]You are playing 24p @ 60 hz and expect passthrough audio to not drop? That won't work.

Disable all passthrough codecs and use LPCM.

If I switch to 24p I have no audio (silence??)
I tested all fixed frame rates and only 60Mz gives audio output (with loud "clicks" and "gaps") all other produce silence.

If I switch off all passthrough codecs I have no DTS or Dolby, this is worst than my preveous configuration, where only the HD codes were switch off.
Then disable at least "Sync Playback to Display" completely ...
(2014-03-04, 11:37)RayMen Wrote: [ -> ]Does the temporal deinterlacer work on your system ?

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

I donĀ“t even know if I have deinterlaced material to test this. Sorry.
It is possible that the former pontostroy-mesa repo has more stuff enabled. However it is not available for Tumbleweed. Thus you should stick with 13.1 pontostroy-mesa-git and a stable kernel. Last time I tested kernel 3.14 my system stopped booting and I had to use a rescue disk to install an older kernel...
Fernet Mentas xbmc master branch is now on XBMC 14 alpha 1.
To get XBMC 13 beta I guess I will have to switch to the gotham branch - correct?
yes