xCollateral / VulkanMod

Vulkan renderer mod for Minecraft.
GNU Lesser General Public License v3.0
1.42k stars 166 forks source link

[maybe windows intel driver bug] UI glitches when refreshing resource packs #420

Open nexplorer-3e opened 1 month ago

nexplorer-3e commented 1 month ago

It may be related to Vulkan implementation of Intel graphics driver on windows. Linux is not tested for got stuck at https://github.com/xCollateral/VulkanMod/issues/344 while it just not work on my machine. I have replaced the oem graphics driver with Intel's, no luck.

Step to reproduce

  1. install a resource pack (use Embrace Pixels 2.1 if you do not have any resource packs) & get into a world
  2. enable/disable the resource pack and apply
  3. you will get something like this: 2024-05-22_23 36 47

if not, please get into the game, walk for a while (about press W for seconds), then try again. sometimes just press F3+T to reload resource packs and you would get similar results.

Logs

Details

``` [23:39:24] [main/INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.15.11 [23:39:24] [main/INFO]: Loading 19 mods: - fabricloader 0.15.11 \-- mixinextras 0.3.5 - java 22 - minecraft 1.20.1 - vulkanmod 0.4.2 |-- fabric-resource-loader-v0 0.11.10+1802ada577 |-- org_lwjgl_lwjgl-shaderc 3.3.2 |-- org_lwjgl_lwjgl-shaderc_natives-linux 3.3.2 |-- org_lwjgl_lwjgl-shaderc_natives-macos 3.3.2 |-- org_lwjgl_lwjgl-shaderc_natives-macos-arm64 3.3.2 |-- org_lwjgl_lwjgl-shaderc_natives-windows 3.3.2 |-- org_lwjgl_lwjgl-vma 3.3.2 |-- org_lwjgl_lwjgl-vma_natives-linux 3.3.2 |-- org_lwjgl_lwjgl-vma_natives-macos 3.3.2 |-- org_lwjgl_lwjgl-vma_natives-macos-arm64 3.3.2 |-- org_lwjgl_lwjgl-vma_natives-windows 3.3.2 |-- org_lwjgl_lwjgl-vulkan 3.3.2 |-- org_lwjgl_lwjgl-vulkan_natives-macos 3.3.2 \-- org_lwjgl_lwjgl-vulkan_natives-macos-arm64 3.3.2 [23:39:24] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/D:/.minecraft/libraries/net/fabricmc/sponge-mixin/0.13.3+mixin.0.8.5/sponge-mixin-0.13.3+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT [23:39:24] [main/INFO]: Compatibility level set to JAVA_16 [23:39:24] [main/INFO]: Compatibility level set to JAVA_17 [23:39:25] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5). [23:39:30] [Datafixer Bootstrap/INFO]: 188 Datafixer optimizations took 114 milliseconds [23:39:31] [Render thread/INFO]: [STDERR]: [LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers. [23:39:31] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [23:39:32] [Render thread/INFO]: Setting user: na01 [23:39:32] [Render thread/INFO]: == VulkanMod == [23:39:32] [Render thread/INFO]: Selecting Platform: WIN32 [23:39:32] [Render thread/INFO]: GLFW: 3.4.0 Win32 WGL Null EGL OSMesa VisualC DLL [23:39:32] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 SNAPSHOT [23:39:33] [Render thread/INFO]: Found non-pack entry 'D:\.minecraft\versions\1.20.1V\resourcepacks\Redstone Tweaks 2.4.zip.rpo', ignoring [23:39:34] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric (fabric-resource-loader-v0, fabricloader, vulkanmod), file/Embrace Pixels 2.1.zip [23:39:34] [Worker-Main-5/INFO]: Found unifont_all_no_pua-15.0.06.hex, loading [23:39:34] [Worker-Main-7/ERROR]: Invalid path in mod resource-pack vulkanmod: vulkanmod:shaders/basic/terrain/terrain_Z.fsh, ignoring [23:39:36] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play [23:39:36] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break [23:39:37] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on (Realtek(R) Audio) [23:39:37] [Render thread/INFO]: Sound engine started [23:39:37] [Render thread/INFO]: Created: 1024x1024x1 minecraft:textures/atlas/blocks.png-atlas [23:39:38] [Render thread/INFO]: Created: 512x512x1 minecraft:textures/atlas/signs.png-atlas [23:39:38] [Render thread/INFO]: Created: 1024x512x1 minecraft:textures/atlas/banner_patterns.png-atlas [23:39:38] [Render thread/INFO]: Created: 512x512x1 minecraft:textures/atlas/shield_patterns.png-atlas [23:39:38] [Render thread/INFO]: Created: 1024x1024x1 minecraft:textures/atlas/armor_trims.png-atlas [23:39:38] [Render thread/INFO]: Created: 512x256x1 minecraft:textures/atlas/chest.png-atlas [23:39:38] [Render thread/INFO]: Created: 256x128x1 minecraft:textures/atlas/decorated_pot.png-atlas [23:39:38] [Render thread/INFO]: Created: 512x512x1 minecraft:textures/atlas/beds.png-atlas [23:39:38] [Render thread/INFO]: Created: 512x512x1 minecraft:textures/atlas/shulker_boxes.png-atlas [23:39:38] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas [23:39:38] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas [23:39:38] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas [23:39:45] [Render thread/INFO]: Loaded 7 recipes [23:39:46] [Render thread/INFO]: Loaded 1271 advancements [23:39:46] [Server thread/INFO]: Starting integrated minecraft server version 1.20.1 [23:39:46] [Server thread/INFO]: Generating keypair [23:39:47] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld [23:39:48] [Render thread/INFO]: Preparing spawn area: 0% [23:39:48] [Render thread/INFO]: Preparing spawn area: 0% [23:39:48] [Render thread/INFO]: Preparing spawn area: 0% [23:39:48] [Render thread/INFO]: Preparing spawn area: 0% [23:39:49] [Render thread/INFO]: Preparing spawn area: 14% [23:39:49] [Render thread/INFO]: Time elapsed: 2452 ms [23:39:49] [Server thread/INFO]: Changing view distance to 15, from 10 [23:39:49] [Server thread/INFO]: Changing simulation distance to 12, from 0 [23:39:49] [Server thread/INFO]: na01[local:E:aa39622d] logged in with entity id 134 at (-40.220099923471096, 68.0, -416.4033638492651) [23:39:49] [Server thread/INFO]: na01 joined the game [23:39:50] [Render thread/INFO]: Loaded 62 advancements [23:39:52] [Server thread/INFO]: Saving and pausing game... [23:39:52] [Server thread/INFO]: Saving chunks for level 'ServerLevel[shader test]'/minecraft:overworld [23:39:52] [Server thread/INFO]: Saving chunks for level 'ServerLevel[shader test]'/minecraft:the_end [23:39:52] [Server thread/INFO]: Saving chunks for level 'ServerLevel[shader test]'/minecraft:the_nether [23:39:56] [Render thread/INFO]: Found non-pack entry 'D:\.minecraft\versions\1.20.1V\resourcepacks\Redstone Tweaks 2.4.zip.rpo', ignoring [23:39:57] [Render thread/INFO]: Found non-pack entry 'D:\.minecraft\versions\1.20.1V\resourcepacks\Redstone Tweaks 2.4.zip.rpo', ignoring [23:39:57] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric (fabric-resource-loader-v0, fabricloader, vulkanmod) [23:39:57] [Worker-Main-12/INFO]: Found unifont_all_no_pua-15.0.06.hex, loading [23:39:58] [Worker-Main-14/ERROR]: Invalid path in mod resource-pack vulkanmod: vulkanmod:shaders/basic/terrain/terrain_Z.fsh, ignoring [23:39:58] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play [23:39:58] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break [23:39:59] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on (Realtek(R) Audio) [23:39:59] [Render thread/INFO]: Sound engine started [23:39:59] [Render thread/INFO]: Created: 1024x1024x1 minecraft:textures/atlas/blocks.png-atlas [23:39:59] [Render thread/INFO]: Created: 512x512x1 minecraft:textures/atlas/signs.png-atlas [23:39:59] [Render thread/INFO]: Created: 1024x512x1 minecraft:textures/atlas/banner_patterns.png-atlas [23:39:59] [Render thread/INFO]: Created: 512x512x1 minecraft:textures/atlas/shield_patterns.png-atlas [23:39:59] [Render thread/INFO]: Created: 1024x1024x1 minecraft:textures/atlas/armor_trims.png-atlas [23:39:59] [Render thread/INFO]: Created: 512x256x1 minecraft:textures/atlas/chest.png-atlas [23:39:59] [Render thread/INFO]: Created: 256x128x1 minecraft:textures/atlas/decorated_pot.png-atlas [23:39:59] [Render thread/INFO]: Created: 512x512x1 minecraft:textures/atlas/beds.png-atlas [23:39:59] [Render thread/INFO]: Created: 512x512x1 minecraft:textures/atlas/shulker_boxes.png-atlas [23:39:59] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas [23:39:59] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas [23:39:59] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas [23:40:16] [Server thread/INFO]: Saving and pausing game... [23:40:16] [Server thread/INFO]: Saving chunks for level 'ServerLevel[shader test]'/minecraft:overworld [23:40:16] [Server thread/INFO]: Saving chunks for level 'ServerLevel[shader test]'/minecraft:the_end [23:40:16] [Server thread/INFO]: Saving chunks for level 'ServerLevel[shader test]'/minecraft:the_nether [23:40:17] [Server thread/INFO]: na01 lost connection: Disconnected [23:40:17] [Server thread/INFO]: na01 left the game [23:40:17] [Server thread/INFO]: Stopping singleplayer server as player logged out [23:40:17] [Server thread/INFO]: Stopping server [23:40:17] [Server thread/INFO]: Saving players [23:40:17] [Server thread/INFO]: Saving worlds [23:40:17] [Server thread/INFO]: Saving chunks for level 'ServerLevel[shader test]'/minecraft:overworld [23:40:18] [Server thread/INFO]: Saving chunks for level 'ServerLevel[shader test]'/minecraft:the_end [23:40:18] [Server thread/INFO]: Saving chunks for level 'ServerLevel[shader test]'/minecraft:the_nether [23:40:18] [Server thread/INFO]: ThreadedAnvilChunkStorage (shader test): All chunks are saved [23:40:18] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [23:40:18] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [23:40:18] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved [23:41:58] [Render thread/INFO]: Stopping! ```

TomXD1234 commented 1 month ago

Probably a bug sometimes it happens