Public bug reported:
In recovery (from a storage) case, the /var/lib/ubuntu-drivers-
common/last_gfx_boot is empty. Thus, the _has_integrated_gpu() returns
false in I+N laptop case. In this case, there is a iGPU actually.
---
During the recovery, a worker executes ubuntu-drivers install.
The expected result is "on-demand" but it goes to "on" because
/var/lib/ubuntu-drivers-common/last_gfx_boot doesn't exist
`ubuntu-drivers install` calls `prime-select on-demand` calls
enable_profile() and then enable_profile() calls _has_integrated_gpu()
before switching mode.
Since _has_integrated_gpu() returns false, it won't switch nvidia mode
** Affects: oem-priority
Importance: High
Assignee: jeremyszu (os369510)
Status: Confirmed
** Affects: nvidia-prime (Ubuntu)
Importance: Undecided
Status: New
** Tags: oem-priority originate-from-1942028 originate-from-1942041 stella
** Also affects: oem-priority
Importance: Undecided
Status: New
** Changed in: oem-priority
Assignee: (unassigned) => jeremyszu (os369510)
** Changed in: oem-priority
Importance: Undecided => High
** Changed in: oem-priority
Status: New => Confirmed
** Tags added: oem-priority originate-from-1942041 stella
** Tags added: originate-from-1942028
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1942791
Title:
_has_integrated_gpu() needs to consider the desktop case
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1942791/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs