Kwin-wayland after adding DRI_PRIME=1 to /etc/environment

For years, I have been struggling to determine if my GPU was defective, since no applications used it. Last week, I have discovered DRI_PRIME=1, which tells all applications to use the second GPU, in my case, discrete. Silly laptop things, I guess.

Anyway, worked great! Kinfocenter now showed my AMD chip as the first card, and Natron now rendered using my dGPU instead of iGPU. I went ahead and ran an update, which I believe included a new kernel (and grub update), and lots of plasma updates. After that point, I could no longer launch wayland.

Wayland is fine, as Weston runs fine.

System

Section key value
Software
OS KDE Neon 6.3
KDE Plasma Version 6.3.2
KDE Frameworkd Version 6.11.0
Kernel Version 6.11.0-17-generic (64-bit)
Hardware
Processors 8x Intel i7-8550U @ 1.80GHz
Memory 30.6 GiB of RAM
Graphics Processor 1 Intel UHD Graphics 620 (integrated)
Graphics Processor 2 AMD Radeon Pro WX 3100 (discrete)
Manufacturer HP
Product Name HP Zbook 15u G5
System Version SBKPF
Serial Number 5CG9093Z1Y

Feel free to use the serial number to lookup any additional specs on HP’s website. I will also provide a few logs in the comments.

okay apparently I’m not alone