Bug that has something to do with autorefresh rate change?
#1
I am having problems with nvidia ion setup and setting "adjust display refresh rate to match video" on. I use true full screen. Movies mkv 1080p.

After tv changes refreshrate to 24hz looks like true fps is something like 12hz and movie is unwatchable. Same thing is happening with all movies.

After I restart xbmc everything worked very well. I though maybe I am going crazy. Last night I tried to reproduce that situation without success. This morning I sit to sofa again and started xbmc. Started playing movie and problem is here again. I didn't change any settings between.

Now it was really hard to get xbmc to play file correctly. Restarted xbmc many times without success. I tried resume playback ~10 times with different mkv files without success.

Restarted again. Started playback. Maybe magic was by choosing restart video playback, not resuming. worked again. tested more. restarted again, didn't work. I don't know why it sometimes works sometimes won't.

Here is logfiles http://jeezbox.dy.fi/notworkingxbmc.txt
http://jeezbox.dy.fi/workingxbmc.txt

and pictures of the screen with "o" pressed
http://jeezbox.dy.fi/notworking.jpg
http://jeezbox.dy.fi/working.jpg
Reply
#2
I have an ION 330 (Asus EB1501) and have noticed this problem (only a few times) too when my display is set to 60Hz and XBMC adjusts to 23.976/24 Hz.

I resolved it by setting my Windows desktop refresh rate to 24 Hz. XBMC is still set to adjust refresh rate but it does work fine in this case.
Reply
#3
Voyager-xbmc Wrote:I have an ION 330 (Asus EB1501) and have noticed this problem (only a few times) too when my display is set to 60Hz and XBMC adjusts to 23.976/24 Hz.

I resolved it by setting my Windows desktop refresh rate to 24 Hz. XBMC is still set to adjust refresh rate but it does work fine in this case.

My windows screen mode is also 1920x1080 @ 60Hz. I don't want to adjust my screen refresh rate manually everytime I want to use XBMC. I am using my htpc also as pvr with mediaportal and for running few servers. TV programs in here are 25Hz also DVDs, some files 30Hz and HD stuff is 24Hz, so it would be nice to have that auto adjust working. I also want to help resolving bugs for best user experience.

I have also seen that best way to archieve smoothest video experience as possible is to play video at it's orginal refresh rate and let samsung flat panel do its tricks to make video smoother...

Is there anything I can do for helping to get this thing sorted out?
Reply
#4
Now I am sure i has something to do where it will start to play file.

When I started test what was going on playing was working. Restart xbmc and started to play file maybe ~7 times. No success.

Then I resume playing from 00:16 and woila! It was working again.. restarted XBMC. started playing from beginning -> not working.. Maybe it will start to decode file from wrong position sometimes?

latest log files here: shorter than the earlier ones
Working
NOTWORKING


edit. I have normally passthrough for DTS & DD, I tried to disable passthrough without success.
edit. nvidia drivers are currently latest version 258.96, tried version 179.13 without success.
Reply
#5
fraatti Wrote:My windows screen mode is also 1920x1080 @ 60Hz. I don't want to adjust my screen refresh rate manually everytime I want to use XBMC.

When 60Hz was my desktop resolution, the auto "switching back" to 24p caused the lip sync problem.

Since video playback is the only application I use my htpc for, I'm fine leaving the desktop frequency at 24Hz permanently. This means that 24p materials are playing fine in XBMC (no adjustment needed) and with the "adjust refresh rate" setting turned on, it only automatically switches over to 50Hz for PAL (50i) material and 60Hz for NTSC (60i). Funny enough no lip sync issues there! So I'm relatively happy with this setting.
Reply
#6
Voyager-xbmc Wrote:When 60Hz was my desktop resolution, the auto "switching back" to 24p caused the lip sync problem.

Since video playback is the only application I use my htpc for, I'm fine leaving the desktop frequency at 24Hz permanently. This means that 24p materials are playing fine in XBMC (no adjustment needed) and with the "adjust refresh rate" setting turned on, it only automatically switches over to 50Hz for PAL (50i) material and 60Hz for NTSC (60i). Funny enough no lip sync issues there! So I'm relatively happy with this setting.


Are you using hdmi for audio out?

