[SRU] plasma-optimus does not always properly detect GPU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
plasma-optimus (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Summary]
Beginning in Plasma 5.24, plasma-optimus would sometimes report the GPU as "undefined" even though the shell script that would detect the GPU would correctly report the GPU too late for the plasmoid due to a race condition inside the plasmoid.
The uploaded fix contains a one-line fix that, if the GPU is still "undefined" the timer re-runs the GPU detection script and gets the proper name of the GPU, thereby resolving the prior race condition.
Affected systems seem to be 12th Generation (Alder Lake) CPUs with Nvidia 30X0 GPUs, but other systems have been anecdotally affected as well.
[Test Plan]
Using an affected system:
* Install Kubuntu
* Install plasma-optimus
* observe "undefined" as the name of GPU chipset currently in use.
[Where problems could occur]
* This is a simple plasmoid and is not likely to break anything system-wide. However, it is possible for the entire plasmoid to cease to work for whatever reason.
* Since it is a plasmoid, and even though it's QML, perhaps, and even though this is highly unlikely, it could break plasma itself. Again, I don't see how this is possible, but I'm playing devil's advocate here.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: plasma-optimus 22.04.2-0ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Mon Jun 13 13:06:27 2022
InstallationDate: Installed on 2021-03-20 (449 days ago)
InstallationMedia: Ubuntu-Studio 21.04 "Hirsute Hippo" - Alpha amd64 (20210320)
PackageArchitec
SourcePackage: plasma-optimus
UpgradeStatus: Upgraded to jammy on 2021-11-07 (218 days ago)
Changed in plasma-optimus (Ubuntu Kinetic): | |
status: | In Progress → Fix Committed |
Changed in plasma-optimus (Ubuntu Jammy): | |
status: | Triaged → In Progress |
tags: | removed: third-party-packages |
Changed in plasma-optimus (Ubuntu Kinetic): | |
assignee: | Erich Eickmeyer (eeickmeyer) → nobody |
Changed in plasma-optimus (Ubuntu Jammy): | |
assignee: | Erich Eickmeyer (eeickmeyer) → nobody |
importance: | Undecided → High |
This bug was fixed in the package plasma-optimus - 22.10.1-0ubuntu1
---------------
plasma-optimus (22.10.1-0ubuntu1) kinetic; urgency=medium
* New release 22.10.1
* Fix for proper GPU detection (LP: #1978502)
-- Erich Eickmeyer <email address hidden> Mon, 13 Jun 2022 13:44:06 -0700