F42 Black bar flicker in screen share

Hello,

i have a problem when screen sharing using Discord or Teams. When screen sharing any game i have strange flickering at the top. When sharing a browser with a video running it flickers too but less. Desktop screen sharing is fine. OBS recording is fine no flicker. First i thought it might be a discord issue but now i noticed it on Teams too. I have a dual monitor setup and tried to unplug one but still the issue persists. I have a NVIDIA 3070 so it might be an NVIDIA+Wayland issue?

inxi -Fxxxz

System:
  Kernel: 6.15.3-200.fc42.x86_64 arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
    clocksource: tsc
  Desktop: GNOME v: 48.2 tk: GTK v: 3.24.49 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 48.0 Distro: Fedora Linux 42
    (Workstation Edition)
Machine:
  Type: Desktop Mobo: Gigabyte model: B550M DS3H v: x.x
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: F20g date: 03/11/2025
CPU:
  Info: 6-core model: AMD Ryzen 5 5600 bits: 64 type: MT MCP smt: enabled
    arch: Zen 3+ rev: 2 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 1750 min/max: 566/4471 boost: enabled cores: 1: 1750
    2: 1750 3: 1750 4: 1750 5: 1750 6: 1750 7: 1750 8: 1750 9: 1750 10: 1750
    11: 1750 12: 1750 bogomips: 83838
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: Micro-Star MSI
    driver: nvidia v: 575.64 arch: Ampere pcie: speed: 2.5 GT/s lanes: 16 ports:
    active: none off: DP-2,DP-3 empty: DP-1,HDMI-A-1 bus-ID: 05:00.0
    chip-ID: 10de:2484 class-ID: 0300
  Display: wayland server: Xwayland v: 24.1.8 compositor: gnome-shell
    driver: gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-2 model: LG (GoldStar) ULTRAGEAR serial: <filter>
    res: 2560x1440 dpi: 108 size: 600x340mm (23.62x13.39") diag: 690mm (27.2")
    modes: max: 2560x1440 min: 640x480
  Monitor-2: DP-3 model: HP OMEN by 25 serial: <filter> res: 1920x1080
    dpi: 90 size: 543x302mm (21.38x11.89") diag: 621mm (24.5") modes:
    max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6.0 vendor: nvidia v: 575.64 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2
    display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: api: glxinfo gpu: nvidia-settings,nvidia-smi x11: xdriinfo,
    xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 05:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
    vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 07:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Realtek LG Monitor HP MIC driver: hid-generic,usbhid type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-4.4:5 chip-ID: 0bda:4027
    class-ID: 0300 serial: <filter>
  API: ALSA v: k6.15.3-200.fc42.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.4.5 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: Gigabyte driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 2.73 TiB used: 1.67 TiB (61.0%)
  ID-1: /dev/nvme0n1 vendor: KIOXIA model: EXCERIA G2 SSD size: 931.51 GiB
    speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: ECFA17.3
    temp: 45.9 C scheme: GPT
  ID-2: /dev/sda vendor: Western Digital model: WD10EZEX-21M2NA0
    size: 931.51 GiB speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: 1A01 scheme: GPT
  ID-3: /dev/sdb vendor: Western Digital model: WD10EACS-22D6B0
    size: 931.51 GiB speed: 3.0 Gb/s tech: N/A serial: <filter> fw-rev: 1A01
    scheme: GPT
Partition:
  ID-1: / size: 929.93 GiB used: 151.88 GiB (16.3%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 466.9 MiB (48.0%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19.3 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 929.93 GiB used: 151.88 GiB (16.3%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 1.19 GiB (14.9%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 43.2 C mobo: 30.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.51 GiB used: 5.78 GiB (37.3%)
  Processes: 597 Power: uptime: 27m states: freeze,mem,disk suspend: deep
    wakeups: 0 hibernate: platform Init: systemd v: 257 target: graphical (5)
    default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 39
    Compilers: gcc: 15.1.1 Shell: Bash v: 5.2.37 running-in: ptyxis-agent
    inxi: 3.3.38

I would really appreciate if someone could point me in the right direction. Thanks.

There’s quite a few similar reports, and I had something similar before as well but only on Wayland.
If you can switch on login to X11 to eliminate that, that can help reduce the potential causes.

I think this problem is unrelated. The games/video are fine for me but the stream being transmitted is flickering and has these strange black bars. X11 is not really an option because i want to use VRR on a multi monitor setup.

For anyone having the same issue, it is related to mutter and/or gnome. I switched to KDE and no flickering anymore. I will file a bug report in the mutter repo.