You are not logged in.

#1 2020-10-10 03:38:02

hunchbackcat
Member
Registered: 2019-11-16
Posts: 5

Adjust resolution during init

This is a small issue, but it's been bugging me for a while and I'd like to do something about it.

On startup, unitl I login and run 'startx', the resolution of my screen is off.

For instance, the init logs that get printed out are large and blurry. I know it is possible to have them be small and crisp because when I boot from a USB that is the case.

I have a nvidia graphics card, and have the nvidia package installed.

lspci -v shows:

VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960]

Any help would be appreciated. I don't know if certain nvidia settings aren't initialized until I login, or if maybe the builtin intel graphics on my motherboard are being used until I run 'startx'. Though, I don't see intel graphics being listed as a controller in lspci -v.

Offline

#2 2020-10-10 04:08:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 24,447
Website

Re: Adjust resolution during init


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2020-10-10 04:37:27

hunchbackcat
Member
Registered: 2019-11-16
Posts: 5

Re: Adjust resolution during init

I'm not seeing any changes after trying what was outlined. I tried adding the kernel parameter, and the initramfs edits suggested.

Offline

#4 2020-10-10 10:18:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,831

Re: Adjust resolution during init

You can't fix that with the proprietary drivers. They don't support a highres console buffer. You can try to enforce certain modes with GRUB https://wiki.archlinux.org/index.php/GR … resolution but that's often more hassle than it's worth.

Last edited by V1del (2020-10-10 10:20:17)

Offline

#5 2020-10-10 13:09:47

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,488

Re: Adjust resolution during init

In case you use GRUB or ReFind as bootloader you can use the efifb kernel module to get high res early on.
See https://wiki.archlinux.org/index.php/NV … resolution

Last edited by Lone_Wolf (2020-10-10 13:09:59)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Online

#6 2020-10-10 17:20:29

hunchbackcat
Member
Registered: 2019-11-16
Posts: 5

Re: Adjust resolution during init

Using GRUB, when I put an entry in GRUB_GFXMODE, nothing happens. The resolution stays the same. When I put an entry using the vga kernel parameter the resolution stays the same but on startup it prints out that my resolution "1920" isn't recognized. I'm entering "1920x1080x24" and confirmed that it's available with hwinfo --framebuffer: "Mode 0x034d: 1920x1080 (+7680), 24 bits". The printout scrolls off the screen too fast for me to read it. It might have some details about a format it is expecting other than what is on the wiki. I can't find those logs in journalctl -xe however.

Offline

Board footer

Powered by FluxBB