Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bonzomatic doesn't restore resolution upon exit on linux (kwin/kde) #153

Open
arabek opened this issue Apr 7, 2021 · 3 comments
Open

Bonzomatic doesn't restore resolution upon exit on linux (kwin/kde) #153

arabek opened this issue Apr 7, 2021 · 3 comments

Comments

@arabek
Copy link

arabek commented Apr 7, 2021

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

@PoroCYon
Copy link
Contributor

PoroCYon commented Apr 7, 2021

is this using the GLFW that's put here in this repository, or the system one?

@arabek
Copy link
Author

arabek commented Apr 7, 2021

seems to be the the bundled one: $ ldd /usr/bin/bonzomatic | grep -i GLFW comes out empty

@PoroCYon
Copy link
Contributor

PoroCYon commented Apr 8, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants