Linux [SOLVED] Eden judder/skipping/hiccups, was OK in Dharma
#1
Wink 
Hello everyone,

First of all, I love XBMC, it's an amazing software. Thanks to all developers.
I've been using XBMC 10 over Ubuntu 10.10 on a ZOTAC HD-ID11 flawlessly for over an year.
I upgraded to XBMCbuntu 11.10 with Eden, and it's working fine, but there are a few performance problems.

Most noticeably is when starting a video. The first few seconds are horribly disychronized, then it "catches up" and runs smoothly.
However, long videos always have a frame and audio skip around the 30 minutes mark. It's not a big deal, mostly a second, but it's still annoying nonetheless.

I didn't have any of these issues in Dharma.
I have tried JumJum script (here: http://forum.xbmc.org/showthread.php?tid=70068). Interface performance has certainly increased, but the issues with video are still there.


My specs:
ZOTAC HD-ID11 (Intel Atom 510, ION 2, 2gb RAM)
HDD: 500gb 5400rpm, 64mb cache (2 partitions, 1 for the system 10gb and media 490gb, both using ext3)

I wonder if the problem is with the HDD/filesystem setup?

Thanks in advance for all the help Big Grin
Reply
#2
I don't think your hdd setup is a problem as long as your swap partition is big enough. I always install my systems with separate boot, root, swap, and home partitions and don't have problems.
Can you post a full debug log including the 30 minutes mark when the issue shows?
Reply
#3
Hey, thanks for the reply.

So I was watching a video yesterday and the judder happened after 15 minutes. I was not running debug mode, but I got the log nonetheless. Hope it helps.

http://xbmclogs.com/show.php?id=1720

I will run the same video using debug mode later.

This line caught my attention:
23:15:07 T:2859006832 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)

I think that's when the hiccup happened.
Reply
#4
There may be many reasons for this problem, In order to track this down further I would recommend to remove the points of uncertainty.

- what's behind the gputemp command? If there is a call to nvidia-settings, please remove.
- for the time of investigation switch to default skin
- you have setup XBMC to use ALSA. completely remove pulse audio from the system

Then lets look into a debug log.
Reply
#5
Hi

I'm having the same hiccups with my setup.

My setup is:
Shuttle XS35GT (nVidia ION2)
2 GB Ram
64 GB Kingston SSD

After a clean install I did the following:
Changed audio to HDMI
Changed output to custom = plughw:1,3
Changed passthrough to custom = plughw:1,3
Unmutede the spdif in alsamixer

I'v also tryed installing openelec 2 (based on eden)
And it's also having the same problems.

- Christian
Reply
#6
(2012-04-20, 16:56)DeathscytheDK Wrote: Hi

I'm having the same hiccups with my setup.

My setup is:
Shuttle XS35GT (nVidia ION2)
2 GB Ram
64 GB Kingston SSD

After a clean install I did the following:
Changed audio to HDMI
Changed output to custom = plughw:1,3
Changed passthrough to custom = plughw:1,3
Unmutede the spdif in alsamixer

I'v also tryed installing openelec 2 (based on eden)
And it's also having the same problems.

- Christian

Your problem is caused by the powermizer issue on Shuttle XS35GT. Nvidia drivers > 190 don't let the GPU go max performance. Most likely a BIOS problem. I am in contact with Shuttle and hopefully they can provide a fix soon.
Reply
#7
Thumbs Up 
(2012-04-20, 17:20)FernetMenta Wrote: Your problem is caused by the powermizer issue on Shuttle XS35GT. Nvidia drivers > 190 don't let the GPU go max performance. Most likely a BIOS problem. I am in contact with Shuttle and hopefully they can provide a fix soon.

Realy? Thx for the quick answer Smile
Reply
#8
DeathscytheDK: check out this: http://www.nvnews.net/vbulletin/showthre...tle&page=4. It might be a similar problem with Shuttle.
Reply
#9
So,

I disabled the gputemp in advancedsettings.xml, changed the skin back to Confluence. I checked my system for pulseaudio, but the only thing related was libpulse0, which xbmc depends on. (It's a standard XBMCbuntu install.)

I've played the same video again in Debug mode. There is some skipping in the beginning and after 15 minutes. I stopped around 25 minutes.

Here's the log, hope it helps: http://xbmclogs.com/show.php?id=1762
Reply
#10
Code:
01:40:40 T:2852682608 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
01:40:41 T:2852682608   DEBUG: CDVDPlayerAudio:: Discontinuity - was:909924868.136667, should be:909802686.966895, error:-122181.169772
Your first assumption seems to be correct.
I am looking over all reports related to judder/stuttering in particular on the Openelec forum: http://openelec.tv/forum/131-vdpau-nvidi...=420#31672
I don't think your problem is caused by the XBMC application itself, otherwise this issue would show up on every system. OE comes without pulse audio installed this is why I suspect PA. Not sure whether PA is on XBMCbuntu but it's default on Ubuntu. Have you tried apt-get remove pulseaudio* ?

There is a minor problem causing this hardly noticeable stutter every 3.5 minutes or so. The display's refresh rate is 23.971 instead of 23.976. You should be able to cure with a custom modline forcing the refresh rate to 23.976.
Reply
#11
Yes I have tried sudo apt-get remove pulseaudio, says it's not installed.

I ran JumJum script (http://forum.xbmc.org/showthread.php?tid=70068) in order to have a 23.97 refresh rate.
Should I undo that? And how I can make a custom modeline?
Reply
#12
I have a ID11 here. I will check the setup and try to reproduce this issue. Then let you know the results and my config. Hopefully I find some time tomorrow or on Tuesday. Stay tuned.
Reply
#13
@cidus

I had installed Ubuntu 11.10 64bit on my ID11 and installed XBMC Eden via ppa. NVidia driver 295.20. I was not able to reproduce your problem, even played the same video as you did.

Here's my config:
- modprobe for audio:
options snd-hda-intel probe_mask=-1,2

- asound.conf
pcm.!default plug:hdmi:NVidia

- xorg.conf
http://xbmclogs.com/show.php?id=1870

- advanced settings
http://xbmclogs.com/show.php?id=1871

- audio in XMBC
Defaults (ALSA)
pass through (custom): hdmi:NVidia

Note that there is a problem with NVidia drivers >= 295.20 which might also make ALSA die. If this happend kill all xmbc.bin processes and force alsa to reload: sudo alsa force-reload

(I don't use Unity)
Reply
#14
Thanks a lot Fermet. I guess I'll try installing Vanilla Ubuntu then.
I'll check the XBMCbuntu drivers version and report my issues to them.
Reply
#15
So i updated my drivers from 280.13 (XBMCbuntu default) to 290.40 (latest). It seems to be working. No hiccups so far. I think that's it, thanks again Fernet.
Reply

Logout Mark Read Team Forum Stats Members Help
[SOLVED] Eden judder/skipping/hiccups, was OK in Dharma0