Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Primary monitor off after suspend2ram

  1. #1

    Default Primary monitor off after suspend2ram

    Just updated to 42.2 and this is a new issue that's been bugging me: When resuming from suspend (to ram) only my external monitor activates. I explicitly have to go into display settings every time and enable the laptop's internal monitor (i.e. it is hard disabled, not just blank/backlight off - the mouse is bounded by the edges of the external monitor and all windows are relocated to it). This was not an issue with 42.1, on resume both would always come up in my extended desktop config as desired.

    Possibly related: After the update I had to go into power management and tick "even if external display is connected" to get it to suspend on lid closure again.
    I poked around for a setting related to turning off the internal display on lid close, but did not see anything relevant.

    Second monitor is connected to HDMI. I have no idea where to start looking... any advice?

    dmesg output from wakeup (includes tail end of suspend):

    Code:
    [59758.883667] sd 0:0:0:0: [sda] Stopping disk
    [59758.895577] sd 1:0:0:0: [sdb] Stopping disk
    [59758.956377] i8042 aux 00:07: System wakeup disabled by ACPI
    [59758.956443] i8042 kbd 00:06: System wakeup enabled by ACPI
    [59758.956709] ACPI : EC: event blocked
    [59759.401215] PM: suspend of devices complete after 518.667 msecs
    [59759.419138] PM: late suspend of devices complete after 17.916 msecs
    [59759.420037] ACPI : EC: interrupt blocked
    [59759.420484] ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
    [59759.420822] ehci-pci 0000:00:1a.0: System wakeup enabled by ACPI
    [59759.420830] xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
    [59759.439292] PM: noirq suspend of devices complete after 20.149 msecs
    [59759.439805] ACPI: Preparing to enter system sleep state S3
    [59759.440867] ACPI : EC: EC stopped
    [59759.440867] PM: Saving platform NVS memory
    [59759.440944] Disabling non-boot CPUs ...
    [59759.464747] smpboot: CPU 1 is now offline
    [59759.488698] smpboot: CPU 2 is now offline
    [59759.516609] smpboot: CPU 3 is now offline
    [59759.540914] smpboot: CPU 4 is now offline
    [59759.576465] smpboot: CPU 5 is now offline
    [59759.596523] smpboot: CPU 6 is now offline
    [59759.612467] smpboot: CPU 7 is now offline
    [59759.614104] ACPI: Low-level resume complete
    [59759.614160] ACPI : EC: EC started
    [59759.614161] PM: Restoring platform NVS memory
    [59759.614499] Suspended for 34714.297 seconds
    [59759.615288] Enabling non-boot CPUs ...
    [59759.615364] x86: Booting SMP configuration:
    [59759.615365] smpboot: Booting Node 0 Processor 1 APIC 0x2
    [59759.617973]  cache: parent cpu1 should not be sleeping
    [59759.618102] microcode: sig=0x306a9, pf=0x10, revision=0x12
    [59759.618589] CPU1 is up
    [59759.618654] smpboot: Booting Node 0 Processor 2 APIC 0x4
    [59759.621275]  cache: parent cpu2 should not be sleeping
    [59759.621895] CPU2 is up
    [59759.621955] smpboot: Booting Node 0 Processor 3 APIC 0x6
    [59759.624678]  cache: parent cpu3 should not be sleeping
    [59759.625342] CPU3 is up
    [59759.625406] smpboot: Booting Node 0 Processor 4 APIC 0x1
    [59759.628112]  cache: parent cpu4 should not be sleeping
    [59759.628214] microcode: sig=0x306a9, pf=0x10, revision=0x1c
    [59759.628327] CPU4 is up
    [59759.628378] smpboot: Booting Node 0 Processor 5 APIC 0x3
    [59759.630884]  cache: parent cpu5 should not be sleeping
    [59759.631130] CPU5 is up
    [59759.631177] smpboot: Booting Node 0 Processor 6 APIC 0x5
    [59759.633785]  cache: parent cpu6 should not be sleeping
    [59759.634043] CPU6 is up
    [59759.634089] smpboot: Booting Node 0 Processor 7 APIC 0x7
    [59759.636702]  cache: parent cpu7 should not be sleeping
    [59759.637197] CPU7 is up
    [59759.644017] ACPI: Waking up from system sleep state S3
    [59759.645604] ACPI : EC: interrupt unblocked
    [59759.665261] xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
    [59759.665447] ehci-pci 0000:00:1a.0: System wakeup disabled by ACPI
    [59759.665487] ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
    [59759.665517] PM: noirq resume of devices complete after 20.103 msecs
    [59759.665908] PM: early resume of devices complete after 0.373 msecs
    [59759.666011] ACPI : EC: event unblocked
    [59759.666027] sdhci-pci 0000:02:00.1: Will use DMA mode even though HW doesn't fully claim to support it.
    [59759.666042] sdhci-pci 0000:02:00.1: Will use DMA mode even though HW doesn't fully claim to support it.
    [59759.666089] iwlwifi 0000:05:00.0: RF_KILL bit toggled to disable radio.
    [59759.666987] rtc_cmos 00:02: System wakeup disabled by ACPI
    [59759.667140] i8042 kbd 00:06: System wakeup disabled by ACPI
    [59759.670558] sd 0:0:0:0: [sda] Starting disk
    [59759.670559] sd 1:0:0:0: [sdb] Starting disk
    [59760.003414] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [59760.003502] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
    [59760.013373] ata3.00: configured for UDMA/100
    [59760.014245] ata2.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
    [59760.014249] ata2.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
    [59760.014252] ata2.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
    [59760.034118] ata2.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
    [59760.034122] ata2.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
    [59760.034124] ata2.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
    [59760.043671] ata2.00: configured for UDMA/133
    [59760.124737] usb 1-1.1.4.3: reset high-speed USB device number 9 using ehci-pci
    [59760.234556] usblp0: removed
    [59762.580733] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [59762.582957] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
    [59762.582961] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
    [59762.582964] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
    [59762.587230] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
    [59762.587234] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
    [59762.587236] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
    [59762.589096] ata1.00: configured for UDMA/133
    [59762.617694] PM: resume of devices complete after 2951.842 msecs
    [59762.617720] usb 1-1.1.4.3:1.0: rebind failed: -517
    [59762.635790] PM: Finishing wakeup.
    [59762.635792] Restarting tasks ... done.
    [59762.653098] video LNXVIDEO:00: Restoring backlight state
    [59762.653510] video LNXVIDEO:01: Restoring backlight state
    [59762.654242] usblp 1-1.1.4.3:1.0: usblp0: USB Bidirectional printer dev 9 if 0 alt 0 proto 2 vid 0x04A9 pid 0x10A2
    [59762.786076] alx 0000:03:00.0 eth0: NIC Up: 1 Gbps Full
    
    

  2. #2

    Default Re: Primary monitor off after suspend2ram

    Derp. Forgot to say I'm running KDE/plasma.

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,398
    Blog Entries
    1

    Default Re: Primary monitor off after suspend2ram

    The graphics card and driver details may be relevant here as well.

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,398
    Blog Entries
    1

    Default Re: Primary monitor off after suspend2ram

    Can you show us what xrandr reports after resuming?

  5. #5

    Default Re: Primary monitor off after suspend2ram

    Thanks for the reply. It doesn't do this if I suspend from the logout menu/button, it would appear.

    Code:
    15: PCI 02.0: 0300 VGA compatible controller (VGA)               
      [Created at pci.378]
      Unique ID: _Znp.3H63STgg632
      SysFS ID: /devices/pci0000:00/0000:00:02.0
      SysFS BusID: 0000:00:02.0
      Hardware Class: graphics card
      Device Name: "Onboard IGD"
      Model: "Intel 3rd Gen Core processor Graphics Controller"
      Vendor: pci 0x8086 "Intel Corporation"
      Device: pci 0x0166 "3rd Gen Core processor Graphics Controller"
      SubVendor: pci 0x1462 "Micro-Star International Co., Ltd. [MSI]"
      SubDevice: pci 0x10d8  
      Revision: 0x09
      Driver: "i915"
      Driver Modules: "i915"
      Memory Range: 0xf6400000-0xf67fffff (rw,non-prefetchable)
      Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
      I/O Ports: 0xf000-0xf03f (rw)
      Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
      IRQ: 28 (1422563 events)
      Module Alias: "pci:v00008086d00000166sv00001462sd000010D8bc03sc00i00"
      Driver Info #0:
        Driver Status: i915 is active
        Driver Activation Cmd: "modprobe i915"
      Config Status: cfg=no, avail=yes, need=no, active=unknown
    
    25: PCI 100.0: 0300 VGA compatible controller (VGA)
      [Created at pci.378]
      Unique ID: VCu0.lsiyv7RRGq9
      Parent ID: vSkL.LtivxUYcBVC
      SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
      SysFS BusID: 0000:01:00.0
      Hardware Class: graphics card
      Model: "nVidia GK107M [GeForce GTX 660M]"
      Vendor: pci 0x10de "nVidia Corporation"
      Device: pci 0x0fd4 "GK107M [GeForce GTX 660M]"
      SubVendor: pci 0x1462 "Micro-Star International Co., Ltd. [MSI]"
      SubDevice: pci 0x10d8  
      Revision: 0xa1
      Driver: "nvidia"
      Driver Modules: "nvidia"
      Memory Range: 0xf5000000-0xf5ffffff (rw,non-prefetchable)
      Memory Range: 0xe0000000-0xefffffff (ro,non-prefetchable)
      Memory Range: 0xf0000000-0xf1ffffff (ro,non-prefetchable)
      I/O Ports: 0xe000-0xefff (rw)
      Memory Range: 0xf6000000-0xf607ffff (ro,non-prefetchable,disabled)
      IRQ: 37 (536291 events)
      Module Alias: "pci:v000010DEd00000FD4sv00001462sd000010D8bc03sc00i00"
      Driver Info #0:
        Driver Status: nouveau is not active
        Driver Activation Cmd: "modprobe nouveau"
      Driver Info #1:
        Driver Status: nvidia_drm is active
        Driver Activation Cmd: "modprobe nvidia_drm"
      Driver Info #2:
        Driver Status: nvidia is active
        Driver Activation Cmd: "modprobe nvidia"
      Config Status: cfg=no, avail=yes, need=no, active=unknown
      Attached to: #22 (PCI bridge)
    
    Primary display adapter: #15
    
    

    Before suspend:
    Code:
    Screen 0: minimum 8 x 8, current 3600 x 1080, maximum 32767 x 32767
    LVDS1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
       1920x1080     60.02*+
       1400x1050     59.98   
       1600x900      60.00   
       1280x1024     60.02   
       1280x960      60.00   
       1368x768      60.00   
       1280x720      60.00   
       1024x768      60.00   
       1024x576      60.00   
       960x540       60.00   
       800x600       60.32    56.25   
       864x486       60.00   
       640x480       59.94   
       720x405       60.00   
       640x360       60.00   
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI1 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 433mm x 271mm
       1680x1050     59.88*+
       1280x1024     75.02    60.02   
       1280x960      60.00   
       1152x864      75.00   
       1024x768      75.03    70.07    60.00   
       832x624       74.55   
       800x600       72.19    75.00    60.32    56.25   
       640x480       75.00    72.81    66.67    59.94   
       720x400       70.08   
    VGA1 disconnected (normal left inverted right x axis y axis)
    VIRTUAL1 disconnected (normal left inverted right x axis y axis)
    
    After suspend (logout menu, resumes normally):
    Code:
    Screen 0: minimum 8 x 8, current 3600 x 1080, maximum 32767 x 32767
    LVDS1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
       1920x1080     60.02*+
       1400x1050     59.98   
       1600x900      60.00   
       1280x1024     60.02   
       1280x960      60.00   
       1368x768      60.00                                                                                                                                                                                         
       1280x720      60.00                                                                                                                                                                                         
       1024x768      60.00                                                                                                                                                                                         
       1024x576      60.00                                                                                                                                                                                         
       960x540       60.00                                                                                                                                                                                         
       800x600       60.32    56.25                                                                                                                                                                                
       864x486       60.00                                                                                                                                                                                         
       640x480       59.94                                                                                                                                                                                         
       720x405       60.00                                                                                                                                                                                         
       640x360       60.00   
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI1 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 433mm x 271mm
       1680x1050     59.88*+
       1280x1024     75.02    60.02   
       1280x960      60.00   
       1152x864      75.00   
       1024x768      75.03    70.07    60.00   
       832x624       74.55   
       800x600       72.19    75.00    60.32    56.25   
       640x480       75.00    72.81    66.67    59.94   
       720x400       70.08   
    VGA1 disconnected (normal left inverted right x axis y axis)
    VIRTUAL1 disconnected (normal left inverted right x axis y axis)
    
    Suspend by closing the lid (only resumes on external):
    Code:
    Screen 0: minimum 8 x 8, current 3600 x 1080, maximum 32767 x 32767
    LVDS1 connected primary (normal left inverted right x axis y axis)
       1920x1080     60.02 +
       1400x1050     59.98   
       1600x900      60.00   
       1280x1024     60.02   
       1280x960      60.00   
       1368x768      60.00   
       1280x720      60.00   
       1024x768      60.00   
       1024x576      60.00   
       960x540       60.00   
       800x600       60.32    56.25   
       864x486       60.00   
       640x480       59.94   
       720x405       60.00   
       640x360       60.00   
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 433mm x 271mm
       1680x1050     59.88*+
       1280x1024     75.02    60.02   
       1280x960      60.00   
       1152x864      75.00   
       1024x768      75.03    70.07    60.00   
       832x624       74.55   
       800x600       72.19    75.00    60.32    56.25   
       640x480       75.00    72.81    66.67    59.94   
       720x400       70.08   
    VGA1 disconnected (normal left inverted right x axis y axis)
    VIRTUAL1 disconnected (normal left inverted right x axis y axis)
    
    Almost makes me wonder if power management is turning off the display when the lid is closed and then suspending, leaving it in that state.

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,398
    Blog Entries
    1

    Default Re: Primary monitor off after suspend2ram

    Code:
    15: PCI 02.0: 0300 VGA compatible controller (VGA)              
      [Created at pci.378]
      Unique ID: _Znp.3H63STgg632
      SysFS ID: /devices/pci0000:00/0000:00:02.0
      SysFS BusID: 0000:00:02.0
      Hardware Class: graphics card
      Device Name: "Onboard IGD"
      Model: "Intel 3rd Gen Core processor Graphics Controller"
    Code:
    25: PCI 100.0: 0300 VGA compatible controller (VGA)
      [Created at pci.378]
      Unique ID: VCu0.lsiyv7RRGq9
      Parent ID: vSkL.LtivxUYcBVC
      SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
      SysFS BusID: 0000:01:00.0
      Hardware Class: graphics card
      Model: "nVidia GK107M [GeForce GTX 660M]"

    So this is an Optimus system?

  7. #7

    Default Re: Primary monitor off after suspend2ram

    Correct, but internally it's always muxed through the intel card (e.g. it cannot be changed to use only the 660M in the BIOS)

  8. #8

    Default Re: Primary monitor off after suspend2ram

    Just found another issue/symptom that may be related. When my display shuts off after 30 minutes (per PM)... it stays black and doesn't resume. I still get a mouse pointer that moves, but just a blank screen.

  9. #9
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,398
    Blog Entries
    1

    Default Re: Primary monitor off after suspend2ram

    Quote Originally Posted by VintagePC View Post
    Just found another issue/symptom that may be related. When my display shuts off after 30 minutes (per PM)... it stays black and doesn't resume. I still get a mouse pointer that moves, but just a blank screen.
    This may need a bug report submitted to help resolve. However, you could try using a more recent kernel perhaps.

    Code:
    zypper ar http://download.opensuse.org/repositories/Kernel:/stable/standard/ kernel
    Code:
    zypper ref
    Code:
    zypper dup -r kernel
    then reboot and check behaviour again.

  10. #10

    Default Re: Primary monitor off after suspend2ram

    I don't think it's a kernel issue, but rather an X/KDE issue, if I CTRL+ALT+Bkspace I can kill the session and restart X; CTRL+ALT+F1 gets me to a console without issue.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •