Skip to content

coolercontrol: Missing gtk dependency #400268

Open

Description

@vtechev

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 coolercontrol from 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

@codifryed
@OPNA2608


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

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: bug
    on Apr 20, 2025
  2. OPNA2608 commented on Apr 21, 2025

    @OPNA2608
    Contributor

    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

    ↪ nix-locate --top-level 'libcolorreload-gtk-module.so'
    libsForQt5.kde-gtk-config.out                    69,968 x /nix/store/7s8h5r24d9fxvqhj1xp2rirrzlsx47ma-kde-gtk-config-5.27.11/lib/gtk-3.0/modules/libcolorreload-gtk-module.so
    kdePackages.kde-gtk-config.debug                      0 s /nix/store/n417rh2axjfwcnwrl9k3r35n0gy5kwlf-kde-gtk-config-6.3.4-debug/lib/debug/libcolorreload-gtk-module.so
    kdePackages.kde-gtk-config.out                   70,072 x /nix/store/rjpp2hvkf7ni3r81w2h30gj0dlfc33nk-kde-gtk-config-6.3.4/lib/gtk-3.0/modules/libcolorreload-gtk-module.so
    

    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:
    Image

    But it does look fine if I launch it from the terminal as an X11 app with env WAYLAND_DISPLAY= coolercontrol:
    Image

    Could you check if launching it like that makes any difference in your situation?

  3. codifryed commented on Apr 26, 2025

    @codifryed
    Contributor

    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.

  4. keenanweaver commented on Apr 26, 2025

    @keenanweaver
    Member

    Yep, how it looks for me on KDE Plasma Wayland, NixOS latest unstable channel:

    Image

  5. vtechev commented on Apr 28, 2025

    @vtechev
    Author

    @OPNA2608 thanks for looking into it, and sorry for the delay.

    I tried env WAYLAND_DISPLAY= coolercontrol and got some new messages in addition to the others:

    ** (WebKitWebProcess:3455231): WARNING **: 17:08:35.477: Can't connect to a11y bus: Could not connect: Permission denied
    Failed to create GBM buffer of size 1600x900: Invalid argument
    

    The first made me think coolercontrol might be happier with root, so I gave it a go with sudo env WAYLAND_DISPLAY= coolercontrol and 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.

    Image

  6. added
    2.status: stale
    on Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug2.status: stale

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions