Repository navigation
Open
Labels
0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Description
Nixpkgs version
- Stable (24.11)
Describe the bug
coolercontrol briefly opens a window before closing again. When launching from the command line, I see the following:
Gtk-Message: 23:36:16.450: Failed to load module "appmenu-gtk-module": 'gtk_module_display_init': /run/current-system/sw/lib/gtk-3.0/modules/libcolorreload-gtk-module.so: undefined symbol: gtk_module_display_init
Gtk-Message: 23:36:16.596: Failed to load module "appmenu-gtk-module": 'gtk_module_display_init': /run/current-system/sw/lib/gtk-3.0/modules/libcolorreload-gtk-module.so: undefined symbol: gtk_module_display_init
Gdk-Message: 23:36:16.744: Error 71 (Protocol error) dispatching to Wayland display.
I am running KDE Plasma 6 with Nvidia drivers.
Steps to reproduce
- Add to
configuration.nix:
programs.coolercontrol = {
enable=true;
nvidiaSupport=true;
};
- Rebuild and switch
- Issue
coolercontrolfrom commandline to see error messages and momentary window.
Expected behaviour
Some kind of fancy window with graphs and stuff to open and remain open.
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.6.85, NixOS, 24.11 (Vicuna), 24.11.716716.7819a0d29d1d - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.24.13 - nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Activity
OPNA2608 commentedon Apr 21, 2025
Seems to be a Plasma thing. But I think you might run into that error with most other GTK apps as well, from what I can find online? Not sure if this is the actual error, or just something unimportant failing in the background.
So, I don't have a working machine right now that can properly test coolercontrol, but I tried to hack together a VM test on current
master.In the VM test, it launches under Plasma6 Wayland, but it looks fairly broken:

But it does look fine if I launch it from the terminal as an X11 app with

env WAYLAND_DISPLAY= coolercontrol:Could you check if launching it like that makes any difference in your situation?
codifryed commentedon Apr 26, 2025
Just a side note: with 2.0 coolercontrol has changed the framework used for the Desktop Application and so very likely this issue no longer exists in the new version.
keenanweaver commentedon Apr 26, 2025
Yep, how it looks for me on KDE Plasma Wayland, NixOS latest unstable channel:
vtechev commentedon Apr 28, 2025
@OPNA2608 thanks for looking into it, and sorry for the delay.
I tried
env WAYLAND_DISPLAY= coolercontroland got some new messages in addition to the others:The first made me think
coolercontrolmight be happier withroot, so I gave it a go withsudo env WAYLAND_DISPLAY= coolercontroland the only message I got was the last one:Failed to create GBM buffer of size 1600x900: Invalid argument. But this time the window stayed open! It just didn't have any widgets in it.