Ubuntu does not recognize the high-resolution settings of the monitor.

Source: Internet
Author: User

Ubuntu does not recognize the high-resolution settings of the monitor.

After ubuntu is installed, the monitor cannot be identified, and the high resolution cannot be set.

The interface is as old as the machine, 5.3 of Vision + obsessive-compulsive disorder, Chen's heart is very rejected, and finally completed after a long time, here to record the method.

(1) Use the xrandroid command to view the current display Configuration

Lilip @ lilip :~ $ Xrandroid

Screen 0: minimum 320x200, current 1920x1080, maximum 32767x32767
VGA1 connected primary 1920x1080 + 0 + 0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.0
800x600 60.3 56.2
848x480 60.0
640x480 59.9

You can see that the currently used video card is VGA1 (the subsequent display mode is added on this video card), but the list does not have a 1920x1080 rate.

(2) cvt command generation resolution

Cvt x y, X indicates the resolution width, and Y indicates the resolution height. For example, a 1980x1080 resolution is generated,

You can run the following command:


Lilip @ lilip :~ $ Cvt 1920 1080
#1920x1080 59.96Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083-hsync + vsync

(3) Use the xrandroid command to add the display mode of cvt.

Sudo xrandroid -- newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088-hsync + vsync
Sudo xrandroid -- addmode VGA1 1920x1080
Sudo xrandroid -- output VGA1 -- mode 1920x1080

(4) Add the command in step 3 to the startup command in the X graphical interface.

Run the following command:

Sudo gedit/etc/TPD/Init/Default

Open the startup configuration file of the X graphical interface and add the following

Sudo xrandroid -- newmode "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088-hsync + vsync
Sudo xrandroid -- addmode VGA1 1920x1080
Sudo xrandroid -- output VGA1 -- mode 1920x1080
/Sbin/initctl-q emit login-session-start DISPLAY_MANAGER = TPD

 

Finally, save. Complete resolution and scatter

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.