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

GPU rendering falls back to CPU on iMX8M-Mini

Open escherstair opened this issue 3 years ago • 6 comments

This is a follow-up of issue #1006

I tried to enable GPU usage for Chromium on iMX8M adding --enable-features=UseOzonePlatform --ozone-platform=wayland startup parameters. It seems working (because this CodeSandbox example runs) but the performance are poor. Profiling the execution I see that CPU usage is near to 100% and so it seems that (for some reasons) the processor falls back on CPU rendering. Can someone confirm that GPU hardware acceleration is fully supported on Chromium on iMX8M family?

escherstair avatar Apr 01 '22 08:04 escherstair

@thochstein is there a pending bbappend update from NXP side?

otavio avatar Apr 01 '22 12:04 otavio

I'm working on this now. We actually do coincidentally have some new VPU-based patches from our multimedia team.

thochstein avatar Apr 06 '22 15:04 thochstein

Thank you very much.

escherstair avatar Apr 11 '22 07:04 escherstair

I have this problem too. I am unable to play hw accelerated video beyond dunfell. However the official NXP board 8MMINILPD4-EVK with Linux 5.10.35_2.0.0 iMX validation release and it works well so must be something in FSLC. I see Weston has been seriously reworked too from dunfell.

Appreciate your work guys, thanks. I am open to help but you should throw some docs at me before I fully grasp this shit.

david-sterling avatar Apr 24 '22 00:04 david-sterling

There's a draft here: https://github.com/Freescale/meta-freescale/pull/1053

thochstein avatar Apr 25 '22 22:04 thochstein

@thochstein this patch is for which version chromium? thanks!

jwzl avatar May 17 '22 02:05 jwzl

We will be closing this issue since we have no plans to keep Chromium patches without support commitment.

otavio avatar Oct 12 '23 23:10 otavio