Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Software] Unable to change grub resolution
[Software] Unable to change grub resolution
Hi forum, I have grub with a fixed resolution of 800x600 and there is no way to change it. I want to change it to 1024x768. I hope someone can help with this.
What I got in my system: Debian BullsEye 11.6 netinstall.
Intel i915 integrated graphics (package xorg-video-intel, firmware-misc-nonfree, firmware-linux-free installed)
framebuffer is able to change resolution with inteldrmfb, xorg using dri 2 without any issue.
What I have done so far:
- Added line vga=0x0318 to the kernel, didn't make any difference. (I got this number from the commando hwinfo --framebuffer corresponding to 1024x768 resolution)
- Added line video=1024x768 to the kernel, didn't make any difference. It works to set the framebuffer resolution, which I appreciate, but not grub.
- I'm unable to run vbeinfo, vbetest, videoinfo or videotest at grub console. The result of any of those commands, are a blinking cursor without any information. I have tried to load video modules like "insmod all_video" and so on (all those modules listed under /boot/grub/i386-pc/) but the result was the same.
- Added/modified on /etc/default/grub :
--> the lines "splash" to the kernel, specifically to GRUB_CMDLINE_LINUX_DEFAULT
--> commented the line GRUB_TERMINAL=console
--> GRUB_GFXMODE=1024x768 (Here I have tried a lot of different combinations, like "1024x768", "1024x768x24", "1024x768-24", "1024x768x24,1024x768x16,1024x768x8", "1024x768,auto", "1024x768x24,auto", and all the imaginable combinations. Nothing worked, nothing moved grub from 800x600
--> GRUB_TERMINAL_OUTPUT=gfxterm
--> GRUB_GFX_PAYLOAD_LINUX=keep (Here I have tried a lot of different combinations along with GRUB_GFXMODE, like "1024x768", "keep", etc)
- I have tried updating the initramfs image just because some module get missing or something... nothing changed.
Of course after every change in grub I used update-grub (and also update-grub2 just because... there is a difference?)
I read a lot of posts and tried a lot of things. Nothing worked. Did I missing something? Thanks for reading! Any tip is appreciatted!
What I got in my system: Debian BullsEye 11.6 netinstall.
Intel i915 integrated graphics (package xorg-video-intel, firmware-misc-nonfree, firmware-linux-free installed)
framebuffer is able to change resolution with inteldrmfb, xorg using dri 2 without any issue.
What I have done so far:
- Added line vga=0x0318 to the kernel, didn't make any difference. (I got this number from the commando hwinfo --framebuffer corresponding to 1024x768 resolution)
- Added line video=1024x768 to the kernel, didn't make any difference. It works to set the framebuffer resolution, which I appreciate, but not grub.
- I'm unable to run vbeinfo, vbetest, videoinfo or videotest at grub console. The result of any of those commands, are a blinking cursor without any information. I have tried to load video modules like "insmod all_video" and so on (all those modules listed under /boot/grub/i386-pc/) but the result was the same.
- Added/modified on /etc/default/grub :
--> the lines "splash" to the kernel, specifically to GRUB_CMDLINE_LINUX_DEFAULT
--> commented the line GRUB_TERMINAL=console
--> GRUB_GFXMODE=1024x768 (Here I have tried a lot of different combinations, like "1024x768", "1024x768x24", "1024x768-24", "1024x768x24,1024x768x16,1024x768x8", "1024x768,auto", "1024x768x24,auto", and all the imaginable combinations. Nothing worked, nothing moved grub from 800x600
--> GRUB_TERMINAL_OUTPUT=gfxterm
--> GRUB_GFX_PAYLOAD_LINUX=keep (Here I have tried a lot of different combinations along with GRUB_GFXMODE, like "1024x768", "keep", etc)
- I have tried updating the initramfs image just because some module get missing or something... nothing changed.
Of course after every change in grub I used update-grub (and also update-grub2 just because... there is a difference?)
I read a lot of posts and tried a lot of things. Nothing worked. Did I missing something? Thanks for reading! Any tip is appreciatted!
Last edited by faktorqm on 2023-03-27 09:05, edited 1 time in total.
- FreewheelinFrank
- Global Moderator
- Posts: 2112
- Joined: 2010-06-07 16:59
- Has thanked: 38 times
- Been thanked: 231 times
Re: [Software] Unable to change grub resolution
Have you tried
?
viewtopic.php?p=705104
Even the Grub manual says it depends on the phase of the moon.
https://www.gnu.org/software/grub/manua ... figuration
Code: Select all
GRUB_GFXPAYLOAD_LINUX
viewtopic.php?p=705104
Even the Grub manual says it depends on the phase of the moon.
https://www.gnu.org/software/grub/manua ... figuration
Re: [Software] Unable to change grub resolution
Hi Frank, yes it was a typo I corrected it on the first post. I'm pretty sure it depends on the phase on the moon.
- ticojohn
- Posts: 1284
- Joined: 2009-08-29 18:10
- Location: Costa Rica
- Has thanked: 21 times
- Been thanked: 44 times
Re: [Software] Unable to change grub resolution
Interesting. I have GRUB-GFXMODE=1152x864, and it works fine. Did you update-grub after making the changes?
OOPS! Just re-read your post and see that you did indeed update-grub. My bad.
OOPS! Just re-read your post and see that you did indeed update-grub. My bad.
I am not irrational, I'm just quantum probabilistic.
Re: [Software] Unable to change grub resolution
yes, I'm using update-grub. I don't know why is not changing. Not even if I try 640x480. I mean, does not matter what I setup, grub just ignores it. I'm stucked in 800x600. thanks for replying
-
- Posts: 263
- Joined: 2023-03-02 05:26
- Location: USA
- Has thanked: 50 times
- Been thanked: 60 times
- Contact:
Re: [Software] Unable to change grub resolution
With intel integrated graphics, GRUB should do a decent job of picking a high resolution, the fact it's not is a little concerning but not surprising.
Here is a hail mary that recently fixed a similar issue I had with systemd-boot and it's resolution.
Try turning off your BIOS splash screen in BIOS settings, I guess sometimes it confuses your bootloader on the resolution it should set.
Here is a hail mary that recently fixed a similar issue I had with systemd-boot and it's resolution.
Try turning off your BIOS splash screen in BIOS settings, I guess sometimes it confuses your bootloader on the resolution it should set.
Be seeing you...
Re: [Software] Unable to change grub resolution
Hi Cynical, yes I have tried that too. It's weird I don't know what else I can test.
-
- Posts: 263
- Joined: 2023-03-02 05:26
- Location: USA
- Has thanked: 50 times
- Been thanked: 60 times
- Contact:
Re: [Software] Unable to change grub resolution
Personally I use systemd-boot instead of GRUB nowadays and its configuration is much simpler, but I doubt you will have much luck with it either. It is worth a try though.
I do not really think something like this is worth the struggle especially since you are able to set the framebuffer resolution successfully.
Be seeing you...
Re: [Software] Unable to change grub resolution
Same issue on a new laptop (Dell Precision 5570).
After booting screen resolution is set to 3000+ and I literally broke my eyes.
After booting screen resolution is set to 3000+ and I literally broke my eyes.