Quantcast
Viewing all articles
Browse latest Browse all 4872

Troubleshooting • Unable to run zinc on the Raspberry Pi 4B using mesa 24

I cannot get zink to work on the raspberry pi 4B, running bullseye, on any versions past 22.2.5

Configured the build using the following :

Code:

sudo ~/.local/bin/meson \-Dplatforms=x11 \-Dvulkan-drivers=broadcom,swrast,virtio \-Dgallium-drivers=v3d,zink,vc4,swrast,llvmpipe,r300,softpipe \-Dglx=dri \-Degl=enabled \-Dvulkan-layers=device-select \-Dbuildtype=release ../
Running any application using the compiled binaries result in errors being printed before the app either exit or segfault.

for instance, glxinfo :

Code:

MESA_GL_VERSION_OVERRIDE=3.2 MESA_GLSL_VERSION_OVERRIDE=320 \__GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink \LIBGL_DEBUG=verbose ZINK_DEBUG=verbose MESA_DEBUG=1 glxinfo -B

Code:

WARNING: v3dv is neither a complete nor a conformant Vulkan implementation. Testing use only.glx: failed to create drisw screenfailed to load driver: zink
Seems to works, if i compile the latest version available in the normal bullseye repo.

Configure Logs for 24:

Code:

The Meson build systemVersion: 1.5.2Source dir: /home/pi/Documents/repos/C/mesaBuild dir: /home/pi/Documents/repos/C/mesa/buildBuild type: native buildProject name: mesaProject version: 24.3.0-develC compiler for the host machine: cc (gcc 10.2.1 "cc (Debian 10.2.1-6) 10.2.1 20210110")C linker for the host machine: cc ld.bfd 2.35.2C++ compiler for the host machine: c++ (gcc 10.2.1 "c++ (Debian 10.2.1-6) 10.2.1 20210110")C++ linker for the host machine: c++ ld.bfd 2.35.2Host machine cpu family: aarch64Host machine cpu: aarch64Checking for size of "void*" : 8 ../meson.build:173: WARNING: `gallium-drivers=swrast` is a deprecated alias for `gallium-drivers=softpipe,llvmpipe` and will be removed in version 25.0Checking if "-mtls-dialect=gnu2" runs: DID NOT COMPILEChecking if "-mtls-dialect=desc" runs: YESFound pkg-config: YES (/usr/bin/pkg-config) 0.29.2Run-time dependency libglvnd found: YES 1.7.0Dependency vdpau skipped: feature gallium-vdpau disabledProgram glslangValidator found: YES (/usr/bin/glslangValidator)Dependency libva skipped: feature gallium-va disabledProgram python3 found: YES (/usr/bin/python3)Fetching value of define "ETIME" : 62 Compiler for C supports arguments -gsplit-dwarf: YES Compiler for C supports link arguments -Wl,--gdb-index: NO Checking for function "bswap32" : YES Checking for function "bswap64" : YES Checking for function "clz" : YES Checking for function "clzll" : YES Checking for function "ctz" : YES Checking for function "expect" : YES Checking for function "ffs" : YES Checking for function "ffsll" : YES Checking for function "popcount" : YES Checking for function "popcountll" : YES Checking for function "unreachable" : YES Checking for function "types_compatible_p" : YES Compiler for C supports function attribute const: YES Compiler for C supports function attribute flatten: YES Compiler for C supports function attribute malloc: YES Compiler for C supports function attribute pure: YES Compiler for C supports function attribute unused: YES Compiler for C supports function attribute warn_unused_result: YES Compiler for C supports function attribute weak: YES Compiler for C supports function attribute format: YES Compiler for C supports function attribute packed: YES Compiler for C supports function attribute returns_nonnull: YES Compiler for C supports function attribute alias: YES Compiler for C supports function attribute noreturn: YES Compiler for C supports function attribute optimize: YES Compiler for C supports function attribute visibility:hidden: YES Checking if "__uint128_t" compiles: YES Checking for function "reallocarray" : YES Checking for function "fmemopen" : YES Checking if "gc-sections" : links: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=empty-body: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Wimplicit-fallthrough: YES Compiler for C supports arguments -Wmisleading-indentation: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-format-truncation: YES Compiler for C supports arguments -Wno-nonnull-compare: YES Compiler for C supports arguments -fno-math-errno: YES Compiler for C supports arguments -fno-trapping-math: YES Compiler for C supports arguments -Qunused-arguments: NO Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -Wno-unknown-pragmas: YES Compiler for C supports arguments -Wno-microsoft-enum-value: NO Compiler for C supports arguments -Wno-unused-function: YES Compiler for C supports arguments -Werror=format: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Werror=thread-safety: NO Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Compiler for C supports arguments -Wno-unused-variable: YES Compiler for C supports arguments -Wno-unused-but-set-variable: YES Compiler for C supports arguments /wd4189: NO Compiler for C++ supports arguments -Werror=return-type: YES Compiler for C++ supports arguments -Werror=empty-body: YES Compiler for C++ supports arguments -Wmisleading-indentation: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-format-truncation: YES Compiler for C++ supports arguments -fno-math-errno: YES Compiler for C++ supports arguments -fno-trapping-math: YES Compiler for C++ supports arguments -Qunused-arguments: NO Compiler for C++ supports arguments -flifetime-dse=1: YES Compiler for C++ supports arguments -Wno-unknown-pragmas: YES Compiler for C++ supports arguments -Wno-microsoft-enum-value: NO Compiler for C++ supports arguments -Werror=format: YES Compiler for C++ supports arguments -Wformat-security: YES Compiler for C++ supports arguments -ffunction-sections: YES Compiler for C++ supports arguments -fdata-sections: YES Compiler for C++ supports arguments -Wno-unused-variable: YES Compiler for C++ supports arguments -Wno-unused-but-set-variable: YES Compiler for C++ supports arguments /wd4189: NO Compiler for C supports arguments -Wno-override-init: YES Compiler for C supports arguments -Wno-initializer-overrides: NO Compiler for C supports arguments -Werror=pointer-arith: YES Compiler for C supports arguments -Werror=vla: YES Compiler for C supports arguments -Werror=gnu-empty-initializer: NO Compiler for C++ supports arguments -Werror=pointer-arith: YES Compiler for C++ supports arguments -Werror=vla: YES Compiler for C++ supports arguments -Werror=gnu-empty-initializer: NO Checking for function "__builtin_ia32_clflushopt" : NO Checking if "GCC atomic builtins" compiles: YES Checking if "GCC atomic builtins required -latomic" : links: YES Checking if "GCC 64bit atomics" with dependency : links: YES Library ws2_32 found: NOHeader "sys/sysmacros.h" has symbol "major" : YES Header "sys/sysmacros.h" has symbol "minor" : YES Header "sys/sysmacros.h" has symbol "makedev" : YES Header "sys/mkdev.h" has symbol "major" : NO Check usable header "sched.h" : YES Checking for function "sched_getaffinity" : YES Check usable header "xlocale.h" : NO Check usable header "linux/futex.h" : YES Check usable header "endian.h" : YES Check usable header "dlfcn.h" : YES Check usable header "sys/shm.h" : YES Check usable header "cet.h" : NO Check usable header "pthread_np.h" : NO Check usable header "sys/inotify.h" : YES Check usable header "linux/udmabuf.h" : YES Checking for function "strtof" : YES Checking for function "mkostemp" : YES Checking for function "memfd_create" : YES Checking for function "random_r" : YES Checking for function "flock" : YES Checking for function "strtok_r" : YES Checking for function "getrandom" : YES Checking for function "qsort_s" : NO Checking for function "posix_fallocate" : YES Checking for function "secure_getenv" : YES Checking if "GNU qsort_r" : links: YES Header "time.h" has symbol "struct timespec" : YES Checking for function "thrd_create" : NO Header "errno.h" has symbol "program_invocation_name" : YES Header "math.h" has symbol "issignaling" : YES Checking for function "posix_memalign" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking if "strtod has locale support" : links: YES Checking if "Bsymbolic" : links: YES Checking if "version-script" : links: YES Checking if "dynamic-list" : links: YES Compiler for C supports link arguments -Wl,--build-id=sha1: YES Checking for function "dlopen" : NO Library dl found: YESChecking for function "dladdr" with dependency -ldl: YES Checking for function "dl_iterate_phdr" : YES Checking for function "clock_gettime" : YES Run-time dependency zlib found: YES 1.2.11Run-time dependency libzstd found: YES 1.4.8Cleaning... 0 files.Run-time dependency threads found: YESChecking for function "pthread_setaffinity_np" with dependency threads: YES Run-time dependency expat found: YES 2.2.10Library m found: YESRun-time dependency libdrm_radeon found: YES 2.4.109Run-time dependency libdrm found: YES 2.4.109Run-time dependency libudev found: YES 247llvm-config found: YES (/usr/bin/llvm-config) 11.0.1Run-time dependency LLVM (modules: bitwriter, core, engine, executionengine, instcombine, mcdisassembler, mcjit, native, scalaropts, transformutils, coroutines, lto) found: YES 11.0.1Run-time dependency spirv-tools found: YES 2024.4.1Found CMake: /usr/local/bin/cmake (3.30.20241005)Run-time dependency lua54 found: NO (tried pkgconfig and cmake)Run-time dependency lua5.4 found: NO (tried pkgconfig and cmake)Run-time dependency lua-5.4 found: NO (tried pkgconfig and cmake)Run-time dependency lua53 found: NO (tried pkgconfig and cmake)Run-time dependency lua5.3 found: NO (tried pkgconfig and cmake)Run-time dependency lua-5.3 found: NO (tried pkgconfig and cmake)Run-time dependency lua found: NO (tried pkgconfig and cmake)Run-time dependency libelf found: YES 0.183Run-time dependency valgrind found: YES 3.16.1Program bison found: YES (/usr/bin/bison)Program bison found: YES 3.7.5 3.7.5 (/usr/bin/bison)Program flex found: YES (/usr/bin/flex)Run-time dependency libunwind found: YES 1.3.2Run-time dependency xcb found: YES 1.14Run-time dependency xcb-randr found: YES 1.14Run-time dependency x11 found: YES 1.7.2Run-time dependency xext found: YES 1.3.3Run-time dependency xfixes found: YES 5.0.3Run-time dependency xcb-glx found: YES 1.14Run-time dependency xcb-shm found: YES 1.14Dependency xcb found: YES 1.14 (cached)Run-time dependency xcb-keysyms found: YES 0.4.0Run-time dependency x11-xcb found: YES 1.7.2Run-time dependency xcb-dri2 found: YES 1.14Dependency xcb-dri2 found: YES 1.14 (cached)Run-time dependency xcb-dri3 found: YES 1.14Run-time dependency xcb-present found: YES 1.14Dependency xcb-shm found: YES 1.14 (cached)Run-time dependency xcb-sync found: YES 1.14Run-time dependency xshmfence found: YES 1.3Run-time dependency glproto found: YES 1.4.17Run-time dependency dri2proto found: YES 2.8Run-time dependency xxf86vm found: YES 1.1.4Run-time dependency xcb-xfixes found: YES 1.14Dependency xcb-randr found: YES 1.14 (cached)Run-time dependency xrandr found: YES 1.5.1Library sensors found: YESProgram nm found: YES (/usr/bin/nm)Program symbols-check.py found: YES (/usr/bin/python3 /home/pi/Documents/repos/C/mesa/bin/symbols-check.py)Program install_megadrivers.py found: YES (/usr/bin/python3 /home/pi/Documents/repos/C/mesa/bin/install_megadrivers.py)Compiler for C supports arguments -Wno-misleading-indentation: YES Program decode.py found: YES (/home/pi/Documents/repos/C/mesa/src/compiler/isaspec/decode.py)Program encode.py found: YES (/home/pi/Documents/repos/C/mesa/src/compiler/isaspec/encode.py)Compiler for C supports link arguments -Wl,-Bsymbolic-functions: YES Compiler for C supports link arguments -Wl,-z,relro: YES Run-time dependency v3d_hw found: NO (tried pkgconfig and cmake)Compiler for C supports arguments -Werror=switch: YES Run-time dependency simpenrose found: NO (tried pkgconfig and cmake)Compiler for C supports link arguments -Wl,--default-symver: YES Configuring dri.sym using configuration../src/gallium/targets/dri/meson.build:28: WARNING: The variable(s) 'va_driver_init', 'vdp_imp_device_create_x11' in the input file 'src/gallium/targets/dri/dri.sym.in' are not present in the given configuration data.Checking for function "mincore" : YES Configuring 50_mesa.json using configurationConfiguring dri.sym using configurationProgram ln found: YES (/usr/bin/ln)Program sphinx-build skipped: feature html-docs disabledBuild targets in project: 232mesa 24.3.0-devel  Directories    prefix                       : /usr/local    libdir                       : lib/aarch64-linux-gnu    includedir                   : include  Common C and C++ arguments    c_cpp_args                   : -mtls-dialect=desc  OpenGL    OpenGL                       : YES    ES1                          : YES    ES2                          : YES    Shared glapi                 : YES    GLVND                        : YES  DRI    Platform                     : drm    Driver dir                   : /usr/local/lib/aarch64-linux-gnu/dri  GLX    Enabled                      : YES    Provider                     : dri  EGL    Enabled                      : YES    Drivers                      : builtin:egl_dri2 builtin:egl_dri3    Platforms                    : x11 surfaceless drm xcb  GBM    Enabled                      : YES    Backends path                : /usr/local/lib/aarch64-linux-gnu/gbm  Vulkan    Drivers                      : broadcom swrast virtio    Platforms                    : x11 surfaceless drm xcb    ICD dir                      : share/vulkan/icd.d    Layers                       : device-select    Intel Ray tracing            : NO  Video    Codecs                       : av1dec av1enc vp9dec    APIs                         : vulkan  LLVM    Enabled                      : YES    Version                      : 11.0.1  Gallium    Enabled                      : YES    Drivers                      : v3d zink vc4 swrast llvmpipe r300 softpipe    Platforms                    : x11 surfaceless drm xcb    Frontends                    : mesa    Off-screen rendering (OSMesa): NO    HUD lm-sensors               : YES  Perfetto    Enabled                      : NO  Teflon (TensorFlow Lite delegate)    Enabled                      : NO  User defined options    buildtype                    : release    egl                          : enabled    gallium-drivers              : v3d,zink,vc4,swrast,llvmpipe,r300,softpipe    glx                          : dri    platforms                    : x11    vulkan-drivers               : broadcom,swrast,virtio    vulkan-layers                : device-selectFound ninja-1.10.1 at /usr/bin/ninjaWARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

Statistics: Posted by Gess1t — Wed Oct 23, 2024 3:01 pm



Viewing all articles
Browse latest Browse all 4872

Trending Articles