Fedora 43 / GNOME / Wayland / NVIDIA — display mirroring fails, but “Join Displays” works

Hi,

I’m on Fedora Linux 43 Workstation , GNOME , Wayland , with an NVIDIA GeForce RTX 3060 Laptop GPU .

My display setup:

  • Internal laptop display: 2560×1600
  • External monitor: Dell S2721DGF, 2560×1440 via HDMI

Problem:

  • Join Displays works normally
  • Mirror fails every time, it shows only one screen, when I click on it I get an error:

What I already tried:

  • Set both displays to 100% scaling
  • Set both displays to 60 Hz (to the best of my ability: 60.01 and 59.95 Hz)
  • Tried changing resolutions, but the laptop panel does not offer 1920×1080
  • Mirroring still does not work

Relevant info:

  • inxi -Gxx
Graphics:
  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 580.142 arch: Ampere pcie: speed: 8 GT/s lanes: 8 ports:
    active: HDMI-A-1,eDP-1 empty: DP-1,DP-2 bus-ID: 01:00.0 chip-ID: 10de:2560
  Display: wayland server: Xwayland v: 24.1.9 compositor: gnome-shell
    v: 49.5 driver: gpu: nv_platform,nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: HDMI-1 model: DEL DELL S2721DGF res: 2560x1440 hz: 144 dpi: 108
    diag: 690mm (27.15")
  Monitor-2: HDMI-A-1 model: Dell S2721DGF res: 2560x1440 dpi: 109
    diag: 685mm (27")
  Monitor-3: eDP-1 model: CSO 0x1600 res: 2560x1600 hz: 165 dpi: 188
    diag: 407mm (16")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 580.142 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
    display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: glxinfo gpu: nvidia-settings,nvidia-smi wl: wayland-info
    x11: xdriinfo, xdpyinfo, xprop, xrandr
  • Native resolutions are 2560×1600 (16:10) and 2560×1440 (16:9)

Welcome to Fedora @nagisaa

Could you test an other HDMI cable? Do you have a other option to connect the monitor (usb-c display-port) ?

I first hit this problem a couple of weeks ago when connecting to a projector. That projector is used by lots of people, so I doubt the HDMI cable is the issue. Also, I used this same laptop about a year ago on Windows with external displays and did not have this problem.

One important detail: Join Displays works fine . The problem only happens when I choose Mirror , so the external display connection itself seems to be working.

Please observe the Message :

Changes Cannot be Applied

This could be due to hardware limitations.

HDMI is not an open standard. So can be that on Windows it works different than Linux.

That is why i asked for an alternative connection … Display port on the other hand is open. Maybe with usb-C you have more look too. However for that you probably would need a docking station.

Is there a resolution that both monitors support that you’ve tried?

I see. In that case, my laptop does not have a native DisplayPort output, so the only alternative I could test would be USB-C to DisplayPort .

That said, since Join Displays works , I would expect the cable and basic HDMI connection to be fine. The problem only appears with Mirror, which makes me think this is more about how GNOME/Wayland handles mirroring than HDMI itself.

The laptop display is locked to 2560×1600 (16:10) , and the Dell monitor does not support that same resolution, so I do not seem to have a common resolution available to test for mirroring.

Guessing you’re running into something similar to, Cannot use different scaling on Wayland with clone mode (#2724) · Issues · GNOME / mutter · GitLab.

You could try asking on Gnome’s discourse instance

EDIT: You could also try a live disk of KDE and see if it works.

inxi reports three displays the internal + two dell.

I only have one, so its weird, also both on that output have the same serial number: S2721DGF
Don’t know why or how

that’s not the serial number but the model/type number

coutd you run grep . /sys/class/drm/*/status pls?

EDIT: also have you disabled the internal GPU?

I wanted to suggest the same, but @nagisaa is using the proprietary Nvidia driver, I don’t think that would work on a live system.

  • grep . /sys/class/drm/*/status
/sys/class/drm/card1-DP-1/status:disconnected
/sys/class/drm/card1-DP-2/status:disconnected
/sys/class/drm/card1-eDP-1/status:connected
/sys/class/drm/card1-HDMI-A-1/status:connected
  • switcherooctl list
Device: 0
  Name:        NVIDIA Corporation GA106M [GeForce RTX™ 3060 Mobile / Max-Q]
  Default:     yes
  Discrete:    yes
  Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only VK_LOADER_DRIVERS_SELECT=*nvidia*
  • inxi -Fzxx
System:
  Kernel: 6.19.10-200.fc43.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 15.2.1
  Desktop: GNOME v: 49.5 tk: GTK v: 3.24.52 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 43 (Workstation Edition)
Machine:
  Type: Laptop System: LENOVO product: 82JQ v: Legion 5 Pro 16ACH6H
    serial: <superuser required> Chassis: type: 10 v: Legion 5 Pro 16ACH6H
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
    serial: <superuser required> part-nu: LENOVO_MT_82JQ_BU_idea_FM_Legion 5
    Pro 16ACH6H Firmware: UEFI vendor: LENOVO v: GKCN65WW date: 01/16/2024
Battery:
  ID-1: BAT0 charge: 71.4 Wh (100%) condition: 71.4/80 Wh (89.2%) volts: 16.23
    min: 15.36 model: Sunwoda L20D4PC1 serial: <filter> charging: status: full
    cycles: 60
  Device-1: hidpp_battery_0 model: Logitech MX Ergo Multi-Device Trackball
    serial: <filter> charge: 55% (should be ignored) status: discharging
  Device-2: ps-controller-battery-7c:66:ef:50:5b:22 model: N/A serial: N/A
    charge: N/A status: charging
CPU:
  Info: 6-core model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 16 MiB
  Speed (MHz): avg: 1109 min/max: 413/4281 boost: enabled cores: 1: 1109
    2: 1109 3: 1109 4: 1109 5: 1109 6: 1109 7: 1109 8: 1109 9: 1109 10: 1109
    11: 1109 12: 1109 bogomips: 79053
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a
    ssse3 svm
Graphics:
  Device-1: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 580.142 arch: Ampere pcie: speed: 2.5 GT/s lanes: 8 ports:
    active: HDMI-A-1,eDP-1 empty: DP-1,DP-2 bus-ID: 01:00.0 chip-ID: 10de:2560
  Display: wayland server: Xwayland v: 24.1.9 compositor: gnome-shell
    driver: gpu: nv_platform,nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: HDMI-1 model: DEL DELL S2721DGF res: 2560x1440 hz: 144 dpi: 108
    diag: 690mm (27.15")
  Monitor-2: HDMI-A-1 model: Dell S2721DGF res: 2560x1440 dpi: 109
    diag: 685mm (27")
  Monitor-3: eDP-1 model: CSO 0x1600 res: 2560x1600 hz: 165 dpi: 188
    diag: 407mm (16")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 580.142 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
    display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: glxinfo gpu: nvidia-settings,nvidia-smi wl: wayland-info
    x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA GA106 High Definition Audio driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:228e
  Device-2: Advanced Micro Devices [AMD] Audio Coprocessor vendor: Lenovo
    driver: N/A pcie: speed: 8 GT/s lanes: 16 bus-ID: 06:00.5 chip-ID: 1022:15e2
  Device-3: Advanced Micro Devices [AMD] Ryzen HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 06:00.6 chip-ID: 1022:15e3
  Device-4: Razer USA Seiren Mini driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 1-2.1.4:7
    chip-ID: 1532:0531
  Device-5: Sony DualSense wireless controller (PS5)
    driver: playstation,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 3-1:2 chip-ID: 054c:0ce6
  API: ALSA v: k6.19.10-200.fc43.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.4.11 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 1000 bus-ID: 03:00.0 chip-ID: 10ec:8168
  IF: eno1 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie:
    speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723
  IF: wlp4s0 state: up mac: <filter>
  Device-3: Sony DualSense wireless controller (PS5)
    driver: playstation,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 3-1:2 chip-ID: 054c:0ce6
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 3-4:3 chip-ID: 8087:0029
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.2
    lmp-v: 11
Drives:
  Local Storage: total: 1.86 TiB used: 165.05 GiB (8.7%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFS001TDE9X084N
    size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 46.9 C
  ID-2: /dev/nvme1n1 vendor: SK Hynix model: HFS001TDE9X084N
    size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 46.9 C
Partition:
  ID-1: / size: 752.27 GiB used: 164.33 GiB (21.8%) fs: btrfs
    dev: /dev/nvme1n1p5
  ID-2: /boot size: 973.4 MiB used: 714.4 MiB (73.4%) fs: ext4
    dev: /dev/nvme1n1p4
  ID-3: /boot/efi size: 598.8 MiB used: 25 MiB (4.2%) fs: vfat
    dev: /dev/nvme1n1p3
  ID-4: /home size: 752.27 GiB used: 164.33 GiB (21.8%) fs: btrfs
    dev: /dev/nvme1n1p5
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 4 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 58.6 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.46 GiB used: 6.43 GiB (41.6%)
  Processes: 474 Power: uptime: 4h 22m wakeups: 0 Init: systemd v: 258
    default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 20
    Compilers: gcc: 15.2.1 Shell: Zsh v: 5.9 running-in: ptyxis-agent
    inxi: 3.3.40