-1

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.

monitor screen during reboot

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
5
  • If you can ssh you can change over network. NOTE nothing will change memory allocation on current OS. Commented Jun 2 at 23:01
  • @Milliways thanks, unfortunately I disabled SSH earlier today during some troubleshooting for the scrot fix. Commented Jun 2 at 23:07
  • @jsotola thanks for the feedback - made some changes Commented Jun 3 at 5:39
  • NOTE scrot does not work on Wayland. Use grim Commented Jun 3 at 8:08
  • If you can reach a console press CTRL+'ALT+F1` and you'll get a console login (no graphics). You can logon on that and fix the graphics mode and re-enable ssh. Commented Jun 3 at 20:16

1 Answer 1

0

RESOLVED

  1. Connected the microSD card with Pi OS onto my home workstation
  2. Rolled back changes I made to the config file (steps 1 & 2)
  3. Reinserted SD card to Pi and booted

Additional changes made based on feedback from comments:

  • enabled SSH again
  • purged & removed scrot since I am using wayland
1
  • Please mark this as the accepted answer. Commented Jun 6 at 20:38

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.