GNOME Bugzilla – Bug 725802
gdm greeter fails to start on nvidia prime laptop
Last modified: 2014-04-22 09:14:36 UTC
From downstream launchpad bug. https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1288572 JS ERROR: Exception in callback for signal: sessions-loaded: TypeError: this.primaryMonitor is undefined LayoutManager<._updateBoxes@/usr/share/gnome-shell/js/ui/layout.js:410 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 LayoutManager<._monitorsChanged@/usr/share/gnome-shell/js/ui/layout.js:489 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 LayoutManager<._init@/usr/share/gnome-shell/js/ui/layout.js:239 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110 Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204 _initializeUI@/usr/share/gnome-shell/js/ui/main.js:156 _sessionsLoaded@/usr/share/gnome-shell/js/ui/main.js:122 _emit@resource:///org/gnome/gjs/modules/signals.js:124 SessionMode<.init/<@/usr/share/gnome-shell/js/ui/sessionMode.js:161 done@/usr/share/gnome-shell/js/misc/fileUtils.js:33 _collectFromDirectoryAsync/
Seems we don't have a primary monitor. Would be useful to see the output of xrandr in that configuration.
under gdm/gnome-shell xrandr does not display any outputs, presumably because xrandr --setoutputprovidersource is not completely configured. under a unity session: Screen 0: minimum 8 x 8, current 1366 x 768, maximum 8192 x 8192 LVDS-1-0 connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 165mm 1366x768 60.0*+ 1360x768 59.8 60.0 1024x768 60.0 60.0 960x720 60.0 928x696 60.1 896x672 60.0 960x600 60.0 960x540 60.0 800x600 60.0 60.3 56.2 840x525 60.0 59.9 800x512 60.2 700x525 60.0 640x512 60.0 720x450 59.9 640x480 60.0 59.9 680x384 59.8 60.0 576x432 60.1 512x384 60.0 400x300 60.3 56.3 320x240 60.1 VGA-1-0 disconnected (normal left inverted right x axis y axis) HDMI-1-0 disconnected (normal left inverted right x axis y axis) DisplayPort-1-0 disconnected (normal left inverted right x axis y axis) gnome-shell --replace (from Unity session) crashes reading DPMSCapable
+ Trace 233313
Is that trace with GDK_SYNCHRONIZE=1? DPMSCapable is not documented to generate any X error, so this would be a driver bug in nvidia (but one we can easily work around with an error trap)
checked with the OP, apparently not. Here is the real trace with GDK_SYNCHRONIZE=1
+ Trace 233332
Which version of mutter / gnome-shell is this with ? Looks like the call to XRRSetOutputPrimary in monitor-xrandr.c:903 has been wrapped in an error trap since last December, so this should not happen anymore
3.10.4 I see it should be fixed by 55180f5bb3063a491487bedc58550a3571cbdcbd, can this be cherry-picked to 3.10 branch
*** Bug 728554 has been marked as a duplicate of this bug. ***
(In reply to comment #6) > I see it should be fixed by 55180f5bb3063a491487bedc58550a3571cbdcbd, can this > be cherry-picked to 3.10 branch Pushed to gnome-3-10. I don't think there's going to be another release of that branch at this point though.