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) - csonger - 2014-01-09

Hi fritsch,

I have a config with these specs:
MB: Gigabyte F2A85XM-D3H
APU: AMD A10-5800K, Radeon HD 7660D
Receiver: Sony STR-DG820

Everything seems to work fine, except TrueHD and DTS-HD. If I check the capable options and play a dts-hd or truehd sample, the receiver does not get any stream (neither PCM, nor anyting other).
If I uncheck the capable options, then dts-hd plays as simple dts, and truehd plays as PCM 2.0 (speaker configuration is 5.1 under XBMC Audio output settings).
The receiver is capable to decode these audio streams, as it work's without problems on my other config with an nvidia gpu (XBMCbuntu 12.3).

I have tried all the options you mentioned in the first post and searched for others comments in this thread as well. Nothing helped.
- with and without marantz edid
- adjust display refresh rate disabled/always
- A/V sync method Video clock/Audio clock
- alsamixer unmute

A weird thing is that under Settings/Audio output the Audio output device is "HDA ATI, @@@". This should be "Sony AVAMP" or something else naming my receiver.
I get the exact same results with your marantz edid.

dmesg | pastebinit
http://paste.ubuntu.com/6722991/
cat ~/.xbmc/temp/xbmc.log | pastebinit
http://paste.ubuntu.com/6722996/
cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/6722999/
DISPLAY=:0 vdpauinfo | pastebinit
http://paste.ubuntu.com/6723000/
dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/6723001/

The sample video is from demo-world.eu:
http://dl.demo-world.eu/download_hd.php?filename=hd_dolby_truehd_channel_check_lossless.part1.rar
http://dl.demo-world.eu/download_hd.php?filename=hd_dolby_truehd_channel_check_lossless.part2.rar

Any other suggestion?

Thanks,
csonger


RE: Radeon OSS with vdpau (howto) - spiroid - 2014-01-10

hi Fritsch,

i successfully compiled and ran xbmc with vdpau enabled and hdmiaudio working ! Wink
now i have another issue however, when i add media and i scan new directoires to add information, the scan takes one second but nothing seems tout happen. no item is added to the library.
what can i do to analyse and see what happens ?

thx again for your help


RE: Radeon OSS with vdpau (howto) - tomtomme - 2014-01-10

The tutorial still mentions: "Anssis HDA patch" - is it still needed for kernel >3.13.rc6? The formulation is unclear to me...


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

@spiroid -- sounds like your sources are not setup properly. make sure the content is specified


RE: Radeon OSS with vdpau (howto) - jaymax - 2014-01-10

(2014-01-10, 00:12)spiroid Wrote: hi Fritsch,

i successfully compiled and ran xbmc with vdpau enabled and hdmiaudio working ! Wink
now i have another issue however, when i add media and i scan new directoires to add information, the scan takes one second but nothing seems tout happen. no item is added to the library.
what can i do to analyse and see what happens ?

thx again for your help

You need to do a library update and not scan for new content. They moved this setting to the slide out menu on the left.
http://wiki.xbmc.org/index.php?title=XBMC_v13_(Gotham)_FAQ#Where_did_the_.22update_library.22_button.3F


RE: Radeon OSS with vdpau (howto) - doctor64 - 2014-01-10

(2014-01-09, 23:09)doctor64 Wrote: Hello!
I'm trying to add Live tv functionality to my xbmc installation, and encounter what xbmc crashed and restarted when trying to display TV stream.
This happen only if VDPAU enabled, if i disable VDPAU live TV shown.
Little update: HD channels works. Only SD channels is affected.
Looks like mpeg-2 broken?


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

@doctor64: yes. There was a bug in mesa / kernel for mpeg-2 which I thought was solved. Perhaps someone of those that had problems before with mpeg-2 can speak up.

@tomtomme: No patch is needed anymore, I will update the howto.


RE: Radeon OSS with vdpau (howto) - MTroi - 2014-01-10

(2014-01-10, 00:12)spiroid Wrote: hi Fritsch,

i successfully compiled and ran xbmc with vdpau enabled and hdmiaudio working ! Wink
now i have another issue however, when i add media and i scan new directoires to add information, the scan takes one second but nothing seems tout happen. no item is added to the library.
what can i do to analyse and see what happens ?

thx again for your help

You could look (and/or post it here) into your xbmc logfile "~/.xbmc/temp/xbmc.log" to see if there is anything printed regarding a failed scan and possibly why.


RE: Radeon OSS with vdpau (howto) - spiroid - 2014-01-10

(2014-01-10, 14:09)MTroi Wrote:
(2014-01-10, 00:12)spiroid Wrote: hi Fritsch,

i successfully compiled and ran xbmc with vdpau enabled and hdmiaudio working ! Wink
now i have another issue however, when i add media and i scan new directoires to add information, the scan takes one second but nothing seems tout happen. no item is added to the library.
what can i do to analyse and see what happens ?

thx again for your help

You could look (and/or post it here) into your xbmc logfile "~/.xbmc/temp/xbmc.log" to see if there is anything printed regarding a failed scan and possibly why.

I enabled logs at debug level.
I found several warning lines after i try to add content in the media library !

I see the file names being parsed and that tvshownaming rules found the correct values.
However just after that step i can see these warning :

Code:
07:56:38 T:140475548653312 WARNING: CreateLoader - Unsupported protocol(library) in library://video/tvshows/years.xml/poster.jpg
07:56:38 T:140475548653312 WARNING: CreateLoader - Unsupported protocol(library) in library://video/tvshows/years.xml/poster.png
07:56:38 T:140475548653312 WARNING: CreateLoader - Unsupported protocol(library) in library://video/tvshows/years.xml/banner.jpg
07:56:38 T:140475548653312 WARNING: CreateLoader - Unsupported protocol(library) in library://video/tvshows/years.xml/banner.png
07:56:38 T:140475548653312 WARNING: CreateLoader - Unsupported protocol(library) in library://video/tvshows/years.xml/thumb.jpg
07:56:38 T:140475548653312 WARNING: CreateLoader - Unsupported protocol(library) in library://video/tvshows/years.xml/thumb.png
....

I tried to google that error message but didn't find anything relevent for now.
Thanks for your help


RE: Radeon OSS with vdpau (howto) - libgradev - 2014-01-10

(2014-01-10, 08:45)fritsch Wrote: @doctor64: yes. There was a bug in mesa / kernel for mpeg-2 which I thought was solved. Perhaps someone of those that had problems before with mpeg-2 can speak up.

I keep meaning to check this with 3.13-rc7 and Mesa git - will do it later this evening. It was still broken last I tested (fully updated just before Christmas)...

As far as I know no relevant fixes have been commited though :/


RE: Radeon OSS with vdpau (howto) - deadite66 - 2014-01-10

my problems with mpeg2 have gone away.


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

All with that problem install libg3dvl-mesa-dbg package (could be named differently) and get it crash with gdb again and add that backtrace to the original bugreport on freedesktop.


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

@spiroid -- you need to post full debug logs on either pastebin.com or xbmclogs.com

that little snippet is not enough to tell us anything.


RE: Radeon OSS with vdpau (howto) - VanillaXtract - 2014-01-10

Should we be running 3.13rc7 or 3.13.0-994.201401100405?


RE: Radeon OSS with vdpau (howto) - spiroid - 2014-01-10

(2014-01-10, 20:56)locomot1f Wrote: @spiroid -- you need to post full debug logs on either pastebin.com or xbmclogs.com

that little snippet is not enough to tell us anything.

@locomot1f: here is the link to the pastebin with the full content of the xbmc.log file: http://pastebin.com/DUdcHyPm