meta-browser icon indicating copy to clipboard operation
meta-browser copied to clipboard

EGL Driver message (Error) eglCreateContext: dri2_create_context

Open MastaG opened this issue 2 years ago • 1 comments

I'm trying to run chromium-ozone-wayland on my Odroid device which uses the mesa panfrost driver. I'm running it with: --use-gl=egl --ozone-platform=wayland --disable-gpu-sandbox --test-type --ignore-gpu-blocklist --ignore-gpu-blacklist --enable-gpu-rasterization --enable-accelerated-video-decode --enable-zero-copy --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,RawDraw,CanvasOopRasterization,WebRTCPipeWireCapturer

According to the screenshot it's mostly accelerated: Schermafdruk van 2022-06-27 16-37-14

But I'm getting these dri2_create_context errors all the time:

LIBGL_DEBUG=verbose chromium
libGL: Can't open configuration file /etc/drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /home/odroid/.drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /etc/drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /home/odroid/.drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /etc/drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /home/odroid/.drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /etc/drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /home/odroid/.drirc: Bestand of map bestaat niet.
drmOpenDevice: node name is /dev/dri/renderD128
drmOpenDevice: open result is 11, (OK)
drmOpenDevice: node name is /dev/dri/renderD129
drmOpenDevice: open result is 11, (OK)
drmGetBusid returned 'NULL'
libGL: Can't open configuration file /etc/drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /home/odroid/.drirc: Bestand of map bestaat niet.
[2721:2721:0627/163747.821094:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
[2721:2721:0627/163747.837114:ERROR:gpu_init.cc(481)] Passthrough is not supported, GL is egl, ANGLE is 
[2721:2721:0627/163747.918501:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
libGL: Can't open configuration file /etc/drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /home/odroid/.drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /etc/drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /home/odroid/.drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /etc/drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /home/odroid/.drirc: Bestand of map bestaat niet.
drmOpenDevice: node name is /dev/dri/renderD128
drmOpenDevice: open result is 25, (OK)
drmOpenDevice: node name is /dev/dri/renderD129
drmOpenDevice: open result is 25, (OK)
drmGetBusid returned 'NULL'
libGL: Can't open configuration file /etc/drirc: Bestand of map bestaat niet.
libGL: Can't open configuration file /home/odroid/.drirc: Bestand of map bestaat niet.
[2677:2677:0627/163748.172116:ERROR:cursor_loader.cc(116)] Failed to load a platform cursor of type kNull
[2721:2721:0627/163748.922093:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
[2721:2721:0627/163749.698815:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
[2721:2721:0627/163753.452785:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
[2721:2721:0627/163812.570700:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
...

Any ideas?

MastaG avatar Jun 27 '22 14:06 MastaG

Here's some verbose logging with EGL_LOG_LEVEL set to debug:

$ EGL_LOG_LEVEL=debug chromium
libEGL debug: using driver exynos for 9

libEGL debug: MESA-LOADER: device is not located on the PCI bus

libEGL debug: using driver exynos for 9

libEGL debug: MESA-LOADER: dlopen(/usr/lib/dri/exynos_dri.so)

libEGL debug: found extension `DRI_Core'
libEGL info: found extension DRI_Core version 2
libEGL debug: found extension `DRI_IMAGE_DRIVER'
libEGL info: found extension DRI_IMAGE_DRIVER version 1
libEGL debug: found extension `DRI_DRI2'
libEGL debug: found extension `DRI_ConfigOptions'
libEGL debug: found extension `DRI_DriverVtable'
libEGL debug: found extension `DRI_Core'
libEGL debug: found extension `DRI_IMAGE_DRIVER'
libEGL debug: found extension `DRI_DRI2'
libEGL debug: found extension `DRI_ConfigOptions'
libEGL info: found extension DRI_ConfigOptions version 2
libEGL debug: found extension `DRI_DriverVtable'
[4413:4413:0627/165743.242537:ERROR:cursor_loader.cc(116)] Failed to load a platform cursor of type kNull
libEGL debug: found extension `DRI_TexBuffer'
libEGL info: found extension DRI_TexBuffer version 2
libEGL debug: found extension `DRI2_Flush'
libEGL info: found extension DRI2_Flush version 4
libEGL debug: found extension `DRI_RENDERER_QUERY'
libEGL debug: found extension `DRI_CONFIG_QUERY'
libEGL debug: found extension `DRI2_Throttle'
libEGL debug: found extension `DRI2_Fence'
libEGL debug: found extension `DRI2_Interop'
libEGL debug: found extension `DRI2_Blob'
libEGL debug: found extension `DRI_MutableRenderBufferDriver'
libEGL debug: found extension `DRI_IMAGE'
libEGL info: found extension DRI_IMAGE version 21
libEGL debug: found extension `DRI2_BufferDamage'
libEGL debug: found extension `DRI_TexBuffer'
libEGL debug: found extension `DRI2_Flush'
libEGL debug: found extension `DRI_RENDERER_QUERY'
libEGL info: found extension DRI_RENDERER_QUERY version 1
libEGL debug: found extension `DRI_CONFIG_QUERY'
libEGL info: found extension DRI_CONFIG_QUERY version 2
libEGL debug: found extension `DRI2_Throttle'
libEGL debug: found extension `DRI2_Fence'
libEGL info: found extension DRI2_Fence version 2
libEGL debug: found extension `DRI2_Interop'
libEGL info: found extension DRI2_Interop version 1
libEGL debug: found extension `DRI2_Blob'
libEGL info: found extension DRI2_Blob version 1
libEGL debug: found extension `DRI_MutableRenderBufferDriver'
libEGL info: found extension DRI_MutableRenderBufferDriver version 1
libEGL debug: found extension `DRI_IMAGE'
libEGL info: found extension DRI_IMAGE version 21
libEGL debug: found extension `DRI2_BufferDamage'
libEGL info: found extension DRI2_BufferDamage version 1
libEGL debug: did not find optional extension DRI_Robustness version 1
libEGL debug: did not find optional extension DRI_FlushControl version 1
libEGL debug: did not find optional extension DRI_Kopper version 1
libEGL debug: No DRI config supports native format XBGR2101010
libEGL debug: No DRI config supports native format ABGR2101010
libEGL debug: No DRI config supports native format ABGR8888
libEGL debug: No DRI config supports native format XBGR8888
[4455:4455:0627/165743.262523:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
libEGL debug: EGL user error 0x3009 (EGL_BAD_MATCH) in eglCreateContext: dri2_create_context

[4455:4455:0627/165743.275960:ERROR:gpu_init.cc(481)] Passthrough is not supported, GL is egl, ANGLE is 
[4455:4455:0627/165743.319435:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
libEGL debug: EGL user error 0x3009 (EGL_BAD_MATCH) in eglCreateContext: dri2_create_context

[4455:4455:0627/165743.692650:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
libEGL debug: EGL user error 0x3009 (EGL_BAD_MATCH) in eglCreateContext: dri2_create_context

[4455:4455:0627/165744.147745:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
libEGL debug: EGL user error 0x3009 (EGL_BAD_MATCH) in eglCreateContext: dri2_create_context

[4455:4455:0627/165746.947643:ERROR:gl_surface_egl.cc(837)] EGL Driver message (Error) eglCreateContext: dri2_create_context
libEGL debug: EGL user error 0x3009 (EGL_BAD_MATCH) in eglCreateContext: dri2_create_context

MastaG avatar Jun 27 '22 14:06 MastaG