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.

Hi i have a problem with my screen resolution after installing ubuntu 12.04 I think i have the right drivers, but for some reason the resolution is way to small. It is 640 x 480 and thats the only option under "Monitors". How can I fix this?

share|improve this question
1  
Can you open terminal (ctrl+alt+t), enter 'xrandr' (without quotes) and add output to your question? –  kubahaha Nov 14 '12 at 19:52

2 Answers 2

I worked out a fix and here it is:

Open up a shell :

$ xrandr

(This will show you your connection type, in my case it's VGA1)

$ cvt 1680 1050 60

(Just type this in and hit enter, my refresh rate is 60. My resolution can handle 1680x1050. Copy the part after 'Modeline' e.g. Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync then add this to the following command.

$ xrandr --newmode "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync

(Notice how I took out the "_60.00" part after "1680x1050" above? It only works if you take out that refresh bit.)

$ xrandr --addmode VGA1 1680x1050

(This should add the new resolution you used to get, my monitor only gets to 1680x1050. The VGA1 is the connection type you get in the first command i mentioned. You might have something like hdmi1 or something.)

share|improve this answer
    
Hmm still problems apparently. after i entered the command: $ xrandr --newmode "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync It gave me the message: "xrandr: Failed to get size of gamma for output default" –  ChillAut Nov 21 '12 at 19:03
    
got this error after the second command $ xrandr: Failed to get size of gamma for output default –  Adithya Chakilam Feb 4 at 15:44
    
Just FYI : This worked like a charm for me using Ubuntu 13.10 too. –  Jeyanthan I Apr 1 at 14:19

Try

sudo apt-get install linux-headers-generic

Reboot your machine afterwards.

share|improve this answer
    
okay it says that linux-headers-generic is already the newest version and that nothing will be installed. hmm..? –  ChillAut Nov 14 '12 at 21:25
    
I entered xrandr in the terminal and got the followiing output: xrandr: Failed to get size of gamma for output default Screen 0: minimum 320 x 240, current 640 x 480, maximum 640 x 480 default connected 640x480+0+0 0mm x 0mm 640x480 50.0* 320x240 51.0 –  ChillAut Nov 14 '12 at 22:44

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.