Deep LINUX wide screen display
Background introduction after WINDOWS is installed on the new computer, a LD is installed, but the problem occurs, and the resolution is abnormal !! There are only 4-3 Resolutions of 800600 and 1024768, and my display is 16-9, which is quite uncomfortable, so I started my hard work in this blog post. Scene processor: i5-2310 display: 16: 9, the best resolution: 1920*1080 system: Linux Deepin 12.06 graphics card: no dedicated display, i5 integrated core display I experienced step 3, the driver has never been installed in LINUX .. The drivers of all devices are automatically installed in my experience. But fortunately, although the i5-2310 is a new technology, the system does not support by default, but install a very easy, there are for various LINUX system integrated package, of course, the old bird will usually choose to compile and install. Intel's linux graphics driver official website. I just installed one in a simple way. Run the following command: $ sudo add-apt-repository ppa: xorg-edgers/ppa $ sudo apt-get update $ sudo apt-get dist-upgrade to add the source and then update the system, install the new kernel and video card driver. Step 2: Check whether the driver is installed with the correct command: $ glxinfo | grep-I rend. If the result is YES, the installation is successful. Step 3: Compile xorg. conf can be generated because the current LINUX system does not have this file. However, because the price contains many device settings, it may make other devices unavailable, therefore, it is recommended to write one by yourself, which is easy to write. Compile the xorg. conf file under/etc/X11. The content is as follows: section "Device" Identifier "Configured Video" EndSection Section "Monitor" Identifier "Configured Monitor" Horizsync ** 30-83 ** Vertrefresh ** 55-75 ***** Modeline "1920x1080_60.00 "172.80 1920 2040 2248 2576 1080 1081 1084-HSync + Vsync ** EndSection Section" Screen "Identifier" Default Screen "Monitor" Configured Monitor "Device" Configured Video "SubSection" Display" modes ** "1920*1080 "* * The EndSection of EndSubSection is ** defined (in fact, you want to bold) based on your PC. Horizsync is the horizontal scan frequency, and Vertrefresh is the vertical scan frequency, these two parameters can be obtained from many commands, but they can also be obtained by checking the detailed parameters of the display online. The Modeline line is very long and is obtained through the gtf command. For example, if I want to get the resolution of 1920*1080, run: $ gtf 1920 1080 60, where 60 indicates the update rate. Copy the ** Modeline ** line in the result. Modes is the resolution you want to set. For more details about writing xorg. conf, refer to this blog. Then I succeeded :-). Except for xorg. in addition to conf, there are other methods to modify xorg. after conf, the system automatically sets the resolution you like every time you start the system. Another method is to start the system every time you start the system. It can be used as a means to temporarily modify the resolution or write it as a startup Item. This method uses the xrandroid command. $ Xrandroid: the result of this command has a line *, which is the resolution of your current screen. You can also obtain the screen name through this command, that is, the beginning of the segment where the line with * is located, generally VGA1, and virtual machine users are generally VBOX0. $ Cvt 1920 1080 this command is the same result as gtf 1920 1080 60, but the refreshing rate * 60 * can be ignored *. Get Modeline. $ Xrandroid -- newmode | "1920x1080_60.00" 172.80 1920 2040 2248 2576 1080 1081 1084-HSync + Vsync | the data obtained through cvt or gtf. $ Xrandroid -- addmode VGA1 "1920*1080_60.00" where VGA1 is the name of the display obtained through xrandroid. $ Xrandroid -- output VGA1 -- mode "1920*1080_60.00", "1920*1080_60.00" must be the same as that in the addmode row. Then your display will be normal. Unfortunately, you need to set it again after restart. You can write a script to add it to the startup Item.