DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

DietPi-Config | Support setting console resolution on ARM with DRM/KMS

Open MichaIng opened this issue 3 years ago • 0 comments

Creating a feature request

Is your feature request related to a problem? Please describe:

  • E.g. #5579
  • With mainline kernel and DRM/KMS on ARM (no GRUB) it is not so trivial to set the console screen resolution.

Describe the solution you'd like:

  • It can be set via kernel command-line: https://wiki.archlinux.org/title/Kernel_mode_setting#Forcing_modes
  • Active DRI devices can be found and their supported modes read out:
    for i in /sys/class/drm/*; do [[ -e $i/status ]] && echo "$i: $(<$i/status)"; done
    

Describe alternatives you've considered:

  • There are no alternatives, as long as the image is no shipped with non-mainline kernel/firmware where non-standard bootloader settings, respectively self-explaining kernel command-line arguments are available.
  • For X environments, it again needs to be done differently, though.

Additional context

  • #5579, https://dietpi.com/forum/t/odroid-c2-1280x390-screen-resolution-is-possible/13275

MichaIng avatar Jul 23 '22 12:07 MichaIng