XBMC SVN + NVIDIA + 24HZ playback crash
#1
Hi,

I've been running svn trunk for almost an year without any problem (mostly), but a couple of day ago I tried the instructions on "Perfect playback at 23.97/59.94 Hz with NVIDIA hardware" thread but XBMC crashes 90% of the time.

If I try to play a 23.976fps video, my TV correctly changes to 24HZ but then XBMC either crashes or hangs after 1 or 2 seconds of video. Tried with different files without success, and the same file sometimes plays correctly and other times don't.

Here's a debug log for a session where XBMC hang after 1 second of video: http://pastebin.com/xAZNJ0n6

And here's my xorg.conf: http://pastebin.com/KUyg4gxV

Specs:

XBMC SVN revision 34947
Debian SID x64 up to date
NVIDIA proprietary drivers 260.19.12 (also tried with debian drivers, with same result)

I see an error in the debug log "The display was pre-empted, or a fatal error occurred.(2) at VDPAU.cpp:1335" but I'm not sure how to interpret it.

Anyone have any ideas? Let me know if I can provide any more info.

Thanks
Reply
#2
You can try setting "pause during refresh rate change" to 2 seconds, that will make XBMC reinit vdpau a bit later, also you can try turning off sync playback to display.
Reply
#3
Thanks bobo1on1, tried that without success.

To discard any mess I might have done, here's what I did:

- Delete xorg.conf
- Delete guisettings.xml
- Delete .nvidia-settings-rc
- Reinstall nvidia drivers
- svn up & rebuild & install xbmc

At this point everything works fine, but the TV refesh rate does not change to 24Hz as my xorg.conf is not modified yet.

Applied the steps on Perfect Playback thread, turned off Sync Playback to Display and added 3 seconds pause during refresh rate.

Played the same movie as before, TV changes to 24Hz, I can hear some sound and immediately after that XBMC crashes with the same error as before:

Debug log: http://pastebin.com/D0H1MCvA
Backtrace: http://pastebin.com/PBdfrb2R

As before, sometimes it crashes, other times just hangs after video starts.

Does this helps narrowing the problem?

Thanks
Reply
#4
I've never seen this before, and if the behavior is different every time it's very hard to find the problem.
Reply
#5
I have a similar problem. When switched to 24 Hz XBMC crashes. And the reverse switch at 50 Hz is similar. This does not happen all the time. In the error log that in the post above.
This problem has long been present, on their own understanding is not obtained.

At the moment, XBMC-svn r34934 + ArchLinux 64 bit + Zotac ION

Sorry for my English through a translator.
Reply
#6
It appears to me that it has something to do with the VDPAU Device being Preempted (whatever that means).

Right now it is working fine and I can't reproduce it anymore. Could it be the timing of that preempted thing? My logs still show those lines and there's no crash or hang
Reply
#7
It could very well be a timing issue.
Reply
#8
Ok, lets see if it starts to happen again (hope not!)

If any developer has any idea how I can track this down, please let me know, and I'll try it.
Reply
#9
Sorry
Reply
#10
The problem manifests itself only at the beginning of movie playback in full screen mode. The "Set the refresh rate - true". Display toggles refresh rate and then can show the first frame the movie, but not necessarily and xbmc crashes.

What can I try? What could be the reason? Where?
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC SVN + NVIDIA + 24HZ playback crash0