Can't login to Wayland after installing nvidia driver

Hi,

I tried to install a proprietary nvidia driver for my NVIDIA TU117M [GeForce GTX 1650 Ti Mobile]. I tried the suggested video-hybrid-intel-nvidia-prime first. After installing it and rebooting, I logged in as usual.

I then got some error messages from apps indicating that I’m logged in into an X11 session, but they’re compiled for Wayland. So, I logged out and tried to select a Wayland session. I couldn’t select Wayland, as only X11 was available.

Then, I installed video-hybrid-nvidia-47xx-prime. Same result. I, then, tried video-nvidia and video-nvidia-47xx. With the same result. So, I’m back using video-linux:

Are these drivers incompatible with Wayland? Did I do something wrong?

I’d like to use the GPU because FreeCAD feels a bit laggy and screen recording slows the system down.

inxi --admin --verbosity=7 --filter --width
System:
  Kernel: 5.10.167-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
    root=UUID=b87ec433-16bf-406f-8eb6-1515bfe7e05a rw quiet
    udev.log_priority=3 sysrq_always_enabled=1
  Desktop: GNOME v: 43.3 tk: GTK v: 3.24.36 wm: gnome-shell dm: GDM v: 43.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: XPS 17 9700 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0H7HN7 v: A00 serial: <superuser required> UEFI: Dell
    v: 1.8.2 date: 05/21/2021
Battery:
  ID-1: BAT0 charge: 63.9 Wh (100.0%) condition: 63.9/95.1 Wh (67.2%)
    volts: 12.7 min: 11.4 model: SMP DELL 01RR3YM type: Li-poly serial: <filter>
    status: full
