[Bug 1667198] Re: gpu-manager should also support reading kernel parameter to adding options in xorg.conf for Nvidia

2017-06-19 Thread Alberto Milone
Please accept ubuntu-drivers-common 1:0.4.17.3 in xenial-proposed.

** Description changed:

- This feature has been implemented for Intel (ex. gpumanager_uxa), which
- is parsing kernel parameter to add option in xorg.conf (commit
- ff3a4e54).
+ 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-drivers-common and the nvidia-prime packages.
+ 
+ 2) Install the nvidia driver.
+ 
+ 3) Place your configuration file(s) in the /usr/share/gpu-manager.d
+ directory.
+ 
+ If you are using a non-hybrid system, you can create the /usr/share/gpu-
+ manager.d/non-hybrid file. In case of a hybrid system, you can specify
+ /usr/share/gpu-manager.d/hybrid-performance and/or /usr/share/gpu-
+ manager.d/hybrid-power-saving, depending on the power profile you intend
+ to apply your settings to.
+ 
+ 
+ 4) Restart the system and see if it boots correctly. If unsure, please attach 
your /var/log/gpu-manager.log and /var/log/Xorg.0.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/gpu-manager.d/ directory.
+ 
+ 
+ __
+ 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 "nvidiaXineramaInfo"
  "off" to fix some issues.
  
  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

** Summary changed:

- gpu-manager should also support reading kernel parameter to adding options in 
xorg.conf for Nvidia
+ gpu-manager should also support using custom xorg.conf files for Nvidia

** Tags added: originate-from-1693717 somerville

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

Title:
  gpu-manager should also support using custom xorg.conf files for
  Nvidia

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1667198/+subscriptions

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


[Bug 1667198] Re: gpu-manager should also support reading kernel parameter to adding options in xorg.conf for Nvidia

2017-06-19 Thread Alberto Milone
** Also affects: ubuntu-drivers-common (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: ubuntu-drivers-common (Ubuntu Xenial)
   Status: New => In Progress

** Changed in: ubuntu-drivers-common (Ubuntu Xenial)
   Importance: Undecided => Critical

** Changed in: ubuntu-drivers-common (Ubuntu Xenial)
 Assignee: (unassigned) => Alberto Milone (albertomilone)

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

Title:
  gpu-manager should also support reading kernel parameter to adding
  options in xorg.conf for Nvidia

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1667198/+subscriptions

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


[Bug 1667198] Re: gpu-manager should also support reading kernel parameter to adding options in xorg.conf for Nvidia

2017-05-11 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-drivers-common - 1:0.4.23

---
ubuntu-drivers-common (1:0.4.23) artful; urgency=medium

  [ Alberto Milone ]
  * 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-performance", and "hybrid-power-saving",
  and will have to placed in the /usr/share/gpu-manager.d
  directory.
  The directory can be overridden by passing another directory
  along with the "--custom-xorg-conf-path" parameter.
- 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   Thu, 11 May 2017
11:05:40 +0200

** Changed in: ubuntu-drivers-common (Ubuntu)
   Status: In Progress => Fix Released

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

Title:
  gpu-manager should also support reading kernel parameter to adding
  options in xorg.conf for Nvidia

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1667198/+subscriptions

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


[Bug 1667198] Re: gpu-manager should also support reading kernel parameter to adding options in xorg.conf for Nvidia

2017-03-10 Thread Alberto Milone
** Changed in: ubuntu-drivers-common (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: ubuntu-drivers-common (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntu-drivers-common (Ubuntu)
 Assignee: (unassigned) => Alberto Milone (albertomilone)

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

Title:
  gpu-manager should also support reading kernel parameter to adding
  options in xorg.conf for Nvidia

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1667198/+subscriptions

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


[Bug 1667198] Re: gpu-manager should also support reading kernel parameter to adding options in xorg.conf for Nvidia

2017-02-22 Thread Yuan-Chen Cheng
** Also affects: oem-priority
   Importance: Undecided
   Status: New

** Changed in: oem-priority
 Assignee: (unassigned) => Alex Tu (alextu)

** Changed in: oem-priority
   Status: New => Confirmed

** Changed in: oem-priority
   Importance: Undecided => Critical

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

Title:
  gpu-manager should also support reading kernel parameter to adding
  options in xorg.conf for Nvidia

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1667198/+subscriptions

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


[Bug 1667198] Re: gpu-manager should also support reading kernel parameter to adding options in xorg.conf for Nvidia

2017-02-22 Thread Alex Tu
** Description changed:

  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 "nvidiaXineramaInfo"
  "off" to fix some issues.
  
  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

** Changed in: ubuntu-drivers-common (Ubuntu)
   Status: New => Confirmed

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

Title:
  gpu-manager should also support reading kernel parameter to adding
  options in xorg.conf for Nvidia

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1667198/+subscriptions

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