naelstrof / maim

maim (make image) takes screenshots of your desktop. It has options to take only a region, and relies on slop to query for regions. maim is supposed to be an improved scrot.
Other
2.15k stars 78 forks source link

maim -s giving BadValue error #209

Closed redstoneguy12 closed 4 years ago

redstoneguy12 commented 4 years ago

Since I updated a few days or weeks ago, I can no longer take screenshots of a single area. If I run maim -s test I get the following error:

$ maim -s test
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  41
  Current serial number in output stream:  42

I have no idea what's causing this, but I would really like some sort of fix or workaround.

I am running Arch with kernel 5.7.7-arch1-1. I have an nvidia gpu, my drivers are extra/nvidia 450.57-1.

redstoneguy12 commented 4 years ago

If it tells you anything, scrot doesn't have this issue. It has weird borders around the screenshot though A screenshot from scrot

redstoneguy12 commented 4 years ago

Nevermind, there was just something messed up. I thought I had already rebooted but apparently hadn't, as a reboot fixed it.