Mixed Up Monitor Numbers?

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
AidFHonda
Level 2
Level 2
Posts: 87
Joined: Wed Dec 18, 2019 8:51 am

Mixed Up Monitor Numbers?

Post by AidFHonda »

So my desktop has three monitors- a 4:3, a 5:4, and a 16:10. Before I installed Mint 21, the 4:3 was listed as Monitor 1, the 5:4 as Monitor 2, and the 16:10 as Monitor 3 across all applications. That changed shortly after I installed Mint 21 and now it's all messed up. In the Display window, they are the same as they were before. However, if I right-click on a window in the panel and select "Move to Monitor 1," the window moves to the 16:10 (monitor 3). Selecting "Move to Monitor 3" moves the window to the 4:3 (monitor 1).

It's a minor issue but are there any settings I can change to make my monitor numbers consistent?

inxi -G:

Code: Select all

aidan@Aidan-PC:~$ inxi -G
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    driver: amdgpu v: kernel
  Device-2: Microdia NexiGo HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu resolution: 1: 1920x1200~60Hz
    2: 1280x1024~60Hz 3: 1024x768~60Hz
  OpenGL: renderer: AMD Radeon RX 570 Series (polaris10 LLVM 13.0.1 DRM
    3.42 5.15.0-53-generic)
    v: 4.6 Mesa 22.0.5
Last edited by LockBot on Tue May 23, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Termy
Level 12
Level 12
Posts: 4248
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Mixed Up Monitor Numbers?

Post by Termy »

I'm not sure why it got messed up after reinstalling Linux, but AFAIK, Linux numbers monitors by hardware. Try switching the ports around.
I'm also Terminalforlife on GitHub.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mixed Up Monitor Numbers?

Post by SMG »

AidFHonda wrote: Wed Nov 23, 2022 10:55 pm So my desktop has three monitors- a 4:3, a 5:4, and a 16:10. Before I installed Mint 21
Was this a fresh install of Mint 21 or was it an in-place upgrade from LM20.3 to LM21?

What desktop environment are you using, Cinnamon, MATE, or Xfce?

Are all the monitor connections the same or are some HDMI, DP, or DVI?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
AidFHonda
Level 2
Level 2
Posts: 87
Joined: Wed Dec 18, 2019 8:51 am

Re: Mixed Up Monitor Numbers?

Post by AidFHonda »

This was an update from 20.3 to 21.

Cinnamon.

All three currently connect to the graphics card through DisplayPort. The 4:3 and 5:4 cables convert to DVI, while the 16:10 cable converts to HDMI.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mixed Up Monitor Numbers?

Post by SMG »

AidFHonda wrote: Sun Nov 27, 2022 9:47 pm This was an update from 20.3 to 21.
Were you using the same 5.15 kernel before you upgraded?

You could try deleting your ~/.config/cinnamon-monitors.xml file and then setting everything up in the Display app and saving a new one. I seem to recall someone else having to do that after they upgraded, but I'm not finding the topic right now. The config directory is a hidden one under home. Additionally, if you upgraded to get to LM20, you may have a different prior version of the file which I think was just monitors.xml.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
AidFHonda
Level 2
Level 2
Posts: 87
Joined: Wed Dec 18, 2019 8:51 am

Re: Mixed Up Monitor Numbers?

Post by AidFHonda »

I don't remember. I upgrade the kernel whenever an update is available.

I'll try that tomorrow. I upgraded to LM20 from 19.3, so there are probably old files to remove as well.
AidFHonda
Level 2
Level 2
Posts: 87
Joined: Wed Dec 18, 2019 8:51 am

Re: Mixed Up Monitor Numbers?

Post by AidFHonda »

All right, that's done, but nothing's changed. Are there any files that define the display numbers in Cinnamon?
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mixed Up Monitor Numbers?

Post by SMG »

AidFHonda wrote: Sun Nov 27, 2022 10:17 pm I don't remember. I upgrade the kernel whenever an update is available.
There's a difference between updating the kernel and upgrading to a newer kernel series. If you just do the updates in Update Manager, you would have been updating the 5.4 kernel and not moving to the 5.15 kernel.

The reason I asked is perhaps the amdgpu driver in the 5.15 kernel has differences for your RX 570.
AidFHonda wrote: Mon Nov 28, 2022 7:43 pm All right, that's done, but nothing's changed.
And you logged out and logged back in after making the change?
AidFHonda wrote: Mon Nov 28, 2022 7:43 pmAre there any files that define the display numbers in Cinnamon?
Do you have a custom xorg.conf file? What is the output of

Code: Select all

