buggins / dlangide

D language IDE based on DlangUI
Boost Software License 1.0
454 stars 57 forks source link

vSync is disabled on launching DLangIDE #433

Open dollhaus opened 4 months ago

dollhaus commented 4 months ago

I suspect this is a LibSDL2 thing. When I launch DLangIDE, vsync is disabled, which instantly causes my GPU to go into "oh shit pump out ALL the frames" mode. Unlike the compositor, there are no window rules for this in KWin, and although I could use __GL_SYNC_TO_VBLANK=1, this might not be a solution for everyone.