** Description changed:

  [Impact]
- cpupower-gui has a mechanism to set the CPU governor at boot. Unfortunately, 
users are reporting a crash of the application at boot. The systemd service 
merely needed a -a flag to correctly execute.
+ cpupower-gui has a mechanism to set the CPU governor at boot. Unfortunately, 
users are reporting a crash of the application at boot. The systemd services 
merely needed a -a flag to correctly execute, and the polkit configurations 
also needed some work.
  
  [Test Case]
  - Install cpupower-gui.
  - Set the CPU governor to the desired governor, and set it to activate at 
boot.
  - Reboot
  Expected result: CPU governor is set to desired governor.
  Actual result: CPU governor is set to the system default.
  
  Result can be verified via `systemctl status cpupower-gui` as noted in
  the original description.
  
  [What could go wrong]
- The `-a` flag could simply no-op or cause the systemd service to fail 
completely as the actual result shows, but this is unlikely as this comes from 
upstream and is tested.
- 
+ The `-a` flag could simply no-op or cause the systemd service to fail 
completely as the actual result shows. Also, the polkit rules change could be 
ineffective, but this is unlikely as this comes from upstream and is tested.
  
  [Original Description]
  I see a failed service at boot:
  
  home@daniel-desktop3:~$ systemctl status cpupower-gui -n100
  × cpupower-gui.service - Apply cpupower-gui config at boot
       Loaded: loaded (/usr/lib/systemd/system/cpupower-gui.service; enabled; 
preset: enabled)
       Active: failed (Result: exit-code) since Thu 2026-05-07 07:53:39 EDT; 
3min 2s ago
   Invocation: 0ab62e1fb5e941b9a7afc872434bd33f
         Docs: https://github.com/vagnum08/cpupower-gui
               man:cpupower-gui(1)
      Process: 1766 ExecStart=/usr/bin/cpupower-gui config (code=exited, 
status=1/FAILURE)
     Main PID: 1766 (code=exited, status=1/FAILURE)
     Mem peak: 34.4M
          CPU: 236ms
  
  mai 07 07:53:39 daniel-desktop3 systemd[1]: Starting cpupower-gui.service - 
Apply cpupower-gui config at boot...
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]: 
gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' 
failed
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]: 
/usr/share/cpupower-gui/cpupower_gui/window.py:127: Warning: invalid (NULL) 
pointer instance
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]:   Handy.init()
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]: 
/usr/share/cpupower-gui/cpupower_gui/window.py:127: Warning: 
g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]:   Handy.init()
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]: 
/usr/share/cpupower-gui/cpupower_gui/window.py:127: Warning: g_object_get: 
assertion 'G_IS_OBJECT (object)' failed
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]:   Handy.init()
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]: 
gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' 
failed
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]: 
gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]: 
gtk_icon_theme_add_resource_path: assertion 'GTK_IS_ICON_THEME (icon_theme)' 
failed
  mai 07 07:53:39 daniel-desktop3 cpupower-gui[1766]: cannot open display:
  mai 07 07:53:39 daniel-desktop3 systemd[1]: cpupower-gui.service: Main 
process exited, code=exited, status=1/FAILURE
  mai 07 07:53:39 daniel-desktop3 systemd[1]: cpupower-gui.service: Failed with 
result 'exit-code'.
  mai 07 07:53:39 daniel-desktop3 systemd[1]: Failed to start 
cpupower-gui.service - Apply cpupower-gui config at boot.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: cpupower-gui 1.0.0-6
  ProcVersionSignature: Ubuntu 7.0.0-15.15-generic 7.0.0
  Uname: Linux 7.0.0-15-generic x86_64
  ApportVersion: 2.34.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: KDE
  Date: Thu May  7 07:57:51 2026
  InstallationDate: Installed on 2022-11-05 (1279 days ago)
  InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
  SourcePackage: cpupower-gui
  UpgradeStatus: Upgraded to resolute on 2026-04-24 (13 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151790

Title:
  Failed to start cpupower-gui.service - Apply cpupower-gui config at
  boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cpupower-gui/+bug/2151790/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to