This bug was fixed in the package ubuntu-drivers-common - 1:0.4.17.2
ubuntu-drivers-common (1:0.4.17.2) xenial-proposed; urgency=medium
[ Alberto Milone ]
- Fix memory leak in get_alternatives(). Make sure to always free
alternatives->current_core and alternatives->current_egl.
- Partially drop the drm code, and get information about connectors
from sysf. This fixes a long standing performance issue (LP: #1586933).
- 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 (LP: #1619306).
- Make sure to load and unload nvidia-drm. This fixes a problem that
prevents the dGPU from being powered off in hybrid systems with
recent nvidia drivers (LP: #1619306).
[ Ying-Chun Liu (PaulLiu) ]
- Catch and ignore UnicodeDecodeErrors in dmi info, as some machines
may report board_name as ffffffffffff0a to mean empty, and this
causes an error in python 3 (LP: #1320868).
-- Alberto Milone <alberto.mil...@canonical.com> Mon, 06 Jun 2016
** Changed in: ubuntu-drivers-common (Ubuntu Xenial)
Status: Fix Committed => Fix Released
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
"UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position
0: invalid start byte" when removing nvidia-current package
Status in ubuntu-drivers-common package in Ubuntu:
Status in ubuntu-drivers-common source package in Xenial:
$sudo apt-get remove nvidia-current
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'nvidia-current' is not installed, so not removed
The following package was automatically installed and is no longer required:
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nvidia-331 (331.38-0ubuntu7) ...
Traceback (most recent call last):
File "/usr/bin/quirks-handler", line 65, in <module>
operation_status = main(options)
File "/usr/bin/quirks-handler", line 44, in main
quirks = Quirks.quirkapplier.QuirkChecker(options.package_enable,
File "/usr/lib/python3/dist-packages/Quirks/quirkapplier.py", line 38, in
self._system_info = self.get_system_info()
File "/usr/lib/python3/dist-packages/Quirks/quirkapplier.py", line 64, in
File "/usr/lib/python3/dist-packages/Quirks/quirkinfo.py", line 46, in
'class', 'dmi', 'id', item)).read().strip()
File "/usr/lib/python3.4/codecs.py", line 313, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0:
invalid start byte
dpkg: error processing package nvidia-331 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~desktop-packages
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp