Issues with opengl / webgl on Ubuntu 16.04 MATE

"Please leave a message at the beep, we will get back to you when your support contract expires."

Moderators: phlip, Moderators General, Prelates

User avatar
LucasBrown
Posts: 293
Joined: Thu Apr 15, 2010 2:57 am UTC
Location: Poway, CA

Issues with opengl / webgl on Ubuntu 16.04 MATE

Postby LucasBrown » Wed Apr 12, 2017 5:52 am UTC

System info:
  • Ubuntu 16.04.2 LTS (Xenial) 64-bit
  • Kernel 4.4.0-47-generic x86_64
  • MATE 1.12.1
  • Intel i7-6700K
  • 64 GB RAM
  • GeForce GT 730
  • NVIDIA binary driver version 375.39

Some time ago (a few weeks to a couple months), Minecraft stopped working. No biggie; it's a distraction anyway. More recently, I opened Google Earth, and it gave me an error message:
Google Earth wrote:Unknown Graphics Card

Google Earth is unable to identify your graphics card. This is most likely because the driver for your graphics card has not been installed. You may continue but the Google Earth is unlikely to work until you upgrade your driver. For detailed driver download and install instructions please see our Google Earth Online Help Center using the link below.

Learn more


The link was unhelpful; it only talks about fixing errors on Windows and Mac.

Then a few days ago I came across a link to some WebGL Chrome experiments, none of which worked. So I ran "locate -i webgl", and it turns out that there is exactly one file on my computer that has webgl in its filename (/usr/share/javascript/modernizr/feature-detects/webgl-extensions.js). I distinctly recall various WebGL Chrome experiments running perfectly on this very computer quite recently, so something's up with my WebGL and whatever it is happened within the past few months.

I remembered that Minecraft was having issues, so I fired it up again to see what the error message was:
Spoiler:
Minecraft wrote:---- Minecraft Crash Report ----
// I blame Dinnerbone.

Time: 4/11/17 10:48 PM
Description: Initializing game

org.lwjgl.LWJGLException: X Error - disp: 0x7f1e447f3140 serial: 150 error: BadValue (integer parameter out of range for operation) request_code: 154 minor_code: 24
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:320)
at org.lwjgl.opengl.LinuxContextImplementation.nCreate(Native Method)
at org.lwjgl.opengl.LinuxContextImplementation.create(LinuxContextImplementation.java:51)
at org.lwjgl.opengl.ContextGL.<init>(ContextGL.java:132)
at org.lwjgl.opengl.Display.create(Display.java:850)
at org.lwjgl.opengl.Display.create(Display.java:757)
at org.lwjgl.opengl.Display.create(Display.java:739)
at bes.ap(SourceFile:600)
at bes.an(SourceFile:436)
at bes.a(SourceFile:383)
at net.minecraft.client.main.Main.main(SourceFile:124)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
at org.lwjgl.opengl.LinuxDisplay.globalErrorHandler(LinuxDisplay.java:320)
at org.lwjgl.opengl.LinuxContextImplementation.nCreate(Native Method)
at org.lwjgl.opengl.LinuxContextImplementation.create(LinuxContextImplementation.java:51)
at org.lwjgl.opengl.ContextGL.<init>(ContextGL.java:132)
at org.lwjgl.opengl.Display.create(Display.java:850)
at org.lwjgl.opengl.Display.create(Display.java:757)
at org.lwjgl.opengl.Display.create(Display.java:739)
at bes.ap(SourceFile:600)
at bes.an(SourceFile:436)

-- Initialization --
Details:
Stacktrace:
at bes.a(SourceFile:383)
at net.minecraft.client.main.Main.main(SourceFile:124)

-- System Details --
Details:
Minecraft Version: 1.11.2
Operating System: Linux (amd64) version 4.4.0-47-generic
Java Version: 1.8.0_121, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 908912528 bytes (866 MB) / 1016332288 bytes (969 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 5 total; -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Launched Version: 1.11.2
LWJGL: 2.9.4
OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
GL Caps:
Using VBOs: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
Resource Packs:
Current Language: ~~ERROR~~ NullPointerException: null
Profiler Position: N/A (disabled)
CPU: <unknown>

So something's up with my OpenGL as well, and I definitely had this working a few months ago as well.

So my WebGL / OpenGL broke recently, and casual googling isn't turning up anything helpful. Can any of you help me with this?

User avatar
Jorpho
Posts: 6090
Joined: Wed Dec 12, 2007 5:31 am UTC
Location: Canada

Re: Issues with opengl / webgl on Ubuntu 16.04 MATE

Postby Jorpho » Wed Apr 19, 2017 8:24 pm UTC

I would suspect the NVidia driver. Reinstalling it would be a good start.

glxgears is the standard diagnostic, isn't it? Does that work properly?


Return to “The Help Desk”

Who is online

Users browsing this forum: No registered users and 4 guests