Plasma wayland - kmail/kontact not displaying preview

[5243:5273:0918/] SharedImageStub: unable to create context
[5243:5273:0918/] GpuChannel: Failed to create SharedImageStub


The message preview is just blank, works on xorg and sway, but not on plasma wayland.

The error messages scroll repeatedly. I reinstalled recently - made an error, I reinstalled with the iGPU active not the discrete, so this may be the cause, but everything else is now working.

  Kernel: 5.19.9-AMD arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Console: pty pts/1 Distro: EndeavourOS base: Arch Linux
  Type: Laptop System: LENOVO product: 82JY v: Legion 5 17ACH6H
    serial: <filter>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN serial: <filter>
    UEFI: LENOVO v: GKCN57WW date: 06/16/2022
  ID-1: BAT0 charge: 80.3 Wh (95.0%) condition: 84.5/80.0 Wh (105.7%)
    volts: 16.6 min: 15.4 model: Celxpert L20C4PC2 status: full
  RAM: total: 15.49 GiB used: 5.79 GiB (37.4%)
  Array-1: capacity: 32 GiB slots: 2 EC: None max-module-size: 16 GiB
    note: est.
  Device-1: DIMM 0 type: DDR4 size: 8 GiB speed: 3200 MT/s
  Device-2: DIMM 0 type: DDR4 size: 8 GiB speed: 3200 MT/s
  Info: 8-core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB
  Speed (MHz): avg: 786 high: 2535 min/max: 400/4463 boost: enabled cores:
    1: 400 2: 400 3: 400 4: 400 5: 2313 6: 400 7: 400 8: 2535 9: 400 10: 400
    11: 400 12: 400 13: 400 14: 400 15: 2534 16: 400 bogomips: 102240
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 515.65.01 arch: Ampere bus-ID: 01:00.0
  Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:3
  Display: server: X.Org v: 22.1.3 with: Xwayland v: 22.1.3 driver: X:
    loaded: nvidia unloaded: modesetting gpu: nvidia,nvidia-nvswitch
    resolution: 1920x1080~144Hz
  OpenGL: renderer: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2 v: 4.6.0
    NVIDIA 515.65.01 direct render: Yes
  Device-1: NVIDIA GA104 High Definition Audio driver: snd_hda_intel
    v: kernel bus-ID: 01:00.1
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: N/A bus-ID: 06:00.5
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 06:00.6
  Sound Server-1: ALSA v: k5.19.9-AMD running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: PulseAudio v: 16.1 running: no
  Sound Server-4: PipeWire v: 0.3.58 running: yes
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: N/A port: 2000 bus-ID: 03:00.0
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Lenovo driver: rtw89_8852ae v: kernel port: 1000 bus-ID: 04:00.0
  IF: wlan0 state: up mac: <filter>
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 3-4:3
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
  Local Storage: total: 2.29 TiB used: 109.1 GiB (4.7%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ512HBLU-00BL2
    size: 476.94 GiB
  ID-2: /dev/nvme1n1 vendor: Crucial model: CT2000P2SSD8 size: 1.82 TiB
  ID-1: / size: 1.81 TiB used: 109.1 GiB (5.9%) fs: xfs dev: /dev/nvme1n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 2.7 MiB (0.9%) fs: vfat
    dev: /dev/nvme1n1p1
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme1n1p3
  System Temperatures: cpu: 48.6 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 344 Uptime: 14m Init: systemd Compilers: gcc: 12.2.0
  clang: 14.0.6 Packages: 1562 Shell: Zsh v: 5.9 inxi: 3.3.21

If it works on Sway it is not a Wayland problem.

Have you tried with antoher plasma theme? Are you using Kvantum? Can you try with Default breeze theme?