ModernUI icon indicating copy to clipboard operation
ModernUI copied to clipboard

[Bug] Unable to display the configuration screen on Intel Iris Xe Graphics

Open xingnengmao666 opened this issue 1 year ago • 21 comments

Describe the bug Unable to display the configuration screen

To Reproduce Steps to reproduce the behavior: Open The configuration screen(Ctrl+K)

Expected behavior Opens the configuration screen and displays the options

Screenshots image

Environment

  • Mod Version:3.11.0.4
  • Forge Version: (Fabric)0.16
  • Operating System:Windows 11
  • Graphics Card:Iris Xe
  • Other Mods:(Too much)

xingnengmao666 avatar Sep 16 '24 04:09 xingnengmao666

https://mcrconsle-my.sharepoint.com/:u:/g/personal/admin_mcrconsle_onmicrosoft_com/EZs7qCY05RdBv1nxDCOOxu4B69-8P_sutadoWa2jwvvsjQ?e=gymUub The mods

xingnengmao666 avatar Sep 16 '24 04:09 xingnengmao666

Paste your game log.

BloCamLimb avatar Sep 16 '24 05:09 BloCamLimb

latest.log 如果你可以说中文的话,可以使用中文交流,谢谢

xingnengmao666 avatar Sep 16 '24 06:09 xingnengmao666

I have the same problem

YIEMM avatar Sep 16 '24 06:09 YIEMM

However, the version is 3.11.0.2 minecraft version is 1.20.4

YIEMM avatar Sep 16 '24 06:09 YIEMM

这可以确定是GPU指定的问题。你需要开启ModernUI的开发人员模式,并在打开任意ModernUI界面后按Ctrl+Shift+Y保存截图,看看是否正常渲染。 找到config/ModernUI/common.toml将enableDeveloperMode设为true开启开发人员模式。

BloCamLimb avatar Sep 16 '24 07:09 BloCamLimb

image-2024_09_16_15_10_10 看来并不能正确渲染orz

xingnengmao666 avatar Sep 16 '24 07:09 xingnengmao666

image 开发者模式开起了

xingnengmao666 avatar Sep 16 '24 07:09 xingnengmao666

值得一提的是,有些时候打开配置页面会出现几条闪烁的横线后快速消失

xingnengmao666 avatar Sep 16 '24 07:09 xingnengmao666

建议用RenderDoc抓帧测试,不会可以进群。993254209

BloCamLimb avatar Sep 16 '24 07:09 BloCamLimb

However, the version is 3.11.0.2 minecraft version is 1.20.4

It's known that there is rendering issue on Intel Iris Xe Graphics, but I don't have this GPU for testing. If you are experienced in GPU debugging, you could use RenderDoc to capture frames and share the results in my Discord server.

BloCamLimb avatar Sep 16 '24 08:09 BloCamLimb

发申请了,头像是个二维码的那位

xingnengmao666 avatar Sep 16 '24 10:09 xingnengmao666

此问题非常魔幻的解决了……抓帧一开,ui就出来了……

xingnengmao666 avatar Sep 16 '24 11:09 xingnengmao666

https://www.bilibili.com/video/BV12e4y1D7oT 如果你也想这样玩但是不会用抓帧软件的话可以参照这个视频

xingnengmao666 avatar Sep 16 '24 11:09 xingnengmao666

I've found that disabling DSA can workaround the bug.

BloCamLimb avatar Sep 16 '24 18:09 BloCamLimb

image-2024_09_17_22_18_02

YIEMM avatar Sep 17 '24 14:09 YIEMM

Same problem, with a RTX 3060 Laptop, same version of the mod and ssame version of fabric

Raconteur32 avatar Sep 20 '24 11:09 Raconteur32

Same problem, with a RTX 3060 Laptop, same version of the mod and ssame version of fabric

I see no reason for this issue to occur on NVIDIA GPUs. Since you have the laptop, make sure your NVIDIA driver is up-to-date and use the dedicated NVIDIA graphics processor to launch Minecraft. You can verify the GPU information in the game log and F3 debug screen.

This is a test using RTX 3060 Laptop screen

BloCamLimb avatar Sep 20 '24 17:09 BloCamLimb

I've found that disabling DSA can workaround the bug. What is the DSA? because im having the same bug with 1.20.6

yuseiFudu avatar Sep 28 '24 09:09 yuseiFudu

The term DSA refers to OpenGL Direct State Access, it is a technology that drivers may or may not support. When the driver reports that DSA is supported, ModernUI will call DSA-like GL functions. But Intel's drivers have bugs to support it, then ModernUI can apply a workaround, disable DSA for Intel GPUs. ModernUI 3.11 does not provide any method for users to manually disable it, so you will need to wait for the next update. You can report this to Intel engineers, but I don't think they will fix it in the short term.

The specific OpenGL functions related to the driver bug are: glCreateVertexArrays, glVertexArrayAttribFormat, glVertexArrayAttribBinding

The interesting thing is that when you start Minecraft with RenderDoc, there won't be any issues. And for now, I am not sure if this issue also exists on Linux.

I've found that disabling DSA can workaround the bug. What is the DSA? because im having the same bug with 1.20.6

BloCamLimb avatar Sep 29 '24 14:09 BloCamLimb

Yes, my situation is exactly the same as his. This problem has been bothering me for a long time and I hope the developers will update it as soon as possible.

lassuly avatar Oct 04 '24 11:10 lassuly

Released 3.11.1

BloCamLimb avatar Dec 09 '24 16:12 BloCamLimb