gpu-manager writes wrong driver in xorg.conf fro nvidia-prime

Bug #1419507 reported by Pelle Johnsen
76
This bug affects 16 people
Affects Status Importance Assigned to Milestone
ubuntu-drivers-common (Ubuntu)
Invalid
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

The driver for the intel part of xorg.conf should be modesetting instead of intel, see also: https://askubuntu.com/questions/580693/black-screen-when-in-nvidia-mode-after-updating-to-kernel-3-13-0-45

From what I can see this is set here: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/ubuntu-drivers-common/trusty-proposed/view/head:/share/hybrid/gpu-manager.c#L1588

I am seeing this on a trusty system with nvidia-346 driver on both 3.16 and 3.13 kernels.

The end result of doing this worng is that system boots up with black screen.

As a workaround I have commented out gpu-manager in /etc/init/gpu-manager.conf (when starting lightdm) and in /sbin/prime-switch (when stopping lightdm).

Revision history for this message
Nikola Vidovic (dzany) wrote :

I confirm it. 3.16 kernel, nvidia-346 driver, Optimus Nvidia driver

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-drivers-common (Ubuntu):
status: New → Confirmed
Revision history for this message
Radoslav Fatura (rtheren) wrote :

Confirming issue. Had to use the fix in the description. Ubuntu 14.04.2, nvidia 346, kernel 3.13.0-45

Revision history for this message
Cameron Martin (cameronmartin123) wrote :

This is also the case with the nvidia-349 driver.

Revision history for this message
Ville Ranki (ville-ranki) wrote :

This still happens on 15.04. I have a ThinkPad E540 with Optimus graphics. Plugging in a HDMI display causes display to go blank.

I found this blog posting which explains that the issue is related to gpu-manager not working correctly:

http://vxlabs.com/2015/02/05/solving-the-ubuntu-14-04-nvidia-346-nvidia-prime-black-screen-issue/

This bug is a serious for people using laptops with NVidia Optimus as it's not possible to connect a HDMI monitor to the device. The solution in post above is way too complicated to be a good workaround.

Revision history for this message
Alberto Milone (albertomilone) wrote :

This is really a bug in the intel driver, which usually works well with the nvidia driver. Also, to disable gpu-manager, there's no need to touch the upstart job (/etc/init/gpu-manager.conf), all you have to do is boot with the "nogpumanager" kernel parameter.

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Changed in ubuntu-drivers-common (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Peng (pengwg) wrote :

Has there any update for this bug or is there a bug tracker for the Intel driver?

Revision history for this message
John Ross (johnross-johnross) wrote :

I just ran into this issue yesterday with a fresh install of Xubuntu 14.04.4 on a machine with nVidia 650m video. I can blindly type in password and then get to lightdm session when in nVidia mode. Switching to Intel mode the login works as it should. I'm able to run this way for now, but it's a show stopper issue for the average user.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.