Proper setup for nvidia wayland kde intellij

I still feel lost in the dark when it comes to a reliable setup for my kde/wayland.

my priorities:

  1. support for external monitors optionally (both need to work as I am moving in the office, also traveling every now and then)
  2. stability and usabiliy - no kernel panics, no heavy lags of many seconds when opening applications or moving windows, no erros in applications due to GL issues, no log messages flooding my journal etc.
  3. intellij needs to be usable in a normal way (depending on my setup the windows are simply blank)

My laptop’s GPU is a hyrid intel/nvidia thing which I can set to hybrid or GPU only (“discrete”) in the HP bios setup - I no longer have a preference which one to use, as long as it’s stable and reliable. in case both are possible in the same way, I’d be happy being able to switch for travel trips (energy saving vs snappier performance).

I must add: I neither blame linux or manjaro, nor nvidia. I more have the impression my HP ZBook Fury 16 G9 Laptop simply isn’t of the highest quality (though being expensive and advertised as hight end developer thing) as I do see numerous other issues not directly related to graphics. So

here is my inxi --filter --verbosity 8

System:
  Kernel: 6.6.54-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=4fdd05a7-ae1c-41b7-91ed-22231e6fee92 rw nvidia_drm.modeset=1
    nvidia_drm.fbdev=1 pci=noaer quiet
    cryptdevice=UUID=1185a282-8a0e-47da-b7b4-b49ae0394d19:luks-1185a282-8a0e-47da-b7b4-b49ae0394d19
    root=/dev/mapper/luks-1185a282-8a0e-47da-b7b4-b49ae0394d19 splash
    resume=/dev/mapper/luks-90e25190-0dcd-4518-8141-8ac6c876db96
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP ZBook Fury 16 G9 Mobile Workstation PC
    v: SBKPF serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: HP model: 89C6 v: KBC Version 15.6A.00 serial: <filter>
    part-nu: 8B4D8EC#ABD uuid: 9ae55966-f586-4264-994a-cc2dbe9cb24d UEFI: HP
    v: U96 Ver. 01.11.04 date: 05/09/2024
Battery:
  ID-1: BAT0 charge: 71.3 Wh (96.7%) condition: 73.7/95.0 Wh (77.6%)
    volts: 16.7 min: 15.4 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: not charging cycles: 46
  Device-1: hidpp_battery_0 model: Logitech M705 serial: <filter>
    charge: 65% rechargeable: yes status: discharging
  Device-2: hidpp_battery_1 model: Logitech MK700 serial: <filter>
    charge: 70% (should be ignored) rechargeable: yes status: discharging
Memory:
  System RAM: total: 64 GiB available: 62.22 GiB used: 7.09 GiB (11.4%)
    igpu: 256 MiB
  Array-1: capacity: 128 GiB slots: 4 modules: 2 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Bottom-Slot 1(top) type: DDR5 detail: synchronous size: 32 GiB
    speed: spec: 4800 MT/s actual: 4000 MT/s volts: curr: 1.1 width (bits):
    data: 64 total: 64 manufacturer: Hynix/Hyundai part-no: HMCG88MEBSA092N
    serial: <filter>
  Device-2: Bottom-Slot 4(top) type: no module installed
  Device-3: Bottom-Slot 3(under) type: no module installed
  Device-4: Bottom-Slot 2(under) type: DDR5 detail: synchronous size: 32 GiB
    speed: spec: 4800 MT/s actual: 4000 MT/s volts: curr: 1.1 width (bits):
    data: 64 total: 64 manufacturer: Hynix/Hyundai part-no: HMCG88MEBSA092N
    serial: <filter>