Memory:
  RAM: total: 15.38 GiB used: 9.02 GiB (58.7%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-10750H bits: 64 type: MT MCP arch: Comet Lake
    gen: core 10 level: v3 note: check built: 2020 process: Intel 14nm family: 6
    model-id: 0xA5 (165) stepping: 2 microcode: 0xF4
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 3579 high: 3601 min/max: 800/5000 scaling:
    driver: intel_pstate governor: powersave cores: 1: 3600 2: 3600 3: 3600
    4: 3600 5: 3601 6: 3600 7: 3600 8: 3550 9: 3502 10: 3500 11: 3600 12: 3600
    bogomips: 62431
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs
    ibrs_enhanced ida intel_pt invpcid invpcid_single lahf_lm lm mca mce
    md_clear mmx monitor movbe mpx msr mtrr nonstop_tsc nopl nx ospke pae pat
    pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts
    rdrand rdseed rdtscp rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1
    sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
    tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt
    xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  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 status: Vulnerable: eIBRS with unprivileged eBPF
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Dell driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: DP-3,eDP-1 empty: DP-1,DP-2 bus-ID: 00:02.0 chip-ID: 8086:9bc4
    class-ID: 0300
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Dell
    driver: nouveau v: kernel non-free: 525.xx+ status: current (as of 2023-02)
    arch: Turing code: TUxxx process: TSMC 12nm FF built: 2018-22 pcie: gen: 3
    speed: 8 GT/s lanes: 8 link-max: lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1f95 class-ID: 0302 temp: 34.0 C
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-5:3 chip-ID: 0c45:6a0c class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.7 with: Xwayland v: 22.1.8
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia
    unloaded: nouveau alternate: fbdev,nv,vesa dri: iris gpu: i915
    display-ID: 0
  Monitor-1: DP-3 model: BenQ E2200HD serial: <filter> built: 2009
    res: 1920x1080 dpi: 104 gamma: 1.2 size: 477x268mm (18.78x10.55")
    diag: 537mm (21.1") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: eDP-1 model: Sharp 0x14d6 built: 2020 res: 3840x2400 dpi: 266
    gamma: 1.2 size: 366x229mm (14.41x9.02") diag: 432mm (17") ratio: 16:10
    modes: 3840x2400
  Message: No known Wayland EGL/GBM data sources. API: EGL/GBM
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: sof-audio-pci
    alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci bus-ID: 00:1f.3
    chip-ID: 8086:06c8 class-ID: 0401
  Sound API: ALSA v: k5.10.167-1-MANJARO running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: JACK v: 1.9.22 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: yes
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi vendor: Rivet Networks
    driver: iwlwifi v: kernel bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: br-3bfee945b4de state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IP v6: <filter> scope: link
  IF-ID-2: br-59957367eef3 state: down mac: <filter>
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-3: br-62adf58f3919 state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-4: br-cece9bf474ac state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-5: docker0 state: down mac: <filter>
  Message: Output throttled. IPs: 1; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-6: veth00cf9c8 state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-7: veth0fcdb07 state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-8: veth2080aec state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-9: veth2fb701d state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-10: veth3411020 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-11: veth43e0bcc state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-12: veth4bf9369 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-13: veth651fa53 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-14: vethe05d1ab state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  IF-ID-15: vethf281901 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-14:5
    chip-ID: 8087:0026 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 597.91 GiB (62.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: PC611 NVMe 1TB
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 11001111 temp: 30.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 135.09 GiB size: 131.91 GiB (97.65%)
    used: 112.9 GiB (85.6%) fs: ext4 dev: /dev/nvme0n1p12 maj-min: 259:12
    label: N/A uuid: b87ec433-16bf-406f-8eb6-1515bfe7e05a
  ID-2: /boot/efi raw-size: 150 MiB size: 146 MiB (97.33%)
    used: 97.2 MiB (66.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: ESP
    uuid: 9C30-A34D
  ID-3: /media/Daten raw-size: 571.59 GiB size: 561.54 GiB (98.24%)
    used: 476.43 GiB (84.8%) fs: ext4 dev: /dev/nvme0n1p11 maj-min: 259:11
    label: Daten uuid: 7ad5b584-d996-4552-87d8-6e958bb9660c
  ID-4: /var/www raw-size: 15 GiB size: 14.66 GiB (97.75%)
    used: 8.59 GiB (58.6%) fs: ext4 dev: /dev/nvme0n1p9 maj-min: 259:9 label: N/A
    uuid: 83744ab6-28d7-442c-9554-9c394711f480
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 15.62 GiB used: 37.8 MiB (0.2%) priority: -2
    file: /swapfile
Unmounted:
  ID-1: /dev/nvme0n1p10 maj-min: 259:10 size: 67 GiB fs: ext4 label: Opt
    uuid: a0ee0cd4-6ad0-4d4e-8165-4fb037cfa184
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 128 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-3: /dev/nvme0n1p3 maj-min: 259:3 size: 71.14 GiB fs: ntfs label: OS
    uuid: B022D3EF22D3B894
  ID-4: /dev/nvme0n1p4 maj-min: 259:4 size: 990 MiB fs: ntfs
    label: WINRETOOLS uuid: 66CEA5B0CEA57947
  ID-5: /dev/nvme0n1p5 maj-min: 259:5 size: 16.41 GiB fs: ntfs label: Image
    uuid: 109CA5DC9CA5BC9A
  ID-6: /dev/nvme0n1p6 maj-min: 259:6 size: 1.39 GiB fs: ntfs
    label: DELLSUPPORT uuid: 2CD2D028D2CFF45C
  ID-7: /dev/nvme0n1p7 maj-min: 259:7 size: 50 GiB fs: ext4
    label: ManXfceRoot uuid: 57518ac6-4cc4-4081-b9d0-b8811de94c44
  ID-8: /dev/nvme0n1p8 maj-min: 259:8 size: 25 GiB fs: ext4 label: Home
    uuid: 484a7809-89fd-442b-b5fe-2274c38b3503
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2 info: Shenzhen Goodix FingerPrint type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 27c6:533c class-ID: ff00
  Device-2: 1-5:3 info: Microdia Integrated_Webcam_HD type: Video
    driver: uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 0c45:6a0c class-ID: 0e02
  Hub-2: 1-13:4 info: VIA Labs USB2.0 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    chip-ID: 2109:2211 class-ID: 0900
  Device-1: 1-13.2:6 info: Dell DA20 Adapter type: Billboard driver: N/A
    interfaces: 1 rev: 2.0 speed: 12 Mb/s chip-ID: 413c:b080 class-ID: 1100
    serial: <filter>
  Device-2: 1-14:5 info: Intel AX201 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0026
    class-ID: e001
  Hub-3: 2-0:1 info: Super-speed hub ports: 10 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-4: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  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-2:2 info: VIA Labs USB3.0 Hub ports: 1 rev: 3.1 speed: 5 Gb/s
    chip-ID: 2109:0211 class-ID: 0900
  Hub-7: 5-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-8: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 54.0 C pch: 53.0 C mobo: N/A gpu: nouveau
    temp: 34.0 C
  Fan Speeds (RPM): cpu: 1697 fan-2: 1690
Info:
  Processes: 412 Uptime: 12m wakeups: 20 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
  Packages: 1867 pm: pacman pkgs: 1857 libs: 404
  tools: gnome-software,pamac,yay pm: flatpak pkgs: 10 Shell: Zsh v: 5.9
  running-in: gnome-terminal inxi: 3.3.25

Upstream disables Wayland if one is using a hybrid setup with NVIDIA.

If you want to try it anyway, see the following tutorial. It might need to be updated, so let me know if you have any feedback.