Ubuntu – Resolution HD 1920×1280 with Intel graphics in ubuntu 12.04 LTS


I use a Pentium IV PC [Hewlett-Packard HP D530 CMT(DC577AV)] containing the 'Intel Corporation 82865G Integrated Graphics Controller' with an HD TV set as a monitor. I have to use the integrated graphics because I was not able to install Ubuntu with an external graphics card and found no linux driver for the external card. Therefore I have to use a VGA connection.

Under Windows XP the resolution 1920×1080, 60 Hz, works precisely this way. 'Ubuntu 12.04.2 LTS' enables precisely the same resolution and frequency with a monitor that it recognizes, even using VGA connection. But the Ubuntu does not recognize my TV set and, with the TVset, it does not offer the 1920×1080 resolution.

According to https://askubuntu.com/questions/298797/intel-driver-cannot-detect-my-monitor-and-get-native-resolution?rq=1 and http://www.garrypassarella.co.uk/2011/04/23/add-undetected-resolutions-in-ubuntu/ I have got the resolution 1920×1080, 60 Hz for a moment using Terminal

$ xrandr  
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 2048 x 2048  
VGA1 connected 1024x768+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   

$ cvt 1920 1080 60  
 1920x1080 59.96 Hz (CVT) hsync: 79.57 kHz; pclk: 206.25 MHz  
Modeline "1920x1080_60.00"  206.25  1920 2056 2256 2592  1080 1283 1293 1327 -hsync +vsync  

$ xrandr -newmode "1920x1080_60.00"  206.25  1920 2056 2256 2592  1080 1283 1293 1327 -hsync +vsync  

$ xrandr --addmode VGA1 "1920x1080_60.00"  

I need to continue adding the resolution into the Ubuntu displays menu because, in a new run, the Ubuntu 'System Settings'…'Displays' offers only the former '1024×768 (4:3)' and '800×600 (4:3)' resolutions.

According to the http://www.garrypassarella.co.uk/2011/04/23/add-undetected-resolutions-in-ubuntu/ :
I see no /etc/X11/xorg.conf file in that directory. I have tried
gsudo service gdm stop with a result
gdm: unrecognized service . I have tried
Xorg -configure with a result

Fatal server error:  
Server is already active for display 0

I am new with Ubuntu. Please advise me, how to add the new resolution into the Ubuntu displays menu, thanks,
Tomas Peceny.

Best Answer

I was not able to apply fully the answer, but I have partially succeeded by making a batch file named davka1080.sh and placed at the desktop. It's content is derived from previous attempts, namely

#! /bin/sh

cvt 1920 1080 60  
xrandr --newmode  "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync   
xrandr --addmode VGA1 "1920x1080_60.00"

I have found its form at these pages, too, and in my /etc/init.d/README. The batch works by clicking its icon and 'Run'. Finally I have placed it as a start-up application for both users according to the How to run commands at login on ubuntu 12.04? and it works: the resolution is now really 1920x1080; I "only" need to close a remaining warning that the system could not apply the stored configuration for monitors. And it seems to me, according a known Video in VLC, that there is not a color depth 32 bit – full color. I shall ask another question about setting it

I hope that such an old hardware is usable with Ubuntu, also for precise showing photos taken at HD size and for watching (standard) TV and records as I am used to.