Open tianjianh opened 2 months ago
At present, all versions enable the Panforst driver already, Panforst is normally used, but because the use of sunxi-drm, mesa driver does not support this new drm driver, you need to manually compile sunxi-drm_dri.so to support it. Patches located at: https://github.com/AvaotaSBC/buildroot-external-avaota/tree/main/patches. The buildroot is supported with GPU + Mesa driver
Thank you for your quick response! Now I know the reason why mesa complains about the driver.
Could you please elaborate a bit more on how to manually compile sunxi drm? Should I just apply the patches to the source and run the build script? Sorry I am a newbie and don’t have much experience.
By the way, I think the default config does not turn on the Panfrost in the driver section? Should I turn it on during the built or leave it off?
Thank you again!
Accidentally close the issue, reopen it.
We already enable Panforst driver with config
CONFIG_AW_DRM_PANFROST=y
This version of panforst add support fot Mali-G57 and V-F Table
source: https://github.com/AvaotaSBC/linux/tree/main/bsp/drivers/gpu/panfrost
You can try to build buildroot and copy the mesa driver to AvaotaOS, and enable dlcd0
in dts which will enable the GPU support, enable dlcd0
is a bug for right now, otherwise the panforst will register as /dev/dri/card0
and cause error
vai ter suporte pra Mali-G68
@SamulKyull Thanks for the information. When I try to build the buildroot with default config, I get the following error:
_ERROR: Feature "opengles2": Forcing to "ON" breaks its condition: NOT WIN32 AND NOT WATCHOS AND NOT QT_FEATURE_opengl_desktop AND GLESv2_FOUND Condition values dump: WIN32 = "" WATCHOS = "0" QT_FEATURE_opengl_desktop = "ON" GLESv2FOUND = "TRUE"
Could you please help? There seems to be a conflict between opengl and gles. Thank you!
try to disable QT_FEATURE_opengl_desktop package in buildroot
Do we have any compiled images with panfrost driver enabled or any instructions on how to compile with it?
I try to enable it in the linux config and then compile but always get errors.
Thank you.