Eglinfo command crashes on opensuse tumbleweed, nvidia 535.86.05

Error message:

$ eglinfo
...
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 535.86.05
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
    GL_ANDROID_extension_pack_es31a, GL_EXT_EGL_image_array,
    GL_EXT_EGL_image_external_wrap_modes, GL_EXT_EGL_image_storage,
    GL_EXT_float_blend, GL_EXT_frag_depth, GL_EXT_geometry_point_size,
    ...
    GL_OVR_multiview_multisampled_render_to_texture
corrupted size vs. prev_size
[1]    16136 IOT instruction (core dumped)  eglinfo

Error stack backtrace:

__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file /usr/src/debug/glibc-2.38/nptl/pthread_kill.c
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff7c91ed3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007ffff7c3f126 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff7c26917 in __GI_abort () at abort.c:79
#4  0x00007ffff7c277e3 in __libc_message (fmt=fmt@entry=0x7ffff7db056d "%s\n") at ../sysdeps/posix/libc_fatal.c:150
#5  0x00007ffff7c9c827 in malloc_printerr (str=str@entry=0x7ffff7dadfb8 "corrupted size vs. prev_size") at malloc.c:5879
#6  0x00007ffff7c9d34e in unlink_chunk (p=<optimized out>, av=<optimized out>) at malloc.c:1605
#7  0x00007ffff7c9d4e0 in malloc_consolidate (av=av@entry=0x7ffff7e4bac0 <main_arena>) at malloc.c:4842
#8  0x00007ffff7c9ebd0 in _int_free (av=0x7ffff7e4bac0 <main_arena>, p=0x55555570f790, have_lock=<optimized out>, have_lock@entry=0) at malloc.c:4736
#9  0x00007ffff7ca1873 in __GI___libc_free (mem=<optimized out>) at malloc.c:3386
#10 0x00007ffff5d33166 in ?? () from /lib64/libnvidia-eglcore.so.535.86.05
#11 0x00007ffff7204e80 in ?? () from /lib64/libnvidia-eglcore.so.535.86.05
#12 0x0000000040000000 in ?? ()
#13 0x00007ffff7204e80 in ?? () from /lib64/libnvidia-eglcore.so.535.86.05
#14 0x00007ffff5ca7aca in ?? () from /lib64/libnvidia-eglcore.so.535.86.05
#15 0x0000000040000000 in ?? ()
#16 0x00007ffff5a3b70d in ?? () from /lib64/libnvidia-eglcore.so.535.86.05
#17 0x00007ffff7207a40 in ?? () from /lib64/libnvidia-eglcore.so.535.86.05
#18 0x00007ffff7207a40 in ?? () from /lib64/libnvidia-eglcore.so.535.86.05
#19 0x0000000040000000 in ?? ()
#20 0x0000000000000000 in ?? ()

Downstream opensuse bug report: 1210598 – i915 [Kabylake] eglinfo, broken

nvidia-bug-report.log.gz:
https://user.fm/files/v2-66fd662cd3aba16b694b3fc64192a9d9/nvidia-bug-report.log.gz

Same with 535.104.05 driver.

This also affects the open gpu driver, which I think was reported(one of the major problems with egl not working correctly is that you cannot use the xwaylandvideobridge) Pipewire screen sharing under Wayland results in black canvas with cursors · Issue #467 · NVIDIA/open-gpu-kernel-modules · GitHub

We have already root caused the issue and [4268433] can be used for tracking purpose.
Fix will be available in next branch drivers.

1 Like

I have upgraded the driver version to 535.113.01, and the problem still exists.
Kernel version 6.5.4.

I have the same issue.

Driver: nvidia 535.113.01-6
Kernel: 6.5.8-arch1-1

The issue is fixed in the 545.23.06 driver.

1 Like

nope

    GL_OES_texture_half_float, GL_OES_texture_half_float_linear, 
    GL_OES_texture_npot, GL_OES_texture_stencil8, 
    GL_OES_texture_storage_multisample_2d_array, GL_OES_texture_view, 
    GL_OES_vertex_array_object, GL_OES_vertex_half_float, 
    GL_OES_viewport_array, GL_OVR_multiview, GL_OVR_multiview2, 
    GL_OVR_multiview_multisampled_render_to_texture
corrupted size vs. prev_size
Abortado (`core' generado)

if help, glibc 2.38

I can confirm that this issue has been fixed by nvidia 545.29.02, tested on opensuse tumbleweed 20231115.

for me is fixed by Fix `newAttribs` allocation size for `!surfType && nativeVisualID` by ids1024 · Pull Request #3 · NVIDIA/egl-gbm · GitHub

greetings

545 series breaks framebuffer console and is therefore completely unusable until they fix it.