You are not logged in.
As described by someone else in this post (Black rectangles showing up when using scrot -s) before I'm experiencing the same issues with the the black rectangles when taking a screenshot using scrot -s.
scrot version: 1.5-1
*-display
description: VGA compatible controller
product: GP106 [GeForce GTX 1060 6GB]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:140 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
.zprofile:
if [ "$(tty)" = "/dev/tty1" ]; then
exec startx ~/.config/xorg/xinitrc
fiI'm also runing picom alongside bspwm. Any ideas why this might be happening?
Thank you
Last edited by hoNExIWi (2021-02-08 13:28:38)
Offline
And does it happen w/o picom as well?
If not, does it happen w/ xrender or glx backend or either?
Offline
It doesn't happen without picom, also doesn't happen with xrender. But then I experience some kind of screen tearing/flickering in FF.
It does happen with picom --experimental-backends as well as with glx backend though.
Offline
You're probably also using v'sync?
scrot will take the screenshot immediately, but the compositor will update the overlay or root window only a couple of ms later.
You could run "scrot -sd1" which will delay the actual screenhot by a second (unfortunately, scrot doesn't seem to do decimal seconds like 0.2) and give the compositor time to update and remove the rectangle.
Alternatively try "scrot -sk" (see scrot --help)
Offline
I switched to the proprietary nvidia driver using the full composition pipeline together with picom with the glx backend and vsync. Everything works as expected now. Thank you
Offline