Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use ubuntu14.04 , with GeForce 220 installed . I don't install nvidia driver and don't want too(please don'ot tell me install nvidia driver) .Follow this link Nvidia DVI/VGA problem .I success make the dual monitor have the same resolution. But after reboot , it come out none of the selected modes were compatible with the possible modes:

Trying modes for CRTC 95
CRTC 95: trying mode 1024x768@60Hz with output at 1280x1024@60Hz (pass 0)
CRTC 95: trying mode 800x600@60Hz with output at 1280x1024@60Hz (pass 0)
CRTC 95: trying mode 800x600@56Hz with output at 1280x1024@60Hz (pass 0)
CRTC 95: trying mode 848x480@60Hz with output at 1280x1024@60Hz (pass 0)
CRTC 95: trying mode 640x480@60Hz with output at 1280x1024@60Hz (pass 0)
CRTC 95: trying mode 1024x768@60Hz with output at 1280x1024@60Hz (pass 1)
CRTC 95: trying mode 800x600@60Hz with output at 1280x1024@60Hz (pass 1)
CRTC 95: trying mode 800x600@56Hz with output at 1280x1024@60Hz (pass 1)
CRTC 95: trying mode 848x480@60Hz with output at 1280x1024@60Hz (pass 1)
CRTC 95: trying mode 640x480@60Hz with output at 1280x1024@60Hz (pass 1)
Trying modes for CRTC 96
CRTC 96: trying mode 1024x768@60Hz with output at 1280x1024@60Hz (pass 0)
CRTC 96: trying mode 800x600@60Hz with output at 1280x1024@60Hz (pass 0)
CRTC 96: trying mode 800x600@56Hz with output at 1280x1024@60Hz (pass 0)
CRTC 96: trying mode 848x480@60Hz with output at 1280x1024@60Hz (pass 0)
CRTC 96: trying mode 640x480@60Hz with output at 1280x1024@60Hz (pass 0)
CRTC 96: trying mode 1024x768@60Hz with output at 1280x1024@60Hz (pass 1)
CRTC 96: trying mode 800x600@60Hz with output at 1280x1024@60Hz (pass 1)
CRTC 96: trying mode 800x600@56Hz with output at 1280x1024@60Hz (pass 1)
CRTC 96: trying mode 848x480@60Hz with output at 1280x1024@60Hz (pass 1)
CRTC 96: trying mode 640x480@60Hz with output at 1280x1024@60Hz (pass 1)

xrandr show

Screen 0: minimum 320 x 200, current 2304 x 1024, maximum 8192 x 8192
DVI-I-1 connected primary 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  
HDMI-1 disconnected (normal left inverted right x axis y axis)
VGA-1 connected 1280x1024+1024+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  

So I redo it again
1 cvt 1280 1024 60

# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz
Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync

2 xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync

3 addmode xrandr --addmode DVI-I-1 "1280x1024_60.00"

This time I don't Use xrandr --output DVI-I-1 --mode "1280x1024_60.00" ,it already work . xrandr

Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 8192 x 8192
DVI-I-1 connected primary 1280x1024+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  
   1280x1024_60.00   59.9* 
HDMI-1 disconnected (normal left inverted right x axis y axis)
VGA-1 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1 

And my problem is , after reboot it will recover again . The litte problem is Why it has refresh rate with 59.9 not 60 as I input? Why Tring modes error becase I save ~/.config/monitors.xml

  <configuration>
      <clone>no</clone>
      <output name="DVI-I-1">
          <vendor>???</vendor>
          <product>0x0000</product>
          <serial>0x00000000</serial>
          <width>1280</width>
          <height>1024</height>
          <rate>60</rate>
          <x>0</x>
          <y>0</y>
          <rotation>normal</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>yes</primary>
      </output>
      <output name="HDMI-1">
      </output>
      <output name="VGA-1">
          <vendor>DEL</vendor>
          <product>0xa04b</product>
          <serial>0x33343849</serial>
          <width>1280</width>
          <height>1024</height>
          <rate>60</rate>
          <x>1280</x>
          <y>0</y>
          <rotation>normal</rotation>
          <reflect_x>no</reflect_x>
          <reflect_y>no</reflect_y>
          <primary>no</primary>
      </output>
  </configuration>
</monitors>

I find xrandr is for runtime setting. It is normal the monitor is not working after reboot (I think can do these command before gnome-setting-daemon , Put this command in .bashrc? ).

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.