You are not logged in.

#1 2011-07-31 09:51:18

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

Unable to run Minecraft with Bumblebee (Optimus)

I've had no issue using Optimus with Wine and other Linux native games, but for some reason it doesn't work with Minecraft. I can run the game normally (through the Intel card) but it runs really badly on the current Intel drivers so it pretty much needs to be run through the nVidia card.

The game starts and you can log in, but instead of the Mojang logo, you just get a black screen and then the game exits with this message:

Minecraft has crashed!      
      ----------------------      

Minecraft has stopped running because it encountered a problem.

If you wish to report this, please copy this entire text and email it to support@mojang.com.
Please include a description of what you did when the error occured.



--- BEGIN ERROR REPORT a1dce528 --------
Generated 31/07/11 10:50

Minecraft: Minecraft Beta 1.7.3
OS: Linux (amd64) version 2.6.39-ARCH
Java: 1.6.0_22, Sun Microsystems Inc.
VM: OpenJDK 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
[failed to get system properties (java.lang.NullPointerException)]

org.lwjgl.LWJGLException: Could not choose GLX13 config
    at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
    at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:52)
    at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:684)
    at org.lwjgl.opengl.Display.create(Display.java:854)
    at org.lwjgl.opengl.Display.create(Display.java:784)
    at org.lwjgl.opengl.Display.create(Display.java:765)
    at net.minecraft.client.Minecraft.a(SourceFile:294)
    at net.minecraft.client.Minecraft.run(SourceFile:716)
    at java.lang.Thread.run(Thread.java:679)
--- END ERROR REPORT ef2fa561 ----------

Anyone know how to get around this? I'm not sure why Minecraft would have issues where as no other app has.

Offline

#2 2011-07-31 10:37:35

FallenWizard
Member
From: Vienna/ Austria
Registered: 2007-12-10
Posts: 99

Re: Unable to run Minecraft with Bumblebee (Optimus)

It looks like you are using OpenJDK. Minecraft needs the official Oracle JVM (package jre, version 6).

Offline

#3 2011-07-31 15:04:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Unable to run Minecraft with Bumblebee (Optimus)

Just a heads-up about a bug w/ jre7 https://bbs.archlinux.org/viewtopic.php?id=123361

Offline

#4 2011-07-31 19:00:44

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

Re: Unable to run Minecraft with Bumblebee (Optimus)

It's not either of those.

The game works fine with OpenJDK6. Just in case I did actually try using the official JRE instead before posting here but no change. Also if you read what I mentioned, it works fine normally, it only fails when I run it through Bumblebee (if it was due to the version or type of Java, it would fail on both).

It can't be an issue with Sun/Oracle JRE v7 because I am using OpenJDK6.

Any other ideas?

Offline

#5 2011-10-10 10:32:07

_en
Member
From: Augusta Vindelicorum
Registered: 2011-09-28
Posts: 1

Re: Unable to run Minecraft with Bumblebee (Optimus)

Same problem: Minecraft works on Intel but not on nVidia through Bumblebee, exact same error message.

My first guess would be that Minecraft does some system checks on its own and doesn't believe what it gets from the environment, which is indeed a fake one (VirtualGL).
At least that's my simplified understanding of how Bumblebee works ...

Any one having similar issues or tips?


Reality?

Offline

#6 2011-10-16 08:38:02

pocus
Member
From: Lausanne, Switzerland
Registered: 2011-06-04
Posts: 4
Website

Re: Unable to run Minecraft with Bumblebee (Optimus)

Similar issue here, same error. I have a Thinkpad T420 NVidia/Optimus.

Works fine without Bumblebee but the perfomances are terrible...

Offline

#7 2011-10-17 03:39:20

denstark
Member
Registered: 2005-08-05
Posts: 15
Website

Re: Unable to run Minecraft with Bumblebee (Optimus)

Same issue here, T520 Nvidia/Optimus, get the same problem (org.lwjgl.LWJGLException: Could not choose GLX13 config). I am using JRE7.

Offline

#8 2011-10-30 08:54:44

gulafaran
Member
Registered: 2011-02-09
Posts: 22

Re: Unable to run Minecraft with Bumblebee (Optimus)

so no one managed to find a workaround for it ? hmm , would really like to play minecraft on my asus 1215n with bumblebee

Offline

#9 2011-10-31 13:50:55

dphoyes
Member
Registered: 2009-02-19
Posts: 8

Re: Unable to run Minecraft with Bumblebee (Optimus)

Exactly the same problem here, with a Dell L502x XPS15. Still not found a fix…

Offline

#10 2011-11-01 11:39:32

fleger
Member
From: France
Registered: 2010-03-26
Posts: 9

Re: Unable to run Minecraft with Bumblebee (Optimus)

I've just found how to fix the GLX13 bug with bumblebee.
In /usr/bin/minecraft, just change
LD_LIBRARY_PATH="/opt/java/jre/lib/i386/:/opt/java/jre/lib/amd64/"
to
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/java/jre/lib/i386/:/opt/java/jre/lib/amd64/"
and voilà!

I notified the maintainer of the minecraft AUR package so he can fix it.

Offline

#11 2011-11-01 18:08:11

dphoyes
Member
Registered: 2009-02-19
Posts: 8

Re: Unable to run Minecraft with Bumblebee (Optimus)

Fantastic! It works! Thank you!

Offline

Board footer

Powered by FluxBB