This update broke my system Dell Precision M6800 with Nvidia Quadro K3100M.
prime-select intel/nvidia shows:

Traceback (most recent call last):
  File "/usr/bin/prime-select", line 398, in <module>
    if not switcher.enable_profile(arg):
  File "/usr/bin/prime-select", line 323, in enable_profile
    egl_alternatives = self._get_current_egl_alternative()
  File "/usr/bin/prime-select", line 219, in _get_current_egl_alternative
    return self._get_current_alternative(self._egl_switcher, 
self._egl_switcher_other)
  File "/usr/bin/prime-select", line 211, in _get_current_alternative
    alternatives[1] = self._simplify_gl_alternative_name(raw_alternative_other)
  File "/usr/bin/prime-select", line 185, in _simplify_gl_alternative_name
    return alternative.split('/')[-2]
IndexError: list index out of range

/var/log/gpu-manager.log:
log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /run/u-d-c-fglrx-was-loaded file
Looking for fglrx modules in /lib/modules/4.4.0-51-generic/updates/dkms
Looking for nvidia modules in /lib/modules/4.4.0-51-generic/updates/dkms
Found nvidia module: nvidia_370_modeset.ko
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is fglrx loaded? no
Was fglrx unloaded? no
Is fglrx blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is fglrx kernel module available? no
Is nvidia kernel module available? yes
Vendor/Device Id: 8086:416
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:11b6
BusID "PCI:1@0:0:0"
Is boot vga? no
Skipping "/dev/dri/card1", driven by "i915"
Skipping "/dev/dri/card0", driven by "nvidia-drm"
Skipping "/dev/dri/card1", driven by "i915"
Skipping "/dev/dri/card0", driven by "nvidia-drm"
Skipping "/dev/dri/card1", driven by "i915"
Skipping "/dev/dri/card0", driven by "nvidia-drm"
Found "/dev/dri/card1", driven by "i915"
output 0:
        card1-eDP-1
Number of connected outputs for /dev/dri/card1: 1
Does it require offloading? yes
last cards number = 1
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
The number of cards has changed!
Has the system changed? Yes
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
Current alternative: /usr/lib/nvidia-370-prime/ld.so.conf
Current core alternative: (null)
Current egl alternative: /usr/lib/x86_64-linux-gnu/mesa-egl/ld.so.conf
Is nvidia enabled? no
Is nvidia egl enabled? no
Is fglrx enabled? no
Is mesa enabled? no
Is mesa egl enabled? yes
Is pxpress enabled? no
Is prime enabled? yes
Is prime egl enabled? no
Is nvidia available? yes
Is nvidia egl available? no
Is fglrx available? no
Is fglrx-core available? no
Is mesa available? yes
Is mesa egl available? yes
Is pxpress available? no
Is prime available? yes
Is prime egl available? no
System configuration has changed
Intel IGP detected
Intel hybrid system
Nvidia driver version 370.28 detected
/sys/class/dmi/id/product_version="00"
/sys/class/dmi/id/product_name="Precision M6800"
1st try: bbswitch without quirks
Loading bbswitch with "load_state=-1 unload_state=1" parameters
Removing xorg.conf. Path: /etc/X11/xorg.conf
Moved /etc/X11/xorg.conf to /etc/X11/xorg.conf.12062016
Powering off the discrete card
Disabling persistence mode
Unloading nvidia-uvm with "no" parameters
Unloading nvidia-drm with "no" parameters
Unloading nvidia-modeset with "no" parameters
Unloading nvidia with "no" parameters

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-prime in Ubuntu.
https://bugs.launchpad.net/bugs/1642662

Title:
  SRU request: handle EGL alternatives and use different drivers for the
  LTS stacks

Status in HWE Next:
  Fix Released
Status in nvidia-prime package in Ubuntu:
  Fix Released
Status in ubuntu-drivers-common package in Ubuntu:
  Fix Released
Status in nvidia-prime source package in Trusty:
  Fix Released
Status in ubuntu-drivers-common source package in Trusty:
  Fix Released

Bug description:
  SRU Request:

  [Impact]
  A recent security update of the nvidia driver provided new EGL libraries and 
new kernel modules (such as nvidia-modeset and nvidia-drm), which are not 
handled by the current gpu-manager (ubuntu-drivers-common) and nvidia-prime in 
14.04. This problem is fixed in Xenial or newer.

  ubuntu-drivers-common also does not distinguish between the different
  LTS stacks, and this is a major problem on Intel+Nvidia hybrid
  systems, as anything running stacks older than 14.04.5 will require
  using the intel driver with SNA acceleration, whereas the rest should
  use the modesetting driver. Boot parameters can also be passed to use
  other driver combinations (for unsupported use cases).

  [Test Case]
  1) Enable the trusty-proposed repository, and install the 
ubuntu-drivers-common and the nvidia-prime packages.

  2) Install the nvidia driver.

  3) 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

  [Regression Potential]
  Low, the above mentioned changes are already in Yakkety (and most of them 
have been in Xenial since its release).

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to