permanent resolution 1920x1080

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

permanent resolution 1920x1080

Post by Foster »

For some weeks I have tried to improve the quality of my HP monitor which calls for 1920x1080 resolution. Following on line advice I ONCE managed to set the desired 1920x1080 which was lost at the next boot.
following on I can not re-find the correct modeline by using cvt , obviously I am doing something wrong but struggle with poor eyesight & rubbish typing so try to avoid using terminal in case I "brick" yhe system.
Please could someone give a line by line blow by blow account of how to find & keep a working 1920x1080 resolution
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Lord Boltar

Re: permanent resolution 1920x1080

Post by Lord Boltar »

Have a look here

https://wiki.ubuntu.com/X/Config/Resolution

You can also load a frontend for xander such as ARandR and Grandr that will help make the process simpler
User avatar
AndyMH
Level 21
Level 21
Posts: 13728
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: permanent resolution 1920x1080

Post by AndyMH »

I had problems with LM19 and my ultrawide monitor, what I found was that cvt was NOT returning the right modeline. Use get-edid instead, you will need to install read-edid from software manager.

The full story is here:
viewtopic.php?f=46&t=280143
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

Re: permanent resolution 1920x1080

Post by Foster »

Thanks to both of your suggestions, sadly nothing worked
User avatar
AndyMH
Level 21
Level 21
Posts: 13728
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: permanent resolution 1920x1080

Post by AndyMH »

What did you do, what was the output. Post the results here, we can probably help. For starters, what version of mint are you using?
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

Re: permanent resolution 1920x1080

Post by Foster »

typing cvt into terminal shows usage: cvt [ -v| --verbose] [-r| --reduced] x y [refresh]
-v| --verbose : Warn about CVT standard adherance.
-r| --reduced : Create a mode with reduced blanking
x : Desired horizontal resolution (multiple of 8. required).
y : Desired vertical resolution (required)
refresh : Desired refresh rate (default: 60.0Hz)
Calculates VESA CVT (Coordinated Video Timing) modelines for use withx.
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

Re: permanent resolution 1920x1080

Post by Foster »

Forgot to say Mint 18.3 Sylvia
User avatar
AndyMH
Level 21
Level 21
Posts: 13728
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: permanent resolution 1920x1080

Post by AndyMH »

With the monitor you want to work at 1920x1080 connected (I assume it's what you are using but at a lower res), type xrandr in a terminal. What we are looking for is which port is the monitor connected to. For all monitors connected it will display the available resolutions. For example, my monitor is on HDMI-2, which I can see from part of the output:

Code: Select all

VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis
Then in a terminal type:

Code: Select all

cvt 1920 1080
you will get something like this as output (but the numbers will be different):

Code: Select all

# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
This tells you the modeline you need to use. Then in the terminal enter (replacing everything after newmode with the modeline you got from cvt above):

Code: Select all

xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
then (replacing HDMI-2 with whatever your monitor is connected to, and "1920x1080_60.00" with the output of cvt if different):

Code: Select all

xrandr --addmode HDMI-2 "1920x1080_60.00"
Now go into the mint menu > preferences > display. 1920x1080 should now be there, select it, does it work?

If it works, to make it permanent, edit the file .profile to add the the two lines above for newmode and addmode at the end. This file lives in your home folder.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: permanent resolution 1920x1080

Post by kyphi »

The monitor resolution should be detected and the monitor identified automatically.

Have a look in System Settings (it is in the main menu), Hardware, Display where there are a number of resolutions available to be chosen. Click Apply after making your selection.

My HP monitor (HP 25er) automatically sets to 1920 x 1080.
Linux Mint 21.3 Cinnamon
User avatar
AndyMH
Level 21
Level 21
Posts: 13728
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: permanent resolution 1920x1080

Post by AndyMH »

kyphi is right, the system should automatically detect the resolutions available on the monitor. My post is what to do if the resolution you want is not present in menu > preferences > display, i.e. mint is not detecting the resolution you want and you know that the monitor supports it.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

Re: permanent resolution 1920x1080

Post by Foster »

unfortunately the monitor is shown as "unknown"
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

Re: permanent resolution 1920x1080

Post by Foster »

Thanks Andy will try again following your instructions
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

Re: permanent resolution 1920x1080

Post by Foster »

typing cvt into terminal does not give any modeline results ,only displays the result as shown above. Tried sudo , same result.
User avatar
AndyMH
Level 21
Level 21
Posts: 13728
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: permanent resolution 1920x1080

Post by AndyMH »

You are typing in what I gave in full, not just cvt?

Code: Select all

cvt 1920 1080
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

Re: permanent resolution 1920x1080

Post by Foster »

Yes I type cvt 1920x1080 , sorry for the delay the internet has been down for quite some time today.
User avatar
AndyMH
Level 21
Level 21
Posts: 13728
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: permanent resolution 1920x1080

Post by AndyMH »

cvt 1920x1080 is wrong! There is no x, just a space, cvt 1920 1080
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

Re: permanent resolution 1920x1080

Post by Foster »

OK Thanks Will try again tomorrow
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

Re: permanent resolution 1920x1080

Post by Foster »

OK I can now see the modeline but when I write in newmode I get ,failed to parse -hsync as a number
User avatar
AndyMH
Level 21
Level 21
Posts: 13728
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: permanent resolution 1920x1080

Post by AndyMH »

Post the results of what you are getting in your reply - copy and paste the outputs from the terminal in your reply, you can enclose them in the code markers (the </> button above your reply window). What I want to see is your equivalent of:

Code: Select all

andy@T430 ~ $ cvt 1920 1080
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
andy@T430 ~ $ xrandr --newmode HDMI-2 "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
xrandr: unrecognized option '-hsync'
Try 'xrandr --help' for more information.
andy@T430 ~ $ 
Also post the output from xrandr, for example:

Code: Select all

andy@T430 ~ $ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 8192 x 8192
LVDS-1 connected (normal left inverted right x axis y axis)
   1600x900      60.01 +  59.99    59.94    59.95    59.82    40.00  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
   1920x1080     60.00    50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
   2560x1080     60.00* 
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
andy@T430 ~ $ 
This will tell me what resolutions and what port your monitor is connected to.

If may be that cvt is returning the wrong modeline (as my example above) or you have the port wrong or we need to get the modeline directly from the monitor using get-edid
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Foster
Level 2
Level 2
Posts: 81
Joined: Mon Feb 06, 2017 5:28 pm

Re: permanent resolution 1920x1080

Post by Foster »

OK I have installed get edid & in a nutshell it says that the video card & monitor are not compatible. the monitor is an HP2311c & the VGA controller is Intel 82945G/GZ integrated controller (rev 02)
I would post the results from the terminal but I do not know how to save the results to home or desktop
Am I trying to get a quart out of a pint pot?
Locked

Return to “Beginner Questions”