Can't have full Hz unless the game it's fullscreen exclusive

Operating system: Endeavour OS
Game version: 75.1
Theme: Pixel Paradise (but the problem still happens on Rebirth)

i’ve been messing with both my picom config and etterna’s config, for some reason the game is forced to 60hz when i’m in borderless window mode, but the moment i put the game into exclusive fullscreen the game can run in 100hz.

i think it’s a problem with linux because when i had only one screen the game ran at 100hz in borderless window mode :confused: but idk.

i have set up the picom config to disable the vsync because my other games were locked to 60hz with 2 screens (and with only one too).

thanks for your time :3

You might want to use vblank_mode=0 and/or __GL_SYNC_TO_VBLANK_=0 as the environment variables when running Etterna. (i.e. env vblank_mode=0 __GL_SYNC_TO_VBLANK_=0 ./Etterna)

yeah i’ve tried that before (i forgot to mention it ;-; ) and it doesn’t work,

Does your game run on VSync? If you’re running on VSync, is your XRandR config correct to your monitor? (run xrandr and check that part to make sure)

the game doesn’t run on vsync and yes, the Xrandr is correct

once im able to show the image I’ll post it here along with the picom file ^^

here’s the picom config and the xrandr output :3

picomconf.txt.zip (3.6 KB)

So doing some testing with picom + ctwm and searching, I am unable to get results at the moment. Can you test and make sure that the compositor isn’t causing the issue, and see if different environments give the intended result?

well, i’ve tried with the original compositor, and with some tweaks to picom (like, enabling the vsync) and i get the same result :confused: so idk.

it doesn’t matter that much since i only want to play in borderless window mode to record the gameplay :stuck_out_tongue: but i can always put obs on the 2nd screen bleg

well there’s something new, i think?

i enabled the stats screen in the settings and i have static 60fps/openGL in borderless, but in exclusive i have 1000fps/opengl, i guess there’s a way to enable vulkan? i don’t really know pwp bleg

i was right, in preferences.ini i had to change VideoRenderers from opengl to VideoRenderers=vulkan, opengl :3 i hope people find this helpful
this is where i got the solution RageDisplay Vulkan support by convextriangle · Pull Request #1418 · etternagame/etterna · GitHub

is it safe to treat this as a permanent fix? i open etterna with a desktop file as “env __GL_SYNC_TO_VBLANK=0 /mnt/external/Games/Etterna/Etterna”. Also for some reason it only works without the underscore at the end I’m not sure why lmao

it’s the generic solution i give until something worse happens, similar to saying “use audiodevice=pulse”