I'm not finding the correct Intel driver

Hi, I have a Dell Latitude 630 that has NixOS, I couldn’t find the video card driver, it’s a fourth generation Intel X3100 and it’s giving tears and errors in OpenGL-ES that don’t occur in another distro that I tested ( Kali linux), but I looked at everything on the forum and didn’t find a solution, can anyone help me? Note: sorry for the English, I had to use a translate

This is currently active:
services.xserver.videoDrivers = [ “intel” ];

services.picom = {
enable = true;
vSync = true;
};

and I already tried this:
hardware.opengl.package = (pkgs.mesa.override { galliumDrivers = [ “crocus” “swrast” ]; }).drivers;

but it didn’t solve

nixos :: ~ » eglinfo
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 30 0 10 10 10 0 0 0 0 0 0x30335258-- y y y win
0x05 30 0 10 10 10 0 24 0 0 0 0x30335258-- y y y win
0x06 30 0 10 10 10 0 24 8 0 0 0x30335258-- y y y win
0x07 32 0 8 8 8 8 0 0 0 0 0x34325241-- y y y win
0x08 32 0 8 8 8 8 24 0 0 0 0x34325241-- y y y win
0x09 32 0 8 8 8 8 24 8 0 0 0x34325241-- y y y win
0x0a 24 0 8 8 8 0 0 0 0 0 0x34325258-- y y y win
0x0b 24 0 8 8 8 0 24 0 0 0 0x34325258-- y y y win
0x0c 24 0 8 8 8 0 24 8 0 0 0x34325258-- y y y win
0x0d 16 0 5 6 5 0 0 0 0 0 0x36314752-- y y y win
0x0e 64 0 16 16 16 16 0 0 0 0 0x48344241-- y y y win
0x0f 64 0 16 16 16 16 24 0 0 0 0x48344241-- y y y win
0x10 64 0 16 16 16 16 24 8 0 0 0x48344241-- y y y win
0x11 48 0 16 16 16 0 0 0 0 0 0x48344258-- y y y win
0x12 48 0 16 16 16 0 24 0 0 0 0x48344258-- y y y win
0x13 48 0 16 16 16 0 24 8 0 0 0x48344258-- y y y win

Wayland platform:
eglinfo: eglInitialize failed

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 0x21TC a y y y win,pb,pix
0x02 32 0 8 8 8 8 24 0 0 0 0x21TC a y y y win,pb,pix
0x03 32 0 8 8 8 8 24 8 0 0 0x21TC a y y y win,pb,pix
0x04 24 0 8 8 8 0 0 0 0 0 0x21TC y y y y win,pb,pix
0x05 24 0 8 8 8 0 24 0 0 0 0x21TC y y y y win,pb,pix
0x06 24 0 8 8 8 0 24 8 0 0 0x21TC y y y y win,pb,pix
0x07 32 0 8 8 8 8 0 0 0 0 0x22DC a y y y win,pb,pix
0x08 32 0 8 8 8 8 24 0 0 0 0x22DC a y y y win,pb,pix
0x09 32 0 8 8 8 8 24 8 0 0 0x22DC a y y y win,pb,pix
0x0a 24 0 8 8 8 0 0 0 0 0 0x22DC y y y y win,pb,pix
0x0b 24 0 8 8 8 0 24 0 0 0 0x22DC y y y y win,pb,pix
0x0c 24 0 8 8 8 0 24 8 0 0 0x22DC y y y y win,pb,pix

Device platform:
eglinfo: eglInitialize failed

nixos :: ~ » neofetch 2 ↵
emanuel@nixos

OS: NixOS 23.05.20230922.e9b4b56 (Stoat) x86_64
Host: Dell Inc. 0KU184
Kernel: 6.1.54
Uptime: 9 mins
Packages: 1727 (nix-system), 82 (nix-user)
Shell: zsh 5.9
Resolution: 1280x800
DE: none+i3
WM: i3
Terminal: alacritty
CPU: Intel Core 2 Duo T7250 (2) @ 2.001GHz
GPU: Intel Latitude D630
Memory: 1439MiB / 2978MiB

Did you set hardware.opengl.enable?

The i3 module doesn’t seem to configure it by default.

The processor is ancient, but according to the gentoo wiki this driver should be working.

I have already installed and tested countless combinations by deactivating and activating these configs here below, because I did not find clear documentation of what each activated support and each package does, so I was trying trial and error.

hardware = {
bluetooth.enable = true;
opengl = {
enable = true;
#driSupport = true;
#driSupport32Bit = true;
package = (pkgs.mesa.override { galliumDrivers = [ “crocus” “swrast” ]; }).drivers;
extraPackages = with pkgs; [
#vaapiIntel # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
#vaapiVdpau
#libvdpau-va-gl
];
};
};