cat /etc/X11/xorg.conf
Image
A woman typing on a laptop with LM20.3 Cinnamon.
AidFHonda
Level 2
Level 2
Posts: 87
Joined: Wed Dec 18, 2019 8:51 am

Re: Mixed Up Monitor Numbers?

Post by AidFHonda »

There's a difference between updating the kernel and upgrading to a newer kernel series. If you just do the updates in Update Manager, you would have been updating the 5.4 kernel and not moving to the 5.15 kernel.
I did not know that- is there a way to check?
And you logged out and logged back in after making the change?
Yes, I actually rebooted the machine.

Output of cat/etc/X11/xorg.conf:

Code: Select all

aidan@Aidan-PC:~$ cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 390.77  (buildd@lcy01-amd64-022)  Thu Sep  6 07:51:39 UTC 2018

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 P190S"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 740"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "DVI-I-1: 1280x1024_75 +0+123, HDMI-0: 1024x768_75 +1280+251, DVI-D-0: 1920x1080_60 +2304+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
That looks like the data for my old graphics card (which had two DVI ports)...
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mixed Up Monitor Numbers?

Post by SMG »

AidFHonda wrote: Mon Nov 28, 2022 9:58 pm
There's a difference between updating the kernel and upgrading to a newer kernel series. If you just do the updates in Update Manager, you would have been updating the 5.4 kernel and not moving to the 5.15 kernel.
I did not know that- is there a way to check?
I don't know that there is at this point. There might be, but let's clear out that xorg.config file and see if that helps.

Code: Select all

sudo rm /etc/X11/xorg.conf
You may also want to start again with the cinnamon-monitor.xml file if removing xorg.conf does not help. I'm not sure what type of interference may have been happening because of the xorg.conf file.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
AidFHonda
Level 2
Level 2
Posts: 87
Joined: Wed Dec 18, 2019 8:51 am

Re: Mixed Up Monitor Numbers?

Post by AidFHonda »

I deleted both files and nothing changed. Maybe I should be looking at a NVIDIA graphics card instead of an AMD?
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mixed Up Monitor Numbers?

Post by SMG »

AidFHonda wrote: Tue Nov 29, 2022 6:02 pm I deleted both files and nothing changed. Maybe I should be looking at a NVIDIA graphics card instead of an AMD?
Or consider a fresh install of LM21. The fact you still had an Nvidia file on your system means there may be other files you should not have.

Please supply the complete output of inxi -Fxxxrz and xrandr.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
AidFHonda
Level 2
Level 2
Posts: 87
Joined: Wed Dec 18, 2019 8:51 am

Re: Mixed Up Monitor Numbers?

Post by AidFHonda »

Fxxxrz:

Code: Select all

System:
  Kernel: 5.15.0-53-generic x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: Cinnamon 5.4.12 tk: GTK 3.24.33 wm: Mutter 42.5 vt: 7
    dm: LightDM 1.30.0 Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME X470-PRO v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 6042
    date: 04/28/2022
