Why screen resolution remains 640x480 when I close a game?
I played Lugaru, the game went in Full screen mode, but when I closed the game, the screen resolution was still 640x480. It happened with Neighbours From Hell also, using Wine, and well... Almost every game i tried in fullscreen mode. Is it normal? Is there a fix for that?
games
add a comment |
I played Lugaru, the game went in Full screen mode, but when I closed the game, the screen resolution was still 640x480. It happened with Neighbours From Hell also, using Wine, and well... Almost every game i tried in fullscreen mode. Is it normal? Is there a fix for that?
games
Please do not put (SOLVED) to the title. Accepting an answer is the correct way to mark a question solved here. Also your UPDATE did not add anything valuable to your question, so I reverted your recent edit.
– Melebius
Jan 8 at 13:05
add a comment |
I played Lugaru, the game went in Full screen mode, but when I closed the game, the screen resolution was still 640x480. It happened with Neighbours From Hell also, using Wine, and well... Almost every game i tried in fullscreen mode. Is it normal? Is there a fix for that?
games
I played Lugaru, the game went in Full screen mode, but when I closed the game, the screen resolution was still 640x480. It happened with Neighbours From Hell also, using Wine, and well... Almost every game i tried in fullscreen mode. Is it normal? Is there a fix for that?
games
games
edited Jan 8 at 13:04
Melebius
4,61551839
4,61551839
asked Jan 6 '13 at 17:43
TibiTibi
35128
35128
Please do not put (SOLVED) to the title. Accepting an answer is the correct way to mark a question solved here. Also your UPDATE did not add anything valuable to your question, so I reverted your recent edit.
– Melebius
Jan 8 at 13:05
add a comment |
Please do not put (SOLVED) to the title. Accepting an answer is the correct way to mark a question solved here. Also your UPDATE did not add anything valuable to your question, so I reverted your recent edit.
– Melebius
Jan 8 at 13:05
Please do not put (SOLVED) to the title. Accepting an answer is the correct way to mark a question solved here. Also your UPDATE did not add anything valuable to your question, so I reverted your recent edit.
– Melebius
Jan 8 at 13:05
Please do not put (SOLVED) to the title. Accepting an answer is the correct way to mark a question solved here. Also your UPDATE did not add anything valuable to your question, so I reverted your recent edit.
– Melebius
Jan 8 at 13:05
add a comment |
2 Answers
2
active
oldest
votes
Fullscreen handling in Linux is rather broken and lots of games are causing such troubles. Easiest workaround is probably to use xrandr
to bring things back into the proper resolution (put that in a script and make it an icon in the top/left corner of your screen for easy restore):
For a single monitor setup that would be simply something like:
xrandr --output DFP2 --mode "1680x1050"
For a multimonitor setup it would look like:
xrandr
--output DFP2
--mode "800x600"
--panning "800x600+1280+0/0x0+0+0"
--output CRT1
--mode "1280x1024"
--panning "1280x1024+0+0/0x0+0+0"
Running xrandr
without any option give you a list of supported modes and available displays.
Note there is also a bug in xrandr
itself, sometimes the monitor size will adjust, but the mouse movement will still be locked to the old resolution, to fix that just run xrandr
a second time.
Alternatively you can also set wine
to emulate a virtual desktop, this will prevent games from going fullscreen and force them to be confined to the Wine virtual desktop window. The setting available in winecfg
and then Graphics->Emulate a virtual desktop
.
add a comment |
This happens to me sometimes when exiting a game. It seems random. I am not sure if it's a problem with Wine or the original game code (probably both).
For me, the command to go back to my native resolution was:
xrandr --output HDMI-0 --preferred
add a comment |
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
});
}
});
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%2f237018%2fwhy-screen-resolution-remains-640x480-when-i-close-a-game%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Fullscreen handling in Linux is rather broken and lots of games are causing such troubles. Easiest workaround is probably to use xrandr
to bring things back into the proper resolution (put that in a script and make it an icon in the top/left corner of your screen for easy restore):
For a single monitor setup that would be simply something like:
xrandr --output DFP2 --mode "1680x1050"
For a multimonitor setup it would look like:
xrandr
--output DFP2
--mode "800x600"
--panning "800x600+1280+0/0x0+0+0"
--output CRT1
--mode "1280x1024"
--panning "1280x1024+0+0/0x0+0+0"
Running xrandr
without any option give you a list of supported modes and available displays.
Note there is also a bug in xrandr
itself, sometimes the monitor size will adjust, but the mouse movement will still be locked to the old resolution, to fix that just run xrandr
a second time.
Alternatively you can also set wine
to emulate a virtual desktop, this will prevent games from going fullscreen and force them to be confined to the Wine virtual desktop window. The setting available in winecfg
and then Graphics->Emulate a virtual desktop
.
add a comment |
Fullscreen handling in Linux is rather broken and lots of games are causing such troubles. Easiest workaround is probably to use xrandr
to bring things back into the proper resolution (put that in a script and make it an icon in the top/left corner of your screen for easy restore):
For a single monitor setup that would be simply something like:
xrandr --output DFP2 --mode "1680x1050"
For a multimonitor setup it would look like:
xrandr
--output DFP2
--mode "800x600"
--panning "800x600+1280+0/0x0+0+0"
--output CRT1
--mode "1280x1024"
--panning "1280x1024+0+0/0x0+0+0"
Running xrandr
without any option give you a list of supported modes and available displays.
Note there is also a bug in xrandr
itself, sometimes the monitor size will adjust, but the mouse movement will still be locked to the old resolution, to fix that just run xrandr
a second time.
Alternatively you can also set wine
to emulate a virtual desktop, this will prevent games from going fullscreen and force them to be confined to the Wine virtual desktop window. The setting available in winecfg
and then Graphics->Emulate a virtual desktop
.
add a comment |
Fullscreen handling in Linux is rather broken and lots of games are causing such troubles. Easiest workaround is probably to use xrandr
to bring things back into the proper resolution (put that in a script and make it an icon in the top/left corner of your screen for easy restore):
For a single monitor setup that would be simply something like:
xrandr --output DFP2 --mode "1680x1050"
For a multimonitor setup it would look like:
xrandr
--output DFP2
--mode "800x600"
--panning "800x600+1280+0/0x0+0+0"
--output CRT1
--mode "1280x1024"
--panning "1280x1024+0+0/0x0+0+0"
Running xrandr
without any option give you a list of supported modes and available displays.
Note there is also a bug in xrandr
itself, sometimes the monitor size will adjust, but the mouse movement will still be locked to the old resolution, to fix that just run xrandr
a second time.
Alternatively you can also set wine
to emulate a virtual desktop, this will prevent games from going fullscreen and force them to be confined to the Wine virtual desktop window. The setting available in winecfg
and then Graphics->Emulate a virtual desktop
.
Fullscreen handling in Linux is rather broken and lots of games are causing such troubles. Easiest workaround is probably to use xrandr
to bring things back into the proper resolution (put that in a script and make it an icon in the top/left corner of your screen for easy restore):
For a single monitor setup that would be simply something like:
xrandr --output DFP2 --mode "1680x1050"
For a multimonitor setup it would look like:
xrandr
--output DFP2
--mode "800x600"
--panning "800x600+1280+0/0x0+0+0"
--output CRT1
--mode "1280x1024"
--panning "1280x1024+0+0/0x0+0+0"
Running xrandr
without any option give you a list of supported modes and available displays.
Note there is also a bug in xrandr
itself, sometimes the monitor size will adjust, but the mouse movement will still be locked to the old resolution, to fix that just run xrandr
a second time.
Alternatively you can also set wine
to emulate a virtual desktop, this will prevent games from going fullscreen and force them to be confined to the Wine virtual desktop window. The setting available in winecfg
and then Graphics->Emulate a virtual desktop
.
answered Jan 7 '13 at 12:45
GrumbelGrumbel
2,73932541
2,73932541
add a comment |
add a comment |
This happens to me sometimes when exiting a game. It seems random. I am not sure if it's a problem with Wine or the original game code (probably both).
For me, the command to go back to my native resolution was:
xrandr --output HDMI-0 --preferred
add a comment |
This happens to me sometimes when exiting a game. It seems random. I am not sure if it's a problem with Wine or the original game code (probably both).
For me, the command to go back to my native resolution was:
xrandr --output HDMI-0 --preferred
add a comment |
This happens to me sometimes when exiting a game. It seems random. I am not sure if it's a problem with Wine or the original game code (probably both).
For me, the command to go back to my native resolution was:
xrandr --output HDMI-0 --preferred
This happens to me sometimes when exiting a game. It seems random. I am not sure if it's a problem with Wine or the original game code (probably both).
For me, the command to go back to my native resolution was:
xrandr --output HDMI-0 --preferred
answered Jan 6 at 15:22
rlhelinskirlhelinski
364
364
add a comment |
add a comment |
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%2f237018%2fwhy-screen-resolution-remains-640x480-when-i-close-a-game%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
Please do not put (SOLVED) to the title. Accepting an answer is the correct way to mark a question solved here. Also your UPDATE did not add anything valuable to your question, so I reverted your recent edit.
– Melebius
Jan 8 at 13:05