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

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
faktorqm
Posts: 4
Joined: 2023-03-27 06:14

[Software] Unable to change grub resolution

#1 Post by faktorqm »

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 :P
--> 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.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [Software] Unable to change grub resolution

#2 Post by FreewheelinFrank »

Have you tried

Code: Select all

GRUB_GFXPAYLOAD_LINUX
?

viewtopic.php?p=705104

Even the Grub manual says it depends on the phase of the moon. :shock: :roll: :lol:

https://www.gnu.org/software/grub/manua ... figuration

faktorqm
Posts: 4
Joined: 2023-03-27 06:14

Re: [Software] Unable to change grub resolution

#3 Post by faktorqm »

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.

User avatar
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

#4 Post by ticojohn »

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.
I am not irrational, I'm just quantum probabilistic.

faktorqm
Posts: 4
Joined: 2023-03-27 06:14

Re: [Software] Unable to change grub resolution

#5 Post by faktorqm »

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

User avatar
NorthEast
Posts: 349
Joined: 2018-11-18 04:35
Has thanked: 12 times
Been thanked: 30 times

Re: [Software] Unable to change grub resolution

#6 Post by NorthEast »

Maybe changing the font, then the mode?

CynicalDebian
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

#7 Post by CynicalDebian »

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.
Be seeing you...

faktorqm
Posts: 4
Joined: 2023-03-27 06:14

Re: [Software] Unable to change grub resolution

#8 Post by faktorqm »

Hi Cynical, yes I have tried that too. It's weird I don't know what else I can test.

CynicalDebian
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

#9 Post by CynicalDebian »

faktorqm wrote: 2023-04-06 19:15 Hi Cynical, yes I have tried that too. It's weird I don't know what else I can test.
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...

ara1307
Posts: 1
Joined: 2023-06-11 00:11

Re: [Software] Unable to change grub resolution

#10 Post by ara1307 »

Same issue on a new laptop (Dell Precision 5570).
After booting screen resolution is set to 3000+ and I literally broke my eyes.

Post Reply