If you have tearing video, you may need this small tweak. In your advancedsettings.xml file add:
Code:
<videoscreen>
<fakefullscreen>false</fakefullscreen>
</videoscreen>
advancedsettings.xml should be in you userdata folder. If you do not have one then create a new file with:
Code:
<advancedsettings>
<videoscreen>
<fakefullscreen>false</fakefullscreen>
</videoscreen>
</advancedsettings>
If you are using windows 7 with aero off, you can just turn on aero without doing this tweak and the tearing should be fixed.
Refer to the wiki if you can not find your userdata folder.
Thanks - this fix works brilliantly.
However - it undoes the fix to the "Bring XBMC to foreground after external player run" problem that had otherwise been fixed in Alpha 2:
http://forum.xbmc.org/showthread.php?tid=60799
Will the next Alpha find a way of avoiding both problems simultaneously?
XBMC attempts to work out a sensible default for the fakefullscreen setting. Somewhere between Alpha1 and Alpha2 the default setting has changed. I don't know the code well enough to work out why.
Incidentally from at least build 24570 onwards the fakefullscreen setting is exposed in the Settings/Appearance/Screen page.
JR
PS if anyone is interested: if fakefullscreen is off XBMC uses DirectX full screen mode i.e. it takes over the display. If fakefullscreen is on XBMC doesn't use the full screen mode. Instead it creates a window the size of the screen to give the impression it's running full screen. I'd have guessed video performance would be less good with the latter, and presumably that's why we get the tearing.
It's already fixed in SVN. It was a bad initial value.
Plus, our previous switch didn't take into account whether or not Aero was enabled on Vista/Win7, whereas now it does.
Best option for Vista/Win7 folk is to enable Aero.
Cheers,
Jonathan
I'm getting a similar problem. The audio and the frames are slightly out of sync, and it appears as if it's dropping frames.
When I use fakefullscreen = false, I get a crash when launching XBMC.
I'm running Windows 7 (Aero enabled) 64 bit @ 1920x1080 (50hz) resolution.
Video is a Radeon 4870 w/ Catalyst 9.10
Here is the first log, without the fakefullscreen modification, and I play a (stuttering) movie:
http://pastebin.com/m2b8807fe.
Here is the second log, with the fakefullscreen modification when xbmc starts:
http://pastebin.com/m46497da. And the crash log:
http://www.mediafire.com/?sharekey=b2175...c4ffb5453f.
The sleepbeforeflip modification doesn't affect my particular problem; it doesn't help nor does it crash xmbc, though.
I had the tearing problem when using Alpha 2 with Aero turned off. When I turn Aero on my videos drop frames and become, jerky and slow. Although there is no tearing.
When I go back to Alpha 1 and turn off Aero it returns to being perfect.
OS: Windows 7 64-bit
GPU: Nvidia geforce 9400
4GB Ram
punking Wrote:I had the tearing problem when using Alpha 2 with Aero turned off. When I turn Aero on my videos drop frames and become, jerky and slow. Although there is no tearing.
When I go back to Alpha 1 and turn off Aero it returns to being perfect.
OS: Windows 7 64-bit
GPU: Nvidia geforce 9400
4GB Ram
i am having exactly the same problem atm
ZsilBi Wrote:i am having exactly the same problem atm
Me too.
And also, when I start a movie (in alpha 2) the resolution is icreased a little above 1080p, so the edges of the movie is outside the screen. If i alt-tab and change resolution to 1920x1080 in windows, after starting the movie, the movie plays fine, but when i start a new movie it's the same again...
OS: Windows 7 Beta 7100 32-bit
GPU: Radeon 3650
4GB Ram
And another issue, I can't change resolution from within XBMC, there I can only choose between 1920x1080 60Hz or windowed... Where did all the other options go?
Good question, i would also like to know
my desktop is set top 720p, (only way i can see the icons)
where i want xbmc to display 1080p
please help
They're gone and will not be coming back for Camelot.
If you can't see your desktop, increase the size of the fonts + icons.
Cheers,
Jonathan
...or use a resolution switching app that can switch your res when XBMC loads.
jmarshall Wrote:They're gone and will not be coming back for Camelot.
So... no support for different resolutions? Not even through advancedsettings.xml as mentioned previously?
This still doesen't solve the question though. I checked a little more, and found what happens.
When i start xbmc it starts in 1080p60 as my desktop uses. BUT, when i start a movie it changes to 1080i24 and starts lagging and video is a bit behind audio... I see this by first going to Settings > appearance > screen > video calibration. There i can read 1080p60 (full screen)
Then I start a movie (the picture goes fuzzy like if u set an unsupported resolution) (does not matter what format, x264, mkv, xvid or dvd-r image), press menu, select video menu > video calibration... When I press calibration the screen goes black for a second (resolution changes) and here i have seen 1080p50 or 1080i24.
If I press the view mode button, it says 1080i24 every time.
If it says 1080p50 while in calibration, the video plays smoothly and crisp, but when i press exit it goes black for a secong and then starts to lagg and is fuzzy again.
Why is this happening?
Here's a screenshot:
Code:
18:05:37 T:4268 M:1902993408 NOTICE: DVDPlayer: Opening: rar://smb%3a%2f%2fserver%2dpc%2fHD%2dFilm%2fFast%2eAnd%2eFurious%2e2009%2eBluray%2eVC1%2e1080P%2e5%2e1%2eWMV%2dNOVO%2fnovo%2efandf%2dwmv%2erar/Fast.And.Furious.2009.Bluray.VC1.1080P.5.1.WMV-NOVO.wmv
18:05:37 T:4268 M:1902993408 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
18:05:37 T:368 M:1902993408 NOTICE: Creating InputStream
18:05:38 T:368 M:1902428160 NOTICE: Creating Demuxer
18:05:38 T:368 M:1899126784 NOTICE: Opening video stream: 1 source: 256
18:05:38 T:368 M:1899122688 NOTICE: Creating video codec with codec id: 73
18:05:38 T:368 M:1899122688 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: SMPTE VC-1
18:05:38 T:368 M:1898008576 NOTICE: Creating video thread
18:05:38 T:368 M:1898008576 NOTICE: Opening audio stream: 0 source: 256
18:05:38 T:368 M:1898008576 NOTICE: Finding audio codec for: 86057
18:05:38 T:1108 M:1898008576 NOTICE: running thread: video_thread
18:05:38 T:368 M:1895784448 NOTICE: Creating audio thread
18:05:38 T:3532 M:1895714816 NOTICE: running thread: CDVDPlayerAudio::Process()
18:05:38 T:3532 M:1895223296 NOTICE: Creating audio device with codec id: 86057, channels: 6, sample rate: 48000, no pass-through
18:05:38 T:3532 M:1894666240 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
18:05:38 T:1108 M:1895022592 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:05:38 T:1108 M:1890009088 NOTICE: fps: 24.000000, pwidth: 1920, pheight: 800, dwidth: 1920, dheight: 800
18:05:38 T:1108 M:1890009088 NOTICE: Display resolution ADJUST : 1080i24 (Full Screen) (63)
18:05:48 T:368 M:1891360768 WARNING: CDVDMessageQueue(teletext)::Put MSGQ_NOT_INITIALIZED
18:05:53 T:1108 M:1883762688 NOTICE: fps: 23.976025, pwidth: 1920, pheight: 800, dwidth: 1920, dheight: 800
18:05:53 T:1108 M:1884835840 NOTICE: Display resolution ADJUST : 1080i24 (Full Screen) (63)
18:07:45 T:1108 M:1886793728 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:45 T:1108 M:1885356032 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:45 T:1108 M:1886060544 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:45 T:1108 M:1886093312 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:45 T:1108 M:1887141888 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:45 T:1108 M:1887002624 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:45 T:1108 M:1886371840 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:45 T:1108 M:1886334976 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:45 T:1108 M:1885786112 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:45 T:1108 M:1885646848 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:45 T:1108 M:1885949952 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:46 T:1108 M:1885519872 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:46 T:1108 M:1885519872 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:46 T:1108 M:1885515776 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:46 T:1108 M:1885196288 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:07:46 T:1108 M:1885192192 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:08:40 T:1108 M:1903280128 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:08:40 T:1108 M:1903730688 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:08:40 T:1108 M:1903796224 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:08:40 T:1108 M:1903792128 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:08:40 T:1108 M:1903788032 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:08:44 T:368 M:1916940288 WARNING: CDVDMessageQueue(teletext)::Put MSGQ_NOT_INITIALIZED
18:08:48 T:368 M:1911046144 WARNING: CDVDMessageQueue(teletext)::Put MSGQ_NOT_INITIALIZED
18:09:32 T:1108 M:1885851648 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1881178112 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1891442688 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1898676224 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1893744640 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1898897408 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1898471424 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1898721280 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1899745280 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1891385344 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1899245568 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1899245568 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1899073536 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1899036672 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
18:09:32 T:1108 M:1898991616 ERROR: CDVDVideoCodecFFmpeg::Decode - avcodec_decode_video returned failure
Quote:18:05:53 T:1108 M:1884835840 NOTICE: Display resolution ADJUST : 1080i24 (Full Screen) (63)
Turn off adjust frame rate then.
yea, that worked. I've been wondering what that option does. But I have always had that option on, and it hasen't been a problem in the previous svn builds...
And how come it changes to 1080i24 instead of 1080p24? and why does it start lagging and tearing when in 1080i24? that should just be easier on the computer, not harder, should it?
Hmmmm