gpu-manager should also support using custom xorg.conf files for Nvidia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
Undecided
|
Unassigned | ||
OEM Priority Project |
Fix Released
|
Critical
|
Alex Tu | ||
ubuntu-drivers-common (Ubuntu) |
Fix Released
|
High
|
Alberto Milone | ||
Xenial |
Fix Released
|
Critical
|
Alberto Milone | ||
Zesty |
Fix Released
|
Critical
|
Alberto Milone |
Bug Description
SRU Request:
[Impact]
Different GPUs may require different options in the xorg.conf file. Currently this is not possible, since the options have been hardcoded in gpu-manager to configure the system automatically.
This new (backported) feature allows users to tell gpu-manager to use their own custom xorg.confs for their NVIDIA GPUs.
[Test Case]
1) Enable the xenial-proposed repository, and install the ubuntu-
2) Install the nvidia driver.
3) Place your configuration file(s) in the /usr/share/
If you are using a non-hybrid system, you can create the /usr/share/
4) Restart the system and see if it boots correctly. If unsure, please attach your /var/log/
5) Make sure that the /etc/X11/xorg.conf matches the file you specified in 3)
[Regression Potential]
Low, the above mentioned changes are already in Artful, and will not affect the system's behaviour unless new configuration files are put in the /usr/share/
_______
This feature has been implemented for Intel (ex. gpumanager_uxa), which is parsing kernel parameter to add option in xorg.conf (commit ff3a4e54).
And now Nvidia also need this feature to add Option "nvidiaXinerama
Btw, I'm thinking it might be a more flexible to have a config file which user could add all options as they want so that we could prevent keeping change gpu-manager when some more options are needed in the future.
Needed by LP: #1653592
description: | updated |
Changed in ubuntu-drivers-common (Ubuntu): | |
status: | New → Confirmed |
Changed in oem-priority: | |
assignee: | nobody → Alex Tu (alextu) |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in ubuntu-drivers-common (Ubuntu): | |
status: | Confirmed → In Progress |
importance: | Undecided → High |
assignee: | nobody → Alberto Milone (albertomilone) |
Changed in ubuntu-drivers-common (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Alberto Milone (albertomilone) |
description: | updated |
Changed in hwe-next: | |
status: | New → Incomplete |
tags: |
added: verification-done-xenial removed: verification-done |
Changed in ubuntu-drivers-common (Ubuntu Xenial): | |
status: | Fix Committed → Incomplete |
Changed in ubuntu-drivers-common (Ubuntu Zesty): | |
assignee: | nobody → Alberto Milone (albertomilone) |
status: | New → In Progress |
importance: | Undecided → Critical |
tags: |
added: verification-done-zesty removed: verification-done |
Changed in oem-priority: | |
status: | Confirmed → Fix Released |
Changed in hwe-next: | |
status: | Incomplete → Fix Released |
This bug was fixed in the package ubuntu- drivers- common - 1:0.4.23
--------------- drivers- common (1:0.4.23) artful; urgency=medium
ubuntu-
[ Alberto Milone ] performance" , and "hybrid- power-saving" , gpu-manager. d xorg-conf- path" parameter.
* gpu-manager.{c|py}:
- Disable persistence mode before powering down the dGPU.
If persistence mode is not disabled, gpu-manager will not be
able to unload the nvidia module.
- Add support for using custom xorg.confs with the nvidia
driver (LP: #1667198).
Custom xorg files can be named "non-hybrid" (for non hybrid
systems), "hybrid-
and will have to placed in the /usr/share/
directory.
The directory can be overridden by passing another directory
along with the "--custom-
- Add tests for the custom xorg.confs code and for amdgpu-pro
hybrid support.
[ Kai-Heng Feng ]
* debian/control:
- Add build dependency on libkmod-dev.
* gpu-manager.c:
- Detect and handle switchable graphics with the amdgpu-pro driver.
AMDGPU-Pro has its own script to switch between powersaving and
performance mode.
Some machines allow enabling switchable graphics, or disabling
the iGPU completely, thus leaving only the dGPU on. This new code
simply detects the different profiles supported by AMD, and
enables powersaving mode when possible.
-- Alberto Milone <email address hidden> Thu, 11 May 2017 11:05:40 +0200