Re: [Mesa-dev] Etnaviv: eglCreateWindowSurface fails with glmark2
Hi Lucas, On Mon, Sep 21, 2020 at 9:59 AM Lucas Stach wrote: > Try starting glmark with --visual-config red=8 as a workaround to get a > scanout capable visual. You are right: passing --visual-config red=8 works with the old version of glmark2. The latest glmark2 version works without passing any extra parameter. I believe this has been fixed by this glmark2 commit: https://github.com/glmark2/glmark2/commit/c50755b5a19370fef5b865c9a4a9eeb0bbe56a8f Thanks for your help! ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] Etnaviv: eglCreateWindowSurface fails with glmark2
Hi Lucas, On Mon, Sep 21, 2020 at 9:59 AM Lucas Stach wrote: > Since a while Mesa offers 10bit EGL configs, which have the highest > priority and thus get selected if the application doesn't care about > bit depth. imx-drm is unable to scanout those formats. > > Try starting glmark with --visual-config red=8 as a workaround to get a > scanout capable visual. Thanks for the suggestion. I bumped the glmark2 version to the latest one in master and now it runs fine without any extra parameters. Thanks, Fabio Estevam ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] Etnaviv: eglCreateWindowSurface fails with glmark2
Hi Fabio, On Mo, 2020-09-21 at 09:41 -0300, Fabio Estevam wrote: > 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 visidtype 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? Since a while Mesa offers 10bit EGL configs, which have the highest priority and thus get selected if the application doesn't care about bit depth. imx-drm is unable to scanout those formats. Try starting glmark with --visual-config red=8 as a workaround to get a scanout capable visual. Regards, Lucas ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] Etnaviv: eglCreateWindowSurface fails with glmark2
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 visidtype 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 ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev