kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #42419
[Bug 1259237] Re: Hybrid graphics enablement in 12.04.4
This bug was fixed in the package nvidia-graphics-drivers-304-updates -
304.116-0ubuntu0.0.1
---------------
nvidia-graphics-drivers-304-updates (304.116-0ubuntu0.0.1) precise-proposed; urgency=low
* New upstream release (LP: #1259237):
- Improved compatibility with recent Linux kernels.
- Updated the NVIDIA OpenGL driver to write temporary files to
$TMPDIR if it is set, instead of unconditionally writing to
/tmp (LP: #1212425).
- Updated a fallback of writing temporary files to $HOME/.nvidia
to use $HOME/.nv instead, as the latter path is already used
for other NVIDIA driver related files.
[ Alberto Milone ]
* debian/substvars:
- Add support for lts flavours up to saucy.
* debian/templates/control.in:
- Depend on lib32gcc1 [amd64], libc6-i386 [amd64]
(LP: #1236945).
- Drop lpia.
* debian/templates/dkms.conf.in:
- Drop patche for Linux 3.11.
* debian/rules:
- Blacklist the opposite flavour.
- Blacklist kernel modules from the other flavours.
* debian/templates/nvidia-graphics-drivers.dirs.in,
debian/templates/nvidia-graphics-drivers.install.in,
debian/templates/nvidia-graphics-drivers.override.in,
debian/templates/nvidia-graphics-drivers.postinst.in,
debian/nvidia-autostart.desktop.in,
debian/ubuntu-nvidia-settings.desktop.in:
- Remove nvidia-settings icon, desktop file, and autostart file.
This is all provided by nvidia-settings now.
* debian/templates/nvidia-graphics-drivers.prerm.in,
debian/templates/nvidia-graphics-drivers.install.in,
debian/templates/nvidia-graphics-drivers.postinst.in:
- Disable glamoregl.
- Do not update gmenucache any more.
[ Andy Dick ]
* debian/templates/nvidia-graphics-drivers.preinst.in:
- Attempt uninstallation of any existing .run file
installation before installing Debian-packaged
driver.
* debian/templates/nvidia-graphics-drivers.postinst.in:
- Add libcuda.so symlinks in /usr/lib*.
* debian/rules:
- Conditionalize the copying of Makefile.kbuild to
Makefile. This adds support for newer drivers,
while maintaining support for packaging older drivers.
- Avoid extracting unnecessary .run files. The 64-bit
package needs both the 32- and 64-bit .run files, but
the 32-bit package does not. Change the unpackaging
rules to unpack only the native package by default,
and only unpack the 32-bit x86 package on amd64.
Also, instead of changing the .run file permissions
to ensure that the .run file is executable, just call
it as an argument to sh.
- Don't assume that extracted files are writable.
The package contents extracted from some .run file
installers may not have write permissions enabled.
To work around this, move files instead of copying
them to a temporary location before running sed
scripts, and add force flags to applicable commands.
-- Alberto Milone <alberto.milone@xxxxxxxxxxxxx> Wed, 11 Dec 2013 14:02:39 +0100
** Changed in: screen-resolution-extra (Ubuntu Precise)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-settings in Ubuntu.
https://bugs.launchpad.net/bugs/1259237
Title:
Hybrid graphics enablement in 12.04.4
Status in “bbswitch” package in Ubuntu:
Invalid
Status in “jockey” package in Ubuntu:
In Progress
Status in “lightdm” package in Ubuntu:
In Progress
Status in “nvidia-graphics-drivers-173” package in Ubuntu:
In Progress
Status in “nvidia-graphics-drivers-304” package in Ubuntu:
Fix Released
Status in “nvidia-graphics-drivers-304-updates” package in Ubuntu:
Fix Released
Status in “nvidia-graphics-drivers-331” package in Ubuntu:
Fix Released
Status in “nvidia-graphics-drivers-331-updates” package in Ubuntu:
Fix Released
Status in “nvidia-prime” package in Ubuntu:
Invalid
Status in “nvidia-settings” package in Ubuntu:
Fix Released
Status in “screen-resolution-extra” package in Ubuntu:
Invalid
Status in “bbswitch” source package in Precise:
Fix Released
Status in “nvidia-prime” source package in Precise:
Fix Committed
Status in “screen-resolution-extra” source package in Precise:
Fix Released
Bug description:
SRU request:
Please accept the following packages in precise-proposed.
lightdm
nvidia-prime
nvidia-graphics-drivers-331
nvidia-graphics-drivers-331-updates
nvidia-graphics-drivers-304
nvidia-graphics-drivers-304-updates
nvidia-graphics-drivers-173
nvidia-settings
screen-resolution-extra
bbswitch
[Rationale]
This is the result of the HWE effort to bring power management to systems with NVIDIA Optimus.
[Impact]
Without this work, we keep both GPUs on all the time, thus heavily impacting on battery life. Thanks to this work, it is now possible to easily disable the discrete card when raw power is not needed.
Furthermore nvidia-prime has better hardware detection now, and won't
try to enable hybrid graphics on desktop systems any more.
As for the technical details:
* bbswitch is a backport of the package that now lives in main in 14.04.
* The actual work happened in lightdm, nvidia-331, nvidia-331-updates, nvidia-prime, screen-resolution-extra, and nvidia-settings.
* nvidia-settings now replaces all the different nvidia-settings flavours, so as to reduce the maintainance effort. I patched the app so that it checks the driver version (at runtime) and doesn't expose features that older driver releases do not support.
* nvidia-331 and nvidia-331-updates replace 319 and 319-updates. These are the new LTS releases by NVIDIA.
* nvidia-304 and nvidia-304-updates recommend the new nvidia-settings, include a security update, and build against the upcoming Linux 3.11 (lts-saucy).
* nvidia-173, in addition to being compatible with Linux 3.11 (lts-saucy), also introduces transitional packages for 173-updates, as it doesn't make sense to maintain a separate -updates flavour any more.
[Test Case]
After installing the update, users should be able to boot the system as usual, with no regressions of any kind.
* Systems with a single NVIDIA card: nvidia-prime will detect the
hardware and do nothing at all on unsupported systems (such as the one
card use case, or the desktop use case)
* Systems with NVIDIA Optimus: nvidia-prime will preserve its previous
behaviour by leaving both GPUs on. Users can launch nvidia-settings
and switch to the power profile that they need.
[Regression Potential]
Low. The new features are enabled only if the user manually selects them.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bbswitch/+bug/1259237/+subscriptions