hello,
i'm using a gem patch inside a pd~, in order to separate a huge computation, and the rendering of this process. But since i need pix_image/pix_data in the 1st process, i have to open 2 gem windows. only the 2nd one is visible.
i'm using export __GL_SYNC_DISPLAY_DEVICE=CRT-0 do have vsync on the external screen. (don't understand why nvidia-setting did not work any more for this)
my problem is that only the 1 gem windows is sync to Vblank. but i need the 2nd to be synchronize.
i could modify all my patch in order to have the rendering in the main pd patch and computation in pd~, but that would be a huge work.
So i'm looking for a way to force sync to Vblank for all openGL windows. (nvidia setting use to work for this, but did not anymore).
(i'm using nvidia driver 195.36.24 with ubuntu 10.04, gem svn , pd 0.42.5 vanilla)
any idea?
alternatively, i'll be happy if i can have a Gem only solution to use pix_data without having to open a windows.
thanks for any help Cyrille
On 12.11.2010 14:49, cyrille henry wrote:
hello,
i'm using a gem patch inside a pd~, in order to separate a huge computation, and the rendering of this process. But since i need pix_image/pix_data in the 1st process, i have to open 2 gem windows. only the 2nd one is visible.
i'm using export __GL_SYNC_DISPLAY_DEVICE=CRT-0 do have vsync on the external screen. (don't understand why nvidia-setting did not work any more for this)
my problem is that only the 1 gem windows is sync to Vblank. but i need the 2nd to be synchronize.
i could modify all my patch in order to have the rendering in the main pd patch and computation in pd~, but that would be a huge work.
So i'm looking for a way to force sync to Vblank for all openGL windows. (nvidia setting use to work for this, but did not anymore).
hi!
driconf has settings for vblank too. possibly its config file .drirc already exists on your system, overriding any driver settings...? Just guessing.
Martin
hello,
thanks for the answer. i did never heard about driconf. so i tried it and it did not run because my libGL is to old...
thanks Cyrille
Le 12/11/2010 15:05, Martin Schied a écrit :
On 12.11.2010 14:49, cyrille henry wrote:
hello,
i'm using a gem patch inside a pd~, in order to separate a huge computation, and the rendering of this process. But since i need pix_image/pix_data in the 1st process, i have to open 2 gem windows. only the 2nd one is visible.
i'm using export __GL_SYNC_DISPLAY_DEVICE=CRT-0 do have vsync on the external screen. (don't understand why nvidia-setting did not work any more for this)
my problem is that only the 1 gem windows is sync to Vblank. but i need the 2nd to be synchronize.
i could modify all my patch in order to have the rendering in the main pd patch and computation in pd~, but that would be a huge work.
So i'm looking for a way to force sync to Vblank for all openGL windows. (nvidia setting use to work for this, but did not anymore).
hi!
driconf has settings for vblank too. possibly its config file .drirc already exists on your system, overriding any driver settings...? Just guessing.
Martin
hello,
i finally find a workaround, so i send it here for the archive. in fact, the 1st gemwin have to be created, but there is no need to render it. so i just send bang to the gemhead / pix_image / pix_data to have the informations i wish. the other gemwin still have the syncro.
Cyrille
Le 12/11/2010 15:18, cyrille henry a écrit :
hello,
thanks for the answer. i did never heard about driconf. so i tried it and it did not run because my libGL is to old...
thanks Cyrille
Le 12/11/2010 15:05, Martin Schied a écrit :
On 12.11.2010 14:49, cyrille henry wrote:
hello,
i'm using a gem patch inside a pd~, in order to separate a huge computation, and the rendering of this process. But since i need pix_image/pix_data in the 1st process, i have to open 2 gem windows. only the 2nd one is visible.
i'm using export __GL_SYNC_DISPLAY_DEVICE=CRT-0 do have vsync on the external screen. (don't understand why nvidia-setting did not work any more for this)
my problem is that only the 1 gem windows is sync to Vblank. but i need the 2nd to be synchronize.
i could modify all my patch in order to have the rendering in the main pd patch and computation in pd~, but that would be a huge work.
So i'm looking for a way to force sync to Vblank for all openGL windows. (nvidia setting use to work for this, but did not anymore).
hi!
driconf has settings for vblank too. possibly its config file .drirc already exists on your system, overriding any driver settings...? Just guessing.
Martin
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list