You are not logged in.

#1 2023-12-31 15:01:08

boulders
Member
Registered: 2023-12-31
Posts: 7

[Solved] OpenGL / Blender issue on Intel HD4000

I've recently installed Arch on my ThinkPad T430 with an intel i5-3320m and Intel HD4000 graphics, and I'm having trouble getting Blender to work.

In terms of Intel graphics I've installed:
- mesa / lib32-mesa
- vulkan-intel / lib32-vulkan-intel
- libva-intel-driver
- intel-gpu-tools

Someone had a similiar issue on NixOS , but I haven't seen anyone on Arch mention this issue.

If someone is able to find the problem with my installation/configuration, I'll be very grateful.

The input of eglinfo -B is:

GBM platform:
eglinfo: eglInitialize failed

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL core profile version: 4.2 (Core Profile) Mesa 23.3.1-arch1.1
OpenGL core profile shading language version: 4.20
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL compatibility profile version: 4.2 (Compatibility Profile) Mesa 23.3.1-arch1.1
OpenGL compatibility profile shading language version: 4.20
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL ES profile version: OpenGL ES 3.0 Mesa 23.3.1-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.00

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL core profile version: 4.2 (Core Profile) Mesa 23.3.1-arch1.1
OpenGL core profile shading language version: 4.20
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL compatibility profile version: 4.2 (Compatibility Profile) Mesa 23.3.1-arch1.1
OpenGL compatibility profile shading language version: 4.20
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL ES profile version: OpenGL ES 3.0 Mesa 23.3.1-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.00

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL core profile version: 4.2 (Core Profile) Mesa 23.3.1-arch1.1
OpenGL core profile shading language version: 4.20
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL compatibility profile version: 4.2 (Compatibility Profile) Mesa 23.3.1-arch1.1
OpenGL compatibility profile shading language version: 4.20
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL ES profile version: OpenGL ES 3.0 Mesa 23.3.1-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.00

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL core profile version: 4.2 (Core Profile) Mesa 23.3.1-arch1.1
OpenGL core profile shading language version: 4.20
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL compatibility profile version: 4.2 (Compatibility Profile) Mesa 23.3.1-arch1.1
OpenGL compatibility profile shading language version: 4.20
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL ES profile version: OpenGL ES 3.0 Mesa 23.3.1-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.00

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 23.3.1-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 23.3.1-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 16.0.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.3.1-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

and the output when I try to launch Blender is:

