VulkanMod

VulkanMod

357k Downloads

Multiple GPUs cannot be selected correctly

YzhwY opened this issue · 2 comments

commented

Describe the bug

My laptop has two GPUs, one core display and one single display. I set the GPU for Java to MX250 in Windows, but the game always runs in Intel UHD. When I close VulkanMod, it can run correctly in MX250

Steps to reproduce

  1. Set Java usage to MX250 in Windows Settings - Display Card
  2. Start the game to install VulkanMod
  3. Open the task manager and run it on Intel UHD GPU0
  4. Close VulkanMod
  5. Running on MX250 GPU1

Image
Image
Image

Log files

[12:50:16] [main/INFO]: Loading Minecraft 1.21.1 with Fabric Loader 0.16.5
[12:50:17] [main/INFO]: Loading 83 mods:
- appleskin 3.0.6+mc1.21
-- cloth-config 15.0.127
-- cloth-basic-math 0.6.1
- carpet 1.4.147+v240613
- carpet-extra 1.4.148
- fabric-api 0.114.0+1.21.1
|-- fabric-api-base 0.4.42+6573ed8c19
|-- fabric-api-lookup-api-v1 1.6.70+b559734419
|-- fabric-biome-api-v1 13.0.31+d527f9fd19
|-- fabric-block-api-v1 1.0.22+0af3f5a719
|-- fabric-block-view-api-v2 1.0.10+6573ed8c19
|-- fabric-blockrenderlayer-v1 1.1.52+0af3f5a719
|-- fabric-client-tags-api-v1 1.1.15+6573ed8c19
|-- fabric-command-api-v1 1.2.49+f71b366f19
|-- fabric-command-api-v2 2.2.28+6ced4dd919
|-- fabric-commands-v0 0.2.66+df3654b319
|-- fabric-content-registries-v0 8.0.18+b559734419
|-- fabric-convention-tags-v1 2.1.2+7f945d5b19
|-- fabric-convention-tags-v2 2.9.2+e60e56d419
|-- fabric-crash-report-info-v1 0.2.29+0af3f5a719
|-- fabric-data-attachment-api-v1 1.4.0+da19b51a19
|-- fabric-data-generation-api-v1 20.2.25+16c4ae2519
|-- fabric-dimensions-v1 4.0.0+6fc22b9919
|-- fabric-entity-events-v1 1.7.0+2122d82819
|-- fabric-events-interaction-v0 0.7.13+ba9dae0619
|-- fabric-game-rule-api-v1 1.0.53+6ced4dd919
|-- fabric-item-api-v1 11.1.1+d5debaed19
|-- fabric-item-group-api-v1 4.1.6+6823f7cd19
|-- fabric-key-binding-api-v1 1.0.47+0af3f5a719
|-- fabric-keybindings-v0 0.2.45+df3654b319
|-- fabric-lifecycle-events-v1 2.5.0+01d9a51c19
|-- fabric-loot-api-v2 3.0.15+3f89f5a519
|-- fabric-loot-api-v3 1.0.3+3f89f5a519
|-- fabric-message-api-v1 6.0.13+6573ed8c19
|-- fabric-model-loading-api-v1 2.0.0+fe474d6b19
|-- fabric-networking-api-v1 4.3.0+c7469b2119
|-- fabric-object-builder-api-v1 15.2.1+40875a9319
|-- fabric-particles-v1 4.0.2+6573ed8c19
|-- fabric-recipe-api-v1 5.0.14+248df81c19
|-- fabric-registry-sync-v0 5.2.0+34f5d91419
|-- fabric-renderer-api-v1 3.4.0+c705a49c19
|-- fabric-renderer-indigo 1.7.0+c705a49c19
|-- fabric-renderer-registries-v1 3.2.68+df3654b319
|-- fabric-rendering-data-attachment-v1 0.3.48+73761d2e19
|-- fabric-rendering-fluids-v1 3.1.6+1daea21519
|-- fabric-rendering-v0 1.1.71+df3654b319
|-- fabric-rendering-v1 5.0.5+df16efd019
|-- fabric-resource-conditions-api-v1 4.3.0+8dc279b119
|-- fabric-resource-loader-v0 1.3.1+5b5275af19
|-- fabric-screen-api-v1 2.0.25+8b68f1c719
|-- fabric-screen-handler-api-v1 1.3.88+b559734419
|-- fabric-sound-api-v1 1.0.23+6573ed8c19
|-- fabric-transfer-api-v1 5.4.2+c24bd99419
-- fabric-transitive-access-wideners-v1 6.2.0+45b9699719
- fabricloader 0.16.5
-- mixinextras 0.4.1
- imblocker 5.0.2
- jade 15.9.2+fabric
- java 21
- jei 19.21.0.247
- journeymap 1.21.1-6.0.0-beta.34
|-- ar_com_hjg_pngj 2.1.0
|-- commonnetworking 1.0.18-1.21.1
-- journeymap-api-fabric 2.0.0-1.21.1-SNAPSHOT
- malilib 0.21.0
- minecraft 1.21.1
- minihud 0.32.50
- mousetweaks 2.26
- tweakeroo 0.21.50
- vulkanmod 0.5.3
|-- org_lwjgl_lwjgl-shaderc 3.3.3
|-- org_lwjgl_lwjgl-shaderc_natives-linux 3.3.3
|-- org_lwjgl_lwjgl-shaderc_natives-macos 3.3.3
|-- org_lwjgl_lwjgl-shaderc_natives-macos-arm64 3.3.3
|-- org_lwjgl_lwjgl-shaderc_natives-windows 3.3.3
|-- org_lwjgl_lwjgl-vma 3.3.3
|-- org_lwjgl_lwjgl-vma_natives-linux 3.3.3
|-- org_lwjgl_lwjgl-vma_natives-macos 3.3.3
|-- org_lwjgl_lwjgl-vma_natives-macos-arm64 3.3.3
|-- org_lwjgl_lwjgl-vma_natives-windows 3.3.3
|-- org_lwjgl_lwjgl-vulkan 3.3.3
|-- org_lwjgl_lwjgl-vulkan_natives-macos 3.3.3
-- org_lwjgl_lwjgl-vulkan_natives-macos-arm64 3.3.3
[12:50:21] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/D:/mc/wenhaofu/.minecraft/libraries/net/fabricmc/sponge-mixin/0.15.3+mixin.0.8.7/sponge-mixin-0.15.3+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT
[12:50:30] [main/INFO]: Compatibility level set to JAVA_21
[12:50:30] [main/WARN]: Reference map 'journeymap-refmap.json' for journeymap.mixins.json could not be read. If this is a development environment you can ignore this message
[12:50:30] [main/WARN]: Reference map 'journeymap-refmap.json' for journeymap.fabric.mixins.json could not be read. If this is a development environment you can ignore this message
[12:50:33] [main/WARN]: Error loading class: com/moulberry/axiom/editor/EditorUI (java.lang.ClassNotFoundException: com/moulberry/axiom/editor/EditorUI)
[12:50:33] [main/WARN]: Error loading class: io/github/cottonmc/cotton/gui/widget/WWidget (java.lang.ClassNotFoundException: io/github/cottonmc/cotton/gui/widget/WWidget)
[12:50:33] [main/WARN]: Error loading class: dev/emi/emi/screen/widget/EmiSearchWidget (java.lang.ClassNotFoundException: dev/emi/emi/screen/widget/EmiSearchWidget)
[12:50:33] [main/WARN]: @mixin target dev.emi.emi.screen.widget.EmiSearchWidget was not found imblocker.mixins.json:EmiSearchWidgetMixin from mod imblocker
[12:50:33] [main/WARN]: Error loading class: dev/ftb/mods/ftblibrary/ui/TextBox (java.lang.ClassNotFoundException: dev/ftb/mods/ftblibrary/ui/TextBox)
[12:50:33] [main/WARN]: @mixin target dev.ftb.mods.ftblibrary.ui.TextBox was not found imblocker.mixins.json:FtbTextFieldMixin from mod imblocker
[12:50:33] [main/WARN]: Error loading class: meteordevelopment/meteorclient/gui/widgets/input/WTextBox (java.lang.ClassNotFoundException: meteordevelopment/meteorclient/gui/widgets/input/WTextBox)
[12:50:33] [main/WARN]: Error loading class: me/shedaniel/rei/impl/client/gui/widget/basewidgets/TextFieldWidget (java.lang.ClassNotFoundException: me/shedaniel/rei/impl/client/gui/widget/basewidgets/TextFieldWidget)
[12:50:33] [main/WARN]: Error loading class: me/shedaniel/rei/gui/widget/TextFieldWidget (java.lang.ClassNotFoundException: me/shedaniel/rei/gui/widget/TextFieldWidget)
[12:50:33] [main/WARN]: Error loading class: com/replaymod/lib/de/johni0702/minecraft/gui/element/AbstractGuiTextField (java.lang.ClassNotFoundException: com/replaymod/lib/de/johni0702/minecraft/gui/element/AbstractGuiTextField)
[12:50:33] [main/WARN]: Error loading class: me/flashyreese/mods/reeses_sodium_options/client/gui/frame/AbstractFrame (java.lang.ClassNotFoundException: me/flashyreese/mods/reeses_sodium_options/client/gui/frame/AbstractFrame)
[12:50:33] [main/WARN]: Error loading class: me/flashyreese/mods/reeses_sodium_options/client/gui/frame/components/SearchTextFieldComponent (java.lang.ClassNotFoundException: me/flashyreese/mods/reeses_sodium_options/client/gui/frame/components/SearchTextFieldComponent)
[12:50:34] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1).
[12:50:41] [Datafixer Bootstrap/INFO]: 226 Datafixer optimizations took 1354 milliseconds
[12:50:50] [main/WARN]: @ModifyConstant conflict. Skipping mixins.tweakeroo.json:MixinStructureBlockBlockEntity from mod tweakeroo->@ModifyConstant::overrideMaxSize(I)I with priority 999, already redirected by carpet.mixins.json:StructureBlockEntity_limitsMixin from mod carpet->@ModifyConstant::negativeLimit(I)I with priority 1000
[12:50:50] [main/WARN]: @ModifyConstant conflict. Skipping mixins.tweakeroo.json:MixinStructureBlockBlockEntity from mod tweakeroo->@ModifyConstant::overrideMaxSize(I)I with priority 999, already redirected by carpet.mixins.json:StructureBlockEntity_limitsMixin from mod carpet->@ModifyConstant::positiveLimit(I)I with priority 1000
[12:50:50] [main/WARN]: @ModifyConstant conflict. Skipping mixins.tweakeroo.json:MixinStructureBlockBlockEntity from mod tweakeroo->@ModifyConstant::overrideMaxSize(I)I with priority 999, already redirected by carpet.mixins.json:StructureBlockEntity_limitsMixin from mod carpet->@ModifyConstant::negativeLimit(I)I with priority 1000
[12:50:50] [main/WARN]: @ModifyConstant conflict. Skipping mixins.tweakeroo.json:MixinStructureBlockBlockEntity from mod tweakeroo->@ModifyConstant::overrideMaxSize(I)I with priority 999, already redirected by carpet.mixins.json:StructureBlockEntity_limitsMixin from mod carpet->@ModifyConstant::positiveLimit(I)I with priority 1000
[12:50:50] [main/WARN]: @ModifyConstant conflict. Skipping mixins.tweakeroo.json:MixinStructureBlockBlockEntity from mod tweakeroo->@ModifyConstant::overrideMaxSize(I)I with priority 999, already redirected by carpet.mixins.json:StructureBlockEntity_limitsMixin from mod carpet->@ModifyConstant::negativeLimit(I)I with priority 1000
[12:50:50] [main/WARN]: @ModifyConstant conflict. Skipping mixins.tweakeroo.json:MixinStructureBlockBlockEntity from mod tweakeroo->@ModifyConstant::overrideMaxSize(I)I with priority 999, already redirected by carpet.mixins.json:StructureBlockEntity_limitsMixin from mod carpet->@ModifyConstant::positiveLimit(I)I with priority 1000
[12:50:50] [main/WARN]: @ModifyConstant conflict. Skipping mixins.tweakeroo.json:MixinStructureBlockBlockEntity from mod tweakeroo->@ModifyConstant::overrideMaxSize(I)I with priority 999, already redirected by carpet.mixins.json:StructureBlockEntity_limitsMixin from mod carpet->@ModifyConstant::positiveLimit(I)I with priority 1000
[12:50:50] [main/WARN]: @ModifyConstant conflict. Skipping mixins.tweakeroo.json:MixinStructureBlockBlockEntity from mod tweakeroo->@ModifyConstant::overrideMaxSize(I)I with priority 999, already redirected by carpet.mixins.json:StructureBlockEntity_limitsMixin from mod carpet->@ModifyConstant::positiveLimit(I)I with priority 1000
[12:50:50] [main/WARN]: @ModifyConstant conflict. Skipping mixins.tweakeroo.json:MixinStructureBlockBlockEntity from mod tweakeroo->@ModifyConstant::overrideMaxSize(I)I with priority 999, already redirected by carpet.mixins.json:StructureBlockEntity_limitsMixin from mod carpet->@ModifyConstant::positiveLimit(I)I with priority 1000
[12:50:59] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[12:50:59] [Render thread/INFO]: Setting user: Yzwh_Y
[12:51:00] [Render thread/WARN]: @reDIrect conflict. Skipping carpet-extra.mixins.json:ServerPlayNetworkHandlerMixin from mod carpet-extra->@reDIrect::carpetextra_removeHitPosCheck(Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Lnet/minecraft/class_243; with priority 1000, already redirected by mixins.tweakeroo.json:MixinServerPlayNetworkHandler from mod tweakeroo->@reDIrect::tweakeroo_removeHitPosCheck(Lnet/minecraft/class_243;Lnet/minecraft/class_243;)Lnet/minecraft/class_243; with priority 1005
[12:51:01] [Render thread/INFO]: Initializing ServerSide Packet Registries
[12:51:02] [Render thread/INFO]: [Indigo] Different rendering plugin detected; not applying Indigo.
[12:51:03] [Render thread/INFO]: Sending ConfigManager...
[12:51:03] [Render thread/INFO]: Sending ConfigManager took 4.441 ms
[12:51:03] [Render thread/INFO]: Loaded null for service interface journeymap.api.services.WebMapService
[12:51:03] [Render thread/INFO]: Loaded journeymap.common.helpers.FabricClientHooks@65868f00 for service interface journeymap.api.services.ClientPlatformService
[12:51:03] [Render thread/INFO]: Loaded journeymap.common.helpers.FabricHooks@55c1ae12 for service interface journeymap.api.services.CommonPlatformService
[12:51:03] [Render thread/INFO]: [STDOUT]: [Mouse Tweaks] Main.initialize()
[12:51:03] [Render thread/INFO]: [STDOUT]: [Mouse Tweaks] Initialized.
[12:51:03] [Render thread/INFO]: == VulkanMod ==
[12:51:03] [Render thread/INFO]: Selecting Platform: WIN32
[12:51:03] [Render thread/INFO]: GLFW: 3.4.0 Win32 WGL Null EGL OSMesa VisualC DLL
[12:51:05] [Render thread/INFO]: Backend library: LWJGL version 3.3.3-snapshot
[12:51:08] [Render thread/WARN]: Missing metadata in pack file/1.16.0masa五件套-醉梦巅峰汉化-20200629.zip
[12:51:08] [Render thread/WARN]: Removed resource pack imblocker from options because it is no longer compatible
[12:51:10] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric, appleskin, carpet, carpet-extra, cloth-config, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-convention-tags-v2, fabric-crash-report-info-v1, fabric-data-attachment-api-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-api-v3, fabric-message-api-v1, fabric-model-loading-api-v1, fabric-networking-api-v1, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, imblocker, jade, jei, journeymap, malilib, minihud, tweakeroo, vulkanmod, file/Minecraft-Mod-Language-Modpack-1-20-Fabric.zip, file/masa汉化资源包v1.0.zip
[12:51:10] [Worker-Main-4/INFO]: Found unifont_all_no_pua-15.1.05.hex, loading
[12:51:11] [Render thread/INFO]: Start loading plugin from Jade: snownee.jade.addon.core.CorePlugin
[12:51:11] [Worker-Main-1/ERROR]: Invalid path in mod resource-pack vulkanmod: vulkanmod:shaders/basic/terrain_earlyZ/terrain_earlyZ.json, ignoring
[12:51:11] [Worker-Main-1/ERROR]: Invalid path in mod resource-pack vulkanmod: vulkanmod:shaders/basic/terrain_earlyZ/terrain_earlyZ.fsh, ignoring
[12:51:11] [Render thread/INFO]: Start loading plugin from Jade: snownee.jade.addon.vanilla.VanillaPlugin
[12:51:11] [Worker-Main-7/INFO]: Found unifont_jp_patch-15.1.05.hex, loading
[12:51:11] [Render thread/INFO]: Start loading plugin from Jade: snownee.jade.addon.universal.UniversalPlugin
[12:51:11] [Render thread/INFO]: Start loading plugin from Jade: snownee.jade.addon.access.AccessibilityPlugin
[12:51:11] [Render thread/INFO]: Start loading plugin from Jade: snownee.jade.addon.debug.DebugPlugin
[12:51:12] [Render thread/INFO]: Found @JourneyMapPlugin: journeymap.api.plugins.LoadedChunkOverlayPlugin
[12:51:17] [Render thread/WARN]: Skipped language file: isometric-renders:lang/zh_cn.json (com.google.gson.JsonSyntaxException: Expected key.isometric-renders.area_select to be a string, was an array (["",...域"]))
[12:51:17] [Render thread/WARN]: Skipped language file: mythicmetals:lang/zh_cn.json (com.google.gson.JsonSyntaxException: Expected tooltip.mythril_drill.upgrade_tip to be a string, was an array ([{"t..."}]))
[12:51:17] [Render thread/WARN]: Skipped language file: minecells:lang/zh_cn.json (com.google.gson.JsonSyntaxException: Expected chat.minecells.wipe_try to be a string, was an array (["\n...n"]))
[12:51:18] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[12:51:18] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[12:51:20] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on 扬声器 (Realtek(R) Audio)
[12:51:20] [Render thread/INFO]: Sound engine started
[12:51:20] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[12:51:20] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[12:51:20] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[12:51:20] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[12:51:20] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[12:51:20] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[12:51:20] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[12:51:20] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[12:51:20] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[12:51:20] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[12:51:20] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas
[12:51:20] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[12:51:20] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[12:51:20] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[12:51:22] [Render thread/INFO]: Created: 256x256x0 jei:textures/atlas/gui.png-atlas

commented

I think I know the issue. Go to your video settings and go to the last tab. Then select gpu. Select your MX250. Problem solved.

commented

I have tried this way, but it didn't work