Gnucash application crash

If I start gnucash, it crashes with

Gdk-Message: 12:23:38.351: Error 71 (protocol error) dispatching to Wayland display

Googling this error the most frequent fix is either

boot parameter nvidia_drm.modeset=1
or
GSK_RENDERER=ngl in “/etc/environment”

I tried both without luck. Does somebody have more information?

My System:

System:
  Host: tqws04 Kernel: 6.15.3-1-MANJARO arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.3.5 Distro: Manjaro Linux
Machine:
  Type: Desktop System: ASUSTeK product: Pro E500 G6_WS720T v: Rev 1.xx
    serial: <superuser required>
  Mobo: ASUSTeK model: W480/SYS v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 0607 date: 09/04/2020
CPU:
  Info: 10-core model: Intel Core i9-10900 bits: 64 type: MT MCP cache:
    L2: 2.5 MiB
  Speed (MHz): avg: 800 min/max: 800/5200 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 13: 800 14: 800
    15: 800 16: 800 17: 800 18: 800 19: 800 20: 800
Graphics:
  Device-1: NVIDIA TU104GL [Quadro RTX 4000] driver: nvidia v: 575.64
  Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: nvidia
    gpu: nvidia,nvidia-nvswitch resolution: 1: 1600x1200~60Hz
    2: 1600x1200~60Hz
  API: EGL v: 1.5 drivers: nvidia,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 575.64
    renderer: Quadro RTX 4000/PCIe/SSE2
  API: Vulkan v: 1.4.313 drivers: nvidia surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo,xprop
Audio:
  Device-1: Intel Comet Lake PCH cAVS driver: snd_hda_intel
  Device-2: NVIDIA TU104 HD Audio driver: snd_hda_intel
  API: ALSA v: k6.15.3-1-MANJARO status: kernel-api
  Server-1: PipeWire v: 1.4.5 status: active
Network:
  Device-1: Intel Ethernet I219-LM driver: e1000e
  IF: eno1 state: down mac: 24:4b:fe:b9:1d:b1
  Device-2: Intel Ethernet I225-LM driver: igc
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: 24:4b:fe:b9:1d:b2
Drives:
  Local Storage: total: 5.01 TiB used: 1.12 TiB (22.3%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-00000
    size: 476.94 GiB
  ID-2: /dev/sda vendor: Seagate model: ST2000DM008-2FR102 size: 1.82 TiB
  ID-3: /dev/sdb vendor: Samsung model: PSSD T7 size: 931.51 GiB type: USB
  ID-4: /dev/sdc vendor: Western Digital model: WD20SDZW-11JJ8S0
    size: 1.82 TiB type: USB
Partition:
  ID-1: / size: 475.21 GiB used: 293.95 GiB (61.9%) fs: xfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 819.5 MiB (84.2%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 512 MiB used: 296 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 1.82 TiB used: 693.78 GiB (37.3%) fs: xfs dev: /dev/sda1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 31.18 GiB used: 3.81 GiB (12.2%)
  Processes: 454 Uptime: 34m Shell: Zsh inxi: 3.3.38

Be sure to use the code fence - select the pasted text and click the </> in the comment toolbar.

The result allows to include text which parses as links.

```
pasted text
```

Just tested a new install on Plasma 6.4 using Wayland - work as expected.

So you may be correct in thinking it is nvidia related.

Perhaps it is related to desktop scaling.

Thanks for the “code fence hint”. I included system information in my fist post.

I do not use scaling

AMD/Sway here. No GnuCash issues.