Ranjan Maitra composed on 2026-07-02 09:44 (UTC-0500): > Thank you to you and Barry. I actually found a monitor and hooked it up. Here > is what I get: > > Monitor-1: HDMI-A-1 mapped: HDMI-1 model: Philips PHL 276E8V serial: 7263 > built: 2019 res: mode: 3840x2160 hz: 60 scale: 100% (1) dpi: 163 gamma: > 1.2 > chroma: red: x: 0.647 y: 0.333 green: x: 0.302 y: 0.635 blue: x: 0.153 > y: 0.055 white: x: 0.314 y: 0.329 size: 597x336mm (23.5x13.23") > diag: 685mm (27") ratio: 16:9 modes: 3840x2160, 1920x2160, 2560x1440, > 1920x1080...
> How should I use xrandr on this? I guess I will be getting a black border on > the left and right edges since the external monitor is set to be wider than > the laptop screen. > I looked into arandr to see if I got any clues and get the following: > xrandr --output eDP-1 --primary --mode 2880x1800 --pos 0x0 --rotate normal > --output DP-1 --off --output DP-2 --off --output HDMI-1 --mode 3840x2160 > --pos 0x0 --rotate normal > However arandr does not have any option for scaling or aspect ratio on the > external monitor. Simpler choices I suggest to try for mirroring the two: xrandr --output eDP-1 --mode 2560x1440 --pos 0x0 --output HDMI-1 --mode 2560x1440 --pos 0x0 xrandr --output eDP-1 --mode 2880x1800 --pos 0x0 --output HDMI-1 --mode 3840x2160 --scale-from 2880x1800 xrandr --output eDP-1 --mode 2880x1800 --pos 0x0 --output HDMI-1 --mode 3840x2160 --scale .75x.75 xrandr --output eDP-1 --mode 2880x1800 --pos 0x0 --output HDMI-1 --mode 3840x2160 --scale 1.333x1.333 I always forget which direction scaling works, so one of the last two will be clearly wrong. Also you'll likely find it desirable or necessary to adjust the scale value for vertical to account for the difference in the two displays native aspect ratios. Later I may find time to try to emulate using 16:9 2560x1440 with 16:10 1920x1200 displays if you haven't solved to your satisfaction. > There appear to be two answers here: > > https://unix.stackexchange.com/questions/220387/how-to-set-scaling-mode-for-external-displays-on-intel-gpu#220388 > > The second (non-accepted) answer appears to me to be more informative, but is > this the right thing to do, and then run the xrandr as an executable script? I put my xrandr startup scripts in /etc/X11/xinit/xinitrc.d/. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata -- _______________________________________________ users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
