XBMC Community Forum
Smoothvideo branch - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: XBMC General Discussion (/forumdisplay.php?fid=6)
+--- Thread: Smoothvideo branch (/showthread.php?tid=46091)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


- Hitcher - 2009-03-31 19:41

PolliSoft Wrote:Build including this change: http://www.mediafire.com/file/jm2znnmzmyz/XBMCSetup-Rev19095linuxportMerge19099.exe

Still getting -

Code:
CVideoReferenceClock: CreateDevice returned 2152, falling back to QueryPerformanceCounter

but it's different than before -

Code:
CVideoReferenceClock: CreateDevice returned -2005530520, falling back to QueryPerformanceCounter



- bobo1on1 - 2009-03-31 19:54

ashlar Wrote:Thanks PolliSoft. I'll try this one. The previous one I tried stuttered as hell, on an 8800 GT and XP SP3.
Were you playing NTSC dvd by any chance?

Hitcher Wrote:Still getting -

Code:
CVideoReferenceClock: CreateDevice returned 2152, falling back to QueryPerformanceCounter

but it's different than before -

Code:
CVideoReferenceClock: CreateDevice returned -2005530520, falling back to QueryPerformanceCounter

Same error, I just made them easier to look up in d3d9.h.


- ashlar - 2009-03-31 21:23

bobo1on1 Wrote:Were you playing NTSC dvd by any chance
Nope 23.976fps MKVs (H264 video content, AC3 audio content).


- access denied - 2009-03-31 23:11

Hi, I have the same problem as the guys on the previous page do:
My desktop is at 60Hz, and when I start XBMC and play a file which plays @60Hz it is smooth. I start another file, refresh rate switches to 50Hz and when I come back to GUI and back to the first file it is @60Hz again, but not smooth any more.

XP SP3, Core2Duo 3GHz, 2GB RAM, nVidia 9300. Bild is the latest from PolliSoft (http://www.mediafire.com/file/jm2znnmzmyz/XBMCSetup-Rev19095linuxportMerge19099.exe)

Log's here http://pastebin.com/m2fa0a8f1


- bobo1on1 - 2009-03-31 23:41

Oops, didn't use the adjusted frequency for direct3d, fixed it.


- alanwww1 - 2009-04-01 00:04

bobo1on1 Wrote:alanwww1 can you post a debug log? I need to make sure the change in refreshrate was detected.

@Bobo1ono1

Here is my log with latest svn, latest nvidia driver, auto refresh rate on, xbmc quitting when i start playback. (with the same svn xbmc-mainbranch it does not quit)

http://pastebin.com/m7b7faebf


- bobo1on1 - 2009-04-01 00:25

Did you do a make clean first?

Also what's the output of "nvidia-settings -nt -q RefreshRate" ?
It seems to round to 23 hertz.


- alanwww1 - 2009-04-01 09:36

bobo1on1 Wrote:Did you do a make clean first?

Also what's the output of "nvidia-settings -nt -q RefreshRate" ?
It seems to round to 23 hertz.

I did make make clean first.

I have custom modlines in my xorg.conf ( http://pastebin.com/m6cea3df6 )

I have 50, 60, 23.98 set in the xorg.conf file. When i press "S" and i check the actual refresh rate in the info screen in the main menu. I see 23.98 exactly with a little fluctuation.

It was working very fine before the vdpau merge.
When i get home in the evening i will check the nvidia-settings output.

Thanks for the help !


- bobo1on1 - 2009-04-02 00:26

There seems to be a bug in the nvidia drivers where glXWaitVideoSyncSGI just returns immediately without an error code and without updating the vblank counter after a change in the RandR mode, I put in a workaround for it which might help.

There's also a good chance I fixed the direct3d issues.

edit: The workaround works, except if you use vdpau, so smoothvideo + auto refreshrate is ok, smoothvideo + vdpau is ok, smoothvideo + auto refreshrate + vdpau is broken.


- alanwww1 - 2009-04-02 16:03

bobo1on1 Wrote:There seems to be a bug in the nvidia drivers where glXWaitVideoSyncSGI just returns immediately without an error code and without updating the vblank counter after a change in the RandR mode, I put in a workaround for it which might help.

There's also a good chance I fixed the direct3d issues.

Thank you for the efforts. Wink I will try it tonight.