PCI Slots:
  Slot: 1 type: PCIe gen: 3 status: in use info: M.2 length: long volts: 3.3
    bus-ID: 00:14.3
  Slot: 2 type: PCIe gen: 3 status: in use info: M.2 length: long volts: 3.3
    bus-ID: 00:1d.0 children: 1: 04:00.0 class-ID: 0604 type: bridge children:
    1: 05:00.0 class-ID: 0604 type: bridge children: 1: 06:00.0 class-ID: 0c03
    type: serialbus 2: 05:01.0 class-ID: 0604 type: bridge children:
    1: 07:00.0 class-ID: 0604 type: bridge children: 1: 08:00.0 class-ID: 0604
    type: bridge 2: 08:01.0 class-ID: 0604 type: bridge 3: 08:02.0
    class-ID: 0604 type: bridge 4: 08:03.0 class-ID: 0604 type: bridge
    5: 08:04.0 class-ID: 0604 type: bridge children: 1: 39:00.0 class-ID: 0200
    type: network 3: 05:02.0 class-ID: 0604 type: bridge children: 1: 3a:00.0
    class-ID: 0c03 type: serialbus 4: 05:03.0 class-ID: 0604 type: bridge
CPU:
  Info: model: 12th Gen Intel Core i7-12850HX socket: LGA1700 (U3E1)
    note: check bits: 64 type: MST AMCP arch: Alder Lake gen: core 12 level: v3
    note: check built: 2021+ process: Intel 7 (10nm ESF) family: 6
    model-id: 0x97 (151) stepping: 2 microcode: 0x36
  Topology: cpus: 1x dies: 1 clusters: 10 cores: 16 threads: 24 mt: 8 tpc: 2
    st: 8 smt: enabled cache: L1: 1.4 MiB desc: d-8x32 KiB, 8x48 KiB; i-8x32
    KiB, 8x64 KiB L2: 14 MiB desc: 8x1.2 MiB, 2x2 MiB L3: 25 MiB
    desc: 1x25 MiB
  Speed (MHz): avg: 1161 min/max: 800/4700:4800:3400 base/boost: 2079/4800
    scaling: driver: intel_pstate governor: powersave volts: 0.9 V
    ext-clock: 100 MHz cores: 1: 1161 2: 1161 3: 1161 4: 1161 5: 1161 6: 1161
    7: 1161 8: 1161 9: 1161 10: 1161 11: 1161 12: 1161 13: 1161 14: 1161
    15: 1161 16: 1161 17: 1161 18: 1161 19: 1161 20: 1161 21: 1161 22: 1161
    23: 1161 24: 1161 bogomips: 116160
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2
    bts clflush clflushopt clwb 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 fsrm fxsr gfni hfi ht hwp hwp_act_window
    hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt
    invpcid lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri
    msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pclmulqdq pconfig pdcm
    pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed
    rdtscp rep_good sdbg sep serialize sha_ni smap smep smx split_lock_detect
    ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tme tpr_shadow
    tsc tsc_adjust tsc_deadline_timer tsc_known_freq umip user_shstk vaes vme
    vmx vnmi vpclmulqdq vpid waitpkg x2apic xgetbv1 xsave xsavec xsaveopt
    xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling mitigation: Clear Register File
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB:
    conditional; RSB filling; PBRSB-eIBRS: SW sequence; BHI: BHI_DIS_S
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Alder Lake-HX GT1 [UHD Graphics 770] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: eDP-1 empty: DP-6, DP-7, DP-8, HDMI-A-2, HDMI-A-3,
    HDMI-A-4, HDMI-A-5 bus-ID: 00:02.0 chip-ID: 8086:4688 class-ID: 0300
  Device-2: NVIDIA GA107GLM [RTX A2000 8GB Laptop GPU]
    vendor: Hewlett-Packard driver: nvidia v: 550.120
    alternate: nouveau,nvidia_drm non-free: 550.xx+ status: current (as of
    2024-09; EOL~2026-12-xx) arch: Ampere code: GAxxx process: TSMC n7 (7nm)
    built: 2020-2023 pcie: gen: 2 speed: 5 GT/s lanes: 8 link-max: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: none off: DP-4,DP-5 empty: DP-1,
    DP-2, DP-3, HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:25ba class-ID: 0302
  Device-3: Luxvisions Innotech HP 5MP Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:7 chip-ID: 30c9:0040
    class-ID: 0e02 serial: <filter>
  Display: unspecified server: X.Org v: 24.1.4 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: nvidia
    gpu: i915,nvidia,nvidia-nvswitch display-ID: :1 screens: 1
  Screen-1: 0 s-res: 7040x1440 s-dpi: 96 s-size: 1863x381mm (73.35x15.00")
    s-diag: 1902mm (74.86")
  Monitor-1: DP-4 note: disabled pos: top-center model: HP E27q G4
    serial: <filter> built: 2022 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    chroma: red: x: 0.651 y: 0.325 green: x: 0.290 y: 0.596 blue: x: 0.145
    y: 0.059 white: x: 0.314 y: 0.329 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: 2560x1440, 1920x1200, 1920x1080,
    1600x1200, 1680x1050, 1600x900, 1280x1024, 1440x900, 1280x720, 1024x768,
    800x600, 640x480
  Monitor-2: DP-5 note: disabled pos: primary,top-left model: HP E27q G4
    serial: <filter> built: 2022 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    chroma: red: x: 0.651 y: 0.325 green: x: 0.290 y: 0.596 blue: x: 0.145
    y: 0.059 white: x: 0.314 y: 0.329 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: 2560x1440, 1920x1200, 1920x1080,
    1600x1200, 1680x1050, 1600x900, 1280x1024, 1440x900, 1280x720, 1024x768,
    800x600, 640x480
  Monitor-3: eDP-1 pos: bottom-r model: BOE Display 0x0a4f built: 2021
    res: 1920x1200 hz: 60 dpi: 141 gamma: 1.2 chroma: red: x: 0.639 y: 0.329
    green: x: 0.298 y: 0.600 blue: x: 0.149 y: 0.059 white: x: 0.314 y: 0.329
    size: 345x215mm (13.58x8.46") diag: 407mm (16") ratio: 16:10
    modes: 1920x1200
  EDID-Warnings: 1: parse_edid: unknown flag 2
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia x11: drv: iris inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.2.4-arch1.0.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (ADL-S GT1)
    device-ID: 8086:4688 memory: 30.38 GiB unified: yes
  API: Vulkan v: 1.3.295 layers: 1 device: 0 type: discrete-gpu name: NVIDIA
    RTX A2000 8GB Laptop GPU driver: nvidia v: 550.120 device-ID: 10de:25ba
    surfaces: xcb,xlib
Audio:
  Device-1: Intel Alder Lake-S HD Audio vendor: Hewlett-Packard
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
    chip-ID: 8086:7ad0 class-ID: 0401
  Device-2: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 8 link-max: lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:2291 class-ID: 0403
  Device-3: GN Netcom Jabra Link 380 driver: jabra,snd-usb-audio,usbhid
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1.1:4
    chip-ID: 0b0e:24c8 class-ID: 0300 serial: <filter>
  API: ALSA v: k6.6.54-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.5 status: n/a (root, process)
    with: pipewire-media-session status: active tools: pw-cli
  Server-3: PulseAudio v: 17.0 status: active (root, process)
    with: pulseaudio-alsa type: plugin tools: pacat,pactl
Network:
  Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:7af0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Ethernet I219-LM vendor: Hewlett-Packard driver: e1000e
    v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:1a1c class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  Device-3: Intel Ethernet I225-LMvP vendor: Hewlett-Packard driver: igc
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 39:00.0
    chip-ID: 8086:5502 class-ID: 0200
  IF: enp57s0 state: down mac: <filter>
  IF-ID-1: br-af7958f96efa state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-2: br-be0609be1d7c state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IF-ID-3: docker0 state: down mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:15 chip-ID: 8087:0033
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 3 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.3 lmp-v: 12
    status: discoverable: no pairing: no
Logical:
  Message: No logical block device data found.
  Device-1: luks-1185a282-8a0e-47da-b7b4-b49ae0394d19 maj-min: 254:0
    type: LUKS dm: dm-0 size: 407.99 GiB
  Components:
  p-1: nvme0n1p2 maj-min: 259:2 size: 407.99 GiB
  Device-2: luks-90e25190-0dcd-4518-8141-8ac6c876db96 maj-min: 254:1
    type: LUKS dm: dm-1 size: 68.65 GiB
  Components:
  p-1: nvme0n1p3 maj-min: 259:3 size: 68.65 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 333.9 GiB (70.0%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: KIOXIA model: N/A
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: HP01AP40 temp: 35.9 C
    scheme: GPT
  SMART: yes health: PASSED on: 129d 19h cycles: 1,002
    read-units: 19,655,531 [10.0 TB] written-units: 27,830,077 [14.2 TB]
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 407.99 GiB size: 400.52 GiB (98.17%)
    used: 333.82 GiB (83.3%) fs: ext4 block-size: 4096 B dev: /dev/dm-0
    maj-min: 254:0 mapped: luks-1185a282-8a0e-47da-b7b4-b49ae0394d19
    label: N/A uuid: 4fdd05a7-ae1c-41b7-91ed-22231e6fee92
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 84.6 MiB (28.3%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: N/A uuid: C2DB-30CC
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 68.65 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-90e25190-0dcd-4518-8141-8ac6c876db96 label: swap
    uuid: 86b3a703-6cde-4363-90f9-b2f1d048819c
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-1:2 info: Cambridge Silicon Radio Mpow HC5 Headset in charging
    mode - USB Hub ports: 4 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 0a12:4010 class-ID: 0900
  Device-1: 1-1.1:4 info: GN Netcom Jabra Link 380 type: audio,HID
    driver: jabra,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 0b0e:24c8
    class-ID: 0300 serial: <filter>
  Device-2: 1-2:3 info: Logitech Unifying Receiver type: keyboard,mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Hub-3: 1-6:5 info: Fresco Logic USB2.0 Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d5c:5801
    class-ID: 0900
  Hub-4: 1-6.4:8 info: HP USB4206 Smart Hub ports: 5 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 03f0:2488
    class-ID: 0900
  Hub-5: 1-6.4.2:11 info: HP USB2734 ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 03f0:4488
    class-ID: 0900
  Hub-6: 1-6.4.2.2:13 info: Genesys Logic Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 05e3:0610
    class-ID: 0900
  Hub-7: 1-6.4.2.3:14 info: Genesys Logic Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 05e3:0610
    class-ID: 0900
  Device-1: 1-6.4.3:12 info: HP HP Thunderbolt Dock G4 type: billboard,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 chip-ID: 03f0:0488 class-ID: 0300 serial: <filter>
  Device-2: 1-7:6 info: Synaptics type: <vendor specific> driver: N/A
    interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 06cb:00f0 class-ID: ff00 serial: <filter>
  Device-3: 1-8:7 info: Luxvisions Innotech HP 5MP Camera type: video
    driver: uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 30c9:0040 class-ID: 0e02
    serial: <filter>
  Device-4: 1-14:15 info: Intel AX211 Bluetooth type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:0033 class-ID: e001
  Hub-8: 2-0:1 info: super-speed hub ports: 10 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-9: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-10: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 39.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: 1876 pm: pacman pkgs: 1866 libs: 411 tools: pamac pm: flatpak
    pkgs: 10
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirrors.manjaro.org/repo/stable/$repo/$arch
    2: https://mirrors2.manjaro.org/stable/$repo/$arch
    3: https://mirrors.cicku.me/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 470
  1: cpu: 54.2% command: signal-desktop pid: 5603 mem: 490.2 MiB (0.7%)
  2: cpu: 52.1% command: signal-desktop pid: 5922 mem: 491.1 MiB (0.7%)
  3: cpu: 42.7% command: kwin_wayland pid: 1562 mem: 320.1 MiB (0.5%)
  4: cpu: 6.1% command: firefox pid: 2633 mem: 529.1 MiB (0.8%)
  5: cpu: 3.4% command: signal-desktop pid: 5870 mem: 112.6 MiB (0.1%)
  Memory top: 5 of 470
  1: mem: 953.3 MiB (1.4%) command: pamac-manager pid: 2532 cpu: 0.3%
  2: mem: 529.1 MiB (0.8%) command: firefox pid: 2633 cpu: 6.1%
  3: mem: 491.1 MiB (0.7%) command: signal-desktop pid: 5922 cpu: 52.1%
  4: mem: 490.2 MiB (0.7%) command: signal-desktop pid: 5603 cpu: 54.2%
  5: mem: 387.9 MiB (0.6%) command: plasmashell pid: 1740 cpu: 1.0%
Info:
  Processes: 470 Power: uptime: 18m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 24.84 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Sudo (sudo) v: 1.9.16
    default: Bash v: 5.2.37 running-in: konsole inxi: 3.3.36

nvidia-smi:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.120                Driver Version: 550.120        CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX A2000 8GB Lap...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   42C    P8              3W /   45W |     189MiB /   8192MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      1152      G   /usr/lib/Xorg                                 102MiB |
|    0   N/A  N/A      1562      G   /usr/bin/kwin_wayland                           2MiB |
+-----------------------------------------------------------------------------------------+

sudo cat /sys/module/nvidia_drm/parameters/modeset:
Y

sudo cat /sys/module/nvidia_drm/parameters/fbdev:
Y

cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT:

GRUB_CMDLINE_LINUX_DEFAULT="quiet cryptdevice=UUID=1185a282-8a0e-47da-b7b4-b49ae0394d19:luks-1185a282-8a0e-47da-b7b4-b49ae0394d19 root=/dev/mapper/luks-1185a282-8a0e-47da-b7b4-b49ae0394d19 splash resume=/dev/mapper/luks-90e25190-0dcd-4518-8141-8ac6c876db96 udev.log_priority=3"
GRUB_CMDLINE_LINUX="nvidia_drm.modeset=1 nvidia_drm.fbdev=1 pci=noaer"

mhwd -l -d --pci

--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 (0302:10de:25ba)
  Display controller nVidia Corporation 
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:        video-nvidia
   ATTACHED:    PCI
   VERSION:     2024.05.03
   INFO:        Closed source NVIDIA drivers for linux.
   PRIORITY:    5
   FREEDRIVER:  false
   DEPENDS:     -
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 



  > AVAILABLE:

   NAME:        video-hybrid-intel-nvidia-prime
   ATTACHED:    PCI
   VERSION:     2023.03.23
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:        video-hybrid-intel-nvidia-470xx-prime
   ATTACHED:    PCI
   VERSION:     2023.03.23
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    7
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:        video-nvidia
   ATTACHED:    PCI
   VERSION:     2024.05.03
   INFO:        Closed source NVIDIA drivers for linux.
   PRIORITY:    5
   FREEDRIVER:  false
   DEPENDS:     -
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 

   NAME:        video-nvidia-470xx
   ATTACHED:    PCI
   VERSION:     2023.03.23
   INFO:        Closed source NVIDIA drivers for linux.
   PRIORITY:    4
   FREEDRIVER:  false
   DEPENDS:     -
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 
   VENDORIDS:   10de 

   NAME:        video-linux
   ATTACHED:    PCI
   VERSION:     2024.05.06
   INFO:        Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:4688)
  Display controller Intel Corporation 
--------------------------------------------------------------------------------
  > AVAILABLE:

   NAME:        video-hybrid-intel-nvidia-prime
   ATTACHED:    PCI
   VERSION:     2023.03.23
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    8
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:        video-hybrid-intel-nvidia-470xx-prime
   ATTACHED:    PCI
   VERSION:     2023.03.23
   INFO:        Hybrid prime solution for NVIDIA Optimus Technology - Closed source NVIDIA driver & open source intel driver.
   PRIORITY:    7
   FREEDRIVER:  false
   DEPENDS:     video-modesetting 
   CONFLICTS:   video*nvidia* 
   CLASSIDS:    0300 0302 0300 
   VENDORIDS:   10de 8086 

   NAME:        video-linux
   ATTACHED:    PCI
   VERSION:     2024.05.06
   INFO:        Standard open source drivers.
   PRIORITY:    2
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 0380 0302 
   VENDORIDS:   1002 8086 10de 

   NAME:        video-modesetting
   ATTACHED:    PCI
   VERSION:     2020.01.13
   INFO:        X.org modesetting video driver.
   PRIORITY:    1
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 

   NAME:        video-vesa
   ATTACHED:    PCI
   VERSION:     2017.03.12
   INFO:        X.org vesa video driver.
   PRIORITY:    0
   FREEDRIVER:  true
   DEPENDS:     -
   CONFLICTS:   -
   CLASSIDS:    0300 
   VENDORIDS:   * 

I feel this post still is lacking an ultimate question, so here I am shipping some:

  • anyone having success with the same machine?
  • anyone having an idea what is supposed to be a sensible setup?
  • what exactly is the modeset flag? Is this (only) about switching between the two graphic chips or can there be more to it?
  • what exactly does the fbdev have as effect when being set vs. not being set?
  • how comes intellij is reacting so sensitive about changes to the graphic driver settings?

I know it’s unlikely that a single person can ship answers to all of these. I am happy if parts of it can be answered.

Thank you very much for reading this!
Best regards

an fwiw, here is my output when running

mhwd -f -i pci video-nvidia :

> Removing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
checking dependencies...
:: ffmpeg optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: ffmpeg4.4 optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: libvdpau optionally requires nvidia-utils: driver for NVIDIA
:: vulkan-icd-loader optionally requires vulkan-driver: packaged vulkan driver
warning: dependency cycle detected:
warning: eglexternalplatform will be removed after its nvidia-utils dependency

Packages (8) egl-wayland-4:1.1.16-1  eglexternalplatform-1.2-2  lib32-nvidia-utils-550.120-1  libxnvctrl-550.120-1  linux61-nvidia-550.120-3  linux66-nvidia-550.120-5  nvidia-settings-550.120-1  nvidia-utils-550.120-1

Total Removed Size:  899,94 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing linux66-nvidia...
removing linux61-nvidia...
removing lib32-nvidia-utils...
xorg configuration symlink valid...
removing nvidia-settings...
removing libxnvctrl...
removing nvidia-utils...
xorg configuration symlink valid...
removing egl-wayland...
removing eglexternalplatform...
:: Running post-transaction hooks...
(1/8) Reloading system manager configuration...
(2/8) Reloading device manager configuration...
(3/8) Arming ConditionNeedsUpdate...
(4/8) Updating module dependencies...
(5/8) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64.img
==> Starting build: '6.1.112-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.1-x86_64.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect
==> Starting build: '6.1.112-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.1-x86_64-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img
==> Starting build: '6.6.54-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect
==> Starting build: '6.6.54-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
(6/8) Refreshing PackageKit...
(7/8) Reloading system bus configuration...
(8/8) Updating the desktop file MIME type cache...
'/etc/X11/xorg.conf.d/90-mhwd.conf' symlink is invalid! Removing it...
> Successfully removed video-nvidia
> Installing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: eglexternalplatform will be installed before its nvidia-utils dependency

Packages (8) egl-wayland-4:1.1.16-1  eglexternalplatform-1.2-2  lib32-nvidia-utils-550.120-1  libxnvctrl-550.120-1  linux61-nvidia-550.120-3  linux66-nvidia-550.120-5  nvidia-settings-550.120-1  nvidia-utils-550.120-1

Total Installed Size:  899,94 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing eglexternalplatform...
installing egl-wayland...
installing nvidia-utils...
If you run into trouble with CUDA not being available, run nvidia-modprobe first.
If you use GDM on Wayland, you might have to run systemctl enable --now nvidia-resume.service
Optional dependencies for nvidia-utils
    nvidia-settings: configuration tool [pending]
    xorg-server: Xorg support [installed]
    xorg-server-devel: nvidia-xconfig [installed]
    opencl-nvidia=550.120: OpenCL support
installing libxnvctrl...
installing nvidia-settings...
installing lib32-nvidia-utils...
Optional dependencies for lib32-nvidia-utils
    lib32-opencl-nvidia
installing linux61-nvidia...
installing linux66-nvidia...
:: Running post-transaction hooks...
( 1/10) Creating system user accounts...
( 2/10) Reloading system manager configuration...
( 3/10) Reloading device manager configuration...
( 4/10) Arming ConditionNeedsUpdate...
( 5/10) Updating module dependencies...
( 6/10) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64.img
==> Starting build: '6.1.112-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.1-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect
==> Starting build: '6.1.112-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.1-x86_64-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img
==> Starting build: '6.6.54-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect
==> Starting build: '6.6.54-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
( 7/10) Updating Kernel initcpios for Nvidia-DRM...
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64.img
==> Starting build: '6.1.112-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.1-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux61.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.1-x86_64 -g /boot/initramfs-6.1-x86_64-fallback.img -S autodetect
==> Starting build: '6.1.112-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.1-x86_64-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64.img
==> Starting build: '6.6.54-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux66.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-6.6-x86_64 -g /boot/initramfs-6.6-x86_64-fallback.img -S autodetect
==> Starting build: '6.6.54-2-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [plymouth]
  -> Running build hook: [encrypt]
  -> Running build hook: [openswap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-6.6-x86_64-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
( 8/10) Refreshing PackageKit...
( 9/10) Reloading system bus configuration...
(10/10) Updating the desktop file MIME type cache...
nvidia-utils: install reason has been set to 'explicitly installed'
nvidia-settings: install reason has been set to 'explicitly installed'
libxnvctrl: install reason has been set to 'explicitly installed'
lib32-nvidia-utils: install reason has been set to 'explicitly installed'
linux61-nvidia: install reason has been set to 'explicitly installed'
linux66-nvidia: install reason has been set to 'explicitly installed'
xorg configuration file: '/etc/X11/mhwd.d/nvidia.conf'
> Successfully installed video-nvidia
sudo mhwd -f -i pci video-nvidia  0,01s user 0,02s system 0% cpu 3:08,28 total

after spending the whole day it seems I finally found answers to my questions, so I am sharing my findings here.

existing / unchanged settings

  • BIOS setting: I went for the discrete graphics setting, which means I am not using the hybrid graphics mode.
  • nvidia driver: as mentioned: Driver Version: 550.120 of the proprietary nvidia driver
  • modeset and fbdev: it seems both have to be set, which I do via grib as described above

so there is nothing new with the above points.

new findings / settings

intellij

New is the jetbrains / intellij issue with wayland, and it seems to be a jetbrains / wayland issue, being completely unrelated to nvidia driver. (see info from jetbrains here )
There is a specific AWT toolkit one has to use in order to use native wayland support, and this can be activated by adding -Dawt.toolkit.name=WLToolkit to the file idea64.vmoptions and voila - all of a sudden, the window has it’s proper content.

additional settings for plasma

I did find two additional settings that are supposed to be useful for KDE, so I ended up with this in grub config:

GRUB_CMDLINE_LINUX="nvidia_drm.modeset=1 nvidia_drm.fbdev=1 nvidia.NVreg_EnableGpuFirmware=0 nvidia.NVreg_PreserveVideoMemoryAllocations=1 pci=noaer"

explanation of pci=noaer part: this is a workaround I have found for a more general issue with the laptop itself - I would not recommend adding that yourself, unless you have the same machine than I do.

I hope that’s it.
Best regards
Famoso

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.