GDM does not default to primary monitor

Bug #1766440 reported by Michael DeFrancesco
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)

Bug Description

I have my monitor in the hdmi port of my gtx780 and my tv in the displayport.
Something about X seems to have a bias towards the dp output.

During the installer I had to unplug the tv (displayport) and continue the installation. When I plug it in I have to use super + p to switch to 'extend' instead of duplicate. This has a high probability to make the mouse unable to click anywhere in gnome.

From this point I am able to set my monitor as the primary monitor and gnome works as expected.
I rebooted and gdm still defaulted to my secondary (dp) monitor. I blindly logged in (enter + password + enter) and the desktop switched a few times between tv as default and monitor as default. It finally settled on the monitor as default however I could not click anywhere in gnome.

I was able to get control again by pressing the window button, typing and opening a program, from here I was able to alt-tab to the program and was able to click on the desktop again. From here I went to settings to verify my settings and saw that my setting of the monitor (hdmi) as the primary monitor was still there.

I suspect grub is defaulting to displayport, passing this default to gdm, then once gdm exits and gnome is loaded the proper default is restored. However Gnome is not in 'focus' for some reason and it takes work to fix this.

A separate effort should probably be crated around the super + p display switching dialog as it has a high probability of locking a user out of the session.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7
ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15
Uname: Linux 4.15.0-15-generic x86_64
NonfreeKernelModules: wl nvidia_modeset nvidia
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 390.48 Thu Mar 22 00:42:57 PDT 2018
 GCC version: gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)
 Your system is not currently configured to drive a VGA console
 on the primary VGA device. The NVIDIA Linux graphics driver
 requires the use of a text-mode VGA console. Use of other console
 drivers including, but not limited to, vesafb, may result in
 corruption and stability problems, and is not supported.
ApportVersion: 2.20.9-0ubuntu6
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: communitheme:ubuntu:GNOME
Date: Tue Apr 24 00:25:36 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
 bcmwl,, 4.15.0-15-generic, x86_64: installed
 bcmwl,, 4.15.0-19-generic, x86_64: installed
 nvidia, 390.48, 4.15.0-15-generic, x86_64: installed
 nvidia, 390.48, 4.15.0-19-generic, x86_64: installed
ExtraDebuggingInterest: Yes
 NVIDIA Corporation GK110 [GeForce GTX 780] [10de:1004] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Corp. GK110 [GeForce GTX 780] [3842:0783]
InstallationDate: Installed on 2018-04-22 (1 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Beta amd64 (20180404)
MachineType: System manufacturer System Product Name
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-15-generic.efi.signed root=UUID=559e0f30-0db2-4199-9f55-98c68bfee444 ro quiet splash vt.handoff=1
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install) 06/20/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1201
dmi.board.asset.tag: To be filled by O.E.M. P8Z77-I DELUXE
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1201:bd06/20/2014:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8Z77-IDELUXE:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: To be filled by O.E.M. System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.0~rc5-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.0~rc5-1ubuntu1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

Revision history for this message
Michael DeFrancesco (mikeymop) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1723025, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

affects: xorg (Ubuntu) → gdm3 (Ubuntu)
tags: added: multimonitor
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sorry, this actually sounds like bug 1760849.

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.