I was trying to get scrot to execute properly and made some edits in the boot config file. I had edited the config to use FKMS and increase GPU memory to see if that would allow scrot to capture a screenshot correctly on the Pi OS.
Instead, I received a corrupted display on my screen once I rebooted. This was after saving my changes in the boot config file.
Here were my steps for changes made in the boot config file:
1. Commented out the KMS overlay:
#dtoverlay=vc4-kms-v3d 2. Added these lines at the bottom right after ‘[all]’ to use FKMS and increase the gpu memory:
[all] dtoverlay=vc4-fkms-v3d gpu_mem=128 3. Saved and rebooted
My question is: Would I need to put the SD card in a different device and undo those changes in the boot config file to fix this?
Hardware:
- raspberry pi 5
- 128gb SD card running Pi OS

sshyou can change over network. NOTE nothing will change memory allocation on current OS.scrotdoes not work on Wayland. UsegrimCTRL+'ALT+F1` and you'll get a console login (no graphics). You can logon on that and fix the graphics mode and re-enablessh.