pal1000 / mesa-dist-win

Pre-built Mesa3D drivers for Windows
MIT License
916 stars 80 forks source link

Minecraft on IntelHD 3000 #68

Open RaXorX opened 3 years ago

RaXorX commented 3 years ago

Is there anything that can be done for Minecraft Java Edition having high openGL requirements on IntelHD 3000?

I have Java 16 64-bit Installed mesa per app to Java directory with all the options enabled. Also set environment variables system wide MESA_GL_VERSION_OVERRIDE = 3.3 (tried 4.6Compat too) MESA_GLSL_VERSION_OVERRIDE = 330 (tried 460 too) LIBGL_ALWAYS_SOFTWARE = true (I am on windows 10 64-bit)

EDIT: I should say without mesa I can't even run it. With Mesa, I can but it is so slow giving me barely 3-4 fps only.

Quackdoc commented 3 years ago

Does that card support vulkan or dx12? I wouldn't think so, if not, all you can do is downgrade minecraft to a version that supports your gpu.

if it does, you can try zink, or you can try GLonD3D12

pal1000 commented 3 years ago

You can try compatibility shim fix for Java from here. Make sure you remove Mesa3D DLLs from Java directory before trying.

If this doesn't work @Quackdoc solution may be the only option.

RaXorX commented 3 years ago

Neither compatibility shims, nor the fix from MST/Marcinosoft seems to do anything apparently for Minecraft. It seems like minecraft has moved onto higher opengl from the past and requires 4.4+ for it to work properly. Downgrading might fix it but I guess there's always the option of just using bedrock instead then if you want to be up to date.

And no, my card has no vulkan or dx12 either. And I don't think dx12 would have had any effects on Minecraft Java. Minecraft Bedrock seems to be working on directx and that works perfectly fine for me. I guess there's no hope for Java at all.

EDIT: Btw, does mesa not work with AIDA64? Even with both perapp and systemwide it doesn't even sees anything more than opengl 1.0. I could get it to see till opengl3.0 100% with Marcinosoft's patch. Also one more thing, the java shims, I opened them with the application compatibility tool (comes with the adk) and it didn't have any compatibility fixes for it though. When I create a new I can see that it has a compatibility fix, since it requires you to select one else it won't proceed further. And I also don't know whether the shims are affected at all by the installation path, since each java version installs in its own directory. Maybe that's why it isn't working unless the shims are universal regardless of the path the executable file is installed at.

Quackdoc commented 3 years ago

Looks like you will need to upgrade GPU, it seems. it seems bedrock will stop support later this year. Minecraft will need OGL 4.4 support, even on linux your GPU only has 3.3 support.

However if you try it, you can try overriding to opengl 4.4. also note that there is a new driver on linux comming, which has been bumping OpenGL versions of other processors, so it might be worth a try. but I don't have a similar PC so I cannot test. Either way it looks like windows support is a no go, unless someone can get crocus to work on windows.

RaXorX commented 3 years ago

Also, another thing. When I had posted this earlier 2 days ago I had gotten minecraft to work at least but the fps was too slow. That time I was using the PHDGD Omega 5.0 (Intellimod's drivers). Which only worked after I had installed mesa. I uninstalled everything in hopes to try a fresh install, see if it might perhaps work but this time around no matter what I do it just doesn't work.

Both with the PHDGD and intel's oem drivers for intel HD 3000. These are the errors I get. And as in my previous post I had stated, neither the shims nor mesa was doing anything for AID64 (mesa was doing something but that wasn't functioning correctly, opengl window showed nothing at all when I install mesa). At that time I could see that mesa was indeed working for java/minecraft since in debug window it showed about it. But now I get this.

This is with the PHDGD driver without anything 2021-06-19_01h20_21

This is after Marcinosoft's patch (which is the only thing that showed AIDA64 to have any other opengl besides 3.3 2021-06-19_01h21_43

This is when I install mesa over MArcinosoft's patch. Without the patch, installing mesa would still give the first error. 2021-06-19_01h09_39

I am not sure what else could I have done that it even actually worked for a time. But not anymore.

KOMPuteRSH4IK commented 2 years ago

Minecraft 1.17+ work on OpenGL 3.2 and above

VVD commented 6 months ago

Minecraft 1.20.4 work on Intel® HD Graphics integrated in Core i3-370M with environment variables:

MESA_GL_VERSION_OVERRIDE=3.2
MESA_GLSL_VERSION_OVERRIDE=330

On Kubuntu 22.04.

KTOPR commented 6 months ago

Minecraft 1.20.4 work on Intel® HD Graphics integrated in Core i3-370M with environment variables:

MESA_GL_VERSION_OVERRIDE=3.2
MESA_GLSL_VERSION_OVERRIDE=330

On Kubuntu 22.04.

how do i set the environment variables?

VVD commented 6 months ago

On unix-like systems (*BSD, Linux, etc.) with bash shell:

export MESA_GL_VERSION_OVERRIDE=3.2
export MESA_GLSL_VERSION_OVERRIDE=330

On windows I don't know.

pal1000 commented 6 months ago

On a batch script that opens Miinecraft

set MESA_GL_VERSION_OVERRIDE=3.2
set MESA_GLSL_VERSION_OVERRIDE=330

On a batch script that permanently sets them for currently logged on user or everybody if cmd is running as admin

setx MESA_GL_VERSION_OVERRIDE 3.2
setx MESA_GLSL_VERSION_OVERRIDE 330

You can also manually permanently set them for currently logged on user or everybody using a GUI wizard by searching in Start for edit environment variables.