Can I force VGA signal output even when xrandr shows 'disconnected'?
Yes,you can , but --auto
is doing the right thing. Instead do something like:
xrandr --addmode VGA1 1024x768
xrandr --output VGA1 --mode 1024x768 --right-of LVDS1
For other users with a similar problem on all video outputs, first run xrandr
to see what outputs you have.
~$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 294mm x 165mm
1920x1080 60.0*+ 59.9 40.0
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
1024x768 60.0
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
1024x768 60.0
In this case the main screen is called eDP1 and the additional outputs are VGA1, HDMI1 and DP1 (Mini DisplayPort)
As an example, to force output to the Mini DisplayPort at 720x480 run
xrandr --addmode DP1 720x480
and then
xrandr --output DP1 --mode 720x480 --right-of eDP1
If you has a display port, for example DP1, and needs to send the VGA signal into the display port because it is not detected, you should adapt the adapt the line proposed by Daniel Alder. Assuming your normal screen is eDP1 and your displayport is DP1:
# Put your normal screen in 1024x768
xrandr --output eDP1 --mode 1024x768
# Add a mode for display port
xrandr --addmode DP1 1024x768
# Clone the normal screen to the display port
xrandr --output DP1 --mode 1024x768 --same-as eDP1
For me it solve the non detection problem of some external projectors when there is a box that choose automatically what VGA input should be sent to the projector.