public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* Lenovo X60 with i945: Setting resolution in GRUB to 1024×768
@ 2015-01-18 11:20 Paul Menzel
  2015-01-18 21:56 ` Felix Miata
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Menzel @ 2015-01-18 11:20 UTC (permalink / raw)
  To: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 572 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Lenovo X60 with i945: Setting resolution in GRUB to 1024×768
  2015-01-18 11:20 Lenovo X60 with i945: Setting resolution in GRUB to 1024×768 Paul Menzel
@ 2015-01-18 21:56 ` Felix Miata
  2015-01-18 23:01   ` Paul Menzel
  0 siblings, 1 reply; 4+ messages in thread
From: Felix Miata @ 2015-01-18 21:56 UTC (permalink / raw)
  To: intel-gfx

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

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

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

> 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?
-- 
"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
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Lenovo X60 with i945: Setting resolution in GRUB to 1024×768
  2015-01-18 21:56 ` Felix Miata
@ 2015-01-18 23:01   ` Paul Menzel
  2015-01-18 23:46     ` Felix Miata
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Menzel @ 2015-01-18 23:01 UTC (permalink / raw)
  To: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 1532 bytes --]

Am Sonntag, den 18.01.2015, 16:56 -0500 schrieb Felix Miata:
> Paul Menzel composed on 2015-01-18 12:20 (UTC+0100):
> 
> > 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.

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

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

> Which distro are you using?

Debian Jessie/testing


Thanks,

Paul

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Lenovo X60 with i945: Setting resolution in GRUB to 1024×768
  2015-01-18 23:01   ` Paul Menzel
@ 2015-01-18 23:46     ` Felix Miata
  0 siblings, 0 replies; 4+ messages in thread
From: Felix Miata @ 2015-01-18 23:46 UTC (permalink / raw)
  To: intel-gfx

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

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

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

>> > 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.
-- 
"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
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-18 23:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-18 11:20 Lenovo X60 with i945: Setting resolution in GRUB to 1024×768 Paul Menzel
2015-01-18 21:56 ` Felix Miata
2015-01-18 23:01   ` Paul Menzel
2015-01-18 23:46     ` Felix Miata

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox