Re: [osg-users] force vsync to false (sofware not hardware) on NVidia

2015-07-22 Thread Christian Schulte
Hello Jan, I succeeded in OSG to turn off vSync in soft when the driver is set to application controlled. The problem in my case was really that in the GraphicsWindowWin32.cpp CreateWindow method the setSyncToVBlank method is only called if vSync==true... and that's the odd thing! I'm currentl

Re: [osg-users] force vsync to false (sofware not hardware) on NVidia

2015-07-22 Thread Jan Ciger
On Wed, Jul 22, 2015 at 11:05 AM, Sebastian Messerschmidt wrote: > Hi, > > Have you tried the nvapi-library? [1] > As far as I know you can set anything you can via the control-panel here at > least for windows platforms. Yes, but for most things you need a D3D handle ... And it seems that they h

Re: [osg-users] force vsync to false (sofware not hardware) on NVidia

2015-07-22 Thread Sebastian Messerschmidt
Hi, Have you tried the nvapi-library? [1] As far as I know you can set anything you can via the control-panel here at least for windows platforms. Cheers Sebastian [1] https://developer.nvidia.com/nvapi Hello, I am prototyping some OpenGL stuff in Python using Pyglet and have encountered th

Re: [osg-users] force vsync to false (sofware not hardware) on NVidia

2015-07-22 Thread Jan Ciger
Hello, I am prototyping some OpenGL stuff in Python using Pyglet and have encountered the same vsync problem, both in Linux & Windows. I think it is Nvidia's driver that is (again - Nvidia had various vsync issues in the past) trying to be smart and is breaking vsync in OpenGL. It has most likely

Re: [osg-users] force vsync to false (sofware not hardware) on NVidia

2015-07-20 Thread Christian Schulte
Thanks Robert, I will give a try and make some tests on my machines here. If I find a stable tweak I will propose it for submission. If in the meanwhile some windows expert can give me some advice, I would appreciate ! Christian

Re: [osg-users] force vsync to false (sofware not hardware) on NVidia

2015-07-20 Thread Robert Osfield
Hi Christian, On 20 July 2015 at 09:48, Christian Schulte wrote: > sorry to pop-up my question, isn't there someone who has any idea of how > to fix/overcome this problem ? > I can try to patch this, but I want to be sure to understand why it has > been done like this before I break something :

Re: [osg-users] force vsync to false (sofware not hardware) on NVidia

2015-07-20 Thread Christian Schulte
Hello, sorry to pop-up my question, isn't there someone who has any idea of how to fix/overcome this problem ? I can try to patch this, but I want to be sure to understand why it has been done like this before I break something :-[ Thanks,

[osg-users] force vsync to false (sofware not hardware) on NVidia

2015-07-06 Thread Christian Schulte
Hello everybody, I'm trying to switch on or off the vsync on my NVidia K4200 on Win7 64 bits by using traits->vsync and setting the NVidia parameter to 'Use Application parameters" for the vsync. Setting vsync to true, works, I can see the OSG_INFO "Graphics