Kms and screen resolution

I am the type of user who cannot leave well enough alone. So the other, don’t remember where I got the kms idea from, but I put in mkinitcpio.conf and regenerate the initramfs.
Booted the system and its up great. Didn’t notice anything really until I went to change wallpaper background. My resolution the was 1920x1080 and I have some pics at that resolution. When I went to change to one of those pics it was centered but there was a border.
Well I opened a terminal up, don’t as why, and it says my resolution is 2304x1296.
Wow, really kinda cool actually. I entered xrandr and it reports the same.
Here is my system info

  Kernel: 6.2.0-1-MANJARO arch: x86_64 bits: 64 Desktop: Xfce v: 4.18.1
    Distro: Manjaro Linux
  Type: Laptop System: ASUSTeK product: Vivobook_ASUSLaptop X1703ZA_K1703ZA
    v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: X1703ZA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: X1703ZA.302 date: 07/20/2022
  ID-1: BAT0 charge: 49.6 Wh (100.0%) condition: 49.6/50.0 Wh (99.1%)
  Info: 12-core (4-mt/8-st) model: 12th Gen Intel Core i5-12500H bits: 64
    type: MST AMCP cache: L2: 9 MiB
  Speed (MHz): avg: 2938 min/max: 400/4500:3300 cores: 1: 519 2: 3100
    3: 3100 4: 3100 5: 3100 6: 3100 7: 3100 8: 3100 9: 3100 10: 3100 11: 3100
    12: 3100 13: 3100 14: 3100 15: 3100 16: 3100
  Device-1: Intel Alder Lake-P Integrated Graphics driver: i915 v: kernel
  Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.7 driver: X: loaded: modesetting
    dri: iris gpu: i915 resolution: 2304x1296~60Hz
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
  Device-1: Intel Alder Lake PCH-P High Definition Audio driver: snd_hda_intel
  Sound API: ALSA v: k6.2.0-1-MANJARO running: yes
  Sound Server-1: PulseAudio v: 16.1 running: yes
  Sound Server-2: PipeWire v: 0.3.65 running: yes
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi
  IF: wlo1 state: up mac: <filter>
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb
  Report: rfkill ID: hci0 state: up address: see --recommends
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
  Local Storage: total: 1.14 TiB used: 292.51 GiB (25.0%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN530
    SDBPNPZ-256G-1002 size: 238.47 GiB
  ID-2: /dev/sda type: USB vendor: Western Digital model: WD10SDZW-11UMGS0
    size: 931.48 GiB
  ID-1: / size: 233.38 GiB used: 18 GiB (7.7%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 312 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) file: /swapfile
  System Temperatures: cpu: 38.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
  Processes: 311 Uptime: 16h 27m Memory: 11.39 GiB used: 2.68 GiB (23.6%)
  Shell: Bash inxi: 3.3.25

Any thoughts on this?

So you were running at a lower resolution than was possible. What exactly do you want to do? Get rid of the border of the background? Just zoom or scale it.

No it’s fine. I was just curious as to perhaps why the resolution changed because I didn’t initiate the change but am more than pleased with the result.

1 Like

It’s possible there was an update in the firmware your using which allowed the greater resolution but who knows. The system will usually default to max resolution it can display but that’s determined by the driver more than the display.

Perhaps you are correct. But all was well until I added kms to mkinitcpio.conf then the resolution changed as i was 1920x1080 for over 2 mos then wow, it’s changed.
No worries though as I find the new resolution fine.
xrandr reported
Screen 0: minimum 320 x 200, current 2304 x 1296, maximum 16384 x 16384
which god awful big for a 17" screen so I assume it never went to that as you had stated
“The system will usually default to max resolution it can display” and no updates to drivers that I am aware of.

I would think the current is max for the display you use and the maximum 16384 would be for say a big screen 4K TV.