mojira.dev

Petar Maric

Assigned

No issues.

Reported

MCL-2630 Minecraft Launcher fails to start on Nvidia Optimus GPU and 64bit JRE Duplicate

Comments

I'd honestly preferer for it to be filed (or at least tagged) as something like "known issues outside of Mojang's control", but from the choices you've given me "duplicate" seems more appropriate.

BTW: A list of known issues ala https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes#Known_issues would be nice to have.

Sorry, but I wouldn’t call this a straight up duplicate as I analyzed the referenced issue and found that the vm platform is completely different:

vm_info: Java HotSpot(TM) 64-Bit Server VM (24.45-b08) for linux-amd64 JRE (1.7.0_45-b18), built on Oct 8 2013 05:44:25 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)

You can even see it was not compiled officially by Oracle, but by Red Hat using gcc – probably including some of their own vendor specific patches/tweaks. I seriously doubt that the build section of vm_info is the same on Oracle JRE 7u60 amd64 Windows build as well:

C:\Program Files (x86)\Java\jre7\bin>java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) Client VM (build 24.55-b03, mixed mode, sharing)
C:\Users\petar\openjdk_1.7.0_u60_64\bin>java -version
openjdk version "1.7.0-u60-unofficial"
OpenJDK Runtime Environment (build 1.7.0-u60-unofficial-b30)
OpenJDK 64-Bit Server VM (build 24.60-b09, mixed mode)

The workaround is indeed very similar, where he uses an official OpenJDK and I’m using an unofficial/unsupported build, but I’m afraid the issue itself is pretty much tied to the underlying Java/OS/Nvidia integration issues. Therefore, please consider unmarking this issue as a mere duplicate.

Interesting, my issues have been resolved by installing an unofficial OpenJDK 7 update 60 build 30 amd64 from https://github.com/alexkasko/openjdk-unofficial-builds (see attached image, max fps set 50, render distance set to 16). Nvidia optimus is working fine with OpenJDK and the performance is very good.

This leads me to believe there is a strange bug in Oracle JRE 7u60 amd64.

OpenJDK 7 update 60 build 30