You are not logged in.
Pages: 1
I have a bone stock Optiplex 9020 mini tower. running Daedelus with Intel Mesa HD 4600 graphics via HDMI
Devuan has run stable for a couple years (unless I enable GUFW! which renders it prone to lockups!!) except:
Every. Single. Time. it suspends (or hibernates) it reverts back to the highest resolution available since it detects my 42" LG as a 72" LG the highest resolution is rendered so small as to have me guessing which of the illegible little blurs I want to use as the display adjustment. The settings survive reboot and shutdown, ... but never suspend.
In addition it reverts back to VGA if the LG shuts down from inactivity and I inadvertently shake the mouse prior to restarting the TV,
Wise cognoscenti how can I lock the display to 1920x1080 at 60 HZ ??? and feed it to a single HDMI port rather than have it rescan every port, and every option, on every wakeup?
Offline
As a workaround, I'd make a script to do this
/etc/pm/sleep.d/50_resolution (make it executable)
#!/bin/bash
case $1 in
suspend|suspend_hybrid|hibernate)
:
;;
resume|thaw)
xrandr --output HDMI-0 --mode 1920x1080 --rate 60 --primary
;;
esac
Obviously, change the "HDMI-0" to your device's correct output, and make any other adjustments to the xrandr line to fit your desired setting. If this doesn't work, try putting a short sleep command before the xrandr command.
Offline
You could also add a configuraiton snippet for the Monitor in /etc/X11/xorg.conf.d/
Start with running Xorg -configure :1, which dumps the current configuration into a file xorg.conf.new. clip out the applicable "Monitor" for your snippet, and add the desired ModeLine to it. (You might also need to disable "DefaultModes")
See man xorg.conf for details.
Offline
Pages: 1