Hi, I am just configuring my first NixOS setup and I have a weird issue. I have a 2560x1080 monitor and I want everything to display in that resolution.
On initial power-on: TTY displays correctly at 2560x1080 with no graphics errors in dmesg.
After reboot: TTY resolution becomes stretched, with 1/5 of the screen not visible, and dmesg shows an error about unsupported mode. Here is the output of dmesg | grep i915
:
[ 0.890817] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 0.891441] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 0.913688] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
[ 1.174948] fbcon: i915drmfb (fb0) is primary device
[ 1.174953] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 1.754833] i915 0000:00:02.0: [drm] User-defined mode not supported: "2560x1080": 74 289609 2560 2736 3016 3472 1080 1081 1084 1127 0x20 0x6
[ 26.475310] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
I have video=HDMI-A-2:2560x1080@75
set in my kernel parameters. The GPU is integrated Intel graphics.
Why is this resolution suddenly not supported after reboot?