diff --git a/project/yocto/build/conf/multiconfig/raspberrypi4-64.conf b/project/yocto/build/conf/multiconfig/raspberrypi4-64.conf index 0b0f4b3..027a3af 100644 --- a/project/yocto/build/conf/multiconfig/raspberrypi4-64.conf +++ b/project/yocto/build/conf/multiconfig/raspberrypi4-64.conf @@ -21,6 +21,19 @@ RPI_EXTRA_CONFIG:append = 'gpu_mem=512\n' # See https://forums.raspberrypi.com/viewtopic.php?t=254640#p1564389 RPI_EXTRA_CONFIG:append = 'config_hdmi_boost=4\n' +# +# Dummy HDMI to allow GPU acceleration for OpenGL rendering. +# Credits to: +# - https://github.com/raspberrypi/Raspberry-Pi-OS-64bit/issues/225#issuecomment-1199414677 +# - https://forums.raspberrypi.com/viewtopic.php?t=294588#p1778441 +RPI_EXTRA_CONFIG:append = 'framebuffer_width=1920 \n' +RPI_EXTRA_CONFIG:append = 'framebuffer_height=1080 \n' +RPI_EXTRA_CONFIG:append = 'hdmi_force_hotplug=1 \n' +RPI_EXTRA_CONFIG:append = 'hdmi_group=2 \n' +RPI_EXTRA_CONFIG:append = 'hdmi_mode=82 \n' +RPI_EXTRA_CONFIG:append = 'hdmi_drive=2 \n' +CMDLINE:append = " video=HDMI-A-1:1920x1080@60D" + # # Required to build linux-firmware-rpidistro, but may carry a legal risk. See # - https://meta-raspberrypi.readthedocs.io/en/latest/ipcompliance.html