The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 1,720β€…    Votes:  2β€…
Tags: display   display-resolution  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/1269346
Title: Cannot use full resolution of external display
ID: /2020/08/23/Cannot-use-full-resolution-of-external-display
Created: August 23, 2020
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


First you don’t need to use sudo with xrandr.

Second you need to run cvt to get the settings to pass to xrandr --newmode. For example (on my 4K TV):

cvt -v 3840 2160 56

Warning: Refresh Rate is not CVT standard (50, 60, 75 or 85Hz).
# 3840x2160 55.98 Hz (CVT) hsync: 124.95 kHz; pclk: 661.75 MHz
Modeline "3840x2160_56.00"  661.75  3840 4152 4568 5296  2160 2163 2168 2232 -hsync +vsync

Then copy the Modeline output as input for xrandr --newmode:

$ xrandr --newmode "3840x2160_56.00"  661.75  3840 4152 4568 5296  2160 2163 2168 2232 -hsync +vsync

X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  52
  Current serial number in output stream:  52

The refresh rate is too high in this case so I reduced it to 54 Hz and repeated the process.

⇧ What does the indicator icon with three dots over a power plug mean in Ubuntu 20.04? MainThread unfamiliar process suddenly showing up 18.04  β‡©