mojira.dev
MCL-4485

Launcher GUI glitch after trying to change profile.

For some reason after trying to change profile, the whole bottom side of the launcher glitches out, this does seem to just be a visual glitch since i can press the play button where it should be.

https://www.youtube.com/watch?v=Y0WxAgj6NHM


Mod note

This issue is caused by some compatibility issues between Windows Direct 3D and Java Swing.

Workaround
Can be fixed by setting the envrionment variable J2D_D3D to false :

  1. Open an admin console

  2. issue the command setx /m J2D_D3D "false"

See also http://docs.oracle.com/javase/7/docs/technotes/guides/2d/flags.html

d3d
Intended use: To turn off the Java 2D system's use of Direct3D.
Introduced: 1.4.1_02
Equivalent environment variable: J2D_D3D
How to use: On a small subset of Windows 2000 systems with buggy Direct3D drivers, the use of Direct3D can cause a system crash. To turn off the use of Direct3D, set this property to false:

-Dsun.java2d.d3d=false

If problems persist, try setting the ddoffscreen property to false. If that doesn't solve the problems, try setting noddraw to true.

Linked issues

Attachments

Comments 21

Can you recreate that issue when you quit the launcher, backup the launcher_profiles.json and recreate each profile after another ?

Most probably the same issue as MCL-4480

Yes, I can recreate when having more than 1 profile added.

Is anything unusal at your profiles ?

  • Non-standard Game directory ?

  • Modded version ?

  • How do you add versions ? Manually or by some installation script ?

At least your graphics card drivers is a non-standard version.

You have running version 20.19.15.4360, latest official version from Intel is 15.xx.xx.xx, see MC-32606 for information on upgrading to the latest version.

My graphics card is a "non-standard" since I already went through a few community help channels, and haven't reverted back to the old driver.

I use default .minecraft directory.
I have have a few modded profiles but not in use inside the launcher. When resetting the .minecraft directory this bug still seems to occur.
Some versions in the past have been added by forge, but after resetting the .minecraft directory the bug still occures.

11 more comments

This is still happening to me, even after the recent Windows 10 updates. However, I was able to find a workaround. Opening the command prompt as admin and running setx /m J2D_D3D "false" fixed the issue completely with seemingly no side effects.

I've seen this same bug happening on the OptiFine installer as well as the FTB Launcher's profile creation dialogue, so this is NOT a Minecraft/Mojang problem, it seems to be a general Java bug that is caused by something in dialogues.

This was still happening to me with the latest Windows 10 update as well. HalfOfAKebab's solution (running setx /m J2D_D3D "false" in an admin console) fixed the issue for me.

Java 8 update 111 fixed the issue for me.

The same thing was happening to me but the whole launcher was gliched not just the bottom.
The workaround fixed it, thanks.

Also I am using Windows 7, Java 8 and AMD Radeon HD 7700

Matthew Smeets

(Unassigned)

Community Consensus

launcher, rendering, visual

Retrieved