Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4437

Prevent Grub resolution reset during startup

$
0
0

I have set a custom Grub resolution, but around 3 seconds into the boot sequence the display reverts to the native screen resolution.

The screen is a small but high-resolution touchscreen (13", 3200×1800). I have added the following lines to /etc/default/grub before running sudo update-grub:

GRUB_CMDLINE_LINUX_DEFAULT="noquiet nosplash"...GRUB_GFXMODE=800x600GRUB_GFXPAYLOAD_LINUX=text

I have also tried adding nomodeset to the kernel parameters and using GRUB_GFXPAYLOAD_LINUX=keep, but the behaviour is the same.

Grub displays at the requested resolution, and the Linux boot sequence output initially displays at the same resolution, but just before asking for the LUKS passphrase the display flips back to the full native resolution, which is illegibly small for me.

The change occurs just after the touchscreen is detected. Here is the relevant typical output before and after:

[    2.495843] usb 2-4: Product: Touchscreen[    2.495847] usb 2-4: Manufacturer: ELAN...[    2.878743] input: ELAN Touchscreen as /devices/...[    2.878896] input: ELAN Touchscreen as /devices/...[    2.879000] input: ELAN Touchscreen as /devices/......[    3.053233] i915 0000:00:02.0: [drm] Reducing the compressed framebuffer size. ......[    3.055573] fbcon: i915drmfb (fb0) is primary device[    3.065796] Console: switching to colour frame buffer device 200x56[    3.095533] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device--- Resolution changes from 800x600 to 3200x1800 here ---Begin: Loading essential drivers ... done.Begin: Running /scripts/init-premount ... done....

What is causing the resolution to change, and how can I configure the system to continue displaying the boot sequence output at low resolution?


Viewing all articles
Browse latest Browse all 4437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>