Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen on RenderDragon versions with Mesa 23.1.0 #66

Closed
Encritary opened this issue May 22, 2023 · 4 comments
Closed

Black screen on RenderDragon versions with Mesa 23.1.0 #66

Encritary opened this issue May 22, 2023 · 4 comments

Comments

@Encritary
Copy link

Encritary commented May 22, 2023

Today I had updated Mesa drivers from Kisak PPA (Ubuntu 22.04) from version 23.0.3~kisak1~j to 23.1.0~kisak1~j
After that, the RenderDragon versions (1.18.30+) showed only a black screen. The only problem were the graphics, the game itself responded to clicks, etc. Older versions (1.18.12 or older) worked as intended.
Downgrading from Kisak version to a default Ubuntu repository one (22.2.5-0ubuntu0.1~22.04.1) has worked as a temporary fix for the problem of a black screen.

@Encritary Encritary changed the title Black screen on RenderDragon versions with new Mesa version Black screen on RenderDragon versions with Mesa 23.1.0 May 22, 2023
@ChristopherHX
Copy link
Member

I have absolutly no idea what mesa has changed. Running 1.18.30 with a blackscreen was always easy for me, but getting rid of the blackscreen of death was hard even before this mesa update.

MESA_DEBUG=1 shows the exact same errors, while the old mesa is still working.

I can think of using minecraft-linux/angle also on linux to not directly use mesa, but this can have a performance impact.

@ChristopherHX
Copy link
Member

I created a mod for this launcher to temporary hide this issue

Download the mod from the artifacts of https://github.com/ChristopherHX/mcpelauncher-updates/actions/runs/5070803283 (the attached git repository contains the source code)

Adding mods
image
image
image

The Open Data Root folder can also be found on the following locations

~/.local/share/mcpelauncher/
~/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/
~/Library/Application Support/mcpelauncher/

create a folder with name mods and put the .so file for your system into this folder.

As reported in our discord server defining the env variable MESA_EXTENSION_OVERRIDE="-GL_EXT_instanced_arrays" is another workaround.

@HurricanePootis
Copy link

I can confirm the MESA_EXTENSION_OVERRIDE works

@ChristopherHX
Copy link
Member

Fixed via 830459e#diff-09fb3101c5e59fb47d56bd5b39c0ad0306c1fd9c383debc81e8cb3043e6b503aR172-R176

The conclusion is disable the new feature of mesa 23.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants