Nvidia video output doesn't work on nvidia-prime (Optimus laptop)

Bug #1283439 reported by Aneesh Neelam
48
This bug affects 11 people
Affects Status Importance Assigned to Milestone
nvidia-prime (Ubuntu)
High
Unassigned

Bug Description

My laptop is the Dell XPS 15 L502X
Nvidia Optimus laptop

GPUs:
Intel HD Graphics 3000
Nvidia GT 540M

Installed nvidia-prime on trusty on kernel 3.13, getting a black screen when Nvidia enabled.
No video is output to screen when using Nvidia GPU.

Must switch to VT and uninstall nvidia drivers, restart lightdm service, reinstall nvidia drivers, disable Nvidia GPU from nvidia-settings and reboot.
On Intel GPU, it works fine.

The nvidia-prime setup worked well on kernel 3.12, but on upgrade to kernel 3.13 it stopped working.
Used nvidia-331-updates and nvidia-331, same issue with both.
Also installed nvidia-331-updates-uvm/nvidia-331-uvm, if it makes a difference.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: nvidia-prime 0.5.7
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Feb 22 18:44:51 2014
InstallationDate: Installed on 2013-11-03 (110 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: nvidia-prime
UpgradeStatus: Upgraded to trusty on 2013-12-29 (54 days ago)
modified.conffile..etc.lightdm.lightdm.conf.d.90.nvidia.conf: [deleted]

Revision history for this message
Aneesh Neelam (aneesh-neelam) wrote :
summary: - Nvidia video output doesn't work in nvidia-prime optimus laptop
+ Nvidia video output doesn't work on nvidia-prime (Optimus laptop)
Revision history for this message
cardonator (bcardon) wrote :

I'm having the exact same problem on a Dell XPS 15 L521x.

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

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

Changed in nvidia-prime (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It affects an essential hardware component (disk controller, built-in networking, video card, keyboard, mouse).

Changed in nvidia-prime (Ubuntu):
importance: Undecided → High
Revision history for this message
Alberto Milone (albertomilone) wrote :

Please install nvidia-prime 0.6 and ubuntu-drivers-common 1:0.2.89.6.

If you can still reproduce the problem, please attach the following files:

1) /var/log/gpu-manager.log

2) The nvidia-bug-report.log.gz file generated by the "sudo nvidia-bug-report.sh" command.

Changed in nvidia-prime (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Nytrilik (nytrilik) wrote :

Hello, I found a solution and now everything works perfectly : nvidia-prime, bbswitch and gdm.

http://forum.ubuntu-fr.org/viewtopic.php?id=1557871

I will translate the whole procedure asap.

kernel > 3.13.0-24-generic
nvidia-prime > 0.6.2
bbswitch-dkms > 0.7-2ubuntu1
gdm > 3.10.0.1-0ubuntu4~trusty2
nvidia > 331.67-0ubuntu1~xedgers14.04.2

Revision history for this message
cardonator (bcardon) wrote :

I would get those log files but I got into a weird state in PRIME where I switched to the Intel profile and I can't even open nvidia-settings anymore without it crashing.. :B

Here is what GPU manager log says right now:

bcardon@bcardon-pluto:~$ cat /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
Found "/dev/dri/card0", driven by "i915"
output 0:
        LVDS connector
output 1:
        HDMIA connector
Number of connected outputs for /dev/dri/card0: 2
Does it require offloading? yes
grep dmesg status 0
dmesg status 0 == 0? Yes
grep dmesg status 256
dmesg status 256 == 0? No
Is nvidia loaded? yes
Was nvidia unloaded? yes
Is fglrx loaded? no
Was fglrx unloaded? no
Is intel loaded? yes
Is radeon loaded? no
Is nouveau loaded? no
Vendor/Device Id: 8086:166
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:fd2
BusID "PCI:1@0:0:0"
Is boot vga? no
last cards number = 2
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
Has the system changed? No
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
Current alternative: /usr/lib/nvidia-337-prime/ld.so.conf
Is nvidia enabled? no
Is fglrx enabled? no
Is mesa enabled? no
Is pxpress enabled? no
Is prime enabled? yes
Is nvidia available? yes
Is fglrx available? no
Is mesa available? yes
Is pxpress available? no
Is prime available? yes
Intel IGP detected
Intel hybrid system
Removing xorg.conf. Path: /etc/X11/xorg.conf
Powering off the discrete card
Unloading nvidia with "no" parameters

My laptop has a Mini-DP and it doesn't work at all in the Intel profile. I'm assuming this means it is attached directly to the nVidia card, which is fine except that it barely works in nvidia profile :(

Revision history for this message
cardonator (bcardon) wrote :

Here is what happens in syslog when I try to run nvidia-settings now.

Jun 4 10:53:39 bcardon-pluto kernel: [ 1334.242693] nvidia-settings[6296]: segfault at 20 ip 00007feaae1b192a sp 00007fffc060dd58 error 4 in libc-2.19.so[7feaae128000+1bc000]

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

[Expired for nvidia-prime (Ubuntu) because there has been no activity for 60 days.]

Changed in nvidia-prime (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Anonymous (reason) wrote :

bump bump bump. Just upgraded linux mint to 4.4.0 kernel and it reinstalled my graphics drivers, and now boots to black screen!

Spending DAYS trying to get nvidia-prime working on a Razer Blade.

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

Other bug subscribers