Nvidia 340+NVidia Prime + external monitor = system unusable, continuous xorg crashes, external monitor never works
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
X.Org X server |
New
|
Undecided
|
Unassigned | ||
nvidia-graphics-drivers-340 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
nvidia-prime (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
xorg (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
SUMMARY
- laptop with NVidia card and Optimus technology
- xorg configured ages ago to automatically switch between built-in and external monitor when plugging/unplugging
- "clean" Ubuntu 15.04 after upgrading from 14.10 from 14.04
- no nvidia-* nor bumblebee-* was installed (that's what I mean by "clean")
- everything was working perfectly fine while only using integrated intel GPU
- I installed NVidia-340 and nvidia-prime (and whatever) via Software & Updates -> Additional Driver
Result:
* Boot with external monitor connected => keeps crashing forever at the login screen
* Boot without external monitor connected => seems to work with built-in screen (at least for the few minutes I tested)
* Connect external monitor after boot at login screen => xorg crashes once or twice, then both screens go black
* Connect external monitor after logging in => both screens go black
* Disconnect external monitor => built-in screen remains black, never turns on again, unless Xorg crashes
Basically, the laptop is completely unusable. NVidia-prime and nvidia-340 screw everything up beyond imagination.
I was lucky tojust be able to recover from that, uninstall all nvidia-stuff, and get my working system back.
MORE DETAIL
Until recently I had Ubuntu 14.04.
I had nvidia-331 installed but unused since ages ago. I had disabled them (if I remember correctly) by going to
Software & Updates -> Additional drivers
(the same I had used to install them)
and choosing to use Nouveau instead (back), because I had experiencing a lot of glitches with NVidia-331.
This was even before I upgraded to 14.04.
Because my laptop has Optimus technology, I was only using the integrated Intel GPU.
At some point I had also installed bumblebee, but I had never figured out how to actually make any use of it.
I had Xorg configured so that, when plugging an external monitor, only the external monitor would be used and the built-in one would turn off; and when unplugging the external monitor, the built-in monitor would automatically turn on. So I only use one monitor at a time. I guess I configured this via the System Settings -> Displays
All this was working fine.
When the fix for #1431753 was released, nvidia-340 got installed and, against my will and without notice, they were somehow enabled, so I started experiencing #1220426 and #1483388 (but nothing comparable to what I'm describing in this report).
So, I apt-get removed nvidia-* and bumblebee.
After that (and across several reboots) all was working perfectly fine again. Again, I was only using the shitty integrated Intel GPU (without even the hardware acceleration that it supports, btw, but that's another story), but I had no issues.
Then today I upgraded to 14.10 and immediately after, to 15.04.
Everything kept working smoothly, including automatic screen switching when plugging/unplugging the external monitor.
Then I thoughy I'd give NVidia-340 another try. I thought maybe a fresh install on 15.04 would work.
I went to Software & updates -> Additional Drivers and I selected "use NVidia-340"
That installed nvidia-340, nvidia-settings, nvidia-prime, and something-
I rebooted.
At the first reboot, I had the external screen already connected.
After the boot completed, xorg started to crash again and again like crazy. The login screen would appear and disappear from both screen at a few seconds intervals, and I would hear the drum sound every time (and could not finish typing my password and logging in).
THE SYSTEM WAS UNUSABLE, I COULD NOT LOG IN.
So I rebooted without the external monitor connected.
I then connected the external monitor while still at the login screen. Xorg crashed one or a couple of times, then the built-in screen turned off but the external one didn't turn on either.
So I disconnected the screen; after a while Xorg crashed again and only then the built-in screen turned on again
I rebooted again, and fully logged in without the external screen connected.
Then I plugged in the screen
=> again, the built-in screen turned off but the external one didn't turn on.
I disconnected the screen, and the built-in screen never turned on again.
So, I rebooted without the external monitor, uninstalled all the nvidia-related stuff, rebooted, and now again everything is working (without using the NVidia card, of course).
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: xorg 1:7.7+7ubuntu4
ProcVersionSign
Uname: Linux 3.19.0-25-generic x86_64
.tmp.unity.
ApportVersion: 2.17.2-0ubuntu1.2
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Sat Aug 15 23:25:52 2015
DistUpgraded: 2015-08-15 21:46:56,607 DEBUG enabling apt cron job
DistroCodename: vivid
DistroVariant: ubuntu
DkmsStatus:
bbswitch, 0.7, 3.19.0-25-generic, x86_64: installed
vboxhost, 4.3.14, 3.13.0-61-generic, x86_64: installed
vboxhost, 4.3.14, 3.16.0-44-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:0647]
NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/
Subsystem: Acer Incorporated [ALI] GeForce 710M [1025:0691]
InstallationDate: Installed on 2013-10-11 (673 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MachineType: Acer Aspire V3-571G
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
UpgradeStatus: Upgraded to vivid on 2015-08-15 (0 days ago)
dmi.bios.date: 10/15/2012
dmi.bios.vendor: Acer
dmi.bios.version: V2.07
dmi.board.
dmi.board.name: VA50_HC_CR
dmi.board.vendor: Acer
dmi.board.version: Type2 - Board Version
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnAcer:
dmi.product.name: Aspire V3-571G
dmi.product.
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.12.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.60-2
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Sat Aug 15 23:24:41 2015
xserver.configfile: default
xserver.errors:
Failed to load module "nvidia" (module does not exist, 0)
Failed to load module "nvidia" (module does not exist, 0)
NOUVEAU(G0): [XvMC] Failed to initialize extension.
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 8940
vendor AUO
xserver.version: 2:1.17.1-0ubuntu3
Status changed to 'Confirmed' because the bug affects multiple users.