Fedora 38: Window flickers on Wayland even without nvidia

Related issue: Window flickers on Wayland with RTX3060 - Fedora Discussion

Several people have reported similar issue: : F38 Gnome flickering : Fedora

Any suggestions?

What is your GPU?
Please post the output of inxi -Fzxx so we can see the hardware and drivers involved.
Also the output of dnf list installed '*nvidia*'.

$ sudo inxi -Fzxx
  Kernel: 6.2.14-300.fc38.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.39-9.fc38 Console: pty pts/0 wm: gnome-shell DM: GDM Distro: Fedora
    release 38 (Thirty Eight)
  Type: Laptop System: Framework product: Laptop (12th Gen Intel Core) v: A4
    serial: <filter>
  Mobo: Framework model: FRANMACP04 v: A4 serial: <filter> UEFI: INSYDE
    v: 03.06 date: 11/10/2022
  ID-1: BAT1 charge: 19.8 Wh (38.6%) condition: 51.3/55.0 Wh (93.3%)
    volts: 16.4 min: 15.4 model: NVT Framewo serial: <filter> status: charging
  Info: 12-core (4-mt/8-st) model: 12th Gen Intel Core i5-1240P bits: 64
    type: MST AMCP arch: Alder Lake rev: 3 cache: L1: 1.1 MiB L2: 9 MiB
    L3: 12 MiB
  Speed (MHz): avg: 1781 high: 2100 min/max: 400/4400:3300 cores: 1: 749
    2: 2100 3: 1080 4: 2100 5: 728 6: 2100 7: 2100 8: 2100 9: 2100 10: 2100
    11: 2100 12: 2100 13: 750 14: 2100 15: 2100 16: 2100 bogomips: 67584
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Device-1: Intel Alder Lake-P Integrated Graphics driver: i915 v: kernel
    arch: Gen-12.2 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4
    bus-ID: 00:02.0 chip-ID: 8086:46a6
  Display: server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2256x1504 s-dpi: 96
  Monitor-1: eDP-1 mapped: XWAYLAND0 model: BOE Display 0x095f
    res: 2256x1504 dpi: 205 diag: 343mm (13.5")
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel Graphics (ADL GT2)
    direct-render: Yes
  Device-1: Intel Alder Lake PCH-P High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:51c8
  API: ALSA v: k6.2.14-300.fc38.x86_64 status: kernel-api
  Server-1: PipeWire v: 0.3.70 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin 4: pw-jack type: plugin
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
    pcie: speed: 5 GT/s lanes: 1 bus-ID: a6:00.0 chip-ID: 8086:2725
  IF: wlp166s0 state: up mac: <filter>
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-10:3 chip-ID: 8087:0032
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
  Local Storage: total: 931.51 GiB used: 504.41 GiB (54.2%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN770 1TB
    size: 931.51 GiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 28.9 C
  ID-1: / size: 19.52 GiB used: 14.7 GiB (75.3%) fs: ext4 dev: /dev/dm-1
    mapped: vgubuntu-FedoraRoot
  ID-2: /boot size: 738.4 MiB used: 240.9 MiB (32.6%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 127.7 MiB used: 22.4 MiB (17.5%) fs: vfat
    dev: /dev/nvme0n1p4
  ID-4: /home size: 17.42 GiB used: 1.52 GiB (8.7%) fs: ext4 dev: /dev/dm-6
    mapped: vgubuntu-FedoraHome
  ID-1: swap-1 type: partition size: 32 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/dm-2 mapped: vgubuntu-FedoraSwap
  ID-2: swap-2 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  System Temperatures: cpu: 72.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 445 Uptime: 2m Memory: 31.05 GiB used: 4.61 GiB (14.9%)
  Init: systemd v: 253 target: graphical (5) default: graphical Compilers:
  gcc: 13.1.1 Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 8
  Shell: Bash v: 5.2.15 running-in: codium inxi: 3.3.26
$ sudo dnf list installed '*nvidia*'
Installed Packages
nvidia-gpu-firmware.noarch                20230404-149.fc38                 @updates

Should I uninstall nvidia-gpu-firmware.noarch , simce it should not be needed?

It would just get reinstalled with the next firmware update. The firmware packages are available for almost all possible devices but only used for the ones actually available. If you intend to start removing firmware then (IMHO) you have to be really desperate for space. /lib/firmware (which contains all the firmware) uses <300M on my system.

Any idea what could be causing the flickering?

If it flickers when using wayland but not when using xorg then it seems somehow to be wayland related. I cannot narrow it down any more than that for you.
There are a lot of pieces involved in a DE that may contribute.

same issue