EGL Error (0x3009): EGL_BAD_MATCH: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
EGL Error (0x3009): EGL_BAD_MATCH: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
EGL Error (0x3009): EGL_BAD_MATCH: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
EGL Error (0x3009): EGL_BAD_MATCH: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
Warning: No OpenGL vendor detected.
blender: ../libepoxy/src/dispatch_common.c:872: epoxy_get_proc_address: Assertion `0 && "Couldn't find current GLX or EGL context.\n"' failed.
Aborted (core dumped)

Last edited by boulders (2024-01-02 13:04:30)

Offline

#2 2024-01-01 13:45:56

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,272

Re: [Solved] OpenGL / Blender issue on Intel HD4000

https://docs.blender.org/manual/en/late … eapi-intel

Looks like your GPU is not supported by blender for HW rendering .

The output of eglinfo is a bit weird since it lists OpenGL 4.2 as max where 4.5 or 4.6 is normal . OpenGL ES version is also old (3.00 instead of 3.20 ) .

I see your processor is from 2012.

If you are using xf86-video-intel, remove it and see if that improves things.
An alternative worth trying is xf86-video-intel + mesa-amber .

Welcome to archlinux forums.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2024-01-02 12:36:17

boulders
Member
Registered: 2023-12-31
Posts: 7

Re: [Solved] OpenGL / Blender issue on Intel HD4000

Thanks for the warm welcome!

Just to check, I burned a KDE Neon (ubuntu based distro) USB and put wayland on it, and tried eglinfo and Blender (ubutu repos I think) on there.

Blender on it works just fine, giving this output:

Color management: using fallback mode for management
Color management: Error could not find role data role.
Read prefs: /home/neon/.config/blender/3.0/config/userpref.blend
Color management: scene view "Filmic" not found, setting default "Standard".
/run/user/999/gvfs/ non-existent directory

It can't use GPU accelerated rendering, but that's fine for me.

I don't know if eglinfo (or mesa-utils in general) is different on Arch compared to Ubuntu 20.04, but eglinfo -B returned a very different output compared to when I ran it on Arch:

EGL client extensions string:
    EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query
    EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
    EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device
    EGL_EXT_platform_wayland EGL_KHR_platform_wayland
    EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb
    EGL_MESA_platform_gbm EGL_KHR_platform_gbm
    EGL_MESA_platform_surfaceless

GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_EXT_buffer_age EGL_EXT_create_context_robustness
    EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers
    EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs
    EGL_KHR_context_flush_control EGL_KHR_create_context
    EGL_KHR_create_context_no_error EGL_KHR_fence_sync
    EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
    EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
    EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
    EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
    EGL_KHR_no_config_context EGL_KHR_reusable_sync
    EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
    EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image
    EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
    EGL_WL_bind_wayland_display
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces 
---------------------------------------------------------------------
0x01 32  0 10 10 10  2  0  0  0 0 0x30335241--         y  y  y     win
0x02 32  0 10 10 10  2 24  0  0 0 0x30335241--         y  y  y     win
0x03 32  0 10 10 10  2 24  8  0 0 0x30335241--         y  y  y     win
0x04 32  0 10 10 10  2  0  0  4 1 0x30335241--         y  y  y     win
0x05 32  0 10 10 10  2  0  0  8 1 0x30335241--         y  y  y     win
0x06 32  0 10 10 10  2 24  0  4 1 0x30335241--         y  y  y     win
0x07 32  0 10 10 10  2 24  0  8 1 0x30335241--         y  y  y     win
0x08 32  0 10 10 10  2 24  8  4 1 0x30335241--         y  y  y     win
0x09 32  0 10 10 10  2 24  8  8 1 0x30335241--         y  y  y     win
0x0a 30  0 10 10 10  0  0  0  0 0 0x30335258--         y  y  y     win
0x0b 30  0 10 10 10  0 24  0  0 0 0x30335258--         y  y  y     win
0x0c 30  0 10 10 10  0 24  8  0 0 0x30335258--         y  y  y     win
0x0d 30  0 10 10 10  0  0  0  4 1 0x30335258--         y  y  y     win
0x0e 30  0 10 10 10  0  0  0  8 1 0x30335258--         y  y  y     win
0x0f 30  0 10 10 10  0 24  0  4 1 0x30335258--         y  y  y     win
0x10 30  0 10 10 10  0 24  0  8 1 0x30335258--         y  y  y     win
0x11 30  0 10 10 10  0 24  8  4 1 0x30335258--         y  y  y     win
0x12 30  0 10 10 10  0 24  8  8 1 0x30335258--         y  y  y     win
0x13 32  0  8  8  8  8  0  0  0 0 0x34325241--         y  y  y     win
0x14 32  0  8  8  8  8 24  0  0 0 0x34325241--         y  y  y     win
0x15 32  0  8  8  8  8 24  8  0 0 0x34325241--         y  y  y     win
0x16 32  0  8  8  8  8  0  0  4 1 0x34325241--         y  y  y     win
0x17 32  0  8  8  8  8  0  0  8 1 0x34325241--         y  y  y     win
0x18 32  0  8  8  8  8 24  0  4 1 0x34325241--         y  y  y     win
0x19 32  0  8  8  8  8 24  0  8 1 0x34325241--         y  y  y     win
0x1a 32  0  8  8  8  8 24  8  4 1 0x34325241--         y  y  y     win
0x1b 32  0  8  8  8  8 24  8  8 1 0x34325241--         y  y  y     win
0x1c 24  0  8  8  8  0  0  0  0 0 0x34325258--         y  y  y     win
0x1d 24  0  8  8  8  0 24  0  0 0 0x34325258--         y  y  y     win
0x1e 24  0  8  8  8  0 24  8  0 0 0x34325258--         y  y  y     win
0x1f 24  0  8  8  8  0  0  0  4 1 0x34325258--         y  y  y     win
0x20 24  0  8  8  8  0  0  0  8 1 0x34325258--         y  y  y     win
0x21 24  0  8  8  8  0 24  0  4 1 0x34325258--         y  y  y     win
0x22 24  0  8  8  8  0 24  0  8 1 0x34325258--         y  y  y     win
0x23 24  0  8  8  8  0 24  8  4 1 0x34325258--         y  y  y     win
0x24 24  0  8  8  8  0 24  8  8 1 0x34325258--         y  y  y     win
0x25 16  0  5  6  5  0  0  0  0 0 0x36314752--         y  y  y     win
0x26 16  0  5  6  5  0  0  0  4 1 0x36314752--         y  y  y     win
0x27 16  0  5  6  5  0  0  0  8 1 0x36314752--         y  y  y     win
0x28 64  0 16 16 16 16  0  0  0 0 0x48344241--         y  y  y     win
0x29 64  0 16 16 16 16 24  0  0 0 0x48344241--         y  y  y     win
0x2a 64  0 16 16 16 16 24  8  0 0 0x48344241--         y  y  y     win
0x2b 64  0 16 16 16 16  0  0  4 1 0x48344241--         y  y  y     win
0x2c 64  0 16 16 16 16  0  0  8 1 0x48344241--         y  y  y     win
0x2d 64  0 16 16 16 16 24  0  4 1 0x48344241--         y  y  y     win
0x2e 64  0 16 16 16 16 24  0  8 1 0x48344241--         y  y  y     win
0x2f 64  0 16 16 16 16 24  8  4 1 0x48344241--         y  y  y     win
0x30 64  0 16 16 16 16 24  8  8 1 0x48344241--         y  y  y     win
0x31 48  0 16 16 16  0  0  0  0 0 0x48344258--         y  y  y     win
0x32 48  0 16 16 16  0 24  0  0 0 0x48344258--         y  y  y     win
0x33 48  0 16 16 16  0 24  8  0 0 0x48344258--         y  y  y     win
0x34 48  0 16 16 16  0  0  0  4 1 0x48344258--         y  y  y     win
0x35 48  0 16 16 16  0  0  0  8 1 0x48344258--         y  y  y     win
0x36 48  0 16 16 16  0 24  0  4 1 0x48344258--         y  y  y     win
0x37 48  0 16 16 16  0 24  0  8 1 0x48344258--         y  y  y     win
0x38 48  0 16 16 16  0 24  8  4 1 0x48344258--         y  y  y     win
0x39 48  0 16 16 16  0 24  8  8 1 0x48344258--         y  y  y     win

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_EXT_buffer_age EGL_EXT_create_context_robustness
    EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers
    EGL_EXT_present_opaque EGL_EXT_swap_buffers_with_damage
    EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs
    EGL_KHR_context_flush_control EGL_KHR_create_context
    EGL_KHR_create_context_no_error EGL_KHR_fence_sync
    EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
    EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
    EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
    EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync
    EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage
    EGL_EXT_pixel_format_float EGL_KHR_wait_sync
    EGL_MESA_configless_context EGL_MESA_drm_image
    EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
    EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces 
---------------------------------------------------------------------
0x01 32  0 10 10 10  2  0  0  0 0 0x00--         y  y  y     win
0x02 32  0 10 10 10  2 24  0  0 0 0x00--         y  y  y     win
0x03 32  0 10 10 10  2 24  8  0 0 0x00--         y  y  y     win
0x04 32  0 10 10 10  2  0  0  4 1 0x00--         y  y  y     win
0x05 32  0 10 10 10  2  0  0  8 1 0x00--         y  y  y     win
0x06 32  0 10 10 10  2 24  0  4 1 0x00--         y  y  y     win
0x07 32  0 10 10 10  2 24  0  8 1 0x00--         y  y  y     win
0x08 32  0 10 10 10  2 24  8  4 1 0x00--         y  y  y     win
0x09 32  0 10 10 10  2 24  8  8 1 0x00--         y  y  y     win
0x0a 30  0 10 10 10  0  0  0  0 0 0x00--         y  y  y     win
0x0b 30  0 10 10 10  0 24  0  0 0 0x00--         y  y  y     win
0x0c 30  0 10 10 10  0 24  8  0 0 0x00--         y  y  y     win
0x0d 30  0 10 10 10  0  0  0  4 1 0x00--         y  y  y     win
0x0e 30  0 10 10 10  0  0  0  8 1 0x00--         y  y  y     win
0x0f 30  0 10 10 10  0 24  0  4 1 0x00--         y  y  y     win
0x10 30  0 10 10 10  0 24  0  8 1 0x00--         y  y  y     win
0x11 30  0 10 10 10  0 24  8  4 1 0x00--         y  y  y     win
0x12 30  0 10 10 10  0 24  8  8 1 0x00--         y  y  y     win
0x13 32  0  8  8  8  8  0  0  0 0 0x00--         y  y  y     win
0x14 32  0  8  8  8  8 24  0  0 0 0x00--         y  y  y     win
0x15 32  0  8  8  8  8 24  8  0 0 0x00--         y  y  y     win
0x16 32  0  8  8  8  8  0  0  4 1 0x00--         y  y  y     win
0x17 32  0  8  8  8  8  0  0  8 1 0x00--         y  y  y     win
0x18 32  0  8  8  8  8 24  0  4 1 0x00--         y  y  y     win
0x19 32  0  8  8  8  8 24  0  8 1 0x00--         y  y  y     win
0x1a 32  0  8  8  8  8 24  8  4 1 0x00--         y  y  y     win
0x1b 32  0  8  8  8  8 24  8  8 1 0x00--         y  y  y     win
0x1c 24  0  8  8  8  0  0  0  0 0 0x00--         y  y  y     win
0x1d 24  0  8  8  8  0 24  0  0 0 0x00--         y  y  y     win
0x1e 24  0  8  8  8  0 24  8  0 0 0x00--         y  y  y     win
0x1f 24  0  8  8  8  0  0  0  4 1 0x00--         y  y  y     win
0x20 24  0  8  8  8  0  0  0  8 1 0x00--         y  y  y     win
0x21 24  0  8  8  8  0 24  0  4 1 0x00--         y  y  y     win
0x22 24  0  8  8  8  0 24  0  8 1 0x00--         y  y  y     win
0x23 24  0  8  8  8  0 24  8  4 1 0x00--         y  y  y     win
0x24 24  0  8  8  8  0 24  8  8 1 0x00--         y  y  y     win
0x25 16  0  5  6  5  0  0  0  0 0 0x00--         y  y  y     win
0x26 16  0  5  6  5  0  0  0  4 1 0x00--         y  y  y     win
0x27 16  0  5  6  5  0  0  0  8 1 0x00--         y  y  y     win
0x28 64  0 16 16 16 16  0  0  0 0 0x00--         y  y  y     win
0x29 64  0 16 16 16 16 24  0  0 0 0x00--         y  y  y     win
0x2a 64  0 16 16 16 16 24  8  0 0 0x00--         y  y  y     win
0x2b 64  0 16 16 16 16  0  0  4 1 0x00--         y  y  y     win
0x2c 64  0 16 16 16 16  0  0  8 1 0x00--         y  y  y     win
0x2d 64  0 16 16 16 16 24  0  4 1 0x00--         y  y  y     win
0x2e 64  0 16 16 16 16 24  0  8 1 0x00--         y  y  y     win
0x2f 64  0 16 16 16 16 24  8  4 1 0x00--         y  y  y     win
0x30 64  0 16 16 16 16 24  8  8 1 0x00--         y  y  y     win
0x31 48  0 16 16 16  0  0  0  0 0 0x00--         y  y  y     win
0x32 48  0 16 16 16  0 24  0  0 0 0x00--         y  y  y     win
0x33 48  0 16 16 16  0 24  8  0 0 0x00--         y  y  y     win
0x34 48  0 16 16 16  0  0  0  4 1 0x00--         y  y  y     win
0x35 48  0 16 16 16  0  0  0  8 1 0x00--         y  y  y     win
0x36 48  0 16 16 16  0 24  0  4 1 0x00--         y  y  y     win
0x37 48  0 16 16 16  0 24  0  8 1 0x00--         y  y  y     win
0x38 48  0 16 16 16  0 24  8  4 1 0x00--         y  y  y     win
0x39 48  0 16 16 16  0 24  8  8 1 0x00--         y  y  y     win

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
EGL extensions string:
    EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
    EGL_CHROMIUM_sync_control EGL_ANGLE_sync_control_rate
    EGL_EXT_buffer_age EGL_EXT_create_context_robustness
    EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers
    EGL_EXT_swap_buffers_with_damage EGL_IMG_context_priority
    EGL_KHR_cl_event2 EGL_KHR_config_attribs
    EGL_KHR_context_flush_control EGL_KHR_create_context
    EGL_KHR_create_context_no_error EGL_KHR_fence_sync
    EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
    EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
    EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
    EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
    EGL_KHR_no_config_context EGL_KHR_reusable_sync
    EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage
    EGL_EXT_pixel_format_float EGL_KHR_wait_sync
    EGL_MESA_configless_context EGL_MESA_drm_image
    EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
    EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces 
---------------------------------------------------------------------
0x01 32  0  8  8  8  8  0  0  0 0 0x31TC      a  y  y  y     win,pb,pix
0x02 32  0  8  8  8  8 24  0  0 0 0x31TC      a  y  y  y     win,pb,pix
0x03 32  0  8  8  8  8 24  8  0 0 0x31TC      a  y  y  y     win,pb,pix
0x04 32  0  8  8  8  8  0  0  4 1 0x31TC      a  y  y  y     win,pb,pix
0x05 32  0  8  8  8  8  0  0  8 1 0x31TC      a  y  y  y     win,pb,pix
0x06 32  0  8  8  8  8 24  0  4 1 0x31TC      a  y  y  y     win,pb,pix
0x07 32  0  8  8  8  8 24  0  8 1 0x31TC      a  y  y  y     win,pb,pix
0x08 32  0  8  8  8  8 24  8  4 1 0x31TC      a  y  y  y     win,pb,pix
0x09 32  0  8  8  8  8 24  8  8 1 0x31TC      a  y  y  y     win,pb,pix
0x0a 24  0  8  8  8  0  0  0  0 0 0x31TC      y  y  y  y     win,pb,pix
0x0b 24  0  8  8  8  0 24  0  0 0 0x31TC      y  y  y  y     win,pb,pix
0x0c 24  0  8  8  8  0 24  8  0 0 0x31TC      y  y  y  y     win,pb,pix
0x0d 24  0  8  8  8  0  0  0  4 1 0x31TC      y  y  y  y     win,pb,pix
0x0e 24  0  8  8  8  0  0  0  8 1 0x31TC      y  y  y  y     win,pb,pix
0x0f 24  0  8  8  8  0 24  0  4 1 0x31TC      y  y  y  y     win,pb,pix
0x10 24  0  8  8  8  0 24  0  8 1 0x31TC      y  y  y  y     win,pb,pix
0x11 24  0  8  8  8  0 24  8  4 1 0x31TC      y  y  y  y     win,pb,pix
0x12 24  0  8  8  8  0 24  8  8 1 0x31TC      y  y  y  y     win,pb,pix
0x13 32  0  8  8  8  8  0  0  0 0 0x32DC      a  y  y  y     win,pb,pix
0x14 32  0  8  8  8  8 24  0  0 0 0x32DC      a  y  y  y     win,pb,pix
0x15 32  0  8  8  8  8 24  8  0 0 0x32DC      a  y  y  y     win,pb,pix
0x16 32  0  8  8  8  8  0  0  4 1 0x32DC      a  y  y  y     win,pb,pix
0x17 32  0  8  8  8  8  0  0  8 1 0x32DC      a  y  y  y     win,pb,pix
0x18 32  0  8  8  8  8 24  0  4 1 0x32DC      a  y  y  y     win,pb,pix
0x19 32  0  8  8  8  8 24  0  8 1 0x32DC      a  y  y  y     win,pb,pix
0x1a 32  0  8  8  8  8 24  8  4 1 0x32DC      a  y  y  y     win,pb,pix
0x1b 32  0  8  8  8  8 24  8  8 1 0x32DC      a  y  y  y     win,pb,pix
0x1c 24  0  8  8  8  0  0  0  0 0 0x32DC      y  y  y  y     win,pb,pix
0x1d 24  0  8  8  8  0 24  0  0 0 0x32DC      y  y  y  y     win,pb,pix
0x1e 24  0  8  8  8  0 24  8  0 0 0x32DC      y  y  y  y     win,pb,pix
0x1f 24  0  8  8  8  0  0  0  4 1 0x32DC      y  y  y  y     win,pb,pix
0x20 24  0  8  8  8  0  0  0  8 1 0x32DC      y  y  y  y     win,pb,pix
0x21 24  0  8  8  8  0 24  0  4 1 0x32DC      y  y  y  y     win,pb,pix
0x22 24  0  8  8  8  0 24  0  8 1 0x32DC      y  y  y  y     win,pb,pix
0x23 24  0  8  8  8  0 24  8  4 1 0x32DC      y  y  y  y     win,pb,pix
0x24 24  0  8  8  8  0 24  8  8 1 0x32DC      y  y  y  y     win,pb,pix

Device platform:
eglinfo: eglInitialize failed

Is there possibly a backup CPU rendering library or something I need to install on Arch?

Offline

#4 2024-01-02 12:52:14

boulders
Member
Registered: 2023-12-31
Posts: 7

Re: [Solved] OpenGL / Blender issue on Intel HD4000

Actually, I think the issue might be that the Arch repo Blender is too recent to work with my hardware.

According to https://www.blender.org/download/requirements/
I need a GPU with OpenGL 4.3 support.
As you mentioned, my HD4000 only supports OpenGL 4.2, so that's probably the issue.

I guess Blender 3.0.1 which was on KDE Neon had looser requirements and was compatible with my hardware. I'll try installing an earlier version through the AUR or something?

Offline

#5 2024-01-02 13:02:42

boulders
Member
Registered: 2023-12-31
Posts: 7

Re: [Solved] OpenGL / Blender issue on Intel HD4000

Yep, just installed Blender 3.6.7 through blender-lts-bin (AUR) and it works perfectly.

According to the Blender website 3.6.x was the last version to support OpenGL 3.3 so I guess I'm really lucky this repo had the 3.6.x version.

Offline

#6 2024-01-03 12:27:52

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,272

Re: [Solved] OpenGL / Blender issue on Intel HD4000

so I guess I'm really lucky this repo had the 3.6.x

AUR is not a typical repo, but more like a collection of recipes that archlinux users find useful.

The reason that blender 3.6 is in AUR is probably that someone else had similar issues as you and took the trouble to upload a working PKGBUILD.

Last edited by Lone_Wolf (2024-01-03 12:28:15)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2024-01-05 10:45:49

danand
Member
Registered: 2024-01-05
Posts: 2

Re: [Solved] OpenGL / Blender issue on Intel HD4000

boulders wrote:

I need a GPU with OpenGL 4.3 support.
As you mentioned, my HD4000 only supports OpenGL 4.2, so that's probably the issue.

I have almost the exact same setup (T430 and Intel HD 4000, but with a Intel i7-3632QM), but my blender crashed with following backtrace left in /tmp/blender.crash.txt:

# Blender 4.0.2, Commit date: 2023-12-05 07:41, Hash 9be62e85b727

# backtrace
blender(+0xfcca53) [0x556ab28bea53]
blender(+0x8b659e) [0x556ab21a859e]
/usr/lib/libc.so.6(+0x3e710) [0x7f6b4836f710]
blender(+0x1012d8c) [0x556ab2904d8c]
blender(+0x1012ded) [0x556ab2904ded]
blender(+0xfdc824) [0x556ab28ce824]
blender(+0xff26ae) [0x556ab28e46ae]
blender(+0xff7dc4) [0x556ab28e9dc4]
blender(+0x88a2a1) [0x556ab217c2a1]
/usr/lib/libc.so.6(+0x27cd0) [0x7f6b48358cd0]
/usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f6b48358d8a]
blender(+0x8b2185) [0x556ab21a4185]

# Python backtrace

Thanks to your finding, I was able to make the most recent blender package (17:4.0.2-6) run by overriding the opengl version with:

MESA_GLSL_VERSION_OVERRIDE=430 MESA_GL_VERSION_OVERRIDE=4.3FC blender

So far I have encountered no issues. YMMV.


Cheers

Offline

#8 2024-01-05 10:57:48

boulders
Member
Registered: 2023-12-31
Posts: 7

Re: [Solved] OpenGL / Blender issue on Intel HD4000

danand wrote:

Thanks to your finding, I was able to make the most recent blender package (17:4.0.2-6) run by overriding the opengl version with:

MESA_GLSL_VERSION_OVERRIDE=430 MESA_GL_VERSION_OVERRIDE=4.3FC blender

So far I have encountered no issues. YMMV.

Wow! That worked like black magic for me too! Thanks so much.

Offline

#9 2024-01-05 19:00:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,249

Re: [Solved] OpenGL / Blender issue on Intel HD4000

That's lying about your OpenGL version and support and will only work as long as something in Blender does not actually try to make use of newer GL functions. It's a hack and you can and should expect issues.

Offline

#10 2024-01-06 08:24:16

danand
Member
Registered: 2024-01-05
Posts: 2

Re: [Solved] OpenGL / Blender issue on Intel HD4000

V1del wrote:

That's lying about your OpenGL version and support and will only work as long as something in Blender does not actually try to make use of newer GL functions. It's a hack and you can and should expect issues.

I'm aware of that and you are right in principle. But if you check the table of implemented OpenGL extensions, you can see that support of 4.3 for Intel HD 4000 is almost feature complete, so it should be fine for basic tasks.

Offline

#11 2024-01-11 21:25:10

JetpackJackson
Member
Registered: 2024-01-11
Posts: 1

Re: [Solved] OpenGL / Blender issue on Intel HD4000

danand wrote:
boulders wrote:

I need a GPU with OpenGL 4.3 support.
As you mentioned, my HD4000 only supports OpenGL 4.2, so that's probably the issue.

I have almost the exact same setup (T430 and Intel HD 4000, but with a Intel i7-3632QM), but my blender crashed with following backtrace left in /tmp/blender.crash.txt:

# Blender 4.0.2, Commit date: 2023-12-05 07:41, Hash 9be62e85b727

# backtrace
blender(+0xfcca53) [0x556ab28bea53]
blender(+0x8b659e) [0x556ab21a859e]
/usr/lib/libc.so.6(+0x3e710) [0x7f6b4836f710]
blender(+0x1012d8c) [0x556ab2904d8c]
blender(+0x1012ded) [0x556ab2904ded]
blender(+0xfdc824) [0x556ab28ce824]
blender(+0xff26ae) [0x556ab28e46ae]
blender(+0xff7dc4) [0x556ab28e9dc4]
blender(+0x88a2a1) [0x556ab217c2a1]
/usr/lib/libc.so.6(+0x27cd0) [0x7f6b48358cd0]
/usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f6b48358d8a]
blender(+0x8b2185) [0x556ab21a4185]

# Python backtrace

Thanks to your finding, I was able to make the most recent blender package (17:4.0.2-6) run by overriding the opengl version with:

MESA_GLSL_VERSION_OVERRIDE=430 MESA_GL_VERSION_OVERRIDE=4.3FC blender

So far I have encountered no issues. YMMV.


Cheers

That command isn't working for me, should I change a version number or something? I'm getting the same error as OP with the flatpak and official repo packages of blender, and with the package from the blender website.

Offline

Board footer

Powered by FluxBB