Etnaviv: eglCreateWindowSurface fails with glmark2

Fabio Estevam festevam at gmail.com
Mon Sep 21 12:41:24 UTC 2020


Hi,

I am trying to run glmark2 and I am getting the following error on an
imx6qp-sabresd with kernel 5.8.4:

# glmark2-es2-drm -d
Debug: Using Udev to detect the right DRM node to use
Debug: Looking for the main GPU DRM node...
Debug: Not found!
Debug: Looking for a concrete GPU DRM node...
Debug: Success!
Debug: Trying to use the DRM node /dev/dri/card0
Debug: Success!
Debug: Using eglGetPlatformDisplayEXT()
Debug: Got 6 suitable EGLConfigs:
Debug:
Debug:     cfg buf  rgb  colorbuffer dp st config native support surface sample
Debug:      id  sz  lum  r  g  b  a  th cl caveat render  visid    type  buf ns
Debug: ------------------------------------------------------------------------
Debug:     0x2  32  rgb 10 10 10  2  16  0   None   true0x30334241
0x4   0  0
Debug:     0xa  32  rgb  8  8  8  8  16  0   None   true0x34325241
0x4   0  0
Debug:     0x3  32  rgb 10 10 10  2  24  0   None   true0x30334241
0x4   0  0
Debug:     0xb  32  rgb  8  8  8  8  24  0   None   true0x34325241
0x4   0  0
Debug:     0x4  32  rgb 10 10 10  2  24  8   None   true0x30334241
0x4   0  0
Debug:     0xc  32  rgb  8  8  8  8  24  8   None   true0x34325241
0x4   0  0
Debug:
Debug: Best EGLConfig ID: 0x3
Error: eglCreateWindowSurface failed with error: 0x3009
Error: eglCreateWindowSurface failed with error: 0x3009
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas

kmscube runs without issues.

glmark2-es2-drm used to work fine with older kernel/Mesa versions.

Does anyone have any ideas?

Thanks,

Fabio Estevam


More information about the etnaviv mailing list