Since the release of version 555 and 560 I’ve been experiencing some very clear slower function calls for glXCreateContext and glXMakeCurrent that ends up generating a perceptively slower initialization of an OpenGL application. I wasn’t sure what was happening with my window initialization until I measured the performance of each function call during the initialization and found out that these two functions where much slower than before (latest fast version is 550.107.02, and currently using it because of this issue).
On average I can measure that:
glXCreateContext is taking ~47ms vs 6ms (almost 8x slower), and glXMakeCurrent is taking around ~66ms vs 22ms on 550 (3x slower). I know we are talking about a few milliseconds here but creates a very perceptible delay when creating a new window. I’m currently not using any compositing but I verified that this happens also with compositing.
Probably my logs won’t help much here they are: nvidia-bug-report.log.gz (866.7 KB)
Regarding on how I’m initializing my window this is being done by SDL2, my measurements where done by modifying SDL2 implementation to measure each function call, so I’m certain where this is happening, I haven’t found any other regression beside those function calls.
I’m not sure if this is the right place to report it, but I hope there’s someone who cares about this.