How to change resolution on login screen

Hello.

I am trying to change resolution on login screen when my laptop boots up, but cannot find any info about that.

I have a 4K screen and set resolution to 1920x1080 (fullhd). It works fine when I am logged in and it also works when my laptop wakes up from sleep mode, but on startup it still changes to 4K and everything is so small I can not read it.

Did anyone experience the same problem? How did you fix it?

System:
Kernel: 5.16.11-zen1-2-zen x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=6caa828b-1fe1-438c-b753-ec4d6173e158 rw [email protected]
rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=55204ea6-05d6-4401-b78d-0fc6406bcba3 loglevel=3
Desktop: KDE Plasma 5.24.2 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: XPS 15 7590 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0T8KGX v: A00 serial: <superuser required> UEFI: Dell
v: 1.5.0 date: 12/25/2019
Battery:
ID-1: BAT0 charge: 70.1 Wh (79.9%) condition: 87.7/97.0 Wh (90.5%)
volts: 13.2 min: 11.4 model: SMP DELL GPM0365 type: Li-ion serial: <filter>
status: Charging
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: Discharging
CPU:
Info: model: Intel Core i9-9980HK bits: 64 type: MT MCP arch: Coffee Lake
family: 6 model-id: 0x9E (158) stepping: 0xD (13) microcode: 0xEC
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 2400 high: 2401 min/max: 800/5000 scaling:
driver: intel_pstate governor: performance cores: 1: 2400 2: 2400 3: 2400
4: 2400 5: 2400 6: 2400 7: 2401 8: 2400 9: 2400 10: 2400 11: 2400
12: 2400 13: 2400 14: 2400 15: 2401 16: 2400 bogomips: 76800
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds mitigation: TSX disabled
Type: tsx_async_abort mitigation: TSX disabled
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell
driver: i915 v: kernel ports: active: eDP-1 empty: DP-1,DP-2,DP-3
bus-ID: 00:02.0 chip-ID: 8086:3e9b class-ID: 0300
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q]
vendor: Hewlett-Packard driver: nvidia v: 510.54
alternate: nouveau,nvidia_drm pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.0 chip-ID: 10de:1f91 class-ID: 0302
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-12:4 chip-ID: 0c45:6723 class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: modesetting,nvidia gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 507x285mm (20.0x11.2")
s-diag: 582mm (22.9")
Monitor-1: eDP-1 model: Samsung built: 2019 res: 1920x1080 dpi: 142
gamma: 1.2 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") ratio: 16:9
modes: 3840x2160
OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
v: 4.6 Mesa 21.3.7 direct render: Yes
Audio:
Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
chip-ID: 8086:a348 class-ID: 0403
Sound Server-1: ALSA v: k5.16.11-zen1-2-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.47 running: yes
Network:
Device-1: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer™
driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: 3b:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp59s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-4:2 chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 953.87 GiB used: 119.49 GiB (12.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data model: SX8200PNP
size: 953.87 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 42AZS6AC
temp: 32.9 C scheme: GPT
Partition:
ID-1: / raw-size: 921.53 GiB size: 921.53 GiB (100.00%)
used: 119.49 GiB (13.0%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
ID-2: /boot/efi raw-size: 351 MiB size: 350.3 MiB (99.80%)
used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 921.53 GiB size: 921.53 GiB (100.00%)
used: 119.49 GiB (13.0%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
ID-4: /var/log raw-size: 921.53 GiB size: 921.53 GiB (100.00%)
used: 119.49 GiB (13.0%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
ID-5: /var/tmp raw-size: 921.53 GiB size: 921.53 GiB (100.00%)
used: 119.49 GiB (13.0%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 32 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: swap-2 type: zram size: 15.26 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 49.0 C pch: 47.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2402 fan-2: 2380
Info:
Processes: 420 Uptime: 3h 10m wakeups: 2606 Memory: 15.26 GiB
used: 8.01 GiB (52.5%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: 1552 pacman: 1540 lib: 337 snap: 12
Shell: fish v: 3.3.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.13
Garuda (2.5.5-1):
System install date:     2022-02-23
Last full system update: 2022-03-03
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:            nmb.service

That is sddm. Have you tried enabling hidpi?

https://wiki.archlinux.org/title/SDDM#Enable_HiDPI

Tried it now, did not work.

What about an Xsetup script like here:

For sure, you'll always use mon1 (should be mon1= eDP-1), you could even simplify the script, anyway, maybe the xrandr --auto could help...

Did you already try doing the Apply Plasma Settings from Startup and Shutdown -> Login Screen (SDDM)?

Tried and did not work, just deleted background and set it to solid white color for some reason. Resolution stayed the same.

Also tried this, but without success. Not sure if correctly, because it is a bit too complex for my skills :sweat_smile:

Do you want to change the resolution ONLY for SDDM or also after you are logged in?

Only for SDDM. When I log in it is already in Full HD, which I want also on login screen after boot.

I don't know if this will work for you, since I did this on a desktop - I have a 4k screen and SDDM was tiny - I followed the tutorial on the link below and I was able to get the sddm resolution to 1440p. I had to read it twice to understand what I had to do.

1 Like

It looks like you can specify your screen size in a Xorg configuration file: SDDM - ArchWiki

I honestly have no idea how that translates in terms of resolution; you might have to experiment to find a useful setting.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.