You are not logged in.

#1 Yesterday 21:26:48

wmbg
Member
Registered: Yesterday
Posts: 4

GRUB doesn't always pick the right video driver

I've been fighting to get my GRUB resolution right for good time already, and have tried several solutions, but none of them seem to get to fix my problems completely.

Using videoinfo on GRUB can return me two different results

1. 640x480x32, using the Bochs PCI Video Driver (wrong resolution)
2. 1920x1080x32, using the Cirrus CLGD 5446 PCI Video Driver (right resolution)

The first result always comes whenever I turn on/restart my PC normally, the second one only appears when I boot directly from the UEFI menu.

I've already set the framebuffer resolution to 1920x1080x32, as said here
https://wiki.archlinux.org/title/GRUB/T … resolution

Also, CSM has already been disabled in my BIOS.

I don't this makes a difference, but I also have plymouth installed.

Offline

#2 Yesterday 21:32:53

cryptearth
Member
Registered: 2024-02-03
Posts: 1,010

Re: GRUB doesn't always pick the right video driver

best guess: you have two grub installs with two different configs and depending on how you start the system it differs which grub gets booted and hence which config is used

Offline

#3 Yesterday 21:40:15

wmbg
Member
Registered: Yesterday
Posts: 4

Re: GRUB doesn't always pick the right video driver

cryptearth wrote:

best guess: you have two grub installs with two different configs and depending on how you start the system it differs which grub gets booted and hence which config is used

How would I be able to see if I have multiple grub installations? Also, I don't think that's possible since all my other configurations are being properly followed, such as the default kernel selected and kernel modules I use.

Offline

#4 Yesterday 22:56:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,230

Re: GRUB doesn't always pick the right video driver

What is the output of efibootmgr -u   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 Yesterday 23:02:29

cryptearth
Member
Registered: 2024-02-03
Posts: 1,010

Re: GRUB doesn't always pick the right video driver

give it's a uefi system: call

sudo efibootmgr -v -u

and check its output
also have a look at your partitions and mountpoints: what are your mounpoints for ESP and boot? /efi? /boot? /boot/efi? if you mount something to /boot check if its mounted - get a file listing - unmount /boot and see if something comes up - if so you likely shadow multiple configs

Offline

#6 Yesterday 23:09:17

wmbg
Member
Registered: Yesterday
Posts: 4

Re: GRUB doesn't always pick the right video driver

ewaller wrote:

What is the output of efibootmgr -u   ?

BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0004,0000,0001,0003
Boot0000* Windows Boot Manager  HD(1,GPT,81579670-afa8-4d35-97b3-cbe647c1789e,0x800,0x32000)/\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI䥗䑎坏S
Boot0001* endeavouros   VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0003* ubuntu        VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0004* UEFI OS       HD(1,GPT,0d680ba3-8e63-44dc-82e9-1e743949b07d,0x800,0x200000)/\EFI\BOOT\BOOTX64.EFI

I guess it's good to say that I'm not using EndeavourOS or Ubuntu, entries 0001 and 0003 are probably from when I had Endeavour and Mint installed.

Offline

#7 Yesterday 23:56:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,230

Re: GRUB doesn't always pick the right video driver

Yes, it Should™ use Boot0004 which seems to be your bootloader.  But, it does appear that you also have a different boot partition that is shared by Endeavour and Ubuntu.  You also seem to have a legacy OS from the American Pacific Northwest.  Boot 0000,0001 and 0003 should not normally be used, but you could use them from the EFI boot menu.   You mentioned booting from the UEFI menu, are you sure you are picking the correct entry?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 Today 00:08:51

wmbg
Member
Registered: Yesterday
Posts: 4

Re: GRUB doesn't always pick the right video driver

ewaller wrote:

Yes, it Should™ use Boot0004 which seems to be your bootloader.  But, it does appear that you also have a different boot partition that is shared by Endeavour and Ubuntu.  You also seem to have a legacy OS from the American Pacific Northwest.  Boot 0000,0001 and 0003 should not normally be used, but you could use them from the EFI boot menu.   You mentioned booting from the UEFI menu, are you sure you are picking the correct entry?

Just checked on the UEFI, boot option 1 is "UEFI OS" (0004) and option 2 is the Windows Boot Manager; These are also the only options available.

Offline

Board footer

Powered by FluxBB