xrandr - cannot find mode, but mode listed by xrandr
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
If I execute xrandr, I get a list of resolutions supported on my monitor (I only have one). For most of these resolutions I can excuted 'xrandr --output eDP-1-1 --mode res' and it works.
But for some resolutions on the list, I get an error back 'cannot find mode'. If I add a --rate 60 flag it then finds the mode and sets the resolutions.
This would make some sense if xrandr couldn't decide which refresh rate to use, but this happens for resolutions with only one refresh rate listed.
What gives? It is I supposed not a big issue but I would like to know what is going on.
xrandr
New contributor
|
show 2 more comments
If I execute xrandr, I get a list of resolutions supported on my monitor (I only have one). For most of these resolutions I can excuted 'xrandr --output eDP-1-1 --mode res' and it works.
But for some resolutions on the list, I get an error back 'cannot find mode'. If I add a --rate 60 flag it then finds the mode and sets the resolutions.
This would make some sense if xrandr couldn't decide which refresh rate to use, but this happens for resolutions with only one refresh rate listed.
What gives? It is I supposed not a big issue but I would like to know what is going on.
xrandr
New contributor
What happens if you run the simple commandxrandr -s widthxheight
wherewidthxheight
can be for example1024x768
or1920x1080
or whatever is listed by the plainxrandr
command?
– sudodus
2 days ago
512x384 is listed by xrandr. xrandr -s 512x384 says "Size 512x384 not found in available modes"
– Countingstuff
2 days ago
512x384
is a very low resolution, not really useful. In my computer the lowest listed resolution is640x480
, and it works. Are there other listed resolutions, that do not work? What graphics card and graphics driver are you using? And which version of Ubuntu? Are you runnning Xorg or Wayland? And what monitor is it (brand name and model)?
– sudodus
2 days ago
1
Hey, yes, for example 720x450 is listed but does not work. I agree it's a very low resolution and not useful, but I am writing some code that requires changing of resolutions, and I'm wary now since I don't understand when xrandr works and does not. I'm on Ubuntu 16.04, my graphics card is Intel HD Graphics 520, driver i912. I am running xorg
– Countingstuff
2 days ago
This is an unusual problem. I have usedxrandr
many times and in many computers (for example to get lower resolution than default in order to get screenshots to upload to AskUbuntu). Intel graphics and the corresponding linux drivers are usually cooperating well, but there are some exceptions. There could also be problems because of the monitor (hardware). -- You can test in a live drive of Ubuntu 18.04.1 LTS, 'Try Ubuntu without installing', and test in some other computers, if you have the same problem.
– sudodus
2 days ago
|
show 2 more comments
If I execute xrandr, I get a list of resolutions supported on my monitor (I only have one). For most of these resolutions I can excuted 'xrandr --output eDP-1-1 --mode res' and it works.
But for some resolutions on the list, I get an error back 'cannot find mode'. If I add a --rate 60 flag it then finds the mode and sets the resolutions.
This would make some sense if xrandr couldn't decide which refresh rate to use, but this happens for resolutions with only one refresh rate listed.
What gives? It is I supposed not a big issue but I would like to know what is going on.
xrandr
New contributor
If I execute xrandr, I get a list of resolutions supported on my monitor (I only have one). For most of these resolutions I can excuted 'xrandr --output eDP-1-1 --mode res' and it works.
But for some resolutions on the list, I get an error back 'cannot find mode'. If I add a --rate 60 flag it then finds the mode and sets the resolutions.
This would make some sense if xrandr couldn't decide which refresh rate to use, but this happens for resolutions with only one refresh rate listed.
What gives? It is I supposed not a big issue but I would like to know what is going on.
xrandr
xrandr
New contributor
New contributor
New contributor
asked 2 days ago
CountingstuffCountingstuff
1011
1011
New contributor
New contributor
What happens if you run the simple commandxrandr -s widthxheight
wherewidthxheight
can be for example1024x768
or1920x1080
or whatever is listed by the plainxrandr
command?
– sudodus
2 days ago
512x384 is listed by xrandr. xrandr -s 512x384 says "Size 512x384 not found in available modes"
– Countingstuff
2 days ago
512x384
is a very low resolution, not really useful. In my computer the lowest listed resolution is640x480
, and it works. Are there other listed resolutions, that do not work? What graphics card and graphics driver are you using? And which version of Ubuntu? Are you runnning Xorg or Wayland? And what monitor is it (brand name and model)?
– sudodus
2 days ago
1
Hey, yes, for example 720x450 is listed but does not work. I agree it's a very low resolution and not useful, but I am writing some code that requires changing of resolutions, and I'm wary now since I don't understand when xrandr works and does not. I'm on Ubuntu 16.04, my graphics card is Intel HD Graphics 520, driver i912. I am running xorg
– Countingstuff
2 days ago
This is an unusual problem. I have usedxrandr
many times and in many computers (for example to get lower resolution than default in order to get screenshots to upload to AskUbuntu). Intel graphics and the corresponding linux drivers are usually cooperating well, but there are some exceptions. There could also be problems because of the monitor (hardware). -- You can test in a live drive of Ubuntu 18.04.1 LTS, 'Try Ubuntu without installing', and test in some other computers, if you have the same problem.
– sudodus
2 days ago
|
show 2 more comments
What happens if you run the simple commandxrandr -s widthxheight
wherewidthxheight
can be for example1024x768
or1920x1080
or whatever is listed by the plainxrandr
command?
– sudodus
2 days ago
512x384 is listed by xrandr. xrandr -s 512x384 says "Size 512x384 not found in available modes"
– Countingstuff
2 days ago
512x384
is a very low resolution, not really useful. In my computer the lowest listed resolution is640x480
, and it works. Are there other listed resolutions, that do not work? What graphics card and graphics driver are you using? And which version of Ubuntu? Are you runnning Xorg or Wayland? And what monitor is it (brand name and model)?
– sudodus
2 days ago
1
Hey, yes, for example 720x450 is listed but does not work. I agree it's a very low resolution and not useful, but I am writing some code that requires changing of resolutions, and I'm wary now since I don't understand when xrandr works and does not. I'm on Ubuntu 16.04, my graphics card is Intel HD Graphics 520, driver i912. I am running xorg
– Countingstuff
2 days ago
This is an unusual problem. I have usedxrandr
many times and in many computers (for example to get lower resolution than default in order to get screenshots to upload to AskUbuntu). Intel graphics and the corresponding linux drivers are usually cooperating well, but there are some exceptions. There could also be problems because of the monitor (hardware). -- You can test in a live drive of Ubuntu 18.04.1 LTS, 'Try Ubuntu without installing', and test in some other computers, if you have the same problem.
– sudodus
2 days ago
What happens if you run the simple command
xrandr -s widthxheight
where widthxheight
can be for example 1024x768
or 1920x1080
or whatever is listed by the plain xrandr
command?– sudodus
2 days ago
What happens if you run the simple command
xrandr -s widthxheight
where widthxheight
can be for example 1024x768
or 1920x1080
or whatever is listed by the plain xrandr
command?– sudodus
2 days ago
512x384 is listed by xrandr. xrandr -s 512x384 says "Size 512x384 not found in available modes"
– Countingstuff
2 days ago
512x384 is listed by xrandr. xrandr -s 512x384 says "Size 512x384 not found in available modes"
– Countingstuff
2 days ago
512x384
is a very low resolution, not really useful. In my computer the lowest listed resolution is 640x480
, and it works. Are there other listed resolutions, that do not work? What graphics card and graphics driver are you using? And which version of Ubuntu? Are you runnning Xorg or Wayland? And what monitor is it (brand name and model)?– sudodus
2 days ago
512x384
is a very low resolution, not really useful. In my computer the lowest listed resolution is 640x480
, and it works. Are there other listed resolutions, that do not work? What graphics card and graphics driver are you using? And which version of Ubuntu? Are you runnning Xorg or Wayland? And what monitor is it (brand name and model)?– sudodus
2 days ago
1
1
Hey, yes, for example 720x450 is listed but does not work. I agree it's a very low resolution and not useful, but I am writing some code that requires changing of resolutions, and I'm wary now since I don't understand when xrandr works and does not. I'm on Ubuntu 16.04, my graphics card is Intel HD Graphics 520, driver i912. I am running xorg
– Countingstuff
2 days ago
Hey, yes, for example 720x450 is listed but does not work. I agree it's a very low resolution and not useful, but I am writing some code that requires changing of resolutions, and I'm wary now since I don't understand when xrandr works and does not. I'm on Ubuntu 16.04, my graphics card is Intel HD Graphics 520, driver i912. I am running xorg
– Countingstuff
2 days ago
This is an unusual problem. I have used
xrandr
many times and in many computers (for example to get lower resolution than default in order to get screenshots to upload to AskUbuntu). Intel graphics and the corresponding linux drivers are usually cooperating well, but there are some exceptions. There could also be problems because of the monitor (hardware). -- You can test in a live drive of Ubuntu 18.04.1 LTS, 'Try Ubuntu without installing', and test in some other computers, if you have the same problem.– sudodus
2 days ago
This is an unusual problem. I have used
xrandr
many times and in many computers (for example to get lower resolution than default in order to get screenshots to upload to AskUbuntu). Intel graphics and the corresponding linux drivers are usually cooperating well, but there are some exceptions. There could also be problems because of the monitor (hardware). -- You can test in a live drive of Ubuntu 18.04.1 LTS, 'Try Ubuntu without installing', and test in some other computers, if you have the same problem.– sudodus
2 days ago
|
show 2 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Countingstuff is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132215%2fxrandr-cannot-find-mode-but-mode-listed-by-xrandr%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Countingstuff is a new contributor. Be nice, and check out our Code of Conduct.
Countingstuff is a new contributor. Be nice, and check out our Code of Conduct.
Countingstuff is a new contributor. Be nice, and check out our Code of Conduct.
Countingstuff is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1132215%2fxrandr-cannot-find-mode-but-mode-listed-by-xrandr%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What happens if you run the simple command
xrandr -s widthxheight
wherewidthxheight
can be for example1024x768
or1920x1080
or whatever is listed by the plainxrandr
command?– sudodus
2 days ago
512x384 is listed by xrandr. xrandr -s 512x384 says "Size 512x384 not found in available modes"
– Countingstuff
2 days ago
512x384
is a very low resolution, not really useful. In my computer the lowest listed resolution is640x480
, and it works. Are there other listed resolutions, that do not work? What graphics card and graphics driver are you using? And which version of Ubuntu? Are you runnning Xorg or Wayland? And what monitor is it (brand name and model)?– sudodus
2 days ago
1
Hey, yes, for example 720x450 is listed but does not work. I agree it's a very low resolution and not useful, but I am writing some code that requires changing of resolutions, and I'm wary now since I don't understand when xrandr works and does not. I'm on Ubuntu 16.04, my graphics card is Intel HD Graphics 520, driver i912. I am running xorg
– Countingstuff
2 days ago
This is an unusual problem. I have used
xrandr
many times and in many computers (for example to get lower resolution than default in order to get screenshots to upload to AskUbuntu). Intel graphics and the corresponding linux drivers are usually cooperating well, but there are some exceptions. There could also be problems because of the monitor (hardware). -- You can test in a live drive of Ubuntu 18.04.1 LTS, 'Try Ubuntu without installing', and test in some other computers, if you have the same problem.– sudodus
2 days ago