Television/Monitor configuration for media box

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
Tallone55
Level 1
Level 1
Posts: 23
Joined: Thu Jul 16, 2015 4:03 pm

Television/Monitor configuration for media box

Post by Tallone55 » Tue Jan 09, 2018 12:36 am

I'm working to get a media box up and running. The box it's replacing has two displays:
A monitor, resolution 1280x1024, connected with DVI-I.
A television (projector), resolution 1280x720, connected with HDMI.

Here's what I need:

The displays need to be mirrored such that both displays show the same thing at all times. Any distortion due to scaling or cropping should be on the monitor.
The above configuration needs to persist across reboots.
The above configuration needs to persist regardless of whether the projector is on or off.

Currently I have a script which runs using "Startup Applications"

Code: Select all

xrandr --output DVI-I-1 --same-as HDMI-0
xrandr --output DVI-I-1 --auto --scale-from 1280x720 --output HDMI-0
This works, but if the projector turns off (which is must when not in use) the settings are reset and running the script again manually does not give the same result as before.
The box it's replacing is able to display properly regardless of what state the projector is in, running ubuntu 16.04. I know it should be possible to do this, but as I am not the person who set up the first box I'm very stuck.

Any help is appreciated.

Post Reply

Return to “Graphics Cards & Monitors”