Xunwei 3399 development board Ubuntu system dual-screen different display, dual-screen simultaneous display test

thumbnail

This article mainly introduces the dual-screen different display and dual-screen simultaneous display tests supported by RockChip linux on the Ubuntu platform.

1 First burn the Ubuntu image-update.img in the CD-ROM. The author’s test uses an LVDS 9.7-inch screen (

LVDS7-inch screen, LVDS10.1-inch screen, MIPI 7-inch screen is also supported) and HDMI screen. The LVDS 9.7-inch screen is connected with an adapter board, and the HDMI screen is connected to the Mini-HDMI interface with the matching cable. As shown below:

2 After burning the Ubuntu image, you need to enter the uboot mode and set the screen environment variables. Here the author uses an LVDS 9.7-inch screen, so set the environment variables, as shown in the figure below. Note that the setting of the environment variable here should be set according to the size of the screen you are connecting to. After the setting is completed, restart the development board, and the desktop on the lvds 9.7-inch screen will display normally.

3 Under Ubuntu, use xrandr to set the dual-screen simultaneous display and different display functions.

“xrandr” is an official RandR Wikipedia:X

Window System extension configuration tool. It can set the size, orientation, mirroring, etc. of the screen display.

4 First, connect the mouse and keyboard to the development board, right-click on the screen where the development board is connected and select “Open Terminal Here”, the terminal window will open, as shown in the following figure:

5 Next, run the xrandr command directly to view the relevant information of the device. After running, the screen information of the currently connected device will be displayed.

As shown below,

6 Dual screens showing the same content (

auto is the highest resolution), enter the following command:

xrandr –output DSI-1 –same-as HDMI-1 –auto

The dual-screen simultaneous display effect is as follows:

7 Set the hdmi screen to extend right, enter the following command:

Four modes: On right, Above, On left, and Below are supported in different display mode. Where –left-of can be replaced with right-of, left-of, below,

same-as, preferred, off, etc., to achieve different screen display functions.

The dual-screen display effect is as follows:

8 We can also enter the Display setting display interface, as shown in the following figure:

Ubuntu相關問答

Related Posts