Screen Resolution: xrandr "cannot find mode"
Solution 1
You seem to have typed a small "x" in the modeline (1360x1020), but a capital "X" in
xrandr --addmode
– Riccardo Murri
Solution 2
Running the command
xrandr --addmode VGA1 1360x1020
would have done just as well.
xrandr
(without arguments) will list the existing modes and the ones that can be added.
Related videos on Youtube
element119
I do HTML, CSS, JavaScript, jQuery, PHP & frameworks, MySQL, Node.js, Ruby, Rails, Objective-C, iOS, Cocoa, Python, C, C#, C++, Visual Basic, and anything else I find interesting.
Updated on September 17, 2022Comments
-
element119 over 1 year
So I do a vanilla install of 10.04 Lucid Lynx, and login. The display resolution is clearly smaller than it should be.
I did a quick Google search, and then run
xrandr
:
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096 VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1360x768 59.8
1024x768 60.0* 800x600 60.3 56.2
848x480 60.0
640x480 59.9 59.9Looks great- all I have to do is add a higher mode, 1360X1020. So I run
cvt 1360 1020
and get this:
# 1360x1020 59.99 Hz (CVT 1.39M3) hsync: 63.47 kHz; pclk: 114.75 MHz Modeline "1360x1020_60.00" 114.75 1360 1448 1584 1808 1020 1023 1027 1058 -hsync +vsync
Alright. I copy the modeline, run
xrandr --newmode
with the modeline that I have, and there's no errors. However, here's the problem. When I try to use the new resolution, this is what happens:$
xrandr --addmode VGA1 1360X1020_60.00
xrandr: cannot find mode "1360X1020_60.00"I can't figure out why I'm getting this error, because I seem to have done all of the steps right. If it helps, the monitor is an Acer AL1714 running on a Dell Optiplex GX520. Thanks for any assistance in advance. `
-
Riccardo Murri over 13 yearsYou seem to have typed a small "x" in the modeline (
1360x1020
), but a capital "X" inxrandr --addmode
. Is this just a copy/paste error? -
element119 over 13 yearsSolved! Thank you very much, I've been trying to fix this for days! Post it as an answer so I can give you credit.
-
Yaseen almost 11 yearsExactly same issue! your question helped me solve it!
-