kdb345: Adjust Resolution on Connect Tech TX1 Carriers

Introduction

The Ubuntu desktop when boot can be adjusted to specific resolutions. This can be done via the GUI or directly through the terminal by editing xorg.conf or using xrandr.

Disclaimer

The TX1 system has a default resolution output of 1920×1080 60Hz. The device will expect this resolution on boot. As the startup prompt cannot be changed at this time this will not be a direct solution to unsupported monitors that cannot be detected by the TX1. If your monitor cannot display anything on screen, the only solution available at this time is to unplug the HDMI from the carrier board, power up the system, and waiting approximately 1 minute then plug the HDMI back into the carrier board. This is not an issue with Connect Tech’s Carrier boards but a limitation of the TX1 module.

Setup

xrandr

This command is only accessible when in the desktop environment. If the intent is to adjust the screen or add resolution on an active monitor, then xrandr is suitable.

# Add a new mode 1280×720 example:
xrandr --newmode "1280x720_60.00" 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync
#Add mode
xrandr --addmode HDMI-0 "1280x720_60.00"
#Set mode
xrandr --output HDMI-0 --mode "1280x720"

# Available modes on TX1
# 1920x1080 60.00 +
# 1680x1050 59.96
# 1440x900 59.89
# 1360x765 60.01
# 1280x1024 75.03 60.00
# 1280x800 59.81
# 1280x720 60.00*
# 1152x864 75.00 59.97
# 1024x768 75.03 70.07 60.01
# 832x624 75.05
# 800x600 75.00 72.19 60.32 56.25
# 720x400 70.04
# 640x480 75.00 72.81 67.06 59.94

Xorg

To get the correct modeline for your monitor

cvt <X> <Y> <REFRESH>

To change the resolution, you may add the display modeline parameter(s) to the xorg.conf file, allowing your display to adjust the resolution to correspond to the correct timings. If you wish to change the display size to be greater than the monitor resolution, the Virtual parameter must be added as follows to the etc/X11/xorg.conf file:

Copyright (c) 2011-2013 NVIDIA CORPORATION. All Rights Reserved.

This is the minimal configuration necessary to use the Tegra driver. Please refer to the xorg.conf man page for more configuration options provided by the X server, including display-related options provided by RandR 1.2 and higher.

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 30.0-62.0
VertRefresh 50.0-72.0
Option "ModeValidation" "NoVertRefreshCheck"
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -HSync +VSync
EndSection


Section "Module"
Disable "dri"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection

Section "Device"
Identifier "tegra0"
Driver "nvidia"
# Allow X server to be started even if no display devices are connected.
Option "AllowEmptyInitialConfiguration" "true"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "tegra0"
DefaultDepth 24

SubSection "Display"
Depth 24
Virtual 1920 1080
Modes "1920x1080" "1920x1080_60" "1920x1080_60_0"
EndSubSection
EndSection

When completed you must kill x server by the following commands as a script as root (Display will go blank than reset to new resolution):

#!/bin/bash
service lightdm stop
sleep 10
service lightdm start

Sources

http://www.thinkwiki.org/wiki/Xorg_RandR_1.2

https://wiki.archlinux.org/index.php/xorg#Using_xorg.conf

Go to Top