For the options I think https://search.nixos.org has pretty good descriptions, if you mostly understand what software you need for graphics on Linux.

If you don’t, I suspect no amount of documentation by NixOS will help, ideally such users would never need to see any of this, but your GPU is ancient and you use a WM, so as a rare user you’re hitting edge cases.

I also appreciate translation may make this even harder for you.

The packages are indeed poorly described by NixOS. You can find a link to their home pages (usually GitHub repos) on http://search.nixos.org and then read the projects’ own documentation to find out what they do.


Here’s my rough understanding:

Enables kernel modules and userland software to use bluetooth devices. You probably still need to install blueman for most use cases. Probably not relevant to your issues.

Enables opengl, which is probably the most important graphics library in existence. Without it most applications won’t be able to talk to your GPU. Normally enabled by your DE, but apparently i3 does not enable it.

Adds support for the direct rendering infrastructure. Required by anything that uses the GPU for acceleration directly, rather than calling into kernel features. So mostly everything.

The 32bit variant is for software that is still run in 32 bit mode, usually older video games and things related to steam.

The backend mesa (another important core graphics component) uses. Normally this does not need to be configured manually but the heuristic for your GPU is probably not working.

You probably want to set it to [ "i915" "swrast" ], your processor is very old: https://github.com/NixOS/nixpkgs/blob/5a237aecb57296f67276ac9ab296a41c23981f56/pkgs/development/libraries/mesa/generic.nix#L35

Various packages required for video acceleration. Each of those supports different GPUs, browsers and codecs.

I’m not sure which of those will work in your case, but neither of them is required for basic opengl to function.

There’s not much clear documentation on this in general, for any distro. The highest quality is on the arch wiki, but the NixOS wiki has some content too:

I’m not sure, but I suspect you will need to use vaapiIntel, and set:

environment.variables.LIBVA_DRIVER_NAME = "i915";

I changed from crocus to i915, it requires crocus, you can see it when using the eglinfo command

and I also enabled direct rendering infrastructure and set environment.variables.LIBVA_DRIVER_NAME = “i915”;

I was using counter strike 1.6 to test the FPS and now Steam isn’t even opening it, I’ll continue testing here, if I find something, I’ll post it here, or if new possible alternatives come up, I’ll accept the suggestions here

the eglinfo command:

