material-maker icon indicating copy to clipboard operation
material-maker copied to clipboard

Intel igpu crash

Open Unknown977 opened this issue 4 months ago • 4 comments

System Information

  • Material Maker Version: 1.4rc5 (not working), 1.3 (working)
  • Operating System: Arch Linux
  • Window Manager: Wayfire (Wayland)
  • Kernel: Linux 6.16.1-arch1-1
  • CPU: Intel Core i5-4590T
  • GPU: Intel HD Graphics 4600

Issue Description

The application crashes on startup. It briefly loads before crashing. This occurs with both the Vulkan and OpenGL rendering drivers.


Steps to Reproduce

  1. Open the executable.

Logs

Vulkan Backend

[clark@archlinux ~]$ /home/clark/Downloads/material_maker_1_4rc5_linux/material_maker.x86_64
Godot Engine v4.4.1.stable.custom_build - https://godotengine.org
MESA-INTEL: warning: Haswell Vulkan support is incomplete
Vulkan 1.2.318 - Forward+ - Using Device #0: Intel - Intel(R) HD Graphics 4600 (HSW GT2)

Cannot open user://export_targets
Loading...
Successfully read library /home/clark/Downloads/material_maker_1_4rc5_linux/library/base.json
Failed to open user://library/user.json
Successfully read library /home/clark/Downloads/material_maker_1_4rc5_linux/library/base_brushes.json
Failed to open user://library/user_brushes.json
created thumbnail
(64.0, 64.0)
created thumbnail
(64.0, 64.0)
created thumbnail
(64.0, 64.0)
ERROR: Index p_idx = -1 is out of bounds (items.size() = 0).
   at: set_item_checked (scene/gui/popup_menu.cpp:1828)
THEME UPDATE
Libraries updated (NodeLibraryManager)
Libraries updated (BrushLibraryManager)
Setting hdr /home/clark/Downloads/material_maker_1_4rc5_linux/environments/hdris/epping_forest_01_1k.hdr
WARNING: Ignoring unsupported header information in HDR: GAMMA=1.
      at: load_image (modules/hdr/image_loader_hdr.cpp:47)
WARNING: Ignoring unsupported header information in HDR: PRIMARIES=0 0 0 0 0 0 0 0.
      at: load_image (modules/hdr/image_loader_hdr.cpp:47)
ERROR: Condition "err != VK_SUCCESS" is true. Returning: FAILED
   at: fence_wait (drivers/vulkan/rendering_device_driver_vulkan.cpp:2439)
ERROR: VK_EXT_device_fault not available.
   at: on_device_lost (drivers/vulkan/rendering_device_driver_vulkan.cpp:5531)
ERROR: Vulkan device was lost.
   at: command_queue_execute_and_present (drivers/vulkan/rendering_device_driver_vulkan.cpp:2653)
Illegal instruction        (core dumped) /home/clark/Downloads/material_maker_1_4rc5_linux/material_maker.x86_64
[clark@archlinux ~]$

OpenGL Backend

[clark@archlinux ~]$ /home/clark/Downloads/material_maker_1_4rc5_linux/material_maker.x86_64 --rendering-driver opengl3
Godot Engine v4.4.1.stable.custom_build - https://godotengine.org
Inconsistent value (1) for DRI_PRIME. Should be < 1 (GPU devices count). Using: 0
OpenGL API 4.6 (Core Profile) Mesa 25.2.2-arch1.2 - Compatibility - Using Device: Intel - Mesa Intel(R) HD Graphics 4600 (HSW GT2)

Cannot open user://export_targets
Loading...
Successfully read library /home/clark/Downloads/material_maker_1_4rc5_linux/library/base.json
Failed to open user://library/user.json
Successfully read library /home/clark/Downloads/material_maker_1_4rc5_linux/library/base_brushes.json
Failed to open user://library/user_brushes.json
created thumbnail
(64.0, 64.0)
created thumbnail
(64.0, 64.0)
created thumbnail
(64.0, 64.0)
ERROR: Index p_idx = -1 is out of bounds (items.size() = 0).
   at: set_item_checked (scene/gui/popup_menu.cpp:1828)
THEME UPDATE
Libraries updated (NodeLibraryManager)
Libraries updated (BrushLibraryManager)
Segmentation fault         (core dumped) /home/clark/Downloads/material_maker_1_4rc5_linux/material_maker.x86_64 --rendering-driver opengl3
[clark@archlinux ~]$

Unknown977 avatar Sep 12 '25 01:09 Unknown977

Vulkan support is required, looking at this page it doesnt seem like 4600 supports it

Supported APIs for Intel Graphics

williamchange avatar Sep 13 '25 00:09 williamchange

Vulkan support is required, looking at this page it doesnt seem like 4600 supports it

Supported APIs for Intel Graphics

actually, 4600 supports vulkan 1.0-1.2, godot forward+ and mobile works on my machine no problem

vulkaninfo output:

=================================
GPU0:
VkPhysicalDeviceProperties:
---------------------------
	apiVersion        = 1.2.318 (4202814)
	driverVersion     = 25.2.2 (104865794)
	vendorID          = 0x8086
	deviceID          = 0x0412
	deviceType        = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
	deviceName        = Intel(R) HD Graphics 4600 (HSW GT2)
	pipelineCacheUUID = dcc19046-c2a1-e4df-92a0-d61383cb81ee

Unknown977 avatar Sep 13 '25 06:09 Unknown977

GPU: Intel HD Graphics 4600

Haswell IGPs don't have full Vulkan support (the implementation on Linux is partial and non-conformatn). Material Maker 1.4 requires Forward+ support to work as I understand it; it has no fallback for Compatibility.

Unfortunately, you'll have to stick to Material Maker 1.3 until you can upgrade to a newer CPU (with a newer IGP), or get a dedicated GPU.

Material Maker should probably abort on startup with a dialog if started with a driver name that starts with opengl3, as there's no real point in forcing it on the command line for this project.

Calinou avatar Sep 14 '25 20:09 Calinou

Haswell IGPs don't have full Vulkan support (the implementation on Linux is partial and non-conformatn). Material Maker 1.4 requires Forward+ support to work as I understand it; it has no fallback for Compatibility.

I am aware that Intel HD 4600 has limited Vulkan, but Godot Forward+ works fine tho, I can run any software that has Vulkan unless it requires Vulkan 1.2+ API . If the Material Maker creator upgraded to the new Vulkan , they should explicitly say so

Unfortunately, you'll have to stick to Material Maker 1.3 until you can upgrade to a newer CPU (with a newer IGP), or get a dedicated GPU.

Sadly, this machine is a mini PC, so I can't upgrade it, and I can't buy a new one yet . Godot Forward+ is super fast for my project, and it's sufficient for my 3D game development for now

Material Maker should probably abort on startup with a dialog if started with a driver name that starts with opengl3, as there's no real point in forcing it on the command line for this project.

i dunno i just tried it

Unknown977 avatar Sep 15 '25 00:09 Unknown977