(solved)3 monitors settings break when I put computer into suspend

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
silvatech
Level 3
Level 3
Posts: 174
Joined: Sun Aug 14, 2016 5:50 pm
Contact:

(solved)3 monitors settings break when I put computer into suspend

Post by silvatech »

Code: Select all

System:
  Kernel: 6.2.8-x64v3-xanmod1 x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: Cinnamon 5.6.8 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: Micro-Star model: X470 GAMING PLUS (MS-7B79) v: 2.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: A.K0
    date: 05/23/2022
CPU:
  Info: 8-core model: AMD Ryzen 7 5800X bits: 64 type: MT MCP smt: enabled
    arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 32 MiB
  Speed (MHz): avg: 4267 high: 4800 min/max: 2200/4850 boost: enabled
    cores: 1: 3836 2: 3800 3: 4794 4: 3797 5: 4564 6: 4800 7: 3800 8: 4613
    9: 3836 10: 4547 11: 4800 12: 4477 13: 4381 14: 3603 15: 3838 16: 4797
    bogomips: 121596
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate]
    vendor: Micro-Star MSI driver: nvidia v: 525.85.05 pcie: speed: 8 GT/s
    lanes: 16 ports: active: none off: DP-1,DP-2,DP-3 empty: HDMI-A-1
    bus-ID: 27:00.0 chip-ID: 10de:2504 class-ID: 0300
  Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 2-2:2 chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 5920x1440 s-dpi: 96 s-size: 1566x381mm (61.7x15.0")
    s-diag: 1612mm (63.5")
  Monitor-1: DP-0 pos: center res: 2560x1440 hz: 60 dpi: 123
    size: 527x296mm (20.7x11.7") diag: 604mm (23.8")
  Monitor-2: DP-3 pos: right res: 1440x900 hz: 61 dpi: 89
    size: 410x257mm (16.1x10.1") diag: 484mm (19.1")
  Monitor-3: DP-4 pos: primary,left res: 1920x1080 hz: 60 dpi: 82
    size: 598x336mm (23.5x13.2") diag: 686mm (27")
  OpenGL: renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
    v: 4.6.0 NVIDIA 525.85.05 direct render: Yes
Audio:
  Device-1: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 27:00.1 chip-ID: 10de:228e
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 29:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 2-2:2 chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k6.2.8-x64v3-xanmod1 running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB
    driver: btusb v: 0.8 bus-ID: 3-4.4:4 chip-ID: 0a12:0001 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.0 sub-v: 22bb hci-v: 4.0 rev: 22bb
RAID:
  Supported mdraid levels: raid1 linear multipath raid0 raid6 raid5 raid4
  raid10
  Device-1: md0 type: mdraid level: mirror status: active size: 2.72 TiB
  Info: report: 2/2 UU blocks: 2919892992 chunk-size: N/A super-blocks: 1.2
  Components: Online: 0: sdc1 1: sdd1
Drives:
  Local Storage: total: 23.16 TiB used: 5.99 TiB (25.9%)
  ID-1: /dev/nvme0n1 vendor: Gigabyte model: GP-GSM2NE3100TNTD
    size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: EDFMB0.5 temp: 30.9 C scheme: GPT
  ID-2: /dev/nvme1n1 vendor: Patriot model: Viper M.2 VPN100
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: ECFM22.6 temp: 25.9 C scheme: GPT
  ID-3: /dev/sda vendor: Micron model: 5100 MTFDDAK1T9TCB size: 1.75 TiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: U075 scheme: GPT
  ID-4: /dev/sdb type: USB vendor: Western Digital model: WD Elements 25A3
    size: 9.1 TiB type: N/A serial: <filter> rev: 1030 scheme: GPT
  ID-5: /dev/sdc vendor: Hitachi model: HUA723030ALA640 size: 2.73 TiB
    speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: A5C0 scheme: GPT
  ID-6: /dev/sdd vendor: Hitachi model: HUA723030ALA640 size: 2.73 TiB
    speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: NS00 scheme: GPT
  ID-7: /dev/sde vendor: Western Digital model: WD2002FAEX-007BA0
    size: 1.82 TiB speed: 6.0 Gb/s type: N/A serial: <filter> rev: 1D05
    scheme: GPT
  ID-8: /dev/sdf vendor: Western Digital model: WD40EZRX-00SPEB0
    size: 3.64 TiB speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A80 scheme: GPT
Partition:
  ID-1: / size: 62.64 GiB used: 25.26 GiB (40.3%) fs: ext4
    dev: /dev/nvme0n1p3
  ID-2: /boot/efi size: 511 MiB used: 8.5 MiB (1.7%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 874.39 GiB used: 348.72 GiB (39.9%) fs: ext4
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 268 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 57 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Repos:
  Packages: 2789 apt: 2773 flatpak: 16
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/d-bannon-ppa-tomboy-ng-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/d-bannon-ppa-tomboy-ng-jammy.gpg] https://ppa.launchpadcontent.net/d-bannon/ppa-tomboy-ng/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
    1: deb [arch=amd64] https://packages.microsoft.com/repos/edge/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com vera main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/xanmod-release.list
    1: deb [signed-by=/usr/share/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org releases main
Info:
  Processes: 509 Uptime: 1d 59m wakeups: 1 Memory: 62.73 GiB
  used: 17.98 GiB (28.7%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11/12 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13
Currently running Mint Cinnamon 21.1 I had similar issue in XFCE, but thought it was because it was not a clean install when I upgraded.

Problem I am having,
If I shut down the computer and boot up it works as expected the problem happens if the computer goes into suspend mode.

So setup is suppose to be Monitor 1 as set to primary and on Far left then goes Monitor 3 to right monitor 2 to the right.

After the computer goes into suspend It changes it where monitor 1 and monitor 3 are combined Or it changes it where Monitor3 becomes primary and monitor 1 is not even on and moved way over far left of the display layout box. I have no clue how to fix its quite annoying every time you go into standby that your have to bring up the display and change it all back again. Any ideas on this would be much appreciated.

Edit
Its a bit random how it changes the settings after suspend the description above is the most common. Here are some pictures to help explain better.

How its suppose to be set
Selection_024.png
How it ends up set after suspend.
Selection_022.png
Last edited by LockBot on Thu Sep 28, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: 3 monitors settings break when I put computer into suspend

Post by SMG »

silvatech wrote: Tue Mar 28, 2023 1:32 pm Graphics:
Device-1: NVIDIA GA106 [GeForce RTX 3060 Lite Hash Rate]
vendor: Micro-Star MSI driver: nvidia v: 525.85.05 pcie: speed: 8 GT/s
lanes: 16 ports: active: none off: DP-1,DP-2,DP-3 empty: HDMI-A-1
bus-ID: 27:00.0 chip-ID: 10de:2504 class-ID: 0300
There is a "wake-up" sequence to ports if the system is resuming from sleep mode. I don't know what it is for your GPU, but I recall finding information for a different Nvidia GPU where someone had contacted Nvidia support to learn the order of the ports.

Considering all three monitors appear to be using DP ports, if there is a certain sequence you normally see after resuming from sleep, try switching which monitor is connected to which DP port and see if that helps.

Edited to add:
I did find the information for an EVGA 3060. Actually, that link lists the priority for a lot of different GPUs. Yours is a different manufacturer and I don't know if that makes a difference.

I also see at the bottom it mentions, "Monitor initialization can also be affected by the monitor's EDID, which will affect this order accordingly regardless of your GPU port priority."
Image
A woman typing on a laptop with LM20.3 Cinnamon.
silvatech
Level 3
Level 3
Posts: 174
Joined: Sun Aug 14, 2016 5:50 pm
Contact:

Re: 3 monitors settings break when I put computer into suspend

Post by silvatech »

Ok, so you lead me in the right direction, but the delay on the monitors was also causing issues. So what I found out is to have the one monitor set to auto detect input each time and the other that was messing up set to go to the correct input and not checked. It slowed down the one and sped up the other enough for the OS to keep up.

Some reason monitor order on MSI seems to be in my case. primary port 3 sec port 2 and third port 1. Even in new os setup it seems to want to make port 3 the one with the menu and all that.
Locked

Return to “Graphics Cards & Monitors”