Get:1 http://changelogs.ubuntu.com ubuntu-drivers-common 1:0.4.17.2 Changelog [66.8 kB] ubuntu-drivers-common (1:0.4.17.2) xenial-proposed; urgency=medium [ Alberto Milone ] * gpu-manager.c: - 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) ] * Quirks/quirkinfo.py: - 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 Mon, 06 Jun 2016 12:49:19 +0200 ubuntu-drivers-common (1:0.4.17.1) xenial-proposed; urgency=medium * gpu-manager.c: - Pass the arguments in the correct order when getting the list of alternatives (LP: #1575960). Thanks to Rafał Cieślak for the fix. -- Alberto Milone Fri, 29 Apr 2016 12:29:03 +0200 ubuntu-drivers-common (1:0.4.17) xenial; urgency=medium * tests/ubuntu_drivers.py: Allow test_system_driver_packages_performance() 90s on ARM, as 30s is not enough on slow buildds. -- Martin Pitt Tue, 12 Apr 2016 11:03:37 +0200 ubuntu-drivers-common (1:0.4.16) xenial; urgency=medium * debian/tests/system: Drop test_fglrx() as the fglrx driver is gone. Test bcmwl instead. -- Martin Pitt Fri, 04 Mar 2016 11:07:02 +0100 ubuntu-drivers-common (1:0.4.15) xenial; urgency=medium * gpu-manager.{c|py}: - Add support for managing EGL alternatives. - Make sure to load and to unload the new nvidia-modeset module for prime. * 71-u-d-c-gpu-detection.rules, u-d-c-print-pci-ids: - Fix fglrx detection. -- Alberto Milone Thu, 28 Jan 2016 17:29:27 +0100 ubuntu-drivers-common (1:0.4.14) xenial; urgency=medium * gpu-manager.{c|py}: - Rely on udev for card detection. This helps detecting if a module was unloaded or if a card was disabled on a hybrid system. In addition to being more accurate (LP: #1485236), this should also be much faster on boot (LP: #1307069). - Restrict the search for built modules to the dkms directory. This improves performance. * debian/rules, setup.py, 71-u-d-c-gpu-detection.rules, u-d-c-print-pci-ids: - Provide a udev rule to detect cards and modules. -- Alberto Milone Wed, 13 Jan 2016 10:35:18 +0100 ubuntu-drivers-common (1:0.4.13) xenial; urgency=medium * Depend on liblocale-gettext-perl for autopkgtest, forcing it not to be dropped during Perl transitions (thereby breaking the fglrx test) due to pinning only necessary packages from -proposed. -- Colin Watson Tue, 29 Dec 2015 05:22:18 +0000 ubuntu-drivers-common (1:0.4.12) xenial; urgency=medium [ Alberto Milone ] * UbuntuDrivers/detect.py: - Make modalias matching case insensitive (LP: #1500591). [ Martin Pitt ] * debian/tests/system: Explicitly require version 1.0 of UMockdev, to avoid a warning on stderr. -- Martin Pitt Mon, 26 Oct 2015 11:03:09 +0100 ubuntu-drivers-common (1:0.4.11) wily; urgency=medium * gpu-manager.c: - Rely on /var/log/syslog to get information about unloaded modules. This should minimise the current slowdown on boot (LP: #1307069). - Switch from intel to modesetting as the default driver on hybrid intel/nvidia systems because of a regression in the intel driver (LP: #1507676). -- Alberto Milone Mon, 19 Oct 2015 17:35:12 +0200 ubuntu-drivers-common (1:0.4.10) wily; urgency=medium * debian/tests/system: Drop the nvidia package tests; they are now tested through autodep8 on every kernel and dkms change, so we don't have to rely on this hard to maintain autopkgtest any more. Also drop most other driver package tests for the same reason; just keep the "fglrx" test to get a full end-to-end test with "ubuntu-drivers". -- Martin Pitt Thu, 03 Sep 2015 11:27:33 +0200 ubuntu-drivers-common (1:0.4.9) wily; urgency=medium * tests/ubuntu_drivers.py: Reset the apt.Cache() cache between tests, as this is unreliable with tests that keep switching apt's root directory. (LP: #1487223) * Bump Standards-Version to 3.9.6 (no changes necessary). -- Martin Pitt Thu, 03 Sep 2015 07:47:21 +0200 ubuntu-drivers-common (1:0.4.8) wily; urgency=medium [ Alberto Milone ] * share/hybrid/gpu-manager.c, tests/gpu-manager.py: - Use SNA in powersaving mode for pxpress, and keep UXA only for performance mode (where it's required). This fixes a number of HWE issues (e.g. LP: #1472972). * Quirks/quirkreader.py: - Set the encoding when opening the file. This fixes a crash in Wily. [ Martin Pitt ] * debian/rules: Ensure that $PATH includes /sbin:/usr/sbin, as the tests require several programs from that (e. g. modinfo, aptd). Fixes FTBFS due to test failures. (LP: #1487223) -- Martin Pitt Wed, 02 Sep 2015 16:59:42 +0200 ubuntu-drivers-common (1:0.4.7) wily; urgency=medium * gpu-manager.c: - Check that we have write access to the log. If writing to the log fails, we show a warning, and use stdout instead. (LP: #1298693) -- Alberto Milone Fri, 07 Aug 2015 10:40:23 +0200 ubuntu-drivers-common (1:0.4.6) wily; urgency=medium * gpu-manager.c, gpu-manager.py: - Use the amdconfig tool to configure multi-amd PXpress. This fixes a problem where the AMD control panel won't show an option to switch between power saving mode and performance mode on AMD+AMD hybrid systems (LP: #1410801). - The tests now reflect a more relaxed approach so that we do not overwrite configurations that are not supported (such as multiple xscreens set in the xorg.conf). -- Alberto Milone Fri, 08 May 2015 16:42:32 +0200 ubuntu-drivers-common (1:0.4.5) vivid; urgency=medium * Call dh_systemd_enable after installing gpu-manager.service, so that the unit actually gets enabled. Also quiesce the confusing error messages about nonexisting binary package directories. (LP: #1443364) -- Martin Pitt Mon, 13 Apr 2015 07:01:15 -0500 ubuntu-drivers-common (1:0.4.4) vivid; urgency=medium * debian/tests/system: Re-enable fglrx tests and update them for the fglrx-core split. -- Martin Pitt Fri, 10 Apr 2015 12:47:48 +0200 ubuntu-drivers-common (1:0.4.3) vivid; urgency=medium * debian/tests/system: Don't use --auto-remove on purge, to avoid removing our test dependencies. * debian/tests/system: Set noninteractive debconf frontend, to avoid debconf error messages. * debian/tests/system: Mark fglrx tests as expected failures, the current fglrx driver is known to be incompatible with current X.org. -- Martin Pitt Fri, 10 Apr 2015 11:44:45 +0200 ubuntu-drivers-common (1:0.4.2) vivid; urgency=medium * gpu-manager.c: - Do not abort when dealing with sddm. This allows users to get partial support for hybrid graphics when using sddm instead of lightdm. -- Alberto Milone Thu, 09 Apr 2015 12:51:23 +0200 ubuntu-drivers-common (1:0.4.1) vivid; urgency=medium * debian/tests/system: - Add test for nvidia-346 and change the ids for nvidia-340. -- Alberto Milone Thu, 12 Mar 2015 17:47:05 +0100 ubuntu-drivers-common (1:0.4) vivid; urgency=medium [ Dimitri John Ledkov ] * Add cpu-microcode detect-plugin. (LP: #1386257) -- Martin Pitt Thu, 19 Feb 2015 14:52:28 +0100 ubuntu-drivers-common (1:0.3) vivid; urgency=medium * debian/tests/system: nvidia-331 is transitional now, so adjust tests to use nvidia-340. -- Martin Pitt Mon, 16 Feb 2015 10:38:48 +0100 ubuntu-drivers-common (1:0.2.98.9) vivid; urgency=medium * gpu-manager.c: - Ignore pci passthroughs (LP: #1397124). -- Alberto Milone Mon, 08 Dec 2014 10:56:17 +0100 ubuntu-drivers-common (1:0.2.98.8) vivid; urgency=medium * gpu-manager.service: Log into /var/log/gpu-manager.log so that we can pick this up from apport. -- Martin Pitt Wed, 03 Dec 2014 15:28:24 +0100 ubuntu-drivers-common (1:0.2.98.7) vivid; urgency=medium * Only install systemd unit on architectures where gpu-manager gets built. -- Martin Pitt Wed, 03 Dec 2014 14:59:47 +0100 ubuntu-drivers-common (1:0.2.98.6) vivid; urgency=medium * setup.py: Drop unnecessary glob(). * tests/ubuntu_drivers.py: Set SYSTEMD_LOG_LEVEL to avoid failing on unexpected udevadm debug spew if the kernel gets booted with "debug". Fixes FTBFS on our arm64 builders. * Add systemd unit for gpu-manager. -- Martin Pitt Wed, 03 Dec 2014 13:36:11 +0100 ubuntu-drivers-common (1:0.2.98.5) vivid; urgency=medium * gpu-manager.c: - Refine checks for blacklisted modules, so that we don't end up catching false positives (LP: 1376966). Thanks to Pär Lindfors for the patch. -- Alberto Milone Thu, 30 Oct 2014 11:36:55 +0100 ubuntu-drivers-common (1:0.2.98.4) utopic; urgency=medium * debian/tests/system, tests/ubuntu_drivers.py, UbuntuDrivers/detect.py: - Revert the previous changes that made us switch from bcmwl to the open driver, as the latter (in order to be a full replacement) seems to require firmware that we cannot include in the Ubuntu image because of licensing issues (LP: #1374126). -- Alberto Milone Thu, 09 Oct 2014 16:42:53 +0200 ubuntu-drivers-common (1:0.2.98.3) utopic; urgency=medium * gpu-manager.c: - Add support for "gpumanager_uxa" and "gpumanager_modesetting" boot parameters, so that there is an option to force NVIDIA Optimus systems (that don't work well with Intel/SNA) to use either Intel/UXA or modesetting (LP: #1365695). -- Alberto Milone Thu, 18 Sep 2014 12:15:34 +0200 ubuntu-drivers-common (1:0.2.98.2) utopic; urgency=medium * gpu-manager.c, gpu-manager.py: - Be more tolerant with xorg.confs. This fixes the multi AMD GPU use case where aticonfig insists on not setting the PCI domain in the xorg.conf (LP: #1310489). Also add a test with one of the xorg.confs from the bug report so that we do not regress in the future. -- Alberto Milone Sun, 07 Sep 2014 09:28:20 +0200 ubuntu-drivers-common (1:0.2.98.1) utopic; urgency=medium * gpu-manager.c, gpu-manager.py: - Avoid false positives with blacklisted modules (LP: #1363675). - Add regression test for the bug. -- Alberto Milone Mon, 01 Sep 2014 18:01:09 +0200 ubuntu-drivers-common (1:0.2.98) utopic; urgency=medium * gpu-manager.c, gpu-manager.py: - Add support for testing core alternatives. This will be needed by fglrx. - Add the --backup-log parameter. This is only used for debugging and disabled by default. - Fix a regression that caused the gpu-manager to switch to mesa after enabling fglrx on hybrid systems (LP: #1310489). Also add a test case so that we don't regress in the future. - Check that either fglrx or nvidia is set in xorg.conf when xorg.conf is needed. - Check if kernel modules are blacklisted before choosing the driver (LP: #1310489). - Enable only GPUs with open drivers that have connected outputs. Attaching to GPUs that have no connected outputs would result in a black screen. - Allow RandR offloading even without bbswitch (LP: #1349282). - Fall back to mesa when failing to enable prime. - Do not try to enable prime if the nvidia driver is older than 331. - Do not abort if the settings for prime cannot be found. Try creating the file before failing. - Avoid false positives of unloaded modules. - Use the cleanup attribute. - Always use snprintf instead of sprintf. -- Alberto Milone Wed, 27 Aug 2014 10:39:17 +0200 ubuntu-drivers-common (1:0.2.97) utopic; urgency=medium * tests/testarchive.py: Organize debs in pool/ structure, for better reusability. * tests/ubuntu_drivers.py: Drop expected failures, they've succeeded for a long time. This needs to be fixed properly if there's a bug. * sl-modem plugin: Keep environment for aplay, just ensure it's using the C locale. (LP: #1296425) * Disable linux-firmware-nonfree autopkgtest for now. bcma does not declare any firmware dependencies and linux-firmware-nonfree does not declare modaliases, so it either just works now, or the driver needs fixing first. -- Martin Pitt Mon, 18 Aug 2014 10:13:11 +0200 ubuntu-drivers-common (1:0.2.96.1) utopic; urgency=medium * gpu-manager.c: - Make sure to unload nvidia-uvm or nvidia won't be unloaded. - Make sure to walk properly the /dev/dri dir. This prevents the program from stopping when, for example /dev/dri/card1 is available while /dev/dri/card0 is not. -- Alberto Milone Wed, 11 Jun 2014 17:29:38 +0200 ubuntu-drivers-common (1:0.2.96) utopic; urgency=medium * gpu-manager.c: - Try harder when loading bbswitch (LP: #1310023). If loading bbswitch fails try with or without the "skip_optimus_dsm=1" option. - Switch to intel/SNA for optimus systems (LP: #1326257). -- Alberto Milone Wed, 04 Jun 2014 15:59:24 +0200 ubuntu-drivers-common (1:0.2.95) utopic; urgency=medium [ Tim Lunn ] * gpu-manager.c, gpu-manager.conf: - Use the gpu-manager with GDM too now that support for it has landed in Utopic (LP: #1262068). -- Alberto Milone Fri, 30 May 2014 14:09:31 +0200 ubuntu-drivers-common (1:0.2.94) utopic; urgency=medium * gpu-manager.c, tests/gpu-manager.py: - Trim dmi resources or matching will give false positives. This should fix LP: #1310516 for good. - Re-enable checking alternatives for pxpress. -- Alberto Milone Fri, 16 May 2014 13:28:31 +0200 ubuntu-drivers-common (1:0.2.93) utopic; urgency=medium * gpu-manager.c, tests/gpu-manager.py: - Add support for matching dmi product name (LP: #1310516). -- Alberto Milone Mon, 12 May 2014 15:50:11 +0200 ubuntu-drivers-common (1:0.2.92.2) utopic; urgency=medium * gpu-manager.c: - Revert switch to the intel driver from modesetting until some issues are fixed. -- Alberto Milone Mon, 28 Apr 2014 18:37:02 +0200 ubuntu-drivers-common (1:0.2.92.1) utopic; urgency=medium * debian/tests/system, tests/ubuntu_drivers.py: - Fix the relevant tests now that linux-firmware-nonfree has replaced bcmwl. -- Alberto Milone Mon, 28 Apr 2014 18:03:45 +0200 ubuntu-drivers-common (1:0.2.92) utopic; urgency=medium [ Alberto Milone ] * gpu-manager.c: - Ignore CRT displays when using PRIME. This works around systems whose BIOS provides a ghost output (LP: #1296020). - Switch from modesetting to intel for PRIME. * tests/gpu-manager.py: - Check that we don't remove xorg.confs on 1st boot. * UbuntuDrivers/detect.py: - Do not autoinstall the broadcom driver. The open driver should be a better solution now (LP: #1306928). - Autoinstall linux-firmware-nonfree. This will help now that we no longer autoinstall Broadcom's binary driver. [ Mario Limonciello ] * gpu-manager.c: - During first boot, don't remove existing xorg.conf (LP: #1307546). -- Alberto Milone Mon, 28 Apr 2014 10:15:11 +0200 ubuntu-drivers-common (1:0.2.91.4) trusty; urgency=medium * Force removal of jockey on upgrades. It has been replaced with ubuntu-drivers-common two cycles ago, removed from trusty, and now just crashes due to API changes in aptdaemon. (LP: #1216193) -- Martin Pitt Sun, 13 Apr 2014 13:31:11 +0200 ubuntu-drivers-common (1:0.2.91.3) trusty; urgency=medium * gpu-manager.c: - Move away the xorg.conf if mesa is selected as a fallback and binary drivers are still in use in the xorg.conf. This will prevent X from failing when users on hybrid systems uninstall a binary driver. -- Alberto Milone Wed, 09 Apr 2014 17:06:53 +0200 ubuntu-drivers-common (1:0.2.91.2) trusty; urgency=medium * gpu-manager.c: - Always check that devices are bound to a driver. This works better than blacklisting the 0380 class, and should help systems such as the one in LP: #1301839. -- Alberto Milone Mon, 07 Apr 2014 17:52:29 +0200 ubuntu-drivers-common (1:0.2.91.1) trusty; urgency=medium * debian/control, debian/rules: - Obsolete and replace fglrx-pxpress. The gpu-manager already deals with AMD GPUs. -- Alberto Milone Fri, 21 Mar 2014 19:03:20 +0100 ubuntu-drivers-common (1:0.2.91) trusty; urgency=medium * debian/control: - Add build dependency on libdrm-dev. * debian/rules: - Remove /etc/init/hybrid-gfx.conf. - Also remove the current upstart job from the architectures that don't ship gpu-manager. * gpu-manager.c, tests/gpu-manager.py: - Replace laptop specific hack to detect the need to offload rendering to the discrete card with code that opens the available drm devices and checks the connected outputs. If any outputs are connected to the Intel card, then we choose offloading. This also helps when the monitor is still connected to Intel on desktop systems with Intel + NVIDIA systems. - Preliminary work to reduce code duplication in nvidia-prime. * tests/ubuntu_drivers.py: - Do not abort if test_auto_install_system fails. -- Alberto Milone Wed, 19 Mar 2014 14:49:04 +0100 ubuntu-drivers-common (1:0.2.90) trusty; urgency=low * gpu-manager.c, gpu-manager.py: - Match only PCI_CLASS_DISPLAY, except for PCI_CLASS_DISPLAY_OTHER. - Re-enable outputs connected to NVIDIA discrete cards. This only affects Optimus systems (LP: #1290711). - Prevent possible buffer overflow when reading the configuration from last boot. - Clean up and make get_output() more robust (LP: #1290831). -- Alberto Milone Thu, 13 Mar 2014 10:15:06 +0100 ubuntu-drivers-common (1:0.2.89.6) trusty; urgency=low * gpu-manager.c: - Take action if settings don't match the current bbswitch status (LP: #1289420). -- Alberto Milone Sat, 08 Mar 2014 17:07:28 +0100 ubuntu-drivers-common (1:0.2.89.5) trusty; urgency=low * tests/run: - Skip gpu-manager.py on anything other than the x86 family. -- Alberto Milone Sat, 08 Mar 2014 01:26:18 +0100 ubuntu-drivers-common (1:0.2.89.4) trusty; urgency=medium [ Martin Pitt ] * Reenable tests. * Mark the three failing tests as expected failure instead of skipping them entirely, so that we can see what they do on the buildds. [ Alberto Milone ] * tests/gpu-manager.py: - Refactor the test suite by reusing more code and reducing the overall code. - Add test case for zero length dmi product version. * share/hybrid/gpu-manager.c: - Do not try to match quirks if dmi product version has zero length (LP: #1289298). -- Alberto Milone Fri, 07 Mar 2014 22:54:22 +0100 ubuntu-drivers-common (1:0.2.89.3) trusty; urgency=low * debian/rules: - Temporarily disable all tests. We'll switch them back on as soon as we find out the cause of these failures. * tests/gpu-manager.py: - Do not run on anything but x86 family. -- Alberto Milone Thu, 06 Mar 2014 16:30:54 +0100 ubuntu-drivers-common (1:0.2.89.2) trusty; urgency=low * tests/gpu-manager.py: - Fix FTBFS. -- Alberto Milone Thu, 06 Mar 2014 11:45:29 +0100 ubuntu-drivers-common (1:0.2.89.1) trusty; urgency=low * tests/gpu-manager.py: - Remove leftover print that caused tests to fail in -proposed. -- Alberto Milone Thu, 06 Mar 2014 10:47:44 +0100 ubuntu-drivers-common (1:0.2.89) trusty; urgency=low * debian/control: - Breaks: nvidia-prime (<< 0.6). We don't want the gpu-manager to compete with the old nvidia-prime on hybrid systems. * share/hybrid/gpu-manager.c: - Fix memory leaks and complete the different test cases. * tests/gpu-manager.py: - Add test suite for gpu-manager to reproduce different hardware/software scenarios. * UbuntuDrivers/detect.py, tests/ubuntu_drivers.py: - Enable installing graphics drivers on laptops with hybrid graphics (LP: #1126234), and on desktop systems where the BIOS doesn't disable the integrated GPU when a discrete card is available (LP: #1126234). This is now possible thanks to the gpu-manager (now enabled by default). * Replace the deprecated hybrid-detect program with gpu-manager (now enabled by default). In case of problems with the gpu-manager, it can be disabled by passing "nogpumanager" as a boot parameter. -- Alberto Milone Thu, 06 Mar 2014 09:24:54 +0100 ubuntu-drivers-common (1:0.2.88) trusty; urgency=medium * debian/tests/control: Add missing linux-headers test dependency. * Drop python3-aptdaemon.pkcompat recommends to a suggests, to avoid pulling it into Kubuntu. * share/hybrid/gpu-manager.c: - Add the new gpu manager. This will replace hybrid-detect as soon as test coverage is complete. * tests/ubuntu_drivers.py: - Skip test_list_system() and test_devices_system() for now. We need to find a way to pass syspath without the whole APT_CONFIG env var, or the tests will fail if system packages match real system hardware. -- Alberto Milone Thu, 20 Feb 2014 17:13:36 +0100 ubuntu-drivers-common (1:0.2.87) trusty; urgency=low * tests/ubuntu_drivers.py: Reduce the expected system modaliases from > 5 to > 3, as our arm64 builders seem a bit hardware deprived. Fixes FTBFS on arm64. -- Martin Pitt Thu, 05 Dec 2013 10:20:08 +0100 ubuntu-drivers-common (1:0.2.86) trusty; urgency=low * debian/tests/system: nvidia-319 is now a transitional package, update tests to check nvidia-331 instead. -- Martin Pitt Thu, 05 Dec 2013 09:52:58 +0100 ubuntu-drivers-common (1:0.2.85) trusty; urgency=low * Depend on kmod | module-init-tools. Apparently some users manage to uninstall it. (LP: #1087222) * Bump Standards-Version to 3.9.5. No changes necessary. -- Martin Pitt Thu, 05 Dec 2013 07:55:48 +0100 ubuntu-drivers-common (1:0.2.84) trusty; urgency=low * debian/tests/system: Update check of modinfo error message to also work with current kmod. -- Martin Pitt Mon, 04 Nov 2013 10:33:44 +0100 ubuntu-drivers-common (1:0.2.83) saucy; urgency=low * debian/tests/control: Install libgl1-mesa-glx for the tests, so that the fglrx packages don't fail to install. * debian/tests/system: nvidia-{310,313} are now transitional, drop tests and test nvidia-319{,-updates} instead. -- Martin Pitt Fri, 05 Jul 2013 11:13:45 +0200 ubuntu-drivers-common (1:0.2.82) saucy; urgency=low * debian/tests/system: Accept stderr messages from the TestUbuntuDrivers.test_bcmwl() test, as this spits out lots of libkmod errors due to the rather thin umockdev environment. -- Martin Pitt Wed, 19 Jun 2013 07:30:38 +0200 ubuntu-drivers-common (1:0.2.81) saucy; urgency=low * debian/tests/system: Port to umockdev. * share/fake-devices-wrapper: Fix fake bcmwl modalias. -- Martin Pitt Tue, 18 Jun 2013 22:23:14 +0200 ubuntu-drivers-common (1:0.2.80) saucy; urgency=low * Make test failures non-fatal on powerpc. -- Martin Pitt Tue, 18 Jun 2013 17:17:16 +0200 ubuntu-drivers-common (1:0.2.79) saucy; urgency=low * Skip test_system_driver_packages_bad_encoding() on powerpc. It's not obvious why it fails there, and without a porter box there is little we can do. -- Martin Pitt Tue, 18 Jun 2013 14:48:01 +0200 ubuntu-drivers-common (1:0.2.78) saucy; urgency=low * debian/tests/system: Drop usage of fakesys.py, should not actually be necessary. * Drop tests/fakesysfs.py, not used any more and obsolete. * Bump Standards-Version to 3.9.4 (no changes necessary). * UbuntuDrivers/detect.py, system_aliases(): Tone down "Cannot read modalias file" warning into a debug statement; this isn't particularly interesting or an error the user could do something about, and it breaks tests on powerpc. -- Martin Pitt Tue, 18 Jun 2013 13:43:05 +0200 ubuntu-drivers-common (1:0.2.77) saucy; urgency=low * detect.py, _get_db_name(): Call "udevadm hwdb" instead of the old /lib/udev/*-db helpers; the latter don't exist any more. This brings back vendor/product names. Bump udev dependency accordingly. (LP: #1186777) * share/fake-devices-wrapper: Rewrite using umockdev, our fakesys.py does not work any more with current libudev. * Port test suite from fakesys.py to umockdev. Add umockdev build-dependency for this (see MIR LP #1190926) -- Martin Pitt Fri, 14 Jun 2013 14:20:21 +0200 ubuntu-drivers-common (1:0.2.76) raring; urgency=low * debian/tests/system: nvidia-current is now a transitional package, so change tests to test -304. * debian/tests/system: Add tests for nvidia-310 and -313-updates. * debian/tests/system: Drop sl-modem test case. We don't officially support it, and it's broken at the moment. The package build test should move into sl-modem itself if anyone is interested in keeping it alive. -- Martin Pitt Mon, 18 Mar 2013 13:12:14 +0100 ubuntu-drivers-common (1:0.2.75) raring; urgency=low * UbuntuDrivers/detect.py: - Add get_linux() which returns the linux metapackage name. * UbuntuDrivers/kerneldetection.py: - Rely on the source name only for "-lts" packages (a special case). - Add KernelDetection.get_linux_metapackage(). * tests/ubuntu_drivers.py: - Add more tests with different kernel names. - Extend test coverage to both get_linux() and get_linux_headers() from UbuntuDrivers/detect.py. -- Alberto Milone Wed, 30 Jan 2013 12:08:59 +0100 ubuntu-drivers-common (1:0.2.74) raring; urgency=low [ Martin Pitt ] * hybrid-detect.c: Fix detection of i386 architecture. Thanks Dennis Baurichter! (LP: #1096354) [ Alberto Milone ] * NvidiaDetector/nvidiadetector.py: Exclude -current from the recommended flavours. The -current flavour is now a transitional package therefore we should not recommend it any more. * UbuntuDrivers/kerneldetection.py, UbuntuDrivers/detect.py, tests/ubuntu_drivers.py: Add support for checking and suggesting the required linux headers. -- Alberto Milone Tue, 29 Jan 2013 13:30:50 +0100 ubuntu-drivers-common (1:0.2.73) raring; urgency=low * debian/tests/control: Add apport to test dependencies, so that the DKMS hook can generate proper crash files which will help with debugging. * debian/tests/system: In the Broadcom wifi test, use a proper device class and subclass, as the current driver matches on those now. -- Martin Pitt Thu, 13 Dec 2012 16:02:42 +0100 ubuntu-drivers-common (1:0.2.72) raring; urgency=low [ Matthias Klose ] * Build-depend on python3-all. [ Dmitrijs Ledkovs ] * Use /usr/bin/python3 shebang. [ Martin Pitt ] * debian/tests/system: Fix duplicate output of error message for test failures. * tests/ubuntu_drivers.py, test_devices_detect_plugins(): Fix failure if special.py occurs first in the output. This bug was triggered by Python 3.3's new hash randomization behaviour. (LP: #1071997) * UbuntuDrivers/detect.py: Fix UnicodeDecodeError crash when encountering a package with invalid UTF-8 encoding. Just skip those packages instead. Add test to tests/ubuntu_drivers.py. -- Martin Pitt Wed, 07 Nov 2012 15:47:19 +0100 ubuntu-drivers-common (1:0.2.71.1) quantal-proposed; urgency=low * NvidiaDetector/nvidiadetector.py: - Make sure to never recommend experimental drivers (LP: #1070795). -- Alberto Milone Wed, 24 Oct 2012 16:42:19 +0200 ubuntu-drivers-common (1:0.2.71) quantal; urgency=low * tests/ubuntu_drivers.py: When calling PackageKit, retry up to 5 seconds on o.f.d.Error.ServiceUnknown, so that this also works reliably on our slow ARM builders. (LP: #1061748) -- Martin Pitt Fri, 05 Oct 2012 08:25:30 +0200 ubuntu-drivers-common (1:0.2.70) quantal; urgency=low * UbuntuDrivers/detect.py: Never recommend a driver which has "experiment" in the name, unless no other driver is available. -- Martin Pitt Thu, 04 Oct 2012 22:59:33 +0200 ubuntu-drivers-common (1:0.2.69) quantal; urgency=low * Drop share/last_gfx_boot, and stop installing it in setup.py. This file is created and updated at runtime and should not be shipped in the package. (LP: #1045629) * setup.py: Only install the upstart job on platforms where we build hybrid-detect. (LP: #1045193) * debian/rules: On architectures which do not ship hybrid-detect, generate a .maintscript helper to clean up the /etc/init/hybrid-gfx.conf upstart job conffile on upgrade. * tests/ubuntu_drivers.py: Add test for a video driver which supports multiple X.org video ABIs. Reproduces LP #1033222. * UbuntuDrivers/detect.py, _check_video_abi_compat(): Do not only consider the first xorg-video-abi-* dependency, but all of them. (LP: #1033222) -- Martin Pitt Thu, 06 Sep 2012 15:18:26 +0200 ubuntu-drivers-common (1:0.2.68) quantal; urgency=low * setup.py: Fix hybrid_detect installation. (LP: #1026787) -- Jason Conti Fri, 20 Jul 2012 05:45:14 +0200 ubuntu-drivers-common (1:0.2.67) quantal; urgency=low * setup.py: Install hybrid-detect through data_files instead of scripts, as the later stopped working with python 3.2.3-3 (see LP #1026016) -- Martin Pitt Wed, 18 Jul 2012 10:23:05 +0200 ubuntu-drivers-common (1:0.2.66) quantal; urgency=low * UbuntuDrivers/detect.py, system_device_drivers(): Add driver flag "manual_installed" if none of the driver packages are installed, but the corresponding kernel module is available. This usually means that the user installed the driver manually from upstream. (LP: #1025632) * share/fake-devices-wrapper: If $FAKE_INSTALLED_KMOD is set, run the wrapped program with a "modinfo" wrapper in $PATH which claims that the given kernel module name is available. This can be used to test the "manually installed driver" case. -- Martin Pitt Wed, 18 Jul 2012 09:29:59 +0200 ubuntu-drivers-common (1:0.2.65) quantal; urgency=low * UbuntuDrivers/detect.py, system_driver_packages(): Add 'recommended' flag to the nvidia-* and fglrx-* packages, which usually provide more than one package for a particular device. (LP: #1025315) * UbuntuDrivers/detect.py, auto_install_filter(): Filter out non-recommended packages, to avoid installing multiple versions of the NVidia or FGLRX driver. * UbuntuDrivers/detect.py: Change return value of detect_plugin_packages() to a plugin_name → [package, ...] map, so that we retain the plugin names. * UbuntuDrivers/detect.py: Add system_device_drivers() API to get a by-device view of drivers, plus OS builtin free alternatives (such as Nouveau). Add it to README as well. (LP: #1025323) * ubuntu-drivers: Add "device" command to show by-device drivers as reported by system_device_drivers(). -- Martin Pitt Tue, 17 Jul 2012 15:48:44 +0200 ubuntu-drivers-common (1:0.2.64) quantal; urgency=low * debian/control: Add pciutils and usbutilsl build/binary dependencies, so that pci-db and usb-db actually have some data files to work with. -- Martin Pitt Fri, 13 Jul 2012 11:08:02 +0200 ubuntu-drivers-common (1:0.2.63) quantal; urgency=low * debian/control: Add udev build/binary dependency, to ensure we have pci-db and usb-db. -- Martin Pitt Fri, 13 Jul 2012 10:52:46 +0200 ubuntu-drivers-common (1:0.2.62) quantal; urgency=low * debian/control: As the PackageKit apt backend is going away, drop the Conflicts to packagekit-backend-aptcc. Instead, recommend python3-aptdaemon.pkcompat and update the description to point out that the PackageKit API does not work with the aptcc backend. (LP: #1023953) * UbuntuDrivers.detect.py, system_driver_packages(): Add 'vendor' and 'model' fields for the human readable names from pci/usb databases. -- Martin Pitt Fri, 13 Jul 2012 10:41:12 +0200 ubuntu-drivers-common (1:0.2.61) quantal; urgency=low * NvidiaDetector/nvidiadetector.py: Fix crash if there is only one card. (LP: #1021305) * Add share/fake-devices-wrapper: Wrapper script to run a command under a mock sysfs tree which pretends to have an NVidia and ATI graphics card, and a Broadcom wifi card. This can be used for testing the new software-properties or other driver management software. -- Martin Pitt Thu, 12 Jul 2012 16:49:08 +0200 ubuntu-drivers-common (1:0.2.60) quantal; urgency=low * libudev uses $SYSFS_PATH, not $SYSFS. Fix test suite accordingly. * debian/tests/system: Raise a more specific exception if headers for the running kernel are not installed. Thanks to Jean-Baptiste Lallement for the intial patch! (LP: #1021386) -- Martin Pitt Fri, 06 Jul 2012 07:47:09 +0200 ubuntu-drivers-common (1:0.2.59) quantal; urgency=low * UbuntuDrivers/detect.py: Fix crash on non-ASCII characters in Xorg log. Adjust test case to reproduce this. (LP: #1020329). -- Martin Pitt Tue, 03 Jul 2012 12:38:39 +0200 ubuntu-drivers-common (1:0.2.58) quantal; urgency=low * Add detect-plugins/arm-gles.py, thanks Oliver Grawert! (LP: #1016006) * debian/tests/system: Add test for virtualbox-dkms. * debian/tests/system: Add test for sl-modem-dkms. -- Martin Pitt Tue, 26 Jun 2012 07:55:43 +0200 ubuntu-drivers-common (1:0.2.57) quantal; urgency=low * debian/tests/control: Drop undefined "no-build-needed" feature. * debian/tests/system: NVidia and FGLRX drivers produce some stderr output when installing the packages. Don't fail on them, but do show the output in the test suite. -- Martin Pitt Thu, 21 Jun 2012 08:32:59 +0200 ubuntu-drivers-common (1:0.2.56) quantal; urgency=low * UbuntuDrivers/detect.py: Add nvidia-* for automatic installation after discussion with Chris. The proprietary driver is still the better choice (if you click "proprietary 3rd party drivers" in Ubiquity) until Nouveau enables power management. * tests/ubuntu_drivers.py: Update test_auto_install_chroot() for above change, as nvidia now does get installed automatically. * Quirks/quirkapplier.py: Update to current xkit API: Call write(), not writeFile(). (LP: #1014728) * UbuntuDrivers/detect.py: Change system_modaliases() to return an alias → sysfs_path map, instead of just a list of aliases. * UbuntuDrivers/detect.py: Change system_driver_packages() to return a package → info map, instead of just a list of packages. UI can use the info to show which device requested a driver, whether it is free or proprietary, and whether it is a distro or third-party package. (LP: #1013665) * Fix fd leaks from subprocess in the test suite. * Add debian/tests/system and debian/tests/control: Add autopkg test to check that we can detect, install, and remove the nvidia, fglrx, and bcmwl drivers. Due to their nature of being compiled on the client side and depend on matching kernel headers/API, they are inherently a bit brittle and thus we should spot regressions immediately. -- Martin Pitt Wed, 20 Jun 2012 16:54:23 +0200 ubuntu-drivers-common (1:0.2.55) quantal; urgency=low [ Martin Pitt ] * UbuntuDrivers/detect.py: Auto-install virtualbox-guest-dkms. * UbuntuDrivers/PackageKit.py: If packagekit.enums is not available, fall back to aptdaemon.pkenums. This will allow us to move to Python3 without waiting for PackageKit. * Revert Dmitrijs' relative imports and move back to Python3 compatible absolute imports. * quirks-handler, setup.py: Move to Python 3 as well. [ Dmitrijs Ledkovs ] * NvidiaDetector/nvidiadetector.py: Use python3 compatible syntax. * Convert package to python3 only. -- Martin Pitt Thu, 14 Jun 2012 08:05:47 +0200 ubuntu-drivers-common (1:0.2.54) quantal; urgency=low * debian/control: depend on python-xkit (>= 0.5.0). * Quirks/quirkapplier.py, Quirks/quirkreader.py tests/quirkreader-test.py: - Add support for the new python-xkit API. -- Alberto Milone Fri, 08 Jun 2012 16:36:02 +0200 ubuntu-drivers-common (1:0.2.53) quantal; urgency=low * debian/control: Drop hard packagekit/aptdeamon dependencies, and move them to Suggests/Enhances. We do not need them for the core code, just for the PackageKit plugin. * UbuntuDrivers/PackageKit.py: Drop system_driver_packages(), as it is really not that useful: For UIs using the PackageKit API you cannot call it, and for Ubuntu specific UIs you can use the faster UbuntuDrivers.detect API. Instead, provide the functionality through the WhatProvides(HARDWARE_DRIVER, "drivers_for_attached_hardware") call, which is defined in PackageKit. Adjust tests accordingly. * debian/control: Update description. * debian/control: Drop obsolete XB-Python-Version. * debian/control: Move packagekit-backend-aptcc from Breaks to Conflicts, as it is unversioned. * UbuntuDrivers/PackageKit.py: Add pkcon example for HARDWARE_DRIVERS to header comment. * UbuntuDrivers/detect.py, packages_for_modalias(): Avoid returning the same package multiple times. * Add README: Document purpose, interfaces, and detection logic. * Add debian/ubuntu-drivers-common.apport: Apport hook to include the output of "ubutu-drivers debug". Add dh-apport build dependency and enable in debian/rules. * Add dh-modaliases, moved from the obsolete Jockey package: - Add debhelper/dh_modaliases: Debhelper program to produce a ${modaliases} substvar from scanning .ko files or debian/packagename.modaliases. - Add debhelper/modaliases.pm: dh_auto sequencer for dh_modaliases. - Add debian/dh-modaliases.install: Install above files. - debian/control: Add dh-modaliases package. - debian/rules: Create manpage from dh_modaliases POD. * Add debhelper/test_dh_modaliases: Old test script for dh_modaliases from Jockey. This is not integrated into "make check" and uses the snd_hda_intel kernel module from the system; this needs to be run manually for now. * debian/rules: Respect "nocheck" in $DEB_BUILD_OPTIONS. -- Martin Pitt Thu, 31 May 2012 10:35:26 +0200 ubuntu-drivers-common (1:0.2.52) quantal; urgency=low * ubuntu-drivers: Add --package-list option to create a file with the list of installed packages in "autoinstall" mode. * Add ubiquity/target-config/31ubuntu_driver_packages: Ubiquity plugin to install all packages that "ubuntu-drivers autoinstall" installed into the live system. Install it in setup.py. * ubuntu-drivers: Stop meddling with the debconf environment variables. It is wrong (and too late anyway for Ubiquity) to do it here. The complete environment setting is now done in Ubiquity's simple-plugins. -- Martin Pitt Tue, 29 May 2012 16:00:21 +0200 ubuntu-drivers-common (1:0.2.51) quantal; urgency=low * detect-plugins/sl-modem.py: Do not log an exception when /proc/asound/cards does not exist (such as in the buildds), as it causes the test_plugin_errors test to fail. -- Martin Pitt Tue, 29 May 2012 10:24:51 +0200 ubuntu-drivers-common (1:0.2.50) quantal; urgency=low * debian/control: Add alsa-utils build and binary dependency, so that the sl-modem handler can call aplay. -- Martin Pitt Tue, 29 May 2012 09:49:10 +0200 ubuntu-drivers-common (1:0.2.49) quantal; urgency=low * Fix exception, print, and assert syntax to be Python 3 compatible. * Fix octal number and iteration syntax to be Python 3 compatible. * Add .gitignore to ignore built stuff. * tests/run: Clean up generated settings.py file on exit. * Add detect-plugins/sl-modem.py: Custom detect plugin for the sl-modem-daemon special case (formerly handled by Jockey's sl_modem.py handler). * debian/rules: Simplify running the tests. * tests/ubuntu_drivers.py: Fix temporary log level changing. -- Martin Pitt Tue, 29 May 2012 08:36:29 +0200 ubuntu-drivers-common (1:0.2.48) quantal; urgency=low * ubuntu-drivers: Fix duplicate system modalias debug messages. * UbuntuDrivers/detect.py: Disable two debug messages which cause excessive debug log spew and are not very interesting. * ubuntu-drivers autoinstall: Do not reinstall already installed drivers. * Add detect-plugins/open-vm-dkms.py: Custom detect plugin for the open-vm-dkms special case (formerly handled by Jockeys' vmware-client.py handler). * setup.py: Install detect-plugins/*. * tests/ubuntu_drivers.py: Add PluginsTest to check that shipped plugins work without errors or crashes. * UbuntuDrivers/detect.py, _check_video_abi_compat(): Disable NVidia driver if X.org's log shows that the Intel driver is loaded. This prevents breaking hybrid systems as long as the NVidia driver and X.org do not work on those. * debian/ubuntu-drivers-common.templates: Drop trailing whitespace, to stop lintian from complaining. * debian/control: Add missing ${misc:Depends} to transitional package. * debian/control: Add missing ${shlibs:Depends} for hybrid-detect. * debian/control: Set priority of the nividia-common transitional package to "extra" to quiesce lintian. -- Martin Pitt Fri, 25 May 2012 13:58:21 +0200 ubuntu-drivers-common (1:0.2.47) quantal; urgency=low * UbuntuDrivers/detect.py, system_modaliases(): Catch/log IOErrors when trying to open "modalias" files in /sys. On powerpc we get a "No such device" error on some files, causing test failures. * tests/ubuntu_drivers.py, ToolTest: Explicitly set --log in the chroot's DPKG::options::. The buildds seem to have a dpkg configuration which needs that, otherwise it's trying to write into the system log file. -- Martin Pitt Fri, 25 May 2012 06:54:13 +0200 ubuntu-drivers-common (1:0.2.46) quantal; urgency=low * Rename to ubuntu-drivers-common, as this package is already necessary for fglrx as well, and will soon get support for more drivers (replacing Jockey). Update file references and names everywhere, and drop the obsolete debian/README.Debian and debian/nvidia-common.preinst. * debian/control: Fix for current python packaging policy (XS- → X-), and drop obsolete debian/pycompat. * debian/control: Add Vcs-* tags. * setup.py: Move from distutils to setuptools, to get an egg info (needed to provide PackageKit plugins). Add python-setuptools build dependency. * Add tests/fakesysfs.py: Provide a fake sysfs directory for testing. Adapted from upower's integration test suite. * Add tests/testarchive.py: Class for building an apt archive with test packages. * Add UbuntuDrivers/detect.py, tests/ubuntu_drivers.py: Hardware/driver detection functionality. These are borrowed and streamlined from Jockey. * Add aptdaemon/PackageKit (apt backend) plugin for what-provides MODALIAS: - Add UbuntuDrivers/PackageKit.py: The actual plugin, which checks the query against the patterns packages specify in their "Modaliases:" header. Also provides a system_driver_packages() function to get all driver packages applicable for the system. - setup.py: Install the new UbuntuDrivers Python package and register the plugin entry point. - tests/ubuntu_drivers.py: Add tests cases for UbuntuDrivers.PackageKit, using a test aptdaemon instance on a local session bus. - debian/control: Add python-aptdaemon.pkcompat dependency. Also specify packagekit as an alternative, but conflict to packagekit-backend-aptcc for now, as this does not support the MODALIAS what-provides query, nor plugins. This means that you cannot currently install this package together with packagekit as long as the latter hard-depends on the aptcc backend. Also add aptdaemon/dbus build dependencies to be able to run the tests during build time. * tests/run: Exit with a nonzero code if there are failures or errors. * debian/rules: Ensure that our egg-info is built before running the tests, and removed again on clean. * debian/copyright: Rewrite using copyright 1.0 format. * Add ubuntu-drivers: Command line tool to list available driver packages for this system and auto-install them. This replaces the functionality of "jockey-text --auto-install". This does not use any D-BUS communication, so is safe to run in chroots. * debian/control: Switch to Architecture: any, we are already building this package anywhere but powerpc. * setup.py: Remove commented code for updating .mo files. This package is not supposed to show user-visible strings, and if we ever get them it should rather use python-distutils-extra. * setup.py: Only build hybrid-detect on x86 machines. * debian/control: Bump Standards-Version to 3.9.3. -- Martin Pitt Thu, 24 May 2012 18:22:53 +0200 nvidia-common (1:0.2.45) quantal; urgency=low * Don't write to /usr/share for hybrid graphics detection, use /var/lib instead (LP: #976779). -- Alberto Milone Tue, 15 May 2012 14:30:07 +0200 nvidia-common (1:0.2.44) precise; urgency=low [ Ricardo Salveti de Araujo ] * Make it possible to use nvidia-common with arm/gles drivers (LP: #977245). -- Alberto Milone Tue, 10 Apr 2012 11:33:06 +0200 nvidia-common (1:0.2.43) precise; urgency=low * Do not apply multiple quirks when facing multiple values for a tag. This was causing nvidia-common to apply quirks that are not specific to the hardware in use. * Make sure never to add quirks without an id. * Improve test 3 and 4 of the test suite: - Add testcase for matching multiple products at the same time. - Make sure to parse config files in the quirks directory. - Change the name of the handlers used in the tests so that they don't conflict with the ones in the quirks files. -- Alberto Milone Fri, 06 Apr 2012 18:22:23 +0200 nvidia-common (1:0.2.42) precise; urgency=low * Fix broken hybrid-gfx upstart job. -- Stéphane Graber Thu, 22 Mar 2012 16:38:16 -0400 nvidia-common (1:0.2.41) precise; urgency=low * Add a test suite and run it at build time with dh_auto_test. * Work correctly when the pipe symbol is used in "Match" tags. This symbol only worked when used in the "Handler" tag. Both test cases are covered in the test suite. -- Alberto Milone Mon, 12 Mar 2012 12:30:52 +0100 nvidia-common (1:0.2.40) precise; urgency=low * Add quirks to get brightness keys to work on Lenovo T420s (LP: #773710) and on Dell Latitude E6530 (LP: #914069) when using NVIDIA's proprietary driver. -- Alberto Milone Thu, 08 Mar 2012 11:30:56 +0100 nvidia-common (1:0.2.39) precise; urgency=low * Re-enable support for Hybrid Graphics now that the driver packages are fixed. -- Alberto Milone Sat, 18 Feb 2012 09:48:35 +0100 nvidia-common (1:0.2.38) precise; urgency=low * Add support for Hybrid graphics, disabled by default for now. -- Alberto Milone Wed, 15 Feb 2012 18:04:29 +0100 nvidia-common (1:0.2.37) precise; urgency=low * Quirks, quirks-handler: - Add module and script to create quirks for graphics drivers. -- Alberto Milone Fri, 03 Feb 2012 13:57:10 +0100 nvidia-common (1:0.2.36) precise; urgency=low * NvidiaDetector/alternatives.py: - Add optional ignore_pattern argument to get_alternative_by_name. This argument allows ignoring a substring in the name. This is required in the case of fglrx and fglrx-updates which share the same master link name (LP: #873058). -- Alberto Milone Wed, 16 Nov 2011 17:04:21 +0100 nvidia-common (1:0.2.35) oneiric; urgency=low * NvidiaDetector/alternatives.py: - Return the correct alternative when dealing with "updates" driver flavours in get_alternative_by_name(). This allows Jockey to correctly detect the alternatives provided by different drivers (LP: #841462). -- Alberto Milone Wed, 07 Sep 2011 10:59:20 +0200 nvidia-common (1:0.2.34) oneiric; urgency=low * debian/nvidia-common.preinst: - Use dpkg-maintscript-helper to remove conffiles. -- Alberto Milone Thu, 25 Aug 2011 12:36:19 +0200 nvidia-common (1:0.2.33) oneiric; urgency=low * debian/nvidia-common.preinst: - Make sure to remove any leftover kernel hooks from nvidia-common. * debian/nvidia-common.postinst: - Disable the debconf interface. -- Alberto Milone Wed, 17 Aug 2011 16:59:06 +0200 nvidia-common (1:0.2.32) oneiric; urgency=low * NvidiaDetector/alternatives.py: - Remove trailing whitespace. * NvidiaDetector/nvidiadetector.py: - Remove trailing whitespace. - Ignore "-updates" flavours and recommend only stable flavours. This fixes a crash in the nvidia detector. * setup.py: - Disable kernel hooks. -- Alberto Milone Fri, 12 Aug 2011 17:33:04 +0200 nvidia-common (1:0.2.31) oneiric; urgency=low * NvidiaDetector/alternatives.py: - Replace __ with _ for private methods. - Make Alternatives a new-style class. - Add MultiArchUtils class so that Jockey can get the names of multi-arch alternatives (LP: #798049). -- Alberto Milone Fri, 24 Jun 2011 18:11:31 +0200 nvidia-common (1:0.2.30+1) oneiric; urgency=low * Add epoch to override the sync. The packages in Debian and Ubuntu have the same name but different code and scope (LP: #792576). -- Alberto Milone Sat, 04 Jun 2011 12:13:27 +0200 nvidia-common (0.2.30) natty; urgency=low * debian/control: - Set the section to "admin" so that vrms doesn't complain about the package even though it contains only free software (LP: #745904). -- Alberto Milone Wed, 06 Apr 2011 17:15:51 +0200 nvidia-common (0.2.29) natty; urgency=low * NvidiaDetector/nvidiadetector.py: - Strip the architecture from the package name. This makes sure we extract the driver flavour correctly (LP: #752101). -- Alberto Milone Wed, 06 Apr 2011 16:23:15 +0200 nvidia-common (0.2.28) natty; urgency=low * debian/control: Add conflicts/replaces to the old -modalias packages, to clean them up. They are causing unwanted and nonworking driver offerings. (LP: #717776) -- Martin Pitt Mon, 07 Mar 2011 18:59:10 +0100 nvidia-common (0.2.27) natty; urgency=low * nvidia-detector: - Initialise NvidiaDetection() with verbose=False. This should avoid problems when dealing with debconf (LP: #698327). -- Alberto Milone Tue, 18 Jan 2011 18:15:44 +0100 nvidia-common (0.2.26) natty; urgency=low * NvidiaDetector/nvidiadetector.py: Fix __get_value_from_name() to only convert the string to an int if we don't have an explicit override. (LP: #692022) * debian/nvidia-common.postinst: When calling nvidia-detector, only consider the last line, to ignore other messages before the "None". (LP: #692096) * debian/control: Add missing ${misc:Depends}. * debian/control, debian/rules, debian/compat: Move to "dh", compat level 7, and build with dh_python2, which greatly simplifies the build system. * debian/control: Set Maintainer to standard "ubuntu developers". * debian/nvidia-common.config: Add missing set -e, thanks lintian. * debian/nvidia-common.postinst: Drop obsolete upgrade handling. * Use "3.0 (quilt)" source package format. * debian/control: Bump Standards-Version to 3.9.1. -- Martin Pitt Sun, 19 Dec 2010 11:29:51 +0100 nvidia-common (0.2.25) natty; urgency=low * NvidiaDetector/nvidiadetector.py: Drop code to read /usr/share/jockey/modaliases, and scan for "Modaliases:" package headers instead. Add dependency to python-apt. * debian/control: Drop Vcs-Bzr:. That branch is ancient, and we should use lp:ubuntu/nvidia-common now anyway. -- Martin Pitt Sat, 18 Dec 2010 20:27:26 +0100 nvidia-common (0.2.24build1) natty; urgency=low * Rebuild with python 2.7 as the python default. -- Matthias Klose Wed, 08 Dec 2010 13:08:06 +0000 nvidia-common (0.2.24) maverick; urgency=low * NvidiaDetector/alternatives.py: - Call "dpkg --configure -a" after using dpkg-trigger so that the cache is regenerated (LP: #548751). -- Alberto Milone Thu, 23 Sep 2010 15:37:27 +0200 nvidia-common (0.2.23) lucid; urgency=low * Drop unnecessary dependency on fglrx-modaliases. It will be pulled in from jockey's recommends (and be removable then). -- Mario Limonciello Fri, 02 Apr 2010 10:34:06 -0500 nvidia-common (0.2.22) lucid; urgency=low * debian/control: - Add dependency on fglrx-modaliases. * debian/nvidia-common.config: - Put back the config script with only one line to source debconf so that the template file is loaded when nvidia-common is triggered by kernel hooks (LP: #533970). Thanks to Colin Watson for the advice. * NvidiaDetector/alternatives.py: - Add the update_gmenu method and call it in set_alternative so that the gnome menu is updated when we switch between drivers (LP: #548751). - Add the resolve_module_alias method so as to retrieve the module name from the alias (relevant to #547066). -- Alberto Milone Mon, 15 Mar 2010 16:44:17 +0100 nvidia-common (0.2.21) lucid; urgency=low * Make sure that /etc/modprobe.d/lrm-video is removed so that it doesn't interfere with nvidia (LP: #467490). * debian/nvidia-common.postinst: - Remove db_stop as suggested by Colin Watson, as it can do more harm than good there. - Move the debconf part into the postinst and get rid of the config script (which was run before nvidia-common was configured, with unpredictable results). Thanks to Colin Watson for the advice. - Don't test the existence of nvidia-detector. * share/obsolete: - Add nvidia-glx-{190|195} so as to take care of packages from PPAs. -- Alberto Milone Wed, 03 Mar 2010 13:13:51 +0100 nvidia-common (0.2.20) lucid; urgency=low * NvidiaDetector/alternatives.py: - Make sure that the PATH environment variable is set so that subprocess knows where to find binaries in /sbin (LP: #518879). -- Alberto Milone Tue, 16 Feb 2010 16:35:35 +0100 nvidia-common (0.2.19) lucid; urgency=low * NvidiaDetector/alternatives.py: - Call ldconfig after setting an alternative. -- Alberto Milone Thu, 04 Feb 2010 15:10:19 -0800 nvidia-common (0.2.18) lucid; urgency=low * NvidiaDetector/alternatives.py: - Set self.__open_drivers_alternative to 'mesa/ld.so.conf' so as to adapt to the fact that the alternative lives in mesa now. - Do not pass arguments to the list_alternatives method. - Use subprocess.check_call instead of .call so as to get the exit status in addition to the return code. -- Alberto Milone Tue, 19 Jan 2010 17:18:45 +0100 nvidia-common (0.2.17) lucid; urgency=low * setup.py: - Add pre-inst hook for the NVIDIA installer as the latter may interact badly with the Ubuntu packages(LP: #317703). * NvidiaDetector/nvidiadetector.py: - Handle driver flavours which have strings (instead of integers in their name). * NvidiaDetector/alternatives.py: - Alternatives class to get the list of alternatives and to get and set the alternative in use. * nvidia-common: - ${LATEST} should have quotation marks (LP: #505855). -- Alberto Milone Mon, 11 Jan 2010 18:13:11 +0100 nvidia-common (0.2.16) lucid; urgency=low * debian/control:: - Depends on nvidia-current-modaliases since 185 is no longer used. -- Mario Limonciello Sun, 10 Jan 2010 14:45:14 -0800 nvidia-common (0.2.15.1) karmic-proposed; urgency=low * debian/postinst: - remove leftover /etc/modprobe.d/lrm-video (LP: #459829) -- Michael Vogt Tue, 27 Oct 2009 17:09:34 +0100 nvidia-common (0.2.15) karmic; urgency=low * debian/control: - Drop dependency on nvidia-180-modaliases. - Add dependency on nvidia-185-modaliases. -- Alberto Milone Wed, 19 Aug 2009 19:25:51 +0200 nvidia-common (0.2.14) karmic; urgency=low * Revert previous change, -185 is still in NEW. -- Steve Kowalik Wed, 12 Aug 2009 15:37:12 +1000 nvidia-common (0.2.13) karmic; urgency=low * debian/control: - Drop dependency on nvidia-180-modaliases. - Add dependency on nvidia-185-modaliases. -- Alberto Milone Sat, 08 Aug 2009 19:23:16 +0200 nvidia-common (0.2.12) karmic; urgency=low * debian/control: - Drop dependency on nvidia-71-modaliases. * NvidiaDetector/nvidiadetector.py: - Use a text file in /usr/share/nvidia-common/ instead of hardcoding the list of obsolete packages in the program. - Add "obsolete" optional argument to the ctor so as to allow to change the default path to the list of obsolete packages. - Catch IOError if the path to the modalias files does not exist. - Flush stdout before printing (LP: #292606). * nvidia-common: - Prevent the script from failing when $LATEST is null. * setup.py: - Install share/obsolete to /usr/share/nvidia-common. * share/obsolete: - Add nvidia-glx-71. -- Alberto Milone Fri, 24 Jul 2009 17:03:18 +0200 nvidia-common (0.2.11) jaunty; urgency=low * do not sys.exit(0) in NvidiaDetection.__init__() but raise a exception instead (this code is imported by update-manager and the exit(0) exits it) -- Michael Vogt Mon, 20 Apr 2009 10:50:40 +0200 nvidia-common (0.2.10) jaunty; urgency=low * NvidiaDetector/nvidiadetector.py: - Exit without an error exit status in NvidiaDetection.__init__() so as not to break dist-upgrades if the modaliases are not installed (LP: #303825). * debian/rules: - Add "--install-layout=deb" to make sure that nvidia-detector is installed in /usr/bin/ instead of /usr/local/bin. -- Alberto Milone Tue, 14 Apr 2009 15:54:28 +0200 nvidia-common (0.2.9) jaunty; urgency=low * Include the symlinks in the package. -- Matthias Klose Tue, 24 Feb 2009 22:41:02 +0100 nvidia-common (0.2.8) jaunty; urgency=low * debian/rules: add "export DH_PYCENTRAL=nomove" to avoid problems with dist-upgrades. -- Alberto Milone (tseliot) Thu, 19 Feb 2009 14:39:36 +0100 nvidia-common (0.2.7) jaunty; urgency=low * NvidiaDetector/nvidiadetector.py: - add nvidia-glx-177 to the "oldPackages" list since 177 is no longer available in Jaunty. - make sure that drivers which have the modaliases and are in oldPackages are ignored. -- Alberto Milone (tseliot) Wed, 04 Feb 2009 12:09:26 +0100 nvidia-common (0.2.6) jaunty; urgency=low * debian/control: - Drop dependency on nvidia-177-modaliases since it's not compatible with Jaunty's X ABI. - Add Vcs-Bzr -- Alberto Milone (tseliot) Fri, 30 Jan 2009 18:14:19 +0100 nvidia-common (0.2.5) jaunty; urgency=low * debian/control: - Now that the 180 series of drivers is stable, depend on the 180 modaliases. -- Mario Limonciello Thu, 08 Jan 2009 15:18:19 -0600 nvidia-common (0.2.4) intrepid; urgency=low * Do not raise an exception if self.drivers is empty (LP: #272196) -- Alberto Milone (tseliot) Mon, 06 Oct 2008 14:51:17 +0200 nvidia-common (0.2.3) intrepid; urgency=low * Move the hard work in debian/rules to binary-arch now that we're architecture-dependent. -- Colin Watson Wed, 27 Aug 2008 15:37:20 +0100 nvidia-common (0.2.2) intrepid; urgency=low * Set Architecture to i386 amd64 in debian/control * Move Build-Depends-Indep to Build-Depends in debian/control -- Alberto Milone (tseliot) Wed, 27 Aug 2008 15:14:18 +0200 nvidia-common (0.2.1) intrepid; urgency=low * add missing depends on pciutils -- Michael Vogt Fri, 25 Jul 2008 11:12:47 +0200 nvidia-common (0.2) intrepid; urgency=low * Native version -- Alberto Milone (tseliot) Tue, 22 Jul 2008 12:21:25 +0200 nvidia-common (0.1-0ubuntu12) intrepid; urgency=low * Bump for PPA -- Alberto Milone (tseliot) Tue, 15 Jul 2008 15:11:51 +0200 nvidia-common (0.1-0ubuntu11) intrepid; urgency=low * Change the regex pattern so as to make use of the new pattern in the modalias files -- Alberto Milone (tseliot) Tue, 15 Jul 2008 11:48:03 +0200 nvidia-common (0.1-0ubuntu10) intrepid; urgency=low * Drop CDBS in favour of python-central due to a bug in CDBS * Check the existence of /usr/share/jockey/modaliases * See if the modaliases files contain something useful -- Alberto Milone (tseliot) Mon, 14 Jul 2008 17:47:35 +0200 nvidia-common (0.1-0ubuntu9) intrepid; urgency=low * Switch to python-support * nvdia-common and the config file should point to the executable file in /usr/bin -- Alberto Milone (tseliot) Sun, 13 Jul 2008 13:54:20 +0200 nvidia-common (0.1-0ubuntu8) intrepid; urgency=low * Add dependency on the nvidia-VER-modaliases packages -- Alberto Milone (tseliot) Sun, 13 Jul 2008 12:29:53 +0200 nvidia-common (0.1-0ubuntu7) intrepid; urgency=low * Remove makefile -- Alberto Milone (tseliot) Sat, 12 Jul 2008 16:35:06 +0200 nvidia-common (0.1-0ubuntu6) intrepid; urgency=low * Correct DOMAIN in makefile -- Alberto Milone (tseliot) Sat, 12 Jul 2008 15:42:05 +0200 nvidia-common (0.1-0ubuntu5) intrepid; urgency=low * Add build dependency on python2.4 -- Alberto Milone (tseliot) Sat, 12 Jul 2008 15:18:05 +0200 nvidia-common (0.1-0ubuntu4) intrepid; urgency=low * Add missing build dependency on the Python versions -- Alberto Milone (tseliot) Sat, 12 Jul 2008 13:46:14 +0200 nvidia-common (0.1-0ubuntu3) intrepid; urgency=low * Put nvidia-common also in /etc/kernel/postinst.d/ so that it's triggered when a new kernel is installed too. -- Alberto Milone (tseliot) Sat, 12 Jul 2008 13:21:08 +0200 nvidia-common (0.1-0ubuntu2) hardy; urgency=low * Switch to CDBS * Make it possible for nvidiadetector to be imported by other Python applications such as Update-Manager -- Alberto Milone (tseliot) Sat, 12 Jul 2008 12:48:15 +0200 nvidia-common (0.1-0ubuntu1) intrepid; urgency=low * First release. -- Alberto Milone (tseliot) Thu, 10 Jul 2008 15:13:50 +0200 Fetched 66.8 kB in 0s (267 kB/s)