I am using this Yocto 2.0 build by Congatec for their QSeven i.MX6 module. Xorg is starting fine with GPU support. X11 GPU test programs (e.g. tiger) are working fine. Then I built a plain Chromium 57 and copied it on top of this Yocto build. chrome://gpu shows that the GPU and WebGL are available, but in the log I see: drmOpenDevice: open result is 90, (OK) drmOpenByBusid: drmOpenMinor returns 90 drmOpenByBusid: drmGetBusid reports platform:Vivante GCCore:00 [20500:20522:0731/143818.506168:ERROR:simple_backend_impl.cc(137)] Failed to create directory: /mnt/sd/.cache/Default/Cache [20500:20522:0731/143818.506328:ERROR:simple_backend_impl.cc(585)] Simple Cache Backend: wrong file structure on disk: /mnt/sd/.cache/Default/Cache [20500:20523:0731/143818.507012:ERROR:cache_util.cc(134)] Unable to move cache folder /mnt/sd/.cache/Default/Cache to /mnt/sd/.cache/Default/old_Cache_000 [20500:20523:0731/143818.507130:ERROR:cache_creator.cc(133)] Unable to create cache [ 1] libGAL: Performing a software resolve! [20538:20538:0731/143818.655305:ERROR:gles2_cmd_decoder.cc(2416)] [GroupMarkerNotSet(crbug.com/242999)!:68DE4578]GL ERROR :GL_INVALID_ENUM : BackFramebuffer::Create: <- error from previous GL command [20538:20538:0731/143818.687284:ERROR:gl_context_glx.cc(240)] Couldn't make context current with X drawable. [20538:20538:0731/143818.691691:ERROR:gl_context_glx.cc(267)] glXMakeCurrent failed in ReleaseCurrent [20538:20538:0731/143818.692018:ERROR:gpu_command_buffer_stub.cc(628)] Failed to make context current. When I try to run a WebGL test, it fails.
Please ignore these lines in the log file: [20500:20522:0731/143818.506168:ERROR:simple_backend_impl.cc(137)] Failed to create directory: /mnt/sd/.cache/Default/Cache [20500:20522:0731/143818.506328:ERROR:simple_backend_impl.cc(585)] Simple Cache Backend: wrong file structure on disk: /mnt/sd/.cache/Default/Cache [20500:20523:0731/143818.507012:ERROR:cache_util.cc(134)] Unable to move cache folder /mnt/sd/.cache/Default/Cache to /mnt/sd/.cache/Default/old_Cache_000 [20500:20523:0731/143818.507130:ERROR:cache_creator.cc(133)] Unable to create cache This cache issue is fixed now, but the main problem resides.
Chromium command-line switch "--use-gl=egl" seems to solve the issue.