Closed hartmark closed 1 year ago
use it like thisgamescope -- mangohud glxgears
you must have mangohud globally enabled?
MANGOHUD=0 gamescope -- mangohud glxgears
Yes, I'm having it globally enabled.
I'm aware of the workaround but the application should exit with an error instead of segmentation fault if it's not supported.
Also the workaround makes mangohud use opengl instead of vulkan, a subtle difference. The linked issue has another workaround which uses vkbasalt and are successfully working using vulkan.
It is not a workaround, it is the correct way to use mangohud with gamescope. glxgears is an opengl application, so if it is reporting OpenGL then that is correct.
Alright, then this can be closed if we can live with a segmentation fault instead of an error
gamescope has an exception for vkBasalt so it won't try to just use compute queues.
Aha, so that's the reason I got it working if I used ENABLE_VKBASALT=1
i do echo $ENABLE_VKBASALT 1 and still got the same error
and still got the same error
You're not supposed to use mangohud with gamescope. This is what mangoapp is for
I'm using latest from main on arch.
I get segmentation fault when used with gamescope:
gdb trace: