Bonzomatic
Bonzomatic copied to clipboard
Bonzomatic doesn't restore resolution upon exit on linux (kwin/kde)
Native resolution ~~while~~ before running was 3840x2160.
$ bonzomatic
Looking for config.json in '/home/arab'...
[FFT] MAL context initialized, backend is 'PulseAudio'
Open STUB
[GLFW] Version String: 3.3.3 X11 GLX EGL OSMesa clock_gettime evdev
[GLFW] Using GLEW 1.13.0
[GLFW] OpenGL Version 4.1.0 NVIDIA 460.56, GLSL 4.10 NVIDIA via Cg compiler
[GLFW] Requested framebuffer size: 1920 x 1080
[GLFW] Obtained framebuffer size: 1920 x 1080
[FFT] Selected capture device: Family 17h (Models 00h-0fh) HD Audio Controller Analogowe stereo
[MIDI] Failed to get device number for hw:0: Inappropriate ioctl for device
[MIDI] Failed to get device number for hw:1: Inappropriate ioctl for device
[MIDI] No devices were connected
MIDI::Open() failed, continuing anyway...
No valid last shader found, falling back to default...
Upon exit via Alt+F4, the previous resolution wasn't restored. Window system: xorg-x11+kwin
is this using the GLFW that's put here in this repository, or the system one?
seems to be the the bundled one: $ ldd /usr/bin/bonzomatic | grep -i GLFW
comes out empty
Can you try linking against the system one? Run cmake with -DBONZOMATIC_USE_SYSTEM_GLFW=ON
and so on (mostly just GLFW and maybe GLEW, rest doesn't matter), and then recompile.