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) - valdi74 - 2013-10-27

I have sound issue over HDMI (S/PDIF is OK). Kernel 3.12.0-rc6+0.7, E-450. Every 105 seconds (1:45) sound disappears at about 1 second. After 30 min of watching switched to S/PDIF.

Logs:
dmesg
xbmc.log (sound over S/PDIF)
xbmc.old.log (sound over HDMI)
Xorg.0.log
vdpauinfo
dpkg -l | grep mesa


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

thanks for your logs, but sadly not a debug log. I cannot see anything :-(


RE: Radeon OSS with vdpau (howto) - valdi74 - 2013-10-27

Sorry, my fault. Full debug log:
xbmc.log (sound over HDMI)


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

Can you see a pattern?


RE: Radeon OSS with vdpau (howto) - valdi74 - 2013-10-27

Between 21:35 and 21:40 is the only record 8 x "UPower: Received an unknown signal DeviceChanged" (it's power management related?). At the time was about 3-4 sound dropouts.
'21:35:23 T:140459120785152 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:10349.066000, should be:20666.666667, error:10317.600667' it's not the problem?


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

Those are too unfrequent :-)

I expected a pattern every some seconds. Try setting Sync Method to Audio Clock.

the old bug was: "Get read without package available" which I cannot find in there.


RE: Radeon OSS with vdpau (howto) - Snippo - 2013-10-28

(2013-10-26, 12:02)fritsch Wrote: Keep the A4 and follow the howto - done. No need to buy anything new.

I already did that 3 times. Installing the latest driver and kernel just provides me with a black screen with GPU lockup messages on it.
I'll try it one last time. Maybe something has been fixed in the meantime but I doubt it.


RE: Radeon OSS with vdpau (howto) - valdi74 - 2013-10-28

Setting Sync Method to Audio Clock didn't help. Now dropouts are every 114 seconds (1:54).
Debug log:
xbmc.log (Sync Method -> Audio Clock)


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

@Snippo Can or do you care to run xubuntu64 desktop. Pm me if you have any ?s. I have the a4 3400 running like a champ. It is a lot of GPU for simple 1080p HD playback. What is your hardware? This should work for you.


RE: Radeon OSS with vdpau (howto) - Snippo - 2013-10-28

I tried both Lubuntu64 and the mini iso. My own system is an A4-3400 + Gigabyte A75M-UD2H. I'm giving it a try on a different system now with an A4-3400 + ASRock A75M-ITX to see if that will work.


RE: Radeon OSS with vdpau (howto) - Claudio.Sjo - 2013-10-28

(2013-10-27, 11:36)deadite66 Wrote: did you hear the audio clip i posted yesterday?

recorded from TV headphone out so not brilliant quality.
weird audio
glitch starts at 5 seconds and ends at 11 seconds.

Hi,
I was curious, and tried your sample on my Windows7 laptop, by playing with vlc.
I got exactly the same result, weird noise between sec 5 and 11.
I start thinking that the problem is how the sample was encoded.


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

Hi, here is a new rc7+ kernel with the lipsync patches integrated again:

Code:
wget https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.12.0-rc7%2B_0.1_amd64.deb https://dl.dropboxusercontent.com/u/55728161/linux-image-3.12.0-rc7%2B_0.1_amd64.deb
sudo dpkg -i *0.7*deb

I am still searching frequent, repeated audio drops with especially passthrough formats. On older kernels we lost 10ms every 6 seconds, that has improved (somehow) a lot. So please, if you test those kernels. Let them run in passthrough + debugging and capture your logfiles.

Currently I am interested in correctly periodically drops at an interval < 40 seconds. So, if you have some drops every 5 minutes, those are not yet relevant.

Thanks much for testing.


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

(2013-10-28, 10:45)Claudio.Sjo Wrote:
(2013-10-27, 11:36)deadite66 Wrote: did you hear the audio clip i posted yesterday?

recorded from TV headphone out so not brilliant quality.
weird audio
glitch starts at 5 seconds and ends at 11 seconds.

Hi,
I was curious, and tried your sample on my Windows7 laptop, by playing with vlc.
I got exactly the same result, weird noise between sec 5 and 11.
I start thinking that the problem is how the sample was encoded.

That sample had the noise recorded :-) - so quite clear you hear it.


RE: Radeon OSS with vdpau (howto) - Snippo - 2013-10-28

(2013-10-28, 09:33)Snippo Wrote: I tried both Lubuntu64 and the mini iso. My own system is an A4-3400 + Gigabyte A75M-UD2H. I'm giving it a try on a different system now with an A4-3400 + ASRock A75M-ITX to see if that will work.

No luck with the other system either. No GPU lockups this time but all I get is a white screen with occasionally some black blocks.
I followed the howto step by step. Here are the logs:
dmesg | pastebinit
cat ~/.xbmc/temp/xbmc.log | pastebinit
cat /var/log/Xorg.0.log | pastebinit
DISPLAY=:0 vdpauinfo | pastebinit
dpkg -l |grep mesa | pastebinit


RE: Radeon OSS with vdpau (howto) - Dradge - 2013-10-28

I tried today this howto. VC1 sample from @laric (vc1_1080p_ap_l3_18mbps_ac3_hddvd.mkv) don't play. I just get sound but no picture. I will post logs tomorrow.

I think the hardware (HD4290 (UVD2) with AMD Sempron 140) is not enough powerfull for this file. I will try with a AMD Athlon II X4 610e.