Still no 3D for me :( - libGL error: failed to authenticate magic 1
Daniel Kasak
d.j.kasak.dk at gmail.com
Sat Oct 28 01:52:28 UTC 2017
Hi all. I've been trying on+off for the past couple of months to get
3D acceleration working on my CuBox i4Pro. I'm getting more confident
that this is an issue with the drivers and not my particular config
... but I'm happy to be proved wrong.
I'm able to get X and the xf86-video-armada drivers working, and
according the the Xorg.0.log, everything is working fine. But when I
run an app that wants a GPU, I get:
libGL error: failed to authenticate magic 1
libGL error: failed to load driver: etnaviv
My current environment includes:
kernel - 4.13.7
mesa - git, built in the past week
libdrm - 2.4.85 with --enable-etnaviv-experimental-api
libdrm-armada - git, built in the past week, from:
http://git.armlinux.org.uk/cgit/libdrm-armada.git
libetnaviv - git, git, built in the past week, from
git://github.com/etnaviv/etna_viv
galcore_header - git, built in the past week, from
https://github.com/etnaviv/galcore_headers.git
xf86-video-armada - git, built in the past week, from
http://git.arm.linux.org.uk/cgit/xf86-video-armada.git (
unstable-devel branch )
The above was built via Gentoo's portage ( if there are issues with
the build setup & dependencies, I'd like to figure out what they are
and submit patches so others running Gentoo don't have these kinds of
issues ). I've carefully cross-checked the sources being used by
portage with the instructions for building - the only difference is
the libdrm, which is omitted from the build instructions, but which
portage insists on building before it builds xf86-video-armada.
glxinfo at the moment:
---
name of display: :0.0
libGL error: failed to authenticate magic 1
libGL error: failed to load driver: etnaviv
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event,
GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
GLX_SGI_make_current_read, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,
GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float,
GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context,
GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,
GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 4.0, 128 bits) (0xffffffff)
Version: 17.3.0
Accelerated: no
Video memory: 2014MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 4.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa
17.3.0-devel (git-0fdd531457)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
... etc
---
Xorg.log:
https://tesla.duckdns.org/downloads/Xorg.0.log
dmesg:
https://tesla.duckdns.org/downloads/dmesg.txt
strace glxinfo:
https://tesla.duckdns.org/downloads/glxinfo.strace
Please help me figure out what's wrong ...
Dan
More information about the etnaviv
mailing list