Open wqlxx opened 6 months ago
It is a pseudo refresh rate. I believe it doesn't affect actual behaviour. There's no answer why it is 50Hz but it can be set to whatever.
The real answer: I was playing with the value to see if it would help performance, I don't think it changed anything, and because it didn't matter it likely got merged into a commit long ago without much thought.
It is a pseudo refresh rate. I believe it doesn't affect actual behaviour. There's no answer why it is 50Hz but it can be set to whatever.
@metalefty Yes, I set it to 30Hz or 120Hz, nNo change at all.
The real answer: I was playing with the value to see if it would help performance, I don't think it changed anything, and because it didn't matter it likely got merged into a commit long ago without much thought.
@Nexarian Do you have any good advice? I hope to use vsync to control the frame ratre in glxgears or other APP with swapinterval.
What is your purpose? As I said, It can be set whatever but it doesn't affect actual behaviour. It is a PSEUDO value, just ignore it.
What is your purpose? As I said, It can be set whatever but it doesn't affect actual behaviour. It is a PSEUDO value, just ignore it.
I hope to reduce GPU usage through control rdp0 (virtual monitor's name) refresh rate. In my test , I used windows mstsc to connect XRDP in ubuntu, and the glxgears or glmark2 run in high FPS, because the vsync/vblank seems to be invalid.
I found something about refresh rate in libxrandr, and xrdp can change refresh rate in xrandr. But it seems to do nothing to help glx/egl to use glxswapintervalEXT function in MESA.
In rdpLRANDR.c I found the refresh rate is 50Hz. And I can get 50Hz from xrandr command.
But when I test glxgears command with ___GL_SYNC_TOVBLANK=1 or _vblankmode=1. The frame rate is not 50Hz.