6

I've got a new installation on Compaq 6715b. I tried following these instructions to increase my screen's resolution.

What I did:

  1. Ran the command:

    sudo cvt 1680 1080 60
    
  2. Found out my device like this:

    xrandr -q
    

    And I got this:

    Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
    VGA-0 disconnected (normal left inverted right x axis y axis)
    LVDS connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
       1280x800       60.0*+
       1280x720       59.9  
       1152x768       59.8  
       1024x768       59.9  
       800x600        59.9  
       848x480        59.7  
       720x480        59.7  
       640x480        59.4  
    S-video disconnected (normal left inverted right x axis y axis)
    
  3. Then I typed this:

    sudo xrandr --newmode "1680x1080_60.00"  151.50  1680 1792 1968 2256  1080 1083 1093 1120 -hsync +vsync
    
  4. And then did this:

    sudo xrandr --addmode LVDS 1680x1080_60.00
    
  5. Finally, I got to the GUI and took display settings. I changed the resolution and my screen went crazy. Just one flat colour with no components. Only a few random squares.

I've searched and the task seems pretty challenging to me.

Is there an easy way to fix this?

Many thanks!

itsols
  • 1,140
  • There is no easy fix. See http://askubuntu.com/questions/377937/how-to-set-a-custom-resolution (which you have done) . If this does not solve your problem, you need to file a bug report. See https://wiki.ubuntu.com/X/Troubleshooting/Resolution . Sorry there is not an easy fix – Panther Nov 17 '15 at 17:28

2 Answers2

5

I'm not an expert on this, but I think you need to be sure you graphics card and screen both support the resolution you are trying to set.

Try this to test: xrandr --fb 1680x1080.

If the resolution doesn't change, your system doesn't support a bigger resolution than it is already set.

If it changes, it may change to a different resolution than expected. Check that by running xrandr and looking for the resolution:

LVDS connected primary WxH+0+0.

An apparent workaround would be to scale up your resolution with:

xrandr --output LVDS --scale-from 1680x1080

It is not the same (characters appear blurry) but it works.

JP de la Torre
  • 261
  • 3
  • 6
  • 2
    See also http://askubuntu.com/questions/379123/can-i-zoom-out-windows-or-scale-the-whole-desktop, especially the links to the bugs in my answer – Rmano Nov 11 '15 at 21:12
  • Thanks for the answer. Here's what happens... trying the db line (first one) stretched the output and it looked blurred with parts of the screen cropped out. Even the clickable range was inaccurate. checking the resolutions listed the same things - no 1680x1080. – itsols Nov 12 '15 at 04:47
  • I believe that the screen must support my expected resolution because that's what the specs say and with Windows, this is available. – itsols Nov 12 '15 at 04:48
  • 1
    I've tried this: xrandr --output LVDS --fb 1680x1080 --panning 1680x1080 --scale-from 1680x1080 and it shows no change in the appearance but typing xrandr again shows that LVDS is 1680x1080. However, this is not listed in the set of resolutions, nor does it look any different. – itsols Nov 12 '15 at 04:57
  • Sorry, I've misjudged the view. After the last command above (in my comment), it now spans the screen beyond the actual size. So I have to move the mouse to the right corner and the rest of the screen appears. I think we need to keep this within the physical screen size. – itsols Nov 12 '15 at 05:03
  • It occurred to me the ratio you are trying to set might be wrong. Try this: xrandr --output LVDS --scale-from 1680x1050 that should fit. – JP de la Torre Nov 12 '15 at 17:36
1

Don't set the refresh rate in the cvt command; let your monitor do all the work:

cvt 1680 1080

You're using your monitor name as LVDS, but it would be a good idea to check what xrandr detects:

xrandr | grep " connected " | awk '{ print$1 }'

And last of all, don't use sudo!

TellMeWhy
  • 17,484
  • Thank you for your time. I checked and yes, my screen is LVDS. I also tried the cvt command like you've mentioned but I don't see anything happening. Is there something else I'm expected to do after trying cvt? Thanks! – itsols Nov 13 '15 at 12:33
  • @itsols yes of course - you need to add the output of cvt 1680 1080 - "1680x1080_60.00" 151.50 1680 1792 1968 2256 1080 1083 1093 - something like that to your xrandr commands – TellMeWhy Nov 13 '15 at 12:36
  • I tried that but I had the same effect - I mean the screen goes into a weird colour flood like I mentioned in the question. Then after 30 seconds it's back to 1280x800. – itsols Nov 13 '15 at 13:48
  • @itsols Have you tried extending your Ubuntu drivers? If Ubuntu doesn't support the resolution, it may be because that resolution size is not pre-installed on your system. –  Nov 14 '15 at 21:43
  • @BorWal thanks for that thought... What do you mean by extending drivers ? When I go to drivers on the gui, I don't see anything to install. Could you please show me what I need to do? – itsols Nov 15 '15 at 02:15
  • @itsols I'm not sure how to do it; it was merely a suggestion. Usually, Ubuntu (and Linux, in general) has all the required drivers upon the first install, so it seems strange that some things won't work for you, especially regarding the display. –  Nov 15 '15 at 12:04
  • @itsols Could you be more specific as to where you are looking for the drivers? –  Nov 15 '15 at 12:05
  • @BorWal My answer probably reveals my ignorance but I just hit the dash menu and type driver and there's a program that shows up titled "Additional Drivers". I run it and it says no additional drivers needed. I'm sorry if my answer is meaningless. Where should I look for the drivers? – itsols Nov 15 '15 at 17:23
  • @itsols That is for proprietary drivers. You're looking to add to/edit your current Linux drivers. –  Nov 15 '15 at 17:37