When I have Nvidia drivers 179.13 were installed I change audio passthrough from hdmi to optical. I didn't have problem after that. I tried ~7 times..

Next thing I want to make sure is newest beta drivers still behaving same(they have new hd-audio driver). I tried ~15 times with hdmi and optical passthrough and I didn't manage see that problem anymore...


I don't know is it nvidia drivers fault or xbmc but only way to get it work is the method below...

So if you are using auto refreshrate change and HDMI for audio output install at least 260.63beta NVidia Drivers! edit. didn't help at all... Sad
Reply
#7
Also using the latest beta drivers for NVidia ION (260) but mainly using optical digital out.
Reply
#8
Problem didn't gone anywhere! ConfusedOo

When I use mpc-hc with auto refreshrate HDMI light on my denon avr flashes just couple times when it is starting playback. When I start to play file with xbmc, HDMI light will flash many times when its changing modes.

It this normal? Maybe this has something to do with problems?

Here is couple videos to show what is happening: (format avchd from panasonic cam)

jeezbox.dy.fi/mpchc.mts
jeezbox.dy.fi/xbmc.mts
Reply
#9
Are these lines normal in debug log? I don't understand much about that log but these might be the lines that have something to do with problems... it is from file when decoding isn't working correctly (http://jeezbox.dy.fi/xbmcNO.txt)

Quote:CEdl::ReadEditDecisionLists - Assuming 1080i interlaced content. Adjusted frames per second from 24.000 to 12.000

Quote:DEBUG: CDVDPlayer::CheckPlayerInit - dropping packet type:2 dts:83000.000000 to get to start point at 167000.000000
INFO: AudioRendererFactory: not a explicit device, trying to autodetect.
DEBUG: CAudioContext::SetActiveDevice - SetActiveDevice from 2 to 4
DEBUG: CAudioContext::RemoveActiveDevice - Removing device 2
DEBUG: CGUIAudioManager:Big GrineInitialize
DEBUG: CDVDPlayer::CheckPlayerInit - dropping packet type:2 dts:42000.000000 to get to start point at 167000.000000
DEBUG: CDVDPlayer::CheckPlayerInit - dropping packet type:2 dts:125000.000000 to get to start point at 167000.000000
Quote:DEBUG: CWin32DirectSound::Initialize: Packet Size = 12384. Avg Bytes Per Second = 192000.
DEBUG: CWin32DirectSound::Initialize: Couldn't create secondary buffer (DSERR_UNSUPPORTED). Trying without CTRLVOLUME.
DEBUG: CWin32DirectSound::Initialize: secondary buffer created
INFO: CWin32DirectSound::Initialize: Volume control is unavailable in the current configuration
Quote:DEBUG: CDVDPlayerAudio:: Discontinuity - was:2246255.222860, should be:2222921.811338, error:-23333.411522
ERROR: ffmpeg[9AC]: [h264] Failed to begin frame
ERROR: ffmpeg[9AC]: [h264] hardware accelerator failed to decode picture

Quote:ERROR: ffmpeg[9AC]: [h264] Failed to begin frame
ERROR: ffmpeg[9AC]: [h264] hardware accelerator failed to decode picture
WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
INFO: ffmpeg[9AC]: [h264] Cannot parallelize deblocking type 1, decoding such frames in sequential order
Reply
#10
posted a ticket on trac:

http://trac.xbmc.org/ticket/10457
Reply
#11
Voyager-xbmc Wrote:posted a ticket on trac:

http://trac.xbmc.org/ticket/10457

thx
Image
Reply
#12
It seems there was something similar here:
http://trac.xbmc.org/ticket/9318#comment:4
http://trac.xbmc.org/ticket/9471#comment:2

I am downloading new build Dharma_34553 now. Let see how it goes..
Reply
#13
Seems that "changing display multiple times thing" and judder when restarting is two different issues..

Display modes changing are now fixed after build r34540. But judder still remains.. Stare
Reply
#14
I'll try a new build tonight (34540 or above). What do you mean by "judder still remains"? Still like 12fps or is it more like small stutters?
Reply
#15
Thanks to CrystalP, I found the solution for my issue: simply turn off Aero. Going "true full screen" is also nice to have.
Reply

Logout Mark Read Team Forum Stats Members Help
Bug that has something to do with autorefresh rate change?0