Open LilleAila opened 1 month ago
The same also happened on wl-screenrec 0.1.4
, the latest version in nixpkgs
What compositor are you using?
I can repro a crash in the same spot by enabling a display while capturing, so I'll fix that, maybe that's the same bug...
Ok, fixed a very similar bug, curious if it fixes the one you're running into. Try abb0f262aa41027df00f5f3be74ce78eb95b66df
What compositor are you using?
I can repro a crash in the same spot by enabling a display while capturing, so I'll fix that, maybe that's the same bug...
I’m using sway. It looks like from the behavior of swaylock
(wallpaper resets on one monitor), that one of them get unplugged. I’ll try that commit
Ok, fixed a very similar bug, curious if it fixes the one you're running into. Try abb0f26
That seems to have partially fixed it. The original error i had stopped happening, but for my specific setup, my hdmi-connected monitor disconnects on suspend, now leading to this error instead:
Failed to screencopy!
, although this might be intended behavior and an issue on my side
Ok thanks. I bet disconnecting the monitor that I'm recording on then reconnecting it will repro your issue, will give it a try
If i run
wl-screenrec --output HDMI-A-1 --history 10
, then runsystemctl suspend
, the program crashes with this error:It only happens when suspending for some time, not if i wake it immediately
Running
RUST_BACKTRACE=1 wl-screenrec --output HDMI-A-1 --history 10 2> test.log
gave this error:I'm using
wl-screenrec 0.1.3