Using Nvidia driver on Wayland resulted in screen freeze when I plugged in an external monitor

I have read:

https://forums.developer.nvidia.com/t/nvidia-470-gdm-wayland-fail-to-start-when-a-monitor-is-plugged-in/182515/20

https://github.com/NVIDIA/egl-wayland/issues/45 

[Marc-barbier]

[Nov 11]

I have good news and bad new my friends.

The good :
Since the release of the latest Xwayland version you no longer need egl-wayland to have good performance in XWayland. So you can remove egl-wayland from your system and get a working wayland based system without the crashes.

removing egl-wayland fixes the crashes when plugging in a monitor

KDE plasma works perfectly
The Bad:
if you have a monitor plugged in to the nvidia gpu it will display nothing in sway, Weston, gnome

if you start a game with prime-run (or the env vars for prime-offload) gnome will crash.

It seemed that: egl-wayland which causes the crash was required by nvidia driver. but the newest driver no longer needs it.

And I do installed the newest nvidia driver:

NVIDIA Driver Version: 510.60.02
NVML Version:11.510.60.02

However when I tried to remove egl-wayland:

could not satisfy dependencies:
- removing egl-wayland breaks dependency 'egl-wayland' required by nvidia-utils

So, to solve the crash, Should i remove egl-wayland? and how?

I would appreciate it if you could help me! :smiling_face:

1 Like

youll need to remove first nvidia, then uninstall the egl wayland, install nvidia again, reboot
or you can just start your session with x11 instead of wayland… in the login menu select x11

I have tried your solution.when I removed nvidia prime driver the egl-wayland was removed the same time. and after I installed nvidia prime driver. and start up with wayland. the egl-wayland backed again.

xorg does perform normal no matter egl-wayland installed or not (maybe egl will not be invoked in xorg). but gnome’s animation on xorg is stuttering. that’s why i want to change to wayland.

thanks, anyway

provide formated output of:
inxi --admin --verbosity=7 --filter --width
mhwd -l
mhwd -li

inxi --admin --verbosity=7 --filter --width:

System:
  Kernel: 5.10.109-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
    root=UUID=063ff766-cf53-4ab3-8ec4-b566ccc310ca rw crashkernel=auto rhgb
    quiet amd_iommu=on iommu=pt vfio-pci.ids=10de:1f99 kvm.ignore_msrs=1
    video=vesafb:off,efifb:off quiet udev.log_priority=3 nvidia-drm.modeset=1
  Desktop: GNOME v: 41.5 tk: GTK v: 3.24.33 wm: gnome-shell dm: 1: GDM
    v: 41.3 2: LightDM v: 1.30.0 note: stopped Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82B6 v: Lenovo Legion R7000 2020
    serial: <superuser required> Chassis: type: 10 v: Lenovo Legion R7000 2020
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0L77769 WIN
    serial: <superuser required> UEFI: LENOVO v: EUCN31WW date: 01/01/2021
Battery:
  ID-1: BAT0 charge: 50.8 Wh (95.0%) condition: 53.5/60.0 Wh (89.1%)
    volts: 16.9 min: 15.4 model: Celxpert L19C4PC0 type: Li-poly
    serial: <filter> status: N/A cycles: 151
