on-demand mode doesn't work with nvidia-390
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Undecided
|
Dirk Su | ||
nvidia-settings (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-drivers-common (Ubuntu) |
Fix Released
|
Undecided
|
jeremyszu | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
jeremyszu |
Bug Description
[Impact]
* In any Ubuntu series, if user using a old GPU (which supported by nvidia-390 only) then issuing glxinfo will get "Error: couldn't find RGB GLX visual or fbconfig". Which mean the Xorg doesn't load dri driver correctly.
[Test Plan]
* install nvidia-390 on nvidia-390 supported system.
* prime-select on-demand
* reboot
* glxinfo
* after applying this patch, it will fall back to "ON" mode after reboot.
* install nvidia-450 on nvidia-450 supported system.
* prime-select on-demand
* reboot the system
* prime-select query (and check that on-demand mode is still in use).
[Where problems could occur]
* Since nvidia-390 doesn't support on-demand mode (RTD3 either). If a user stays in on-demand mode with 390 without problem, the after upgrading u-d-c and reboot. The mode will fall back to "ON" mode.
* From my point of view, it's fine because nvidia-390 doesn't support RTD3. Thus, the nvidia will always stay in "Active" stage no matter which mode it is.
* While there is no way to inform the user about this change, changing to the only supported default will avoid breaking GLX.
---
The regression from https:/
It impacts Jammy and Impish so far.
[Steps to reproduce]
1. Find a GPU supports nvidia-390
2. ubuntu-drivers install nvidia:390
3. prime-select on-demand
4. glxinfo
[Expected result]
Shows intel or nvidia drives monitor
[Actual result]
Error: couldn't find RGB GLX visual or fbconfig
Since we are all agree "on-demand" mode as default mode.
Pre-talk with Alberto, on-demand doesn't support with nvidia-390 (no matter RTD3).
We could consider to make it as performance mode and leave a note on nvidia-settings.
I'll prepare some test packages.
Changed in ubuntu-drivers-common (Ubuntu): | |
assignee: | nobody → jeremyszu (os369510) |
Changed in oem-priority: | |
assignee: | nobody → Dirk Su (dirksu) |
Changed in ubuntu-drivers-common (Ubuntu): | |
status: | New → In Progress |
no longer affects: | ubuntu-drivers-common (Ubuntu Focal) |
Changed in ubuntu-drivers-common (Ubuntu Impish): | |
status: | New → Triaged |
tags: | added: oem-priority |
description: | updated |
Changed in ubuntu-drivers-common (Ubuntu Jammy): | |
status: | Fix Committed → Fix Released |
Changed in oem-priority: | |
status: | New → Fix Released |
This should be fixed in Jammy now:
ubuntu- drivers- common (1:0.9.4) jammy; urgency=medium
[ Michael Hudson-Doyle ] detect. py: for_modalias by compiling all the Modaliases
* UbuntuDrivers/
- Optimize packages_
into one big regexp that can be used to quickly reject most
devices.
[ Alberto Milone ] kerneldetection .py: metapackage.
* UbuntuDrivers/
- Improve performance of _get_linux_
* gpu-manager.c:
- Fall back from on-demand to on if nvidia < 450.
[ Jeremy Szu ] target- config/ 31ubuntu_ driver_ packages:
* ubiquity/
- Install nvidia-prime in eariler stage.