CPU:
  Info: 8-core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP smt: enabled
    arch: Zen+ rev: 2 cache: L1: 768 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 1740 high: 4070 min/max: 1550/3200 boost: enabled
    cores: 1: 1330 2: 2412 3: 1330 4: 1328 5: 1331 6: 1585 7: 4070 8: 1459
    9: 1375 10: 1374 11: 1327 12: 1327 13: 1509 14: 1611 15: 2851 16: 1627
    bogomips: 102207
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: ASRock driver: amdgpu v: kernel pcie: speed: 8 GT/s lanes: 8 ports:
    active: DP-1,DP-2,DP-3 empty: DVI-D-1,HDMI-A-1 bus-ID: 0b:00.0
    chip-ID: 1002:67df class-ID: 0300
  Device-2: Microdia NexiGo HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 7-2.1:5 chip-ID: 0c45:6367
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4224x1200 s-dpi: 96 s-size: 1118x318mm (44.0x12.5")
    s-diag: 1162mm (45.8")
  Monitor-1: DisplayPort-0 mapped: DP-1 pos: top-right model: HP w2408
    serial: <filter> res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8")
    diag: 611mm (24.1") modes: max: 1920x1200 min: 720x400
  Monitor-2: DisplayPort-1 mapped: DP-2 pos: middle-l model: Dell P190S
    serial: <filter> res: 1280x1024 dpi: 86 size: 376x301mm (14.8x11.9")
    diag: 482mm (19") modes: max: 1280x1024 min: 720x400
  Monitor-3: DisplayPort-2 mapped: DP-3 pos: primary,bottom-c
    model: Dell 1501FP serial: <filter> res: 1024x768 hz: 60 dpi: 86
    size: 304x228mm (12.0x9.0") diag: 380mm (15") modes: max: 1024x768
    min: 720x400
  OpenGL: renderer: AMD Radeon RX 570 Series (polaris10 LLVM 13.0.1 DRM
    3.42 5.15.0-53-generic)
    v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: ASRock driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 8
    bus-ID: 0b:00.1 chip-ID: 1002:aaf0 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 0f:00.3 chip-ID: 1022:1457
    class-ID: 0403
  Device-3: Microdia NexiGo HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 7-2.1:5 chip-ID: 0c45:6367
    class-ID: 0102 serial: <filter>
  Device-4: C-Media Audio Adapter (Unitek Y-247A) type: USB
    driver: cmedia_hs100b,snd-usb-audio,usbhid bus-ID: 7-2.3:8
    chip-ID: 0d8c:0014 class-ID: 0300
  Sound Server-1: ALSA v: k5.15.0-53-generic running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.99.1 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: b000 bus-ID: 09:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
Drives:
  Local Storage: total: 5.01 TiB used: 1.76 TiB (35.2%)
  ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8 size: 476.94 GiB
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 002C temp: 33.9 C
    scheme: GPT
  ID-2: /dev/sdb vendor: Seagate model: ST1000DM003-1CH162 size: 931.51 GiB
    speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: CC46 scheme: MBR
  ID-3: /dev/sdd vendor: Western Digital model: WD40EFRX-68N32N0
    size: 3.64 TiB speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A82
Partition:
  ID-1: / size: 467.89 GiB used: 328.06 GiB (70.1%) fs: ext4
    dev: /dev/nvme0n1p2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 46.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1478
Repos:
  Packages: 3796 apt: 3759 flatpak: 29 snap: 8
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
    1: deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main
    2: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  No active apt repos in: /etc/apt/sources.list.d/amdgpu-pro-local.list
  Active apt repos in: /etc/apt/sources.list.d/audio-recorder-ppa-focal.list
    1: deb http://ppa.launchpad.net/audio-recorder/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/gezakovacs-ppa-focal.list
    1: deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/heyarje-makemkv-beta-jammy.list
    1: deb http://ppa.launchpad.net/heyarje/makemkv-beta/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/kdenlive-kdenlive-stable-focal.list
    1: deb http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/kicad-kicad-6_0-releases-jammy.list
    1: deb http://ppa.launchpad.net/kicad/kicad-6.0-releases/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/libreoffice-ppa-focal.list
    1: deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/makemkv.list
    1: deb [signed-by=/usr/share/keyrings/heyarje.gpg] https://ppa.launchpadcontent.net/heyarje/makemkv-beta/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https://mirrors.gigenet.com/linuxmint/repo vanessa 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/otto-kesselgulasch-gimp-edge-focal.list
    1: deb http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/pinta-maintainers-pinta-stable-focal.list
    1: deb http://ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/remmina-ppa-team-remmina-next-focal.list
    1: deb http://ppa.launchpad.net/remmina-ppa-team/remmina-next/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
    1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/virtualbox.list
    1: deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian jammy contrib
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
  Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu jammy main
Info:
  Processes: 397 Uptime: 4h 3m wakeups: 0 Memory: 62.71 GiB
  used: 2.62 GiB (4.2%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11/9 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13
xrandr:

Code: Select all

Screen 0: minimum 320 x 200, current 4224 x 1200, maximum 16384 x 16384
DisplayPort-0 connected 1920x1200+2304+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00    50.00    59.94  
   1600x1200     60.00  
   1680x1050     59.88  
   1280x1024     75.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      59.95  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DisplayPort-1 connected 1280x1024+0+117 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02 +  75.02* 
   1280x800      60.02  
   1152x864      75.00  
   1280x720      60.02  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
DisplayPort-2 connected primary 1024x768+1280+261 (normal left inverted right x axis y axis) 304mm x 228mm
   1024x768      60.00*+  75.03    70.07  
   800x600       72.19    75.00    60.32  
   640x480       75.00    72.81    59.94  
   720x400       70.08  
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)

Let me know if you see anything that shouldn't be there!
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mixed Up Monitor Numbers?

Post by SMG »

AidFHonda wrote: Wed Nov 23, 2022 10:55 pm So my desktop has three monitors- a 4:3, a 5:4, and a 16:10. Before I installed Mint 21, the 4:3 was listed as Monitor 1, the 5:4 as Monitor 2, and the 16:10 as Monitor 3 across all applications. That changed shortly after I installed Mint 21 and now it's all messed up. In the Display window, they are the same as they were before. However, if I right-click on a window in the panel and select "Move to Monitor 1," the window moves to the 16:10 (monitor 3). Selecting "Move to Monitor 3" moves the window to the 4:3 (monitor 1).
With all the changes made so far, you are still getting what I will call the "mismatch" with number of monitors 1 and 3 and only those two? Or did the numbers change on the Display app, but the "move to Monitor x" part is still wrong? Just trying to get an idea if any of the changes we made had at least a partial effect.

When reading xrandr output, *= current resolution and += preferred resolution. I think I labeled these correctly. It seems the two monitors with 60Hz are what are switching. According to xrandr, you are using Monitor 2 at 75Hz, but the system sees the preferred refresh rate as 60Hz.

Code: Select all

Monitor 3
DisplayPort-0 connected 1920x1200+2304+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
Monitor 2
DisplayPort-1 connected 1280x1024+0+117 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02 +  75.02* 
Monitor 1
DisplayPort-2 connected primary 1024x768+1280+261 (normal left inverted right x axis y axis) 304mm x 228mm
   1024x768      60.00*+  75.03    70.07  
I don't know if that has relevance, but just noting what I see.

Do these settings listed for the mapping look correct?
Monitor-1: DisplayPort-0 mapped: DP-1 pos: top-right model: HP w2408
serial: <filter> res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8")
diag: 611mm (24.1") modes: max: 1920x1200 min: 720x400
Monitor-2: DisplayPort-1 mapped: DP-2 pos: middle-l model: Dell P190S
serial: <filter> res: 1280x1024 dpi: 86 size: 376x301mm (14.8x11.9")
diag: 482mm (19") modes: max: 1280x1024 min: 720x400
Monitor-3: DisplayPort-2 mapped: DP-3 pos: primary,bottom-c
model: Dell 1501FP
serial: <filter> res: 1024x768 hz: 60 dpi: 86
size: 304x228mm (12.0x9.0") diag: 380mm (15") modes: max: 1024x768
min: 720x400

It appears you still have several LM20 (focal) repos installed. I am not familiar with these ones so I do not know what impact they might have on the system.

Code: Select all

Repos:
  Active apt repos in: /etc/apt/sources.list.d/gezakovacs-ppa-focal.list
    1: deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/otto-kesselgulasch-gimp-edge-focal.list
    1: deb http://ppa.launchpad.net/otto-kesselgulasch/gimp-edge/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/pinta-maintainers-pinta-stable-focal.list
    1: deb http://ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu focal main
When you had the amdgpu pro drivers installed in the past, did you run the uninstall program? I see the repo is not active and the drivers indicate they are coming from the kernel, but just checking what might be a possible issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
AidFHonda
Level 2
Level 2
Posts: 87
Joined: Wed Dec 18, 2019 8:51 am

Re: Mixed Up Monitor Numbers?

Post by AidFHonda »

Yup, I'm still getting the mismatch. It only seems to affect monitors 1 and 3, which, yes, are the 60Hz monitors. I tried setting 2 to 60Hz and nothing changed.
Monitor-1: DisplayPort-0 mapped: DP-1 pos: top-right model: HP w2408
serial: <filter> res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8")
diag: 611mm (24.1") modes: max: 1920x1200 min: 720x400
Monitor-2: DisplayPort-1 mapped: DP-2 pos: middle-l model: Dell P190S
serial: <filter> res: 1280x1024 dpi: 86 size: 376x301mm (14.8x11.9")
diag: 482mm (19") modes: max: 1280x1024 min: 720x400
Monitor-3: DisplayPort-2 mapped: DP-3 pos: primary,bottom-c
model: Dell 1501FP serial: <filter> res: 1024x768 hz: 60 dpi: 86
size: 304x228mm (12.0x9.0") diag: 380mm (15") modes: max: 1024x768
min: 720x400
These look correct, just switch 1 and 3. I would rather my primary display be 1 and have the largest be 3.

I don't think I ran the uninstall program- what is the command for that?

Thank you!
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mixed Up Monitor Numbers?

Post by SMG »

AidFHonda wrote: Tue Nov 29, 2022 11:08 pmThese look correct, just switch 1 and 3. I would rather my primary display be 1 and have the largest be 3.
Because they are all DP ports, have you tried just switching the cables around? Instead of monitor 1 being attached to its current port on the GPU, switch it to the port monitor 3 is using. Do it while the system is shut down to make sure everything initializes properly after the change.

Are all three cables the same brand/type/etc?
(Yes, I am grasping here trying to think what might be causing the difference. ;) )
AidFHonda wrote: Tue Nov 29, 2022 11:08 pm don't think I ran the uninstall program- what is the command for that?
Did you install it? Depending upon when you did it, you may not have even installed it.

According to Radeon™ Software for Linux® Installation, it's either amdgpu-uninstall or amdgpu-pro-uninstall depending upon what you installed and then you would reboot the system.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
AidFHonda
Level 2
Level 2
Posts: 87
Joined: Wed Dec 18, 2019 8:51 am

Re: Mixed Up Monitor Numbers?

Post by AidFHonda »

Because they are all DP ports, have you tried just switching the cables around? Instead of monitor 1 being attached to its current port on the GPU, switch it to the port monitor 3 is using. Do it while the system is shut down to make sure everything initializes properly after the change.
Tried that, same issue but "reversed." They were correct on the panel but not in the "Display" window.
Are all three cables the same brand/type/etc?
They're not, because the monitors are so different. Two have DVI ports and use DP-to-DVI adapters, and the other (the 1920 by 1200) has an HDMI port and uses a DP-to-HDMI adapter. The graphics card has an HDMI port that I could try perhaps?

Ran the amdgpu-uninstall code and nothing changed.

You want to hear something interesting? On a hunch, I decided to boot from the Mint 21 install disc and that system had the exact same problem! :shock:
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mixed Up Monitor Numbers?

Post by SMG »

AidFHonda wrote: Wed Nov 30, 2022 7:19 pm
Because they are all DP ports, have you tried just switching the cables around? Instead of monitor 1 being attached to its current port on the GPU, switch it to the port monitor 3 is using.
Tried that, same issue but "reversed." They were correct on the panel but not in the "Display" window.
Which makes it sound like this is somehow related to the information the GPU is giving to the computer.
AidFHonda wrote: Wed Nov 30, 2022 7:19 pmTwo have DVI ports and use DP-to-DVI adapters, and the other (the 1920 by 1200) has an HDMI port and uses a DP-to-HDMI adapter. The graphics card has an HDMI port that I could try perhaps?
Generally speaking, there can be differences with the speed at which monitors return from suspend when the ports are different. That sometimes can result in open programs switching monitors. Other than that caveat, if you have an HDMI-HDMI cable, give it a shot. This is an odd issue so might as well try what ideas come to mind.
AidFHonda wrote: Wed Nov 30, 2022 7:19 pmYou want to hear something interesting? On a hunch, I decided to boot from the Mint 21 install disc and that system had the exact same problem! :shock:
Do you still have a Mint 20 version install disc available? If so, check it. That might give us an idea if this is related to the kernel/graphics driver.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
AidFHonda
Level 2
Level 2
Posts: 87
Joined: Wed Dec 18, 2019 8:51 am

Re: Mixed Up Monitor Numbers?

Post by AidFHonda »

Checked with Mint 20.2. There are no numbers in the Display program in Mint 20.2, so I can't tell if there was consistency or not. In the panels, Monitor 1 was correct, but 2 and 3 were switched. Strangely, this is how they are in VirtualBox.

Are there any other programs in Mint 20.2 that I can test display numbers with? LibreOffice Impress, perhaps?

I can try an HDMI cable if I can get one the correct length.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mixed Up Monitor Numbers?

Post by SMG »

AidFHonda wrote: Wed Nov 30, 2022 10:23 pm Checked with Mint 20.2. There are no numbers in the Display program in Mint 20.2, so I can't tell if there was consistency or not.
I don't recall what the change might have been with LM20.3 that it had numbers. I do not have multiple monitors, but I just checked a screenshot I have bookmarked to help with fractional scaling issues and it was LM20 and there are no numbers.

Are you using fractional scaling? (Not that I have any guesses as to how that might affect this.) Fractional scaling was off by default for LM20 versions, but it is on by default for LM21 versions. However, there was a change in how it was handled between LM20.2 and LM20.3.
AidFHonda wrote: Wed Nov 30, 2022 10:23 pmIn the panels, Monitor 1 was correct, but 2 and 3 were switched. Strangely, this is how they are in VirtualBox.
So that is an even a different variation, isn't it?
AidFHonda wrote: Wed Nov 30, 2022 10:23 pmAre there any other programs in Mint 20.2 that I can test display numbers with? LibreOffice Impress, perhaps?
Here are the LM20.3 Cinnamon New Features. I don't see anything mentioning numbers so I'm not sure to what they might relate. Because of that, I can not answer your question.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Graphics Cards & Monitors”