Seems like an lwjgl update could fix this, but this is still a minecraft problem; relacing the lwjgl.jar with a modified one doesn't work, minecraft downloads the old one everytime. There should be a way to use a custom lwjgl.jar file or something to fix this problem.
I'm sure this is a problem with minecraft. Minecraft's fullscreen has always done this, but using 1.6.4 and below, I got the game stopping correctly. I don't know why as I reset my xorg.conf, but it works. 13w48b and 1.7+ don't work. If these versions use a different version of LWJGL, this might not be a problem with minecraft itself, but mojang could fix it anyway.
I've tried several versions of OpenJDK and nVidia's X.Org driver, all ended up the same: 1.6.4 works, 1.7 doesn't.
And, as I said above, system's fullscreen doesn't work with 1.7+ anymore, and as Minecraft's doesn't work anyway, a >60Hz screen seems useless for this game.
I think the fullscreen 60Hz issue and the "quit game" 120->60Hz issue is the same, so I won't submit a new bug. But this needs to be fixed!
@Torabi guess what we are doing. We try to provide information about the problem so mojang can fix it. And, as I said, 1.7 made this much worse, isn't that enough information?
I just disconnected the second screen. 1.6.4- works just fine, no problems. Then I tried 1.7.4, didn't work. So 1.7 is completely broken on Every 120Hz setup. I think. When entering full screen mode, Minecraft tries to change the refresh rate on both screens, and on 1.7 it simply crashes lightdm (everything is just black, cursor still visible, need to restart to get it working again)
Yes, I do. I want a 120Hz one as I don't like 60, but why should I spend soo much money on a second one just for tweetdeck and some web browsing? A cheap 60Hz one is enough to do this.
As I said, it seems to work with 1.6.4- now, but whatever I do, 1.7 broke it.
I've found a way to prevent resetting the refresh rate to auto. Go to /etc/X11/xorg.conf and delete everything in "Option "metamodes"" with the name nvidia*, this will disable nvidia's autoresolution. This is a workaround to fix some problems with minecraft, but it can cause other problems (new screens might not work at all because there is no autores anymore).
This fix only works for nVidia GPUs, not sure if there are similar problems with Intel and AMD.
This doesn't mean you don't have to fix it anymore 😉 Thanks so far.
//Sorry, this workaround doesn't work with Minecraft 1.7+, still broken. Seems to work just fine in 1.6.4, fullscreen doesn't reset the refresh rate and quitting the game works, too.
Fullscreen AND quitting the game is broken with 1.7, this will reset it.
Tried several versions now, alpha, beta and release versions. Found the problem in every version, 1.7 broke it completely.
Also updated to Kubuntu 13.10 and now I have to kill minecraft so that I don't kill lightdm. We NEED a fix now!
I testet this on some other Linux OSes now, same result.
The Open-source game Xonotic used to have similar problems on Linux OSes. Enabling NetWM fullscreen fixed this problem (http://forums.xonotic.org/showthread.php?tid=4369) and a fullscreen problem: https://mojang.atlassian.net/browse/MC-36747 I have no idea if I can help with this information, just mentioning it.
This could fix the fullscreen 60Hz problem that first appeared in 13w48b, but still doesn't explain the 60Hz switch when exiting minecraft.
Unfortunately, I couldn't find any other lwjgl applications to try, so I can't tell if this is a problem with minecraft itself of lwjgl.
If the fullscreen mode runs at 120Hz again, I'd be very happy. Always having to change the refresh rate when exiting isn't nice, but still better than not being able to play at 120Hz at all. This was possible in 1.6.4. Windowed mode never rendered more than 60fps anyway, even though there's 300 in the debug menu. This is the only thing I haven't tested on any other Linux OS than Kubuntu yet.
A borderless fullscreen mode with the possibility to manually set screen resolution would be nice! All of Valve's games for linux work like that and these are the best linux games so far.
Even worse with 13w48b because it now also does that when launching the game.
What it basically does: Launching the game sets screen resolution to auto, which is max res@60Hz on most screens. Exiting does the same (and also did before, tried every version 1.4.6+ now).
Every other app works just fine switching to fullscreen. Minecraft doesn't change resolution when done by OS, now it doesn't even switch to borderless window mode anymore.
Minecraft's Fullscreen Mode (F11) just doesn't work at all.
Even worse with 13w48b. It's now impossible to force fullscreen by OS so it's impossible now.
Minecraft is also forced to render on second screen (right one in this case), windowed and fullscreen. That means fullscreen is now on one screen only, but still renders at doubled width and is cut in half.
Even worse, fullscreen mode is only rendered on second (right) screen, left one is black. Minecraft still tries to render 3840x1080, so it's cut in half.
The worst about it: Exiting fullscreen mode crashes X11 (Kubuntu 13.10, nVidia 319.60) and everything looks like this when lucky: http://devin.lun4.net/files/ScrS.png But most of the time, my desktop ends up black with a blurred line (~3840x32).
Might be a lwjgl bug, but this doesn't happen on windows, so I'm not sure.