How to reduce grub resolution?

On my 4k laptop, I have 2 problems: 1) the grub boot menu is in 4k - so it's all super tiny. 2) If I have TPM and secure boot enabled, it actually runs out of memory, and I've heard you can lower the resolution to fix that.

So how do I do that on Bazzite? Most of the stuff the AIs tell me is bunk, and doens't work.
Solution
I added this to /etc/default/grub:
GRUB_GFXMODE="1920x1080x32,1280x720x32,1024x768x32,800x600x32,640x480x32,auto"

Then ran the generate command:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
Was this page helpful?