Memory:
  RAM: total: 15.01 GiB used: 5.71 GiB (38.1%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1874 high: 2815 min/max: 1400/3000 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2815 2: 2757
    3: 1744 4: 1831 5: 1719 6: 1826 7: 1500 8: 1528 9: 1827 10: 1779 11: 1510
    12: 1656 bogomips: 71897
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sha_ni skinit smap smca smep ssbd sse sse2 sse4_1
    sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext tsc
    tsc_scale umip v_vmsave_vmload vgif vmcb_clean vme vmmcall wbnoinvd wdt
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU117M vendor: Lenovo driver: nvidia v: 510.60.02
    alternate: nouveau pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 3
    speed: 8 GT/s lanes: 16 ports: active: none off: HDMI-A-1
    empty: DP-1,eDP-1 bus-ID: 01:00.0 chip-ID: 10de:1f99 class-ID: 0300
  Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: eDP-2 empty: none bus-ID: 05:00.0
    chip-ID: 1002:1636 class-ID: 0300
  Device-3: Syntek Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-3:3 chip-ID: 174f:244c class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1
    compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau,radeon alternate: fbdev,nv,vesa
    gpu: nvidia,amdgpu d-rect: 4480x1440 display-ID: 0
  Monitor-1: HDMI-1 pos: right model: SAM C27H71x res: 2560x1440 hz: 60
    dpi: 108 scale: 1 size: 600x340mm (23.62x13.39") diag: 690mm (27.15")
    modes: N/A
  Monitor-2: eDP-2 pos: primary,left model: BOE 0x0900 res: 1920x1080 hz: 60
    dpi: 143 scale: 1 size: 340x190mm (13.39x7.48") diag: 389mm (15.33")
    modes: N/A
  Message: Wayland GBM/EGL data currently not available.
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.10.109-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.49 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: utun state: unknown speed: 10 Mbps duplex: full mac: N/A
  IP v4: <filter> scope: global
  IP v6: <filter> virtual: stable-privacy scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-3:4
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 942.7 GiB used: 222.77 GiB (23.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: MTFDHBA512TDV
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 3009P4LN temp: 34.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Acer model: SSDSWIFT715500G
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 4A0 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 222.71 GiB (47.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: 063ff766-cf53-4ab3-8ec4-b566ccc310ca
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 58.2 MiB (22.7%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: 751E-C585
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 475.04 GiB fs: ntfs
    label: Windows-SSD uuid: 9A20C00E20BFEF7F
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 660 MiB fs: ntfs label: N/A
    uuid: 647675F37675C678
  ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 1000 MiB fs: ntfs
    label: WINRE_DRV uuid: 16A2C0C4A2C0AA17
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Dell KB216 Wired Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
    power: 100mA chip-ID: 413c:2113 class-ID: 0300
  Device-2: 1-3:3 info: Syntek Integrated Camera type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 174f:244c class-ID: 0e02 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 3-1:2 info: Genesys Logic Hub ports: 2 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 3-2:3 info: E-Signal USB Gaming Mouse type: Mouse,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 260d:1010 class-ID: 0300
  Device-2: 3-3:4 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
    class-ID: e001
  Device-3: 3-4:5 info: Integrated Express ITE Device(8910) type: Keyboard
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 048d:c100 class-ID: 0301
  Hub-5: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-6: 4-1:2 info: Genesys Logic GL3523 Hub ports: 2 rev: 3.2
    speed: 5 Gb/s chip-ID: 05e3:0620 class-ID: 0900
Sensors:
  System Temperatures: cpu: 42.1 C mobo: N/A gpu: amdgpu temp: 39.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 390 Uptime: 20m wakeups: 1 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1567 lib: 448
  Shell: Zsh v: 5.8.1 running-in: gnome-terminal inxi: 3.3.15

mhwd -l:

> 0000:03:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:01:00.0 (0300:10de:1f99) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.12.18               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.12.18               false            PCI
          video-nvidia            2021.12.18               false            PCI
    video-nvidia-470xx            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:05:00.0 (0300:1002:1636) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.12.18               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


mhwd -li

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

you dont even have installed nvidia drivers:
install drivers:
sudo mhwd -i pci video-hybrid-amd-nvidia-prime
sudo mhwd -i pci video-modesetting
reboot and check

System:
  Kernel: 5.10.109-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
    root=UUID=063ff766-cf53-4ab3-8ec4-b566ccc310ca rw crashkernel=auto rhgb
    quiet amd_iommu=on iommu=pt vfio-pci.ids=10de:1f99 kvm.ignore_msrs=1
    video=vesafb:off,efifb:off quiet udev.log_priority=3 nvidia-drm.modeset=1
  Desktop: GNOME v: 41.5 tk: GTK v: 3.24.33 wm: gnome-shell dm: 1: GDM
    v: 41.3 2: LightDM v: 1.30.0 note: stopped Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82B6 v: Lenovo Legion R7000 2020
    serial: <superuser required> Chassis: type: 10 v: Lenovo Legion R7000 2020
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0L77769 WIN
    serial: <superuser required> UEFI: LENOVO v: EUCN31WW date: 01/01/2021
Battery:
  ID-1: BAT0 charge: 50.8 Wh (95.0%) condition: 53.5/60.0 Wh (89.1%)
    volts: 16.9 min: 15.4 model: Celxpert L19C4PC0 type: Li-poly
    serial: <filter> status: N/A cycles: 151
Memory:
  RAM: total: 15.01 GiB used: 2.45 GiB (16.3%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1700 high: 3024 min/max: 1400/3000 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1683 2: 1573
    3: 1502 4: 1476 5: 3024 6: 1740 7: 1449 8: 1480 9: 1493 10: 1422 11: 1811
    12: 1758 bogomips: 71880
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
    irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
    msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
    pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
    pfthreshold pge pni popcnt pse pse36 rdpid rdpru rdrand rdseed rdt_a
    rdtscp rep_good sep sha_ni skinit smap smca smep ssbd sse sse2 sse4_1
    sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext tsc
    tsc_scale umip v_vmsave_vmload vgif vmcb_clean vme vmmcall wbnoinvd wdt
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU117M vendor: Lenovo driver: nvidia v: 510.60.02
    alternate: nouveau,nvidia_drm pcie: gen: 1 speed: 2.5 GT/s lanes: 8
    link-max: gen: 3 speed: 8 GT/s lanes: 16 ports: active: none off: HDMI-A-1
    empty: DP-1,eDP-1 bus-ID: 01:00.0 chip-ID: 10de:1f99 class-ID: 0300
  Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: eDP-2 empty: none bus-ID: 05:00.0
    chip-ID: 1002:1636 class-ID: 0300
  Device-3: Syntek Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-3:3 chip-ID: 174f:244c class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1
    compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau,radeon alternate: fbdev,nv,vesa
    gpu: nvidia,amdgpu display-ID: 0
  Monitor-1: eDP-2 model: BOE 0x0900 res: 1920x1080 hz: 60 dpi: 143 scale: 1
    size: 340x190mm (13.39x7.48") diag: 389mm (15.33") modes: N/A
  Message: Wayland GBM/EGL data currently not available.
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.10.109-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.49 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-3:4
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 942.7 GiB used: 223.34 GiB (23.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: MTFDHBA512TDV
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 3009P4LN temp: 36.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Acer model: SSDSWIFT715500G
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 4A0 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 223.28 GiB (48.0%) fs: btrfs dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: 063ff766-cf53-4ab3-8ec4-b566ccc310ca
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 58.2 MiB (22.7%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: N/A uuid: 751E-C585
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 475.04 GiB fs: ntfs
    label: Windows-SSD uuid: 9A20C00E20BFEF7F
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 660 MiB fs: ntfs label: N/A
    uuid: 647675F37675C678
  ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 1000 MiB fs: ntfs
    label: WINRE_DRV uuid: 16A2C0C4A2C0AA17
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Dell KB216 Wired Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
    power: 100mA chip-ID: 413c:2113 class-ID: 0300
  Device-2: 1-3:3 info: Syntek Integrated Camera type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 174f:244c class-ID: 0e02 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 3-1:2 info: Genesys Logic Hub ports: 2 rev: 2.1 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 3-2:3 info: E-Signal USB Gaming Mouse type: Mouse,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 260d:1010 class-ID: 0300
  Device-2: 3-3:4 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
    class-ID: e001
  Device-3: 3-4:5 info: Integrated Express ITE Device(8910) type: Keyboard
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 048d:c100 class-ID: 0301
  Hub-5: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-6: 4-1:2 info: Genesys Logic GL3523 Hub ports: 2 rev: 3.2
    speed: 5 Gb/s chip-ID: 05e3:0620 class-ID: 0900
Sensors:
  System Temperatures: cpu: 44.8 C mobo: N/A gpu: amdgpu temp: 40.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 364 Uptime: 1m wakeups: 1 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1574 lib: 450
  Shell: Zsh v: 5.8.1 running-in: gnome-terminal inxi: 3.3.15

> 0000:03:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:01:00.0 (0300:10de:1f99) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.12.18               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.12.18               false            PCI
          video-nvidia            2021.12.18               false            PCI
    video-nvidia-470xx            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:05:00.0 (0300:1002:1636) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.12.18               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
video-hybrid-amd-nvidia-prime            2021.12.18               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

check the crashing/ freezing now… and if you really dont need the ‘egl-wayland’ open add/remove software and click mark as explicitly installed, reboot and try to uninstall it… if you didnt get any nvidia dependency issues, reboot again after uninstalling it, and check the freezing/crashing

have reboot and tried for several times. there still shows:

could not satisfy dependencies:
- removing egl-wayland breaks dependency 'egl-wayland' required by nvidia-utils
``` :rofl:

i tried uninstall the egl-wayland on manjaro KDE, and get the same nvidia dependency issue… lets wait till someone more competent replies…

Ok, thanks again :smiling_face:

I’m having problems (intel/nvidia & gnome/wayland) when connecting external monitors as well, but mostly black screens.

I recently tried Feodra workstation 36 (beta) and my external monitor just worked there (although it didn’t quite feel like 60fps). It had gnome 42 wayland and used nouveau, so I’m hoping these issues get better with gnome 42, or alternatively nouveau could be an option.

Hello @DannyLiu :wink:

I guess there is no way to remove egl-wayland without removing nvidia-utils. The only way would be getting the PKGBUILD remove egl-wayland from the dependencies and package it yourself.

Not recommended, but you can remove them:

pamac list --files egl-wayland | xargs rm -Rf {} 

:warning: I am not responsible for any damage. Your are on your own here.

I have run pamac list --files egl-wayland | xargs rm -Rf {} . Fortunately the system didn’t crash :rofl:. But the freeze problem didn’t be solved either. Maybe we should wait Nvidia official to fix it. And I will continue to use X11 for now (although it is stuttering . Thanks

and did you check that you actually have uninstalled the egl-wayland? just to be sure

I have tried to remove egl-wayland the way you mentioned. But it always shows dependency problems. and for @megavolt 's solution, it still freeze when I plugin the secondary monitor after running :

pamac list --files egl-wayland | xargs rm -Rf {} 

Maybe there are more problems beyond egl-wayland dependency. Because I have meet too many problems with Nvidia graphic card in Linux. And for now, I have two solutions:

  1. Using nvidia proprietary driver and login with X11
  2. Using Wayland without proprietary driver
    :rofl: