houkouonchi
April 26th, 2007, 12:59 AM
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 other than limit to one of those sets of framerates.
Whups, forgot to post some system info:
My System:
Core 2 DUO E6600 3.6 GHz
4GB PC2-800 ram
Geforce 8800 GTX
Distro:
Sabayonlinux
Beryl:
0.1.9999.2
Nvidia drivers version
1.0.9755-r10
Whups, forgot to post some system info:
My System:
Core 2 DUO E6600 3.6 GHz
4GB PC2-800 ram
Geforce 8800 GTX
Distro:
Sabayonlinux
Beryl:
0.1.9999.2
Nvidia drivers version
1.0.9755-r10