Increasing linux display resolution via xrandr command line

From thelinuxwiki
Jump to: navigation, search

displaying available / detected video modes

performed on lenovo laptop running LMDE

$ xrandr
  Screen 0: minimum 320 x 200, current 1152 x 864, maximum 8192 x 8192
  LVDS1 connected 1152x864+0+0 (normal left inverted right x axis y axis) 303mm x 189mm
  1440x900       60.0 +   59.9     50.0  
  1360x768       59.8     60.0  
  1152x864       60.0* 
  1024x768       60.0  
  800x600        60.3     56.2  
  640x480        59.9  
  VGA1 connected 1152x864+0+0 (normal left inverted right x axis y axis) 367mm x 275mm
  1600x1200      60.0 +
  1280x1024      75.0     60.0  
  1152x864       75.0* 
  1024x768       75.1     60.0  
  800x600        75.0     60.3  
  640x480        75.0     60.0  
  720x400        70.1  
  DVI1 connected 1152x864+0+0 (normal left inverted right x axis y axis) 367mm x 275mm
  1600x1200      60.0 +
  1280x1024      75.0     60.0  
  1152x864       75.0* 
  1024x768       75.1     60.0  
  800x600        75.0     60.3  
  640x480        75.0     60.0  
  720x400        70.1  
  TV1 unknown connection (normal left inverted right x axis y axis)
  848x480        30.0 +
  640x480        30.0 +
  1024x768       30.0  
  800x600        30.0  


 $ xrandr --output DVI1 --mode 1600x1200


setting up dual monitors example (on aptosid with xranr 1.3)

xrandr --output HDMI2 --mode 1600x1200   
xrandr --output HDMI2 --mode 1600x1200 --right-of VGA

ERROR: xrandr: cannot find crtc for output DVI1

to solve the above error, I performed the following

 xrandr --output TV1 --off
 xrandr --output LVDS1 --off
 xrandr --output VGA1 --off
 xrandr --output DVI1 --mode 1600x1200


then...worked and ran 1600x1200 successfully :)


taken from useful link http://fluxcoil.net/doku.php/hardwarerelated/thinkpad_x200

excerp: With 2.6.31/2.6.32 this works using just 'xrandr –output VGA1 –mode 1024×768'. With 2.6.30 i just get 'xrandr: cannot find crtc for output VGA1' from the command thou. xrandr without option here detects all outputs as connected. The VGA-output can then only be used after manually deactivating the other outputs: