This patch selects a cursor plane compatible with the active CRTC instead of assuming the first cursor plane works. I based it off 0.19.1 because the master branch did not work for me at all. I start cog with COG_PLATFORM_DRM_CURSOR=1 and arguments --platform=drm --platform-params="renderer=gles" and the mouse cursor is rendered.
Hardware: Raspberry Pi 5 Model B Rev 1.0
OS: Debian GNU/Linux 13 (trixie)
cog_0.19.1.patch
This patch selects a cursor plane compatible with the active CRTC instead of assuming the first cursor plane works. I based it off 0.19.1 because the master branch did not work for me at all. I start cog with
COG_PLATFORM_DRM_CURSOR=1and arguments--platform=drm --platform-params="renderer=gles"and the mouse cursor is rendered.Hardware: Raspberry Pi 5 Model B Rev 1.0
OS: Debian GNU/Linux 13 (trixie)
cog_0.19.1.patch