GLException: Graphics configuration failed

#1

Hi there,

I downloaded and installed the latest linux version from the defold download page, and when I start it up I get the following exception:

INFO:TOOLS: Launcher version f7778a8f59ef2a8dda5d445f471368e8bd1cb1ac
DEBUG:TOOLS: arg 0: ./packages/jdk11.0.1-p1/bin/java
DEBUG:TOOLS: arg 1: -cp
DEBUG:TOOLS: arg 2: ./packages/defold-e7fc2c4a3517d15fc25b365552f5ac6e7a35ad6d.jar
DEBUG:TOOLS: arg 3: -Dfile.encoding=UTF-8
DEBUG:TOOLS: arg 4: -Djna.nosys=true
DEBUG:TOOLS: arg 5: -Ddefold.launcherpath=./Defold
DEBUG:TOOLS: arg 6: -Ddefold.resourcespath=.
DEBUG:TOOLS: arg 7: -Ddefold.version=1.2.177
DEBUG:TOOLS: arg 8: -Ddefold.editor.sha1=e7fc2c4a3517d15fc25b365552f5ac6e7a35ad6d
DEBUG:TOOLS: arg 9: -Ddefold.engine.sha1=f7778a8f59ef2a8dda5d445f471368e8bd1cb1ac
DEBUG:TOOLS: arg 10: -Ddefold.buildtime=2021-01-08T14:34:24.656370
DEBUG:TOOLS: arg 11: -Ddefold.channel=editor-alpha
DEBUG:TOOLS: arg 12: -Djava.net.preferIPv4Stack=true
DEBUG:TOOLS: arg 13: -Dsun.net.client.defaultConnectTimeout=30000
DEBUG:TOOLS: arg 14: -Dsun.net.client.defaultReadTimeout=30000
DEBUG:TOOLS: arg 15: -Djogl.texture.notexrect=true
DEBUG:TOOLS: arg 16: -Dglass.accessible.force=false
DEBUG:TOOLS: arg 17: --illegal-access=warn
DEBUG:TOOLS: arg 18: --add-opens=java.base/java.lang=ALL-UNNAMED
DEBUG:TOOLS: arg 19: --add-opens=java.desktop/sun.awt=ALL-UNNAMED
DEBUG:TOOLS: arg 20: --add-opens=java.desktop/sun.java2d.opengl=ALL-UNNAMED
DEBUG:TOOLS: arg 21: --add-opens=java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED
DEBUG:TOOLS: arg 22: -Xmx8589934592
DEBUG:TOOLS: arg 23: com.defold.editor.Main
DEBUG:TOOLS: arg 24: (null)
Picked up JAVA_TOOL_OPTIONS: 
Picked up _JAVA_OPTIONS: 

2021-01-10 21:37:39.807 DEBUG default    com.defold.libs.ResourceUnpacker - unpacking '/_unpack/armv7-darwin/bin/dmengine_release' to '/home/kiffin/.Defold/unpack/e7fc2c4a3517d15fc25b365552f5ac6e7a35ad6d/armv7-darwin/bin/dmengine_release'
2021-01-10 21:37:39.834 INFO  default    com.defold.libs.ResourceUnpacker - defold.unpack.path=/home/kiffin/.Defold/unpack/e7fc2c4a3517d15fc25b365552f5ac6e7a35ad6d
com.jogamp.opengl.GLException: Graphics configuration failed [direct caps, eglGetConfig/chooser and fixed-caps(1-3)]

Any ideas what might be going wrong?

0 Likes

#2

Can you share OS/hardware info?

0 Likes

#3

H/W path Device Class Description

system 20L5CTO1WW (LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480)
/0 bus 20L5CTO1WW
/0/3 memory 32GiB System Memory
/0/3/0 memory 16GiB SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400
/0/3/1 memory 16GiB SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400
/0/7 memory 256KiB L1 cache
/0/8 memory 1MiB L2 cache
/0/9 memory 8MiB L3 cache
/0/a processor Intel® Core™ i7-8650U CPU @ 1.90GHz
/0/b memory 128KiB BIOS
/0/100 bridge Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Regis
/0/100/2 display UHD Graphics 620
/0/100/4 generic Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Sub
/0/100/8 generic Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Proces
/0/100/14 bus Sunrise Point-LP USB 3.0 xHCI Controller
/0/100/14/0 usb1 bus xHCI Host Controller
/0/100/14/0/1 input Dell Universal Receiver
/0/100/14/0/3 generic EMV Smartcard Reader
/0/100/14/0/4 bus USB hub
/0/100/14/0/4/2 input Billboard Device
/0/100/14/0/4/4 bus USB hub
/0/100/14/0/4/4/2 bus HX2VL
/0/100/14/0/4/4/2/2 multimedia HD Webcam C525
/0/100/14/0/4/4/2/3 multimedia CONEXANT USB AUDIO
/0/100/14/0/5 multimedia Integrated IR Camera
/0/100/14/0/7 communication Bluetooth wireless interface
/0/100/14/0/8 multimedia Integrated Camera
/0/100/14/0/9 generic Generic USB device
/0/100/14/1 usb2 bus xHCI Host Controller
/0/100/14/1/3 scsi0 storage USB3.0-CRW
/0/100/14/1/3/0.0.0 /dev/sda disk SD/MMC

0 Likes

#4

Are you using Ubuntu or some other Linux OS?

0 Likes

#5

Ubuntu 20.04.1 LTS 64-bit
Gnome version 3.36.8

0 Likes

#6

It’s a graphics driver issue of some kind. You could try exporting the following environment variable MESA_LOADER_DRIVER_OVERRIDE=i965 and then launch Defold again. This will revert to the pre 20.0 version of the driver.

0 Likes

#7

Yes that works, thanks.

But please note that it was working just fine in the previous version 1.2.177, and only crashes in the newest version I downloaded from the website.

0 Likes

#8

Interesting.
I don’t think we have changed anything graphics related for the editor (afaik) between these versions.

0 Likes

#9

Thank you for confirming this. I’ve added it to the Linux FAQ (will be visible in a minute or two):

0 Likes

#10

Glad to hear :slight_smile: Ive ran defold with zero issues on Pupply linux XfCE Ubuntu base.

0 Likes

#11

I updated Defold to the latest version but I still have the same problem with it crashing.

Is it scheduled to be fixed soon?

0 Likes