Package: libdrm2
Version: 2.4.97-1
Severity: normal
Tags: patch

Dear Maintainer,

Using eglinfo from the mesa-utils-extra package on a i.MX 6 based device
leads to the following output:
# 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_wayland
    EGL_EXT_platform_x11 EGL_MESA_platform_gbm
    EGL_MESA_platform_surfaceless

GBM platform:
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
Segmentation fault (core dumped)

Investigating the issue showed that it seems to be fixed when using
libdrm 2.4.98. It turns out that commit 3df8a7f01abf ("xf86drm:
fallback to MODALIAS for OF less platform devices") fixes the problem.

>From what I understand the issue is connected with how the DRM device
driver is instanciated in first place, see:
https://patchwork.kernel.org/patch/10776995/

Note that I used ArchLinux ARM with its kernel for some further
investigation where this report has been generated. But the underlying
kernel change casing this issue is also present in Debian Buster's stock
4.19.0 kernel.

-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 5.1.15-1-ARCH (SMP w/2 CPU cores; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages libdrm2 depends on:
ii  libc6          2.28-10
ii  libdrm-common  2.4.97-1

libdrm2 recommends no packages.

libdrm2 suggests no packages.

-- no debconf information

Reply via email to