You are not logged in.

#1 2023-01-02 15:46:22

alnexus
Member
Registered: 2022-02-09
Posts: 20

[SOLVED]GRUB boot loader does not seem to support my NVIDIA resolution

I'm trying to make GRUB show 2560x1440 but it's always just low-res. I used videoinfo in the GRUB commandline (pressed C) and it is apparently using the 1024x768 resolution and the video adapter is something like EFI-GOB adapter. I imagine that my NVIDIA GPU (GTX 1060) isn't being recognized and the resolution I set in /etc/default/grub isn't among the supported resolutions.
I don't know how to fix this, I have already done what the wiki tells me to do - modify kernel parameters, add my resolution to GRUB_GFXMODE, add the "nvidia_drm.modeset=1" option to /etc/default/grub and I have also (re-)added the kms hook in /etc/mkinitcpio.conf (it told me to remove the hook in the wiki but apparently I had to add it again later) and added "nvidia nvidia_modeset nvidia_uvm nvidia_drm" to my MODULES. I have regenerated the GRUB config using grub-mkconfig and have used mkinitcpio -P too (both with sudo, of course). Also have added the pacman hook described in the wiki so that everything holds itself after a kernel/driver update.
I don't know if I'm forgetting something or if it is because I'm using the Linux Zen kernel or even if it is the nvidia-dkms package instead of nvidia.

EDIT: The modules are correctly built - only errors I get with mkinitcpio are for the default linux kernel, because I haven't updated those, considering I'm only using the Zen kernel at the moment (checked I was really using those in the GRUB parameters, when in the bootloader menu - the Zen kernel does have modeset=1 and all.)

SOLUTION: As V1del pointed out, the one who controls what resolutions are available is the BIOS. After disabling CSM support in my BIOS it is working! The 1440p resolution is being displayed correctly.

Last edited by alnexus (2023-01-02 17:17:50)


uname -r

Offline

#2 2023-01-02 16:58:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,260

Re: [SOLVED]GRUB boot loader does not seem to support my NVIDIA resolution

Your kernel or kernel commandline is completely irrelevant to GRUB

The general video modes and support for them need to come from your EFI/BIOS firmware. That you are going to be lower than max can be normal, what's going to be a precondition for getting to any higher res here is that you'd need to disable BIOS/CSM emulation modes

Offline

#3 2023-01-02 17:11:57

alnexus
Member
Registered: 2022-02-09
Posts: 20

Re: [SOLVED]GRUB boot loader does not seem to support my NVIDIA resolution

V1del wrote:

Your kernel or kernel commandline is completely irrelevant to GRUB

The general video modes and support for them need to come from your EFI/BIOS firmware. That you are going to be lower than max can be normal, what's going to be a precondition for getting to any higher res here is that you'd need to disable BIOS/CSM emulation modes

Thanks, I believe I hadn't quite grasped the concept. I'll see if there is anything related to legacy BIOS support in my BIOS, but iirc I had disabled anything like that.

EDIT: Thank you so much! CSM support was clearly on, I had disabled it previously but many times I did a CMOS reset because of annoying RAM issues. I never could've imagined this was the culprit.

Last edited by alnexus (2023-01-02 17:15:57)


uname -r

Offline

Board footer

Powered by FluxBB