nixos :: ~ » eglinfo
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:
MESA-LOADER: failed to open crocus: /run/opengl-driver/lib/dri/crocus_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
MESA-LOADER: failed to open zink: /run/opengl-driver/lib/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
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_EXT_buffer_age
EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers 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_image_dma_buf_export EGL_MESA_query_driver
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 16 0 0 0 0x30335241-- y y y win
0x03 32 0 10 10 10 2 24 0 0 0 0x30335241-- y y y win
0x04 32 0 10 10 10 2 24 8 0 0 0x30335241-- y y y win
0x05 32 0 10 10 10 2 32 0 0 0 0x30335241-- y y y win
0x06 32 0 10 10 10 2 0 0 4 1 0x30335241-- y y y win
0x07 32 0 10 10 10 2 16 0 4 1 0x30335241-- y y y win
0x08 32 0 10 10 10 2 24 0 4 1 0x30335241-- y y y win
0x09 32 0 10 10 10 2 24 8 4 1 0x30335241-- y y y win
0x0a 32 0 10 10 10 2 32 0 4 1 0x30335241-- y y y win
0x0b 30 0 10 10 10 0 0 0 0 0 0x30335258-- y y y win
0x0c 30 0 10 10 10 0 16 0 0 0 0x30335258-- y y y win
0x0d 30 0 10 10 10 0 24 0 0 0 0x30335258-- y y y win
0x0e 30 0 10 10 10 0 24 8 0 0 0x30335258-- y y y win
0x0f 30 0 10 10 10 0 32 0 0 0 0x30335258-- y y y win
0x10 30 0 10 10 10 0 0 0 4 1 0x30335258-- y y y win
0x11 30 0 10 10 10 0 16 0 4 1 0x30335258-- y y y win
0x12 30 0 10 10 10 0 24 0 4 1 0x30335258-- y y y win
0x13 30 0 10 10 10 0 24 8 4 1 0x30335258-- y y y win
0x14 30 0 10 10 10 0 32 0 4 1 0x30335258-- y y y win
0x15 32 0 8 8 8 8 0 0 0 0 0x34325241-- y y y win
0x16 32 0 8 8 8 8 16 0 0 0 0x34325241-- y y y win
0x17 32 0 8 8 8 8 24 0 0 0 0x34325241-- y y y win
0x18 32 0 8 8 8 8 24 8 0 0 0x34325241-- y y y win
0x19 32 0 8 8 8 8 32 0 0 0 0x34325241-- y y y win
0x1a 32 0 8 8 8 8 0 0 4 1 0x34325241-- y y y win
0x1b 32 0 8 8 8 8 16 0 4 1 0x34325241-- y y y win
0x1c 32 0 8 8 8 8 24 0 4 1 0x34325241-- y y y win
0x1d 32 0 8 8 8 8 24 8 4 1 0x34325241-- y y y win
0x1e 32 0 8 8 8 8 32 0 4 1 0x34325241-- y y y win
0x1f 24 0 8 8 8 0 0 0 0 0 0x34325258-- y y y win
0x20 24 0 8 8 8 0 16 0 0 0 0x34325258-- y y y win
0x21 24 0 8 8 8 0 24 0 0 0 0x34325258-- y y y win
0x22 24 0 8 8 8 0 24 8 0 0 0x34325258-- y y y win
0x23 24 0 8 8 8 0 32 0 0 0 0x34325258-- y y y win
0x24 24 0 8 8 8 0 0 0 4 1 0x34325258-- y y y win
0x25 24 0 8 8 8 0 16 0 4 1 0x34325258-- y y y win
0x26 24 0 8 8 8 0 24 0 4 1 0x34325258-- y y y win
0x27 24 0 8 8 8 0 24 8 4 1 0x34325258-- y y y win
0x28 24 0 8 8 8 0 32 0 4 1 0x34325258-- y y y win
0x29 16 0 5 6 5 0 0 0 0 0 0x36314752-- y y y win
0x2a 16 0 5 6 5 0 16 0 0 0 0x36314752-- y y y win
0x2b 16 0 5 6 5 0 24 0 0 0 0x36314752-- y y y win
0x2c 16 0 5 6 5 0 24 8 0 0 0x36314752-- y y y win
0x2d 16 0 5 6 5 0 32 0 0 0 0x36314752-- y y y win
0x2e 16 0 5 6 5 0 0 0 4 1 0x36314752-- y y y win
0x2f 16 0 5 6 5 0 16 0 4 1 0x36314752-- y y y win
0x30 16 0 5 6 5 0 24 0 4 1 0x36314752-- y y y win
0x31 16 0 5 6 5 0 24 8 4 1 0x36314752-- y y y win
0x32 16 0 5 6 5 0 32 0 4 1 0x36314752-- y y y win
0x33 64 0 16 16 16 16 0 0 0 0 0x48344241-- y y y win
0x34 64 0 16 16 16 16 16 0 0 0 0x48344241-- y y y win
0x35 64 0 16 16 16 16 24 0 0 0 0x48344241-- y y y win
0x36 64 0 16 16 16 16 24 8 0 0 0x48344241-- y y y win
0x37 64 0 16 16 16 16 32 0 0 0 0x48344241-- y y y win
0x38 64 0 16 16 16 16 0 0 4 1 0x48344241-- y y y win
0x39 64 0 16 16 16 16 16 0 4 1 0x48344241-- y y y win
0x3a 64 0 16 16 16 16 24 0 4 1 0x48344241-- y y y win
0x3b 64 0 16 16 16 16 24 8 4 1 0x48344241-- y y y win
0x3c 64 0 16 16 16 16 32 0 4 1 0x48344241-- y y y win
0x3d 48 0 16 16 16 0 0 0 0 0 0x48344258-- y y y win
0x3e 48 0 16 16 16 0 16 0 0 0 0x48344258-- y y y win
0x3f 48 0 16 16 16 0 24 0 0 0 0x48344258-- y y y win
0x40 48 0 16 16 16 0 24 8 0 0 0x48344258-- y y y win
0x41 48 0 16 16 16 0 32 0 0 0 0x48344258-- y y y win
0x42 48 0 16 16 16 0 0 0 4 1 0x48344258-- y y y win
0x43 48 0 16 16 16 0 16 0 4 1 0x48344258-- y y y win
0x44 48 0 16 16 16 0 24 0 4 1 0x48344258-- y y y win
0x45 48 0 16 16 16 0 24 8 4 1 0x48344258-- y y y win
0x46 48 0 16 16 16 0 32 0 4 1 0x48344258-- y y y win

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
libEGL warning: DRI2: failed to authenticate
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_ANGLE_sync_control_rate EGL_EXT_create_context_robustness
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_EXT_pixel_format_float
EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image
EGL_MESA_query_driver
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 0x21TC a y y y win,pb,pix
0x02 32 0 8 8 8 8 16 0 0 0 0x21TC a y y y win,pb,pix
0x03 32 0 8 8 8 8 24 0 0 0 0x21TC a y y y win,pb,pix
0x04 32 0 8 8 8 8 24 8 0 0 0x21TC a y y y win,pb,pix
0x05 32 0 8 8 8 8 32 0 0 0 0x21TC a y y y win,pb,pix
0x06 32 0 8 8 8 8 0 0 4 1 0x21TC a y y y win,pb,pix
0x07 32 0 8 8 8 8 16 0 4 1 0x21TC a y y y win,pb,pix
0x08 32 0 8 8 8 8 24 0 4 1 0x21TC a y y y win,pb,pix
0x09 32 0 8 8 8 8 24 8 4 1 0x21TC a y y y win,pb,pix
0x0a 32 0 8 8 8 8 32 0 4 1 0x21TC a y y y win,pb,pix
0x0b 24 0 8 8 8 0 0 0 0 0 0x21TC y y y y win,pb,pix
0x0c 24 0 8 8 8 0 16 0 0 0 0x21TC y y y y win,pb,pix
0x0d 24 0 8 8 8 0 24 0 0 0 0x21TC y y y y win,pb,pix
0x0e 24 0 8 8 8 0 24 8 0 0 0x21TC y y y y win,pb,pix
0x0f 24 0 8 8 8 0 32 0 0 0 0x21TC y y y y win,pb,pix
0x10 24 0 8 8 8 0 0 0 4 1 0x21TC y y y y win,pb,pix
0x11 24 0 8 8 8 0 16 0 4 1 0x21TC y y y y win,pb,pix
0x12 24 0 8 8 8 0 24 0 4 1 0x21TC y y y y win,pb,pix
0x13 24 0 8 8 8 0 24 8 4 1 0x21TC y y y y win,pb,pix
0x14 24 0 8 8 8 0 32 0 4 1 0x21TC y y y y win,pb,pix
0x15 32 0 8 8 8 8 0 0 0 0 0x22DC a y y y win,pb,pix
0x16 32 0 8 8 8 8 16 0 0 0 0x22DC a y y y win,pb,pix
0x17 32 0 8 8 8 8 24 0 0 0 0x22DC a y y y win,pb,pix
0x18 32 0 8 8 8 8 24 8 0 0 0x22DC a y y y win,pb,pix
0x19 32 0 8 8 8 8 32 0 0 0 0x22DC a y y y win,pb,pix
0x1a 32 0 8 8 8 8 0 0 4 1 0x22DC a y y y win,pb,pix
0x1b 32 0 8 8 8 8 16 0 4 1 0x22DC a y y y win,pb,pix
0x1c 32 0 8 8 8 8 24 0 4 1 0x22DC a y y y win,pb,pix
0x1d 32 0 8 8 8 8 24 8 4 1 0x22DC a y y y win,pb,pix
0x1e 32 0 8 8 8 8 32 0 4 1 0x22DC a y y y win,pb,pix
0x1f 24 0 8 8 8 0 0 0 0 0 0x22DC y y y y win,pb,pix
0x20 24 0 8 8 8 0 16 0 0 0 0x22DC y y y y win,pb,pix
0x21 24 0 8 8 8 0 24 0 0 0 0x22DC y y y y win,pb,pix
0x22 24 0 8 8 8 0 24 8 0 0 0x22DC y y y y win,pb,pix
0x23 24 0 8 8 8 0 32 0 0 0 0x22DC y y y y win,pb,pix
0x24 24 0 8 8 8 0 0 0 4 1 0x22DC y y y y win,pb,pix
0x25 24 0 8 8 8 0 16 0 4 1 0x22DC y y y y win,pb,pix
0x26 24 0 8 8 8 0 24 0 4 1 0x22DC y y y y win,pb,pix
0x27 24 0 8 8 8 0 24 8 4 1 0x22DC y y y y win,pb,pix
0x28 24 0 8 8 8 0 32 0 4 1 0x22DC y y y y win,pb,pix

Device platform:
eglinfo: eglInitialize failed

Yep, that’s pretty clear.

Your configuration looks completely correct to me then. This is likely a bug, there’s a related issue from 2022 here: Unable to get EGL working with Intel integrated graphics · Issue #169792 · NixOS/nixpkgs · GitHub

Is there any chance you’re using nix packages from different channel versions? Graphics related packages don’t like being mixed as much as other nix packages, since the /run/opengl things are effectively singletons.