Sodium

Sodium

61M Downloads

Broken graphics with GLonD3D12 translation layer

Cobaltbell opened this issue ยท 10 comments

commented

Bug Description

Certain graphics such as the pie chart and the sun/moon appear as messed up graphics whilst playing on a windows computer that has the microsoft basic display adapter active as graphics driver.

Image

Reproduction Steps

  1. Get the newest windows 11 build from microsoft's website,
  2. Install it onto a virtual machine or physical machine,
  3. Ensure the display adapter is using the microsoft basic display adapter,
  4. Subscribe to the OpenGL compatibility pack from the microsoft store,
  5. Install minecraft 1.21.8 with fabric loader and sodium mod present on the instance,
  6. Enter any world you want,
  7. Press F3 + 1 at same time to open up pie chart or observe the sun/moon texture.

Log File

The logs can be found here.

Crash Report

The crash report can be found here.

commented

Is this related to #3200?

commented

Is this related to #3200?

Seems like it, though i haven't tested the dev branch yet but can test it if required. However this doesn't mention the sun/moon being broken aswell.

commented

It would be good to know whether the fix on dev resolves this.

commented

It would be good to know whether the fix on dev resolves this.

Unfortunately nothing has changed on the test system:
Image

commented

For clarification sake, the "Microsoft Basic Display Adapter" here is actually the OpenGL-on-Direct3D translation layer (GLonD3D12.)

commented

There have been identical issues reported to the Mojang issue tracker: https://bugs.mojang.com/browse/MC/issues/MC-297748

commented

Can you please verify that these problems do not also happen without Sodium installed? We don't really touch the rendering of the sky or pie graph.

commented

Can you please verify that these problems do not also happen without Sodium installed? We don't really touch the rendering of the sky or pie graph.

Can verify this also happens in vanilla except that issue is marked as fixed but unlike the qualcomm related issue, this one is an amd64 system. Not sure if my issue is a duplicate regardless of that however.

commented

Qualcomm systems use the same OpenGL translation layer to my knowledge. So this points to an incompatibility between Minecraft itself and the translation layer, not our mod.

commented

Alright, will be closing my issue then.