640x480 only res available after f14 - f20 upgrade?

Vikram Goyal vikigoyal at gmail.com
Mon Apr 21 15:07:14 UTC 2014


On Mon, Mar 17, 2014 at 09:21:57PM +0000, Morgan Read wrote:
> Hello Folks
> 
> I've upgraded a server to f20 that was running f14.  There was no issue
> with screen geometry/ resolution in f14, but now the only resolution
> available via gnome is 640x480.  That makes the machine virtually
> impossible to use in a graphic environment.
> 
> I've followed these links here:
> *
> https://ask.fedoraproject.org/en/question/8301/how-do-i-change-my-monitors-resolution/
> * https://wiki.archlinux.org/index.php/Xrandr#Adding_undetected_resolutions
> * http://fedoraforum.org/forum/showthread.php?p=1584620
> But, all to no avail...
> 
> I'd really appreciate anybody pointing me in the right direction(s) - I
> suspect I've just not done something really straight forward as it seems

I went through tha same kind of issue. Check for the modeline for your
monitor at http://www.mythtv.org/wiki/Modeline_Database

There are some other URLs also which you may be interested in, like:
http://wiki.xbmc.org/?title=Xorg_Modelines
http://xtiming.sourceforge.net/cgi-bin/xtiming.pl

I tried the xorg.conf way but could not solve the problem, so I went a
bit of a different way with the help of some HowTos I have forgotten the
links to.

So the other way is:

Execute xrandr

The output might be something like:

[root at localhost ~]# xrandr 
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 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  

Check for which output is connected. Here it is DVI-0

Now execute the following commands in sequence. <Sample>

xrandr --newmode "1280x1024_60.00"     107.981 1280 1344 1456 1688 1024 1025 1028 1066 +hsync +vsync
                 ^^Name Of New Mode^^              ^^ New Modeline^^

xrandr --addmode DVI-0                                   "1280x1024_60.00"
                 ^^Your Output Channel^^                ^^Name Of New Mode^^ 

xrandr --output DVI-0                              --mode 1280x1024_60.00
               ^^Your Output Channel^^                ^^Name Of New Mode^^ 
              
So, without comments, it may look like:
xrandr --newmode "1280x1024_60.00" 107.981 1280 1344 1456 1688 1024 1025 1028 1066 +hsync +vsync
xrandr --addmode DVI-0 "1280x1024_60.00"
xrandr --output DVI-0 --mode 1280x1024_60.00


You have to set the modeline & Output as per your setup in the above
lines.

If it succeeds then you can put it in a file & execute it as root after
every boot. I tried to put it in rc.local but does not work:(

HTH
-- 
vikram...
         ||||||||
         ||||||||
^^'''''^^||root||^^^'''''''^^
        // \\   ))
       //(( \\// \\
      // /\\ ||   \\
     || / )) ((    \\
-- 
Data, n.:
	An accrual of straws on the backs of theories.
-- 
  _
 ~|~
  =


More information about the users mailing list