** Also affects: plasma-optimus (Ubuntu Impish)
   Importance: Undecided
       Status: New

** Also affects: plasma-optimus (Ubuntu Jammy)
   Importance: High
     Assignee: Erich Eickmeyer  (eeickmeyer)
       Status: Fix Committed

** Changed in: plasma-optimus (Ubuntu Impish)
       Status: New => Fix Committed

** Changed in: plasma-optimus (Ubuntu Impish)
   Importance: Undecided => High

** Changed in: plasma-optimus (Ubuntu Jammy)
   Importance: High => Medium

** Changed in: plasma-optimus (Ubuntu Impish)
     Assignee: (unassigned) => Erich Eickmeyer  (eeickmeyer)

** Description changed:

  [Impact]
  
  * Users have reported abnormally high power usage in plasma-optimus.
  Upon investigation, this was due to a component (sniff-gpu.sh) being
  called every second, using 0.037 seconds of processor time each call due
  to glxinfo being called as part of the script. For laptop users, this is
  problematic when on battery power. This upload includes a patch which
  runs sniff-gpu.sh once upon load. Additionally, the script has been
  updated to only run "prime-select query" every 10 seconds as opposed to
  every second, which lowers CPU usage as well.
  
  * Additionally, it has been noticed that when someone changes GPU mode
  from the command line (via prime-select), this widget is unable to
  switch to the GPU mode previously selected since it was incorrectly
  reported as "true" when it should update to "false" for GPU mode in use.
  
  [Test Plan]
  
  * With plasma-optimus installed, run powertop. Notice every second
  sniff-gpu being called with high power usage due to glxinfo being
  called.
  
  * Change GPU mode via 'prime-select nvidia|on-demand|intel'. Widget will
  update to the correct icon, but more than one menu item becomes disabled
  (only current mode should be disabled).
  
  [Where problems could occur]
  
  * The only disadvantage to this update is that instead of updating the
  widget every second, it now updates every 10 seconds, meaning if one
  updates via 'prime-select' it will not take effect in the widget right
  away. This may cause some users, expecting it to update
  immediately/within a second, to think the behavior is abnormal.
+ 
+ [Other Information]
+ 
+ * This fix was done under an entirely new upload (22.04.0) for Jammy.

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

Title:
  [SRU] plasma-optimus has abnormally high power usage and has menu
  issues

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plasma-optimus/+bug/1948497/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to