raw-gl-context icon indicating copy to clipboard operation
raw-gl-context copied to clipboard

GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB frame buffer attribute causes window creation to fail

Open benjcollins opened this issue 3 years ago • 1 comments

I am using Fedora 35 with Radeon graphics.

Window creation fails even when you switch to using X11 on winit.

This is fixed by removing the frame buffer attribute GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB from the list of attributes in the call to glXChooseFBConfig. Otherwise the methods returns no valid configurations.

I don't know if this is unsupported by my GPU or my system but if the flag is not essential to getting the opengl context to function correctly then could it be removed?

Thanks!

benjcollins avatar Jan 16 '22 17:01 benjcollins

This happens even when you pass srgb: false in the config?

glowcoil avatar Jan 24 '22 15:01 glowcoil