nVidia doesn't work on Wayland

When trying to run programs using discrete graphic (nvidia) they show weird behavior, e.g. Firefox crashes and doesn’t launch or GNOME dock shows Telegram is open and notifications are received but nothing is visible on screen.
On Xorg things work fine and games run smoothly; this issue didn’t exist and it used to work on wayland either but I don’t know since when the issue occurs.

F38 and 6.7.3 but tried older kernels down to 6.6.9
driver 545.29.06

lspci -v | grep -i nvidia
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce MX350] (rev a1)
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
inxi -Fzxx
  12Kernel 6.7.3-100.fc38.x86_64 12arch x86_64 12bits 64 12compiler gcc 12v 2.39-16.fc38
  12Desktop GNOME 12v 44.8 12tk GTK 12v 3.24.41 12wm gnome-shell 12dm GDM 12Distro Fedora Linux 38
    (Workstation Edition)
  12Type Laptop 12System ASUSTeK 12product ZenBook UX434IQ_UM433IQ 12v 1.0 12serial <superuser required>
  12Mobo ASUSTeK 12model UX434IQ 12v 1.0 12serial <superuser required> 12UEFI American Megatrends
    12v UX434IQ_UM433IQ.302 12date 07/10/2020
  12ID-1 BAT0 12charge 13.0 Wh (37.2%) 12condition 34.9/50.0 Wh (69.9%) 12volts 11.9 12min 11.9
    12model ASUSTeK ASUS Battery 12serial N/A 12status discharging
  12Info 8-core 12model AMD Ryzen 7 4700U with Radeon Graphics 12bits 64 12type MCP 12arch Zen 2 12rev 1 12cache
    12L1 512 KiB 12L2 4 MiB 12L3 8 MiB
  12Speed (MHz) 12avg 1548 12high 2000 12min/max 1400/2000 12boost enabled 12cores 121 1397 122 1397 123 1397
    124 1397 125 1400 126 2000 127 2000 128 1397 12bogomips 31940
  12Flags avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  12Device-1 NVIDIA GP107M [GeForce MX350] 12vendor ASUSTeK 12driver nvidia 12v 545.29.06 12arch Pascal 12pcie
    12speed 2.5 GT/s 12lanes 4 12bus-ID 01:00.0 12chip-ID 10de:1c96
  12Device-2 AMD Renoir [Radeon RX Vega 6 ] 12vendor ASUSTeK 12driver amdgpu 12v kernel 12arch GCN-5 12pcie
    12speed 16 GT/s 12lanes 16 12ports 12active eDP-1 12empty HDMI-A-1 12bus-ID 04:00.0 12chip-ID 1002:1636
    12temp 46.0 C
  12Device-3 IMC Networks USB2.0 HD IR UVC WebCam 12driver uvcvideo 12type USB 12rev 2.0 12speed 480 Mb/s
    12lanes 1 12bus-ID 3-2:2 12chip-ID 13d3:56cb
  12Display wayland 12server X.org 12v 1.20.14 12with Xwayland 12v 22.1.9 12compositor gnome-shell 12driver 12X
    12loaded amdgpu,nvidia 12unloaded fbdev,modesetting,nouveau,vesa 12alternate nv 12dri radeonsi 12gpu amdgpu
    12display-ID 0
  12Monitor-1 eDP-1 12model BOE Display 0x07e9 12res 1920x1080 12dpi 158 12diag 355mm (14")
  12API OpenGL 12v 4.6 12vendor amd mesa 12v 23.1.9 12glx-v 1.4 12es-v 3.2 12direct-render yes 12renderer AMD
    Radeon Graphics (renoir LLVM 16.0.6 DRM 3.57 6.7.3-100.fc38.x86_64) 12device-ID 1002:1636
    12display-ID :0.0
  12API EGL 12Message EGL data requires eglinfo. Check --recommends.
  12Device-1 AMD Renoir Radeon High Definition Audio 12driver snd_hda_intel 12v kernel 12pcie 12speed 16 GT/s
    12lanes 16 12bus-ID 04:00.1 12chip-ID 1002:1637
  12Device-2 AMD ACP/ACP3X/ACP6x Audio Coprocessor 12vendor ASUSTeK 12driver N/A 12pcie 12speed 16 GT/s
    12lanes 16 12bus-ID 04:00.5 12chip-ID 1022:15e2
  12Device-3 AMD Family 17h/19h HD Audio 12vendor ASUSTeK 12driver snd_hda_intel 12v kernel 12pcie
    12speed 16 GT/s 12lanes 16 12bus-ID 04:00.6 12chip-ID 1022:15e3
  12API ALSA 12v k6.7.3-100.fc38.x86_64 12status kernel-api
  12Server-1 PipeWire 12v 1.0.3 12status active 12with 121 pipewire-pulse 12status active 122 wireplumber
    12status active 123 pipewire-alsa 12type plugin 124 pw-jack 12type plugin
  12Device-1 Intel Wi-Fi 6 AX200 12driver iwlwifi 12v kernel 12pcie 12speed 5 GT/s 12lanes 1 12bus-ID 02:00.0
    12chip-ID 8086:2723
  12IF wlp2s0 12state up 12mac <filter>
  12IF-ID-1 nekoray-tun 12state unknown 12speed 10000 Mbps 12duplex full 12mac N/A
  12Device-1 Intel AX200 Bluetooth 12driver btusb 12v 0.8 12type USB 12rev 2.0 12speed 12 Mb/s 12lanes 1
    12bus-ID 1-4:2 12chip-ID 8087:0029
  12Report btmgmt 12ID hci0 12rfk-id 2 12state down 12bt-service enabled,running 12rfk-block 12hardware no
    12software yes 12address <filter> 12bt-v 5.2 12lmp-v 11
  12Local Storage 12total 953.87 GiB 12used 433.35 GiB (45.4%)
  12ID-1 /dev/nvme0n1 12vendor Samsung 12model MZVLB1T0HALR-00000 12size 953.87 GiB 12speed 31.6 Gb/s
    12lanes 4 12serial <filter> 12temp 36.9 C
  12ID-1 / 12size 952.28 GiB 12used 432.8 GiB (45.4%) 12fs btrfs 12dev /dev/nvme0n1p3
  12ID-2 /boot 12size 973.4 MiB 12used 541.2 MiB (55.6%) 12fs ext4 12dev /dev/nvme0n1p2
  12ID-3 /boot/efi 12size 598.8 MiB 12used 19 MiB (3.2%) 12fs vfat 12dev /dev/nvme0n1p1
  12ID-4 /home 12size 952.28 GiB 12used 432.8 GiB (45.4%) 12fs btrfs 12dev /dev/nvme0n1p3
  12ID-1 swap-1 12type zram 12size 8 GiB 12used 0 KiB (0.0%) 12priority 100 12dev /dev/zram0
  12System Temperatures 12cpu 48.0 C 12mobo N/A 12gpu amdgpu 12temp 46.0 C
  12Fan Speeds (rpm) 12cpu 0
  12Memory 12total 16 GiB 12note est. 12available 15.04 GiB 12used 3.2 GiB (21.2%)
  12Processes 398 12Power 12uptime 1h 21m 12wakeups 0 12Init systemd 12v 253 12target graphical (5)
    12default graphical
  12Packages 12pm flatpak 12pkgs 78 12Compilers 12gcc 13.2.1 12Client Unknown Client: flatpak-session-helper
    12inxi 3.3.32

How can I troubleshoot?
thank you