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

Bug #1419507 reported by Pelle Johnsen on 2015-02-08
76
This bug affects 16 people
Affects Status Importance Assigned to Milestone
ubuntu-drivers-common (Ubuntu)
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
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).

Nikola Vidovic (dzany) wrote :

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

Launchpad Janitor (janitor) wrote :

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

Changed in ubuntu-drivers-common (Ubuntu):
status: New → Confirmed

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

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

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.

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
Peng (pengwg) wrote :

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

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  Edit
Everyone can see this information.

Other bug subscribers