(2014-03-24, 17:47)locomot1f Wrote: [ -> ]I've been trying to switch my system from S/PDIF to HDMI for sound... setup reasons.
I've not had the best luck with getting the sound to cooperate.
The sound will start off playing correctly, then at any random time it will start to degrade, and get scratchy.
I've searched the forum for this, and I've seen things about it. things to try (sync A/V, set to fixed 48.0, etc.) but nothing seems to correct this.
I've also seen the issue about Upower, as you'll see in my log I get a few of those... but I did not see an answer to this solution.
can someone help point me in the right direction?
here's... Johnny! -- http://pastebin.com/VSjLPrmz
oh! I can reproduce this error, without fail, when i play a music file, and set 'ProjectM' for visualization.
that's how i was able to get the log.
otherwise, when i play a video... i could go 5min - 30min before the distortion will show up.
once it starts though, it will keep coming back quicker and quicker... make me think it's a buffering issue...
would a sound clip help?
it will take some time, but i can try to get one.
@talvins: visit #xbmc-xvba on freenode - then your problem can be solved without spamming the rest of the thread.
@locomot1f: I have seen absolutely nothing in a first glance.
Will be fixed in Trusty with mesa 10.1 the relevant patch just landed in mesa git. I will update the howto at the very point this one gets merged to trusty.
(2014-03-24, 19:58)fritsch Wrote: [ -> ]@talvins: visit #xbmc-xvba on freenode - then your problem can be solved without spamming the rest of the thread.
ok, ok but now I erased all my previous xvba installation so...
Can you just tell me WHERE I misfired ?
dmesg | pastebinit
http://pastebin.com/TsDqf6pm
cat ~/.xbmc/temp/xbmc.log | pastebinit
http://pastebin.com/J8GTd4pt
cat /var/log/Xorg.0.log | pastebinit
http://pastebin.com/ZXdNueNa
DISPLAY=:0 vdpauinfo
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
dpkg -l |grep mesa | pastebinit
http://pastebin.com/V5bv648T
Thanks !
Your half cut xbmc.log tells, that your Xserver does not come up at all and therefore the vdpau module cannot be loaded. It's really hard to tell ... but there is obviously something wrong in the way you start your xserver.
Furthermore you completely miss the ati / radeon drivers ... I am really not sure, what you did during installation:
sudo apt-get install xserver-xorg-video-radeon xserver-xorg-video-ati
(2014-03-24, 22:18)tiasg Wrote: [ -> ]I have the exact same issue after following this howto. As soon as i turn off debug logging, XBMC is crashing when i stop Videos.
Here are the logs, though as stated by Cheddoleum the Crash Log doesn't show anything because Debug Logging has to be turned off to reproduce the Error.
Thanks, it's nice to see some confirmation of this effect. (And thanks for capturing the logs.) On experimenting I've found that the crash-on-stop will only happen if there is no overlay of any kind on the video. If the onscreen controls are showing, or the info or debug overlays, or the skip/pause overlay because you've just skipped or paused before stopping, then it doesn't crash. But press stop when it's just showing plain video with no overlay and the crash happens.
(2014-03-24, 22:42)fritsch Wrote: [ -> ]Furthermore you completely miss the ati / radeon drivers ... I am really not sure, what you did during installation:
sudo apt-get install xserver-xorg-video-radeon xserver-xorg-video-ati
I do this approximatively 10 times, purge, resinstall
And I SWEAR I don't cut half XBMC log ! It's discouraging...
Try to run OpenELEC. If this also does not boot / run then there is another issue. If it runs, it's a problem on your side.
http://snapshots.openelec.tv gunzip the image and dd it to an empty usb stick.
Just a curious log before trying OpenELEC :
Code:
DISPLAY=:0 LIBGL_DEBUG=verbose glxinfo | grep -i interop
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
libGL: driver does not expose __driDriverGetExtensions_r600(): /usr/lib/x86_64-linux-gnu/dri/r600_dri.so: undefined symbol: __driDriverGetExtensions_r600
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL: driver does not expose __driDriverGetExtensions_swrast(): /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: __driDriverGetExtensions_swrast
libGL: Can't open configuration file /home/ben/.drirc: No such file or directory.
libGL: Can't open configuration file /home/ben/.drirc: No such file or directory.
GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_NV_vdpau_interop,
For my strange 'Error creating VDPAU device: 23' on vdpauinfo, I have the answer !!! And it works now ! In fact, I launched vdpauinfo under a sudo. If I su - xbmc then DISPLAY=:0 vdpauinfo, I have
http://pastebin.com/QpLy6vN9
And glxinfo it's ok too.
But XBMC log always stop at "load settings".
sudo chown xbmc:xbmc /home/xbmc/.xbmc -R
(2014-03-24, 22:21)fritsch Wrote: [ -> ]Will be fixed in Trusty with mesa 10.1 the relevant patch just landed in mesa git. I will update the howto at the very point this one gets merged to trusty.
Have you got a pointer to the patch? I want to make sure that the patch that fixes this issue makes it into the arch linux mesa package as well.
Thanks again for your work.