lv2 / pugl

A minimal portable API for embeddable GUIs
https://gitlab.com/lv2/pugl/
ISC License
174 stars 34 forks source link

XRRGetScreenInfo causing freeze on certain machines #122

Open Krasjet opened 4 months ago

Krasjet commented 4 months ago

See https://github.com/DISTRHO/DPF/issues/451 for details.

I suspect it has something to do with NVIDIA, though there is not yet a fix on there end even with the latest driver. Probably there is a way to avoid the call at initiation? I think the only usage I see will work without xrandr.

https://github.com/lv2/pugl/blob/e33b2f6b0cea6d6263990aa9abe6a69fdfba5973/examples/pugl_shader_demo.c#L466