Krfb "freezing" when turning off the monitor (Wayland)

I’m experiencing this odd issue on Wayland, not on X11.

Basically, if I’m running Krfb and turn off my PC’s monitor in the meanwhile, the display appears to “freeze” in place on the client’s side. I can still connect like it’s actually working and I can move around the mouse, but I can’t interact with anything and the display appears to just stay stuck. Restarting Krfb doesn’t help, only rebooting does.

This makes Krfb entirely useless, as I use it for accessing my PC when I’m not in the same room (in which case I always turn off my monitor).

Checked it in the terminal, this shows up if I disconnect my monitor:

kpipewire_logging: Stream error:  target not found
kpipewire_logging: PipeWire remote error:  -2 target not found
kpipewire_logging: PipeWire remote error:  -2 unknown resource 2 op:2
kpipewire_logging: PipeWire remote error:  -2 unknown resource 2 op:3
kpipewire_logging: PipeWire remote error:  -2 unknown resource 2 op:2
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash

Pipewire is audio. Does the monitor have speakers?

Nope.

Also, I thought PipeWire handled desktop sharing/remote desktop as well?

I can’t verify that.

PipeWire handles both audio and video.

Thanks for that info. I thought it was just audio devices.