Chrome and Chromium broken on render offload

Hello! It’s been some months now since Chromium decided not to work anymore on nVidia. For example, if I run it with:

prime-run chromium –-ignore-gpu-blocklist –-enable-gpu-rasterization –-use-gl=desktop

I get:

[3444:3444:0416/195339.542446:ERROR:angle_platform_impl.cc(43)] renderergl_utils.cpp:2194 (ClearErrors): Preexisting GL error 0x00000507 as of ../../third_party/angle/src/libANGLE/renderer/gl/TextureGL.cpp, setImageHelper:256.

I tried many other combinations but without any luck. It always fallbacks to software when run with prime-run. Firefox instead seems to be working properly. Any idea if there is any way to run Chromium (or Chrome) on nVidia with prime setup? I found a few threads, but those were not recent.
Thanks.

Can at least confirm, broken on render offload.
Please change thread title accordingly.

Sorry, I’m not sure I got your message. Is the title what you expected? Does “can at least confirm” mean you reproduce the same behavior?
Thank you.

Yes, I can reproduce it, just found the tile a bit misleading as ‘prime’ can mean many things. ‘render offload’ is more precise.

I know that ANGLE is a translation layer from OpenGL to Direct 3D, so I guess we should not even get here. Do you think this should be reported to nVidia or to Chromium?

I guess this should also be reported to chromium bug tracker.

Hello, I would like to correct what I reported above. It seems that copy-paste operations failed at some point, and a symbol got replaced with another in the command above. This is the correct command that I entered:

prime-run chromium --ignore-gpu-blocklist --enable-gpu-rasterization --use-gl=desktop
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[162577:162577:0418/134313.475216:ERROR:gpu_init.cc(426)] Passthrough is not supported, GL is egl

and these are the logs that I get. Note that one hyphen in the command was wrong in my first message. In chrome://gpu I see:

GpuProcessHost: The GPU process crashed!
GpuProcessHost: The GPU process crashed!
GpuProcessHost: The GPU process crashed!
[205668:205668:0418/205422.689214:ERROR:gpu_init.cc(426)] : Passthrough is not supported, GL is egl

and under “problems detected” I see:

* Gpu compositing has been disabled, either via blocklist, about:flags or the command line. The browser will fall back to software compositing and hardware acceleration will be unavailable.
*Disabled Features: gpu_compositing*
* Accelerated video decode has been disabled, either via blocklist, about:flags or the command line.
*Disabled Features: video_decode*

I’ll also submit a report and see if someone has a solution.
Thanks.