← Back to team overview

desktop-packages team mailing list archive

[Bug 1449560] Re: Cannot login with Nvidia Optimus hardware installed(Ubuntu 15.04)

 

It really seems to be related to drm for i915 driver when switching to
nvidia via prime-select and login via lightdm. The Xorg.0.log shows an
error like:

[    25.199] (EE) intel(G1): [drm] failed to set drm interface version: Permission denied [13].
[    25.199] (II) intel(G1): [drm] Contents of '/sys/kernel/debug/dri/0/clients':
[    25.199] (II) intel(G1): [drm]              command   pid dev master a   uid      magic
[    25.199] (II) intel(G1): [drm]                 Xorg  2173   0   y    y     0          0
[    25.199] (II) intel(G1): [drm]                 Xorg  2173   0   n    y     0          0
[    25.199] (EE) intel(G1): Failed to claim DRM device.

I found a thread with an alternative workaround:
http://vxlabs.com/2015/02/05/solving-the-ubuntu-14-04-nvidia-346-nvidia-prime-black-screen-issue/
by switching the intel driver to modesetting in xorg.conf and preventing the gpu-manager from reverting. But I'm not really interested in doing a manual hack every time I want to switch.
I hope this will be fixed soon, at the latest when switching to "wily".

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1449560

Title:
  Cannot login with Nvidia Optimus hardware installed(Ubuntu 15.04)

Status in xserver-xorg-video-intel package in Ubuntu:
  Confirmed

Bug description:
  I have Nvidia Optimus GT415M hardware on my laptop.

  I've upgraded my Ubuntu 14.10 where everything was working fine with
  Nvidia Optimus  to Ubuntu 15.04 and now I cannot login. After I type
  the password login screen comes back again.

  I did complete reinstall of NVidia packages and installed new
  nvidia-346 package from Ubuntu repo.

  Looking at Xorg.0.log I see this message:
  [   120.353] (EE) intel(G1): [drm] failed to set drm interface version: Permission denied [13].
  [   120.353] (II) intel(G1): [drm] Contents of '/sys/kernel/debug/dri/0/clients':
  [   120.353] (II) intel(G1): [drm] a dev	pid    uid	magic
  [   120.354] (II) intel(G1): [drm] 
  [   120.354] (II) intel(G1): [drm] y   0  2996     0          0
  [   120.354] (II) intel(G1): [drm] y   0  2996     0          0
  [   120.354] (EE) intel(G1): Failed to claim DRM device.

  And I have found thread regarding this problem on
  https://devtalk.nvidia.com/default/topic/816599/prime-switching-to-
  nvidia-creates-black-screen/. So looks like hardware similar to mine
  need a new version of xserver-xorg-video-intel.

  Could you please help with this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1449560/+subscriptions


References