No X if resuming when "Configure new displays when connected" unchecked

Bug #1703098 reported by Patrick Dunford
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This system normally has two displays connected which are always on. This problem arose when a TV was connected as a third display. It was preferred to have the TV left "disabled" by unchecking "Use this display" when it was not needed, but leaving its cable connected. However at each startup a GUI will be presented asking for display configuration because the option in Display settings for "Configure new displays when connected" is checked.

If the option for "Connfigure new displays when connected" is then unchecked and the system is hibernated, then on resume X will not start. The only thing that can be done is to start a new terminal session and then startx will bring up a desktop. However the applications that were restored in the resume aren't accessible from this desktop session that has been manually started.

The following were tried until the system was found to be resuming:
1. Disconnected the third display
2. Checked the option for "Configure new displays when connected"
Not until both options had been tried would the system resume after hibernation and start X.

lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04

apt-cache policy xorg
xorg:
  Installed: 1:7.7+13ubuntu3
  Candidate: 1:7.7+13ubuntu3
  Version table:
 *** 1:7.7+13ubuntu3 500
        500 http://nz.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

xrandr
Screen 0: minimum 8 x 8, current 3600 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
   1920x1080 60.00*+
   1280x1024 75.02 60.02
   1152x864 75.00
   1024x768 75.03 60.00
   800x600 75.00 60.32
   640x480 75.00 59.94
HDMI-1 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050 59.88*+ 59.95
   1280x1024 75.02 60.02
   1152x864 75.00
   1024x768 75.03 60.00
   800x600 75.00 60.32
   640x480 75.00 59.94
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)

$ cat xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 361.42 (buildd@lgw01-18) Tue Apr 5 14:33:28 UTC 2016

Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load "dbe"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "DELL P2210"
    HorizSync 30.0 - 83.0
    VertRefresh 56.0 - 75.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce GTX 750"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "Stereo" "0"
    Option "nvidiaXineramaInfoOrder" "DFP-0"
    Option "metamodes" "DVI-I-1: nvidia-auto-select +3840+0, HDMI-0: nvidia-auto-select +1920+0, HDMI-1: nvidia-auto-select +0+0"
    Option "SLI" "Off"
    Option "MultiGPU" "Off"
    Option "BaseMosaic" "off"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

$ nvidia-settings -q all -t

Attributes queryable via MainPC:0.0:
  OperatingSystem: 0
  NvidiaDriverVersion: 375.66
  NvControlVersion: 1.29
  GLXServerVersion: 1.4
  GLXClientVersion: 1.4
  OpenGLVersion: 4.5.0 NVIDIA 375.66
  XRandRVersion: 1.5
  XF86VidModeVersion: 2.2
  XvVersion: 2.2
  TwinView: 1
  ConnectedDisplays: 0x00000500
  EnabledDisplays: 0x00000500
  AssociatedDisplays: 0x00001f01
  InitialPixmapPlacement: 2
  MultiGpuDisplayOwner: 0
  GlyphCache: 1
  Depth30Allowed: 1
  NoScanout: 0
  XServerUniqueId: 1353011520
  PixmapCache: 1
  PixmapCacheRoundSizeKB: 1024
  AccelerateTrapezoids: 1
  ScreenPosition: x=0, y=0, width=3600, height=1080
  SyncToVBlank: 1
  LogAniso: 0
  FSAA: 0
  TextureClamping: 1
  FXAA: 0
  AllowFlipping: 0
  FSAAAppControlled: 1
  LogAnisoAppControlled: 1
  OpenGLImageSettings: 1
  FSAAAppEnhanced: 0
  SliMosaicModeAvailable: 0
  BusType: 2
  PCIEMaxLinkSpeed: 8000
  PCIEMaxLinkWidth: 16
  PCIECurrentLinkSpeed: 8000
  PCIECurrentLinkWidth: 16
  VideoRam: 2097152
  Irq: 30
  CUDACores: 512
  GPUMemoryInterface: 128
  GPUCoreTemp: 36
  GPUCurrentCoreVoltage: 1200000
  GPUCurrentClockFreqs: 1058,2505

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
Uname: Linux 4.4.0-83-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Jul 8 21:57:59 2017
InstallationDate: Installed on 2016-08-13 (329 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Patrick Dunford (kahukowhai) wrote :
Revision history for this message
Paul White (paulw2u) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to review all reported bugs in a timely manner.

Ubuntu 16.04 (xenial) reached end-of-standard-support on April 29, 2021.

I'm setting the status of this bug to 'Incomplete' as it's not seen any activity for some time. If this is still an issue when using a currently maintained release of Ubuntu then please let us know which one(s) otherwise this bug report can be left to expire in approximately 60 days time.

Changed in xorg (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xorg (Ubuntu):
status: Incomplete → Expired
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.