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'm trying to adjust resolution on my new MSI GT70 2OC. In settings, only one resolution is available: 1920x1080. This is fine, except that I need to decrease the resolution and make it more rectangular for the laptop to work well with my old PL-550 tablet.

Here's what I do:

cvt 1200 1000 60
    # 1200x1000 59.91 Hz (CVT) hsync: 62.19 kHz; pclk: 99.50 MHz
    Modeline "1200x1000_60.00"   99.50  1200 1280 1400 1600  1000 1003 1013 1038 -hsync +vsync
sudo xrandr --newmode "1200_1000_60"   99.50  1200 1280 1400 1600  1000 1003 1013 1038 -hsync +vsync
    xrandr: Failed to get size of gamma for output default

How do I get past this step?

UPDATE Here's the output of xrandr:

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
   1920x1080       0.0* 
share|improve this question

1 Answer 1

up vote 1 down vote accepted

You don't need sudo to register the new mode with xrandr, try without sudo. Then you'll have to apply the new resolution with:

xrandr --addmode <your_connection_type> 1200x1000_60.00

Where is usually VGA1, DP1 or HDMI1. Check the output of xrandr to know the exact name of the connected output.

share|improve this answer
    
see update..... –  Arsen Zahray Mar 30 at 12:45
1  
I'm pretty sure that this msg (the gamma size) is harmless, did you try to apply the new mode with xrandr --addmode? –  Sylvain Pineau Mar 30 at 12:48
    
yes, you were absolutely right! But, now I'm getting another message. 1200x1000 doesn't fit between 1920x1080 and 1920x1080. Any idea what I can do about that? –  Arsen Zahray Mar 30 at 13:57
    
I'm getting that message when I'm trying to change the resolution to 1200x1000 in the settings –  Arsen Zahray Mar 30 at 14:04

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.