Skip to contentSkip to conversation

Lenovo X60 with i945: Setting resolution in GRUB to 1024×768

DISCUSSION Paul Menzel 2 participants 4 messages Jan 18, 2015

lore
Share & tools
lore
#0 lore raw

Dear Intel folks,

on the Lenovo X60 with i945 graphics (and vendor BIOS), for using fastboot, that means to avoid a modeset, I want to set the desired resolution in GRUB using the option GRUB_GFXMODE=1024x768 in /etc/default/grub. Unfortunately that does not have an effect and the resolution is only 640×480.

The GRUB developer told me that this is likely a Video BIOS issue.

Am I out of luck or do you know of possible solutions or do you have pointers how to debug this? GRUB’s vbeinfo lists the resolution of 1024×768.

Thanks,

Paul

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw

Paul Menzel composed on 2015-01-18 12:20 (UTC+0100):

Quoted 4 lines

on the Lenovo X60 with i945 graphics (and vendor BIOS), for using fastboot, that means to avoid a modeset, I want to set the desired resolution in GRUB using the option GRUB_GFXMODE=1024x768 in /etc/default/grub.

Making a change in /etc/default/grub does not take effect until the actual Grub menu is rebuilt. It's a config file, not a menu file.

Quoted 2 lines

Unfortunately that does not have an effect and the resolution is only 640×480.

IIRC, I've solved this problem in the distant past by in BIOS setup changing memory size reserved for video controller from 1M to 8M.

Quoted 5 lines

The GRUB developer told me that this is likely a Video BIOS issue.

Am I out of luck or do you know of possible solutions or do you have pointers how to debug this? GRUB’s vbeinfo lists the resolution of 1024×768.

GRUB_GFXMODE=1024x768 assumes you are using Grub2. In Grub legacy what you need is video=1024x768 or video=1024x768@60 on the kernel cmdline. I have multiple i945G systems using both vga=1024x768@60 and Grub Legacy, but none Lenovo.

Which distro are you using?

Signature · 10 lines
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw

Am Sonntag, den 18.01.2015, 16:56 -0500 schrieb Felix Miata:

Quoted 9 lines

Paul Menzel composed on 2015-01-18 12:20 (UTC+0100):

Quoted 4 lines

on the Lenovo X60 with i945 graphics (and vendor BIOS), for using fastboot, that means to avoid a modeset, I want to set the desired resolution in GRUB using the option GRUB_GFXMODE=1024x768 in /etc/default/grub.

Making a change in /etc/default/grub does not take effect until the actual Grub menu is rebuilt. It's a config file, not a menu file.

I know and ran sudo update-grub afterward. Thank you for the hint though.

Quoted 5 lines
Quoted 2 lines

Unfortunately that does not have an effect and the resolution is only 640a×480.

IIRC, I've solved this problem in the distant past by in BIOS setup changing memory size reserved for video controller from 1M to 8M.

Unfortunately I was unable to find such a configuration option in the BIOS menu.

Quoted 10 lines
Quoted 5 lines

The GRUB developer told me that this is likely a Video BIOS issue.

Am I out of luck or do you know of possible solutions or do you have pointers how to debug this? GRUB’s vbeinfo lists the resolution of 1024×768.

GRUB_GFXMODE=1024x768 assumes you are using Grub2. In Grub legacy what you need is video=1024x768 or video=1024x768@60 on the kernel cmdline. I have multiple i945G systems using both vga=1024x768@60 and Grub Legacy, but none Lenovo.

Good to know. Hopefully it can be solved in GRUB 2.

Quoted 1 line

Which distro are you using?

Debian Jessie/testing

Thanks,

Paul

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw

Paul Menzel composed on 2015-01-19 00:01 (UTC+0100):

Quoted 4 lines

Am Sonntag, den 18.01.2015, 16:56 -0500 schrieb Felix Miata:

Quoted 1 line

Paul Menzel composed on 2015-01-18 12:20 (UTC+0100):

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Unfortunately that does not have an effect and the resolution is only 640a×480.

IIRC, I've solved this problem in the distant past by in BIOS setup changing memory size reserved for video controller from 1M to 8M.

Unfortunately I was unable to find such a configuration option in the BIOS menu.

I just rebooted a Grub Legacy/openSUSE i915 system after changing its BIOS video setting from 8M to 1M. Grub with gfxboot starts in 640x480 mode instead of 800x600, and the combination of vga=791 and video=1024x768@60 on cmdline generates an unsupported BIOS mode message from vga=791. Trying again leaving off vga=791, Grub again appears in 640x480, and boot proceeds in that mode until the kernel switches framebuffer to 1024x768. Restoring BIOS to 8M restores 1024x768 normalcy here.

It appears that Grub dev is right about your BIOS; 1024x768 is not available until after the BIOS releases control, and probably until Grub2 turns the screen over to the kernel. IOW, your BIOS is your problem.

Signature · 10 lines
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx