nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Anyway to get Vsync without high CPU usage on XGL? (http://www.nvnews.net/vbulletin/showthread.php?t=89780)

Xevious 04-15-07 03:53 AM

Anyway to get Vsync without high CPU usage on XGL?
 
Vertical sync works great on AIGLX/Beryl but not on XGL. I know I can get vsync using XGL by using the nvidia environment variables but that gives me super high CPU usage. I was wondering if anyone knew a good way to get vsync with XGL/Beryl. I use XGL as it feels much faster and also because I don't get black windows after a while and is generally more stable for me. It looks like it is limited to limiting the framerate by 1 frame every x amount of milliseconds IE when you cap it to 60 it does it @ 62 because it can only do 1000/2, 500 FPS, 1000/3 333 FPS, 1000/4 250 FPS, 1000/5 200 FPS 1000/6 167 FPS, 1000/7 143 FPS, 1000/8 125 FPS, etc.... until 1000/16 = 62.5 FPS, or 1000/17 = 58.8 FPS, no way to get 60 FPS exactly. Turning on Vsync in the beryl config doesn't do anything.

Xevious 04-25-07 07:01 PM

Re: Anyway to get Vsync without high CPU usage on XGL?
 
bump


All times are GMT -5. The time now is 08:39 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.