mojira.dev
MC-2067

Switching to fullscreen does not work when running under Ubuntu 12.10

When running the game, I press F11.

*What I expected to happen*: the game switches to fullscreen

*What actually happened*: The screen becomes black for a moment (similarly to when it actually switches to fullscreen), but when it comes back, it is still running in a window, except it goes to the pause screen (and pressing ESC will not resume the game, too).

I have attached a video. The observable phenomenon is pretty much the same minus the white glitchy lines, I think they are caused by the recording.

*Steps to reproduce*:
1. Run Minecraft on Ubuntu 12.10 64 bit, using a nvidia GPU
2. Press F11

*Other information*
There is an AskUbuntu thread that discusses the same issue with some additional details regarding tried and not working troubleshooting methods:
http://askubuntu.com/questions/203326/minecraft-fullscreen-not-working

Linked issues

Attachments

Comments 31

This could be a problem caused by openJDK, so you might want to install oracle java instead. Also make sure your graphics card (if you have one) driver is installed and up to date.

Yes, the driver is up-to date. I just tried Oracle java, and it does not work (just like in the AskUbuntu thread).
Also, even if that was the problem, it would make sense to start supporting OpenJDK, since it is the official reference implementation from Java7 and up (see: https://blogs.oracle.com/henrik/entry/moving_to_openjdk_as_the). Also, it is the default runtime in Ubuntu, installing Oracle Java is not very straightforward for an average user.

Duplicate of MC-1854

No, this is not a duplicate of the other one, and as I already said, updating lwjgl does not solve the issue and neither does using the Oracle JVM.
I understand that you want to close as many bugs as possible, but please, be reasonable. Can we get this reopened, please?

Which desktop environment are you using? I find the fullscreen doesn't work for me in Gnome shell 3, but does in Unity.

21 more comments

a "jstack -l" log of the minecraft process after the screen is black with strange artifacts.
This is in an mcp environment, so it's deobfuscated after the mcp rules. The only changes is some System.out.println's for some fullscreen debugging.

Ohh, and I suppose a Mod now migth say that I have included many bugs into one bug report, and that migth be true. I posted everything to give an as detailed as possible description.
I think this Issue should only be the issue that Minecraft closes the fullscreen rigth after it is made, and that someone(maybe me) should make issues for the turn around bug(AFAIk that exist already) and the wrongly redered/placed minecraft in the window.

Crossposting the LWJGL forums thread and the Minecraft bug report

On my system this is working. I did an upgrade of the drivers, and I updated to Xorg 1.14. I can't say excately what fixed it but it's now working. As long as I disable the secound monitor first, anyways.

Thanks for the feeedback.

Andrew Burnell

I have this problem on Ubuntu 14.04. If I try to enter fullscreen while minecraft is maximized, it freezes. If I try to enter fullscreen while minecraft is windowed, it works fine.

Tamás Szelei

(Unassigned)

Unconfirmed

linux, nvidia, ubuntu

Minecraft 1.4.2, Minecraft 1.4.3, Minecraft 1.4.7

Retrieved