Grub2 feezes using higher resolutions

Machine is an Asus z170-k mainboard (latest bios) and a Geforce 1060 GTX. Dualboot with Windows 10. I used to boot both systems using Grub 2 Efi secured mode at a resolution at 1920x1080 what worked without problems using openSUSE Leap 42.3. Today I installed Leap 15 and every resolution except gfxmode=“auto” results into freezing directly after boot up. It stops directly showing the textversion of “booting grub”.

Anybody got the same problem?

cu
Gargi

Assuming you had NVIDIA driver installed uninstall and then reinstall

AFAIK the nVidia driver isn’t loaded until the Desktop loads.
Probably more relevant is how grub.cfg may have been modified to support higher resolutions. AFAIK the default is to load and configure a resolution supported by a VESA driver which in general should be safe on practically any machine. If grub.cfg hasn’t been modified, then some other explanation needs to be explored.

IMO,
TSU

What problem does keeping gfxmode=“auto” present? It’s just a boot menu, then the kernel and OS take over, and should automatically pick up the display’s native resolution, apparently 1920x1080 here.

Does the 1060 have a BIOS update available?

If the freezing is after selecting from the Grub menu, then maybe another change in cmdline options would help, maybe removing quiet and/or splash=silent, or adding plymouth.enable=0? You could also try appending video=1920x1080 to the cmdline.

Hi! Thanks for your replies! This freezing happens no matter if the nvidia driver is installed or not. I’m setting the resolution by the yast/grub settings menu. Strange thing is it workes without problems for leap 42.3 and not for Leap 15 anymore.
Video Bios is the stock bios from Palit. There is no other bios released for it.

I installed Leap 15 3 times yesterday to test different things like deinstalling nouveau drivers and replacing by the nvidia. When freezing, I started the rescue system by the install dvd and edited the /boot/grub2/grub.cfg manually (gfxmode to auto). After that it boots normally.

In the end I reinstalled Leap 42.3 to find out if something went wrong with my efi bios but it instantly took the 1920x1080 resolution (I have to set manually while installing, but it is there as preset). So I guess there must be something different with the new grub2 confing.

cu
Gargi

Sounds like you found your fix… right?
Was your gfxmode not already set to auto(perhaps a result of a different setting made in YaST bootloader)?

TSU

Not really. Setting it back to auto will boot it but just in low res (640x480 or 800x600).
Effect is that the terminal console also will remain in low res switching from the xserver via STRG+ALT+F2.

cu
Gargi

The following may be useful to you…
https://en.wikipedia.org/wiki/VESA_BIOS_Extensions#Linux_video_mode_numbers

Read the entire section 4 including the part about using “hwinfo --framebuffer”

You should then pass that number(or any other you’d like to try) to the system following the example at

http://pierre.baudu.in/other/grub.vga.modes.html

Good Luck,
TSU