mojira.dev
MC-32327

Half-resolution on MBP Retina.

EXPECTED
The game should run in full resolution on MacBook Pro Retina (2880x1800 for fullscreen on 15").

OBSERVED
The game runs in half resolution: each pixel is displayed as 2x2 physical pixels. This affects both fullscreen and windowed modes. So the fullscreen resolution is 1440x900 on MBP 15.

I only play in fullscreen, so as a workaround I tried to force the correct resolution in options.txt (fullscreen:true, overrideWidth:2880, overrideHeight:1800) but it had no effect.

Options file attached. Log file doesn't seem to contain anything relevant so I didn't attach it.

Linked issues

Attachments

Comments 15

Nicholas Bronner

Issue is specific to Mac due to Apple, not Mojang, and it requires an hack to make it the full resolution. So not an issue to Minecraft. If I was a mod, I would close this as invalid.

Vlad S.

Yes, it is of course only specific to MBP (though I heard the new iMacs and MBA will be Retina too).

But other games usually offer a choice to use full-resolution mode in fullscreen, even older games that cannot be aware of Retina. If I understand correctly, these games request a list of all possible video modes from the system. Minecraft looks like it doesn't do so, it uses the fullscreen video mode of what it perceives as a desktop resolution (which OS X reports as 1440x900 for compatibility with older apps), but NOT what it percieves as a maximum video mode supported by the system (which is 2880x1800).

So, there are two possible solutions:
1) Use maximum supported fullscreen resolution mode instead of perceived desktop resolution.
or
2) As a workaround, permit the user to force desired video mode through options.txt (or even better, in Video Settings menu).

The second option is maybe preferable because it can be used for other purposes: e.g. when a user wishes to play fullscreen but his system is too old/slow to let him be comfortable with his desktop resolution, so he may wish to use reduced resolution for fullscreen video mode.

Nicholas Bronner

If you haven't read it, Apple made it two by two pixel, or DPI 200 percent, which has an effect of quartering its resolution to 1440 X 900. If apple didn't do this, you could barely read the screen. Since it requires hacking the OS system itself, it wouldn't work without that.

Erik Broes

No we actually use a hack to select the half-sized resolution because the full-one is not available as a DisplayMode through LWJGL.

Talven81

Is this still a concern in the current Minecraft version 1.7.4 / Launcher version 1.3.7 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

5 more comments
Xor Boole

Apparently this hasn't been mentioned in the thread, but the JVM flag `-Dorg.lwjgl.opengl.Display.enableHighDPI=true` WILL trigger correct behavior from LWJGL, including correct mouse movement, but the existing hack causes this: http://puu.sh/pk9Xo/1423a37f55.png.

pizza2004

@Xor Boole Yeah, the issue is that Mojang hasn't activated that variable and then adjusted the code to handle the change properly.

Fenhl (Max Dominik Weber)

Affects 1.10.

Fenhl (Max Dominik Weber)

Fixed in 17w43b.

james martion

The fix for this issue has caused issue for me.

This resulted in minecraft using the native screen resolution on my old Retina Macbook Pro instead of the faked half resolution. while this suits those who have computers with enough performance, I preferred and still prefer the lower resolution scaled up, as this was a lighter load on my computer.

since 1.13 any gaming i do on my laptop has it heating up considerably and the fan going crazy. f3 shows a much higher resolution than it used to for a given window size compared to 1.12

This fix may suit those who desire the native resolution but until finding this 'fix', the performance degradation was really jarring and confusing to me. How many more people (children!) would be playing on 'retina' macs and for no apparent reason having performance and battery life severely reduced??

request : add option to enable old behavior, ie '2x pixel scaling', within minecraft game itself

screenshot from a near-full screen window when version was prior to 1.13. a 1.13+ screenshot has those numbers doubled.

[media]

Vlad S.

(Unassigned)

Confirmed

LWJGL, client, graphics, rendering, resolution, settings

Minecraft 1.6.4, Minecraft 13w38c, Minecraft 1.8.1, Minecraft 1.8.2-pre6, Minecraft 1.8.7, ..., Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w35a

Minecraft 17w43a

Retrieved