You are not logged in.

#1 2017-04-28 18:28:19

sevaho
Member
Registered: 2016-12-01
Posts: 24

Graphical driver issue No OpenGL context found in the current thread.

Hello

I am a new Arch Linux user and I got into an issue today, I wanted to play Minecraft but I got an error:

Minecraft Version: 1.11.2
	Operating System: Linux (amd64) version 4.10.11-1-ARCH
	Java Version: 1.8.0_121, Oracle Corporation
	Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 857977512 bytes (818 MB) / 956825600 bytes (912 MB) up to 3937402880 bytes (3755 MB)
	JVM Flags: 2 total; -Xmx4G -Xmn1G
	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>

I have 2 laptops, this one a Lenovo Y50-70 (hybrid graphics) and an asus e200ha (intel atom) I installed arch linux on them exact same process. But Minecraft does not work on this laptop it does work on the Asus. I don't have installed nouveau on both laptops.

I reinstalled Java / Minecraft, I have installed: intel-gpu-tools, mesa and I run i3 with compton. I don't want to install nvidia drivers, I can play Minecraft in for example Ubuntu without installing Nvidia. So I must have forgotten something but I can't figure out what. I know hybrid graphics on a laptop are not supported very well on Linux but there must be a way to make it work.

OpenGL version:

OpenGL version string: 3.0 Mesa 17.0.4

Greetings

Offline

#2 2017-04-28 19:45:21

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Graphical driver issue No OpenGL context found in the current thread.

Hybrid graphics are supported pretty well. Why don't you want to install nVidia drivers? If you want to use that card you either have to have nVidia or Nouveau (not as good of performance).


Matt

"It is very difficult to educate the educated."

Offline

#3 2017-04-28 19:53:19

sevaho
Member
Registered: 2016-12-01
Posts: 24

Re: Graphical driver issue No OpenGL context found in the current thread.

Well I had bumblebee installed in the past when I ran Fedora but it got me cpu increase over time and cpu spikes. Which software comes to mind when you are thinking about hybrid laptop graphics? You mean Prime?

Offline

#4 2017-04-29 16:43:22

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,772

Re: Graphical driver issue No OpenGL context found in the current thread.

output of glxinfo | grep -i opengl ?

(glxinfo comes with mesa-demos package)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2017-04-30 09:17:46

sevaho
Member
Registered: 2016-12-01
Posts: 24

Re: Graphical driver issue No OpenGL context found in the current thread.

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.0.4
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.0.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

Offline

#6 2017-04-30 12:23:25

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,772

Re: Graphical driver issue No OpenGL context found in the current thread.

Those look normal.

Do you have xorg-xrandr installed ? if not, install it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2017-04-30 17:21:36

sevaho
Member
Registered: 2016-12-01
Posts: 24

Re: Graphical driver issue No OpenGL context found in the current thread.

Yes I have. I have installed nouveau but still nothing.

Offline

#8 2017-04-30 19:40:53

seth
Member
Registered: 2012-09-03
Posts: 57,030

Re: Graphical driver issue No OpenGL context found in the current thread.

not "nouveau", "xorg-xrandr". minecraft relies on that userspace tool.
While at it: "xrandr -q" and "glxinfo -l" (in code tags, latter is a hell lot of text)

Offline

#9 2017-04-30 20:27:55

sevaho
Member
Registered: 2016-12-01
Posts: 24

Re: Graphical driver issue No OpenGL context found in the current thread.

"that" userspace tool? So to be clear I did the exact same install on both laptops, I want to post the output's of xrandr and glxinfo but they are normal. I have no clue what the problem is, I tested some other games like 0ad and that works out of the box.

Offline

#10 2017-04-30 20:43:58

seth
Member
Registered: 2012-09-03
Posts: 57,030

Re: Graphical driver issue No OpenGL context found in the current thread.

That "xrandr", yes.
The idea is that your current resolution exceeds limitations of the IGP (thus please notice the "-l" switch)

0ad is implemented on SDL and not java - its no way comparable just because it's a game ...

Offline

Board footer

Powered by FluxBB