[arch-general] How to set grub2 resolution to 1366x768
Hi, I want to have a 1366x768 resolution for grub2. Unfortunately, `vbeinfo` shows that my computer doesn't support that resolution (up to 960x640/1024x768). So, can I load some additional modules for grub2 so that it can support 1366x786 resolution in my computer? I tried to do the following steps in grub2 command line: 1) insmod 915resolution 2) 915resolution 5c 1366 786 After step2, grub2 command line became completely black and unresponsive. I had to press the power button to force halt my machine. System information: Archlinux x86_64 grub2-common 1.99 grub2-bios 1.99 Thinkpad X220 (with Intel Sandy Bridge CPU graphic card) Regards
On Mon, Feb 20, 2012 at 18:13, Bill Sun <cap.sensitive@gmail.com> wrote:
Hi,
I want to have a 1366x768 resolution for grub2. Unfortunately, `vbeinfo` shows that my computer doesn't support that resolution (up to 960x640/1024x768). So, can I load some additional modules for grub2 so that it can support 1366x786 resolution in my computer?
I tried to do the following steps in grub2 command line: 1) insmod 915resolution 2) 915resolution 5c 1366 786 After step2, grub2 command line became completely black and unresponsive. I had to press the power button to force halt my machine.
System information: Archlinux x86_64 grub2-common 1.99 grub2-bios 1.99 Thinkpad X220 (with Intel Sandy Bridge CPU graphic card)
Regards
Can you try set gfxmode="1366x768;auto" in grub.cfg? Regards. Keshav
Hi, I have a Sandy bridge based laptop (Asus Zenbook UX31e) and I use GRUB2 as my bootloader. I'm not at home and can't check that, but I didn't had to do any "insmod i915whatever" command line magic. I assume that you already tried to use the "auto" parameter instead of an hard-set resolution and that didn't change anything. I guess that your BIOS may not repport correctly the resolution supported by the X220 pannel. Is your BIOS up-to-date ? Cheers ! Thomas 2012/2/20 Bill Sun <cap.sensitive@gmail.com>
Hi,
I want to have a 1366x768 resolution for grub2. Unfortunately, `vbeinfo` shows that my computer doesn't support that resolution (up to 960x640/1024x768). So, can I load some additional modules for grub2 so that it can support 1366x786 resolution in my computer?
I tried to do the following steps in grub2 command line: 1) insmod 915resolution 2) 915resolution 5c 1366 786 After step2, grub2 command line became completely black and unresponsive. I had to press the power button to force halt my machine.
System information: Archlinux x86_64 grub2-common 1.99 grub2-bios 1.99 Thinkpad X220 (with Intel Sandy Bridge CPU graphic card)
Regards
On Mon, 2012-02-20 at 20:43 +0800, Bill Sun wrote:
Hi,
I want to have a 1366x768 resolution for grub2. Unfortunately, `vbeinfo` shows that my computer doesn't support that resolution (up to 960x640/1024x768). So, can I load some additional modules for grub2 so that it can support 1366x786 resolution in my computer?
I tried to do the following steps in grub2 command line: 1) insmod 915resolution 2) 915resolution 5c 1366 786 After step2, grub2 command line became completely black and unresponsive. I had to press the power button to force halt my machine.
System information: Archlinux x86_64 grub2-common 1.99 grub2-bios 1.99 Thinkpad X220 (with Intel Sandy Bridge CPU graphic card)
Regards
Don't you expect at least something SVGA compatible as long as X isn't started? Regards, Ralf
Hi, @Keshav P R: I tried: set gfxmode="1366x768;auto" It didn't give me a 1366x768 console; instead, grub2 just gave me a 1024x768 console. @Thomas Courbon: Yes, I just tried the 'auto' parameter, and, indeed, it didn't change anything. I just update my BIOS to the latest version---1.2.6, and it didn't change anything. Maybe It's my BIOS's fault. @Ralf Mardorf: According to `vbeinfo` under grub2, the maximum resolution my laptop (or my laptop's BIOS, I have no idea about this) supports is 1024x768. However, in Linux, I got a 1366x768 console by default (without further configuration). That's why I am thinking about insert some modules into grub2 and it may give me a proper console resolution. Regards, Bill
On Tue, 2012-02-21 at 11:21 +0800, Bill Sun wrote:
According to `vbeinfo` under grub2, the maximum resolution my laptop (or my laptop's BIOS, I have no idea about this) supports is 1024x768. However, in Linux, I got a 1366x768 console by default (without further configuration). That's why I am thinking about insert some modules into grub2 and it may give me a proper console resolution.
I wasn't aware that there are commonly used non-standard resolutions available. http://en.wikipedia.org/wiki/VESA_BIOS_Extensions#Other_commonly_available_m... Did you check by running "sudo hwinfo --framebuffer" too? It shouldn't differ, but perhaps there's something fishy with vbeinfo. - Ralf
On Tue, Feb 21, 2012 at 08:51, Bill Sun <cap.sensitive@gmail.com> wrote:
Hi,
@Keshav P R: I tried: set gfxmode="1366x768;auto" It didn't give me a 1366x768 console; instead, grub2 just gave me a 1024x768 console.
Maybe grub2 does not support non-standard modes. Better to ask in #grub irc.
@Thomas Courbon: Yes, I just tried the 'auto' parameter, and, indeed, it didn't change anything. I just update my BIOS to the latest version---1.2.6, and it didn't change anything. Maybe It's my BIOS's fault.
@Ralf Mardorf: According to `vbeinfo` under grub2, the maximum resolution my laptop (or my laptop's BIOS, I have no idea about this) supports is 1024x768. However, in Linux, I got a 1366x768 console by default (without further configuration). That's why I am thinking about insert some modules into grub2 and it may give me a proper console resolution.
Regards, Bill
My two grub2 correctly report and use non standard resolution. That is 1600x900 on my ux31e and 1920x1080 on my desktop. 2012/2/21 Keshav P R <the.ridikulus.rat@gmail.com>
On Tue, Feb 21, 2012 at 08:51, Bill Sun <cap.sensitive@gmail.com> wrote:
Hi,
@Keshav P R: I tried: set gfxmode="1366x768;auto" It didn't give me a 1366x768 console; instead, grub2 just gave me a 1024x768 console.
Maybe grub2 does not support non-standard modes. Better to ask in #grub irc.
@Thomas Courbon: Yes, I just tried the 'auto' parameter, and, indeed, it didn't change anything. I just update my BIOS to the latest version---1.2.6, and it didn't change anything. Maybe It's my BIOS's fault.
@Ralf Mardorf: According to `vbeinfo` under grub2, the maximum resolution my laptop (or my laptop's BIOS, I have no idea about this) supports is 1024x768. However, in Linux, I got a 1366x768 console by default (without further configuration). That's why I am thinking about insert some modules into grub2 and it may give me a proper console resolution.
Regards, Bill
Hi, According your posts, should I file a bug report directly to lenovo? Regards, Bill
On 21 February 2012 10:00, Keshav P R <the.ridikulus.rat@gmail.com> wrote:
On Tue, Feb 21, 2012 at 20:18, Bill Sun <cap.sensitive@gmail.com> wrote:
Hi,
According your posts, should I file a bug report directly to lenovo?
Not to Lenovo. To grub2 upstream.
Regards, Bill
This whole thing is strange. I am running ubuntu/arch/win7 with grub2 and everything works perfectly. I am running an X220 as well with the intel sandy bridge. Is there a spot where this is set in my grub.cfg? If i could pinpoint this I can paste it here. Calvin
Look for the following line : GRUB_GFXMODE=1024x768x32 in your grub.cfg (/etc/default/grub). Also it would be nice if you could write down here the result of a vbeinfofrom the Grub2 command line. 2012/2/21 Calvin Morrison <mutantturkey@gmail.com>
On 21 February 2012 10:00, Keshav P R <the.ridikulus.rat@gmail.com> wrote:
On Tue, Feb 21, 2012 at 20:18, Bill Sun <cap.sensitive@gmail.com> wrote:
Hi,
According your posts, should I file a bug report directly to lenovo?
Not to Lenovo. To grub2 upstream.
Regards, Bill
This whole thing is strange. I am running ubuntu/arch/win7 with grub2 and everything works perfectly. I am running an X220 as well with the intel sandy bridge. Is there a spot where this is set in my grub.cfg? If i could pinpoint this I can paste it here.
Calvin
On Tue, Feb 21, 2012 at 10:02:37AM -0500, Calvin Morrison wrote:
This whole thing is strange. I am running ubuntu/arch/win7 with grub2 and everything works perfectly. I am running an X220 as well with the intel sandy bridge. Is there a spot where this is set in my grub.cfg? If i could pinpoint this I can paste it here.
Are you using `grub2-efi-*`? Currently I'm using `grub2-bios`. Maybe I can get correct resolution report if I switch to that `efi` version (though It does require some extra work)
Calvin
On Sun, Feb 26, 2012 at 7:58 AM, Bill Sun <cap.sensitive@gmail.com> wrote:
Are you using `grub2-efi-*`? Currently I'm using `grub2-bios`. Maybe I can get correct resolution report if I switch to that `efi` version (though It does require some extra work)
The EFI version (using the efi_gop driver) is restricted to the same resolutions.
participants (6)
-
Bill Sun
-
Calvin Morrison
-
Jan Steffens
-
Keshav P R
-
Ralf Mardorf
-
Thomas Courbon