Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPI support: split omxplayer build option #792

Merged
merged 1 commit into from May 22, 2022

Conversation

cmitu
Copy link

@cmitu cmitu commented May 7, 2022

Modified the build options and source files to enable omxplayer for video previews only when the OMX option is used.
Updated the build instructions on RPI accordingly and added some notes about the deprecation of the BRCM GPU drivers in RasPI OS 'Bullseye'.

Previously, the RPI build option would be used to add both RPI specific audio settings/VRAM limits AND add omxplayer support. However, omxplayer does not work with the RPI KMS video driver (vc4-kms-v3d) or with a 64bit RPI system, due to the lack of OpenMAX (OMX) API support.
The new RasPi OS ('bullseye') has made the KMS driver the default [1] and doesn't offer omxplayer anymore (considered deprecated [2]).

Splitting the OMX support from the RPI option allows to set some default values for RPI systems without automatically adding the omxplayer bits.

[1] https://www.raspberrypi.com/news/raspberry-pi-os-debian-bullseye/
[2] popcornmix/omxplayer@1f1d0ccd65

For RetroPie, we'll have to adjust the build options accordingly for the package(s).

Modified the build options and source files to enable `omxplayer` for video previews only when the `OMX` option is used.
Updated the build instructions on RPI accordingly and added some notes about the deprecation of the BRCM GPU drivers in RasPI OS 'Bullseye'.

Previously, the `RPI` build option would be used to add both RPI specific audio settings/VRAM limits AND add `omxplayer` support. However, `omxplayer` does not work with the RPI KMS video driver (`vc4-kms-v3d`) or with a 64bit RPI system, due to the lack of OpenMAX (OMX) API support.
The new RasPi OS ('bullseye') has made the KMS driver the default [1] and doesn't offer `omxplayer` anymore (considered deprecated [2]).

Splitting the OMX support from the RPI option allows to set some default values for RPI systems without automatically adding the `omxplayer` bits.

[1] https://www.raspberrypi.com/news/raspberry-pi-os-debian-bullseye/
[2] popcornmix/omxplayer@1f1d0ccd65
cmitu added a commit to cmitu/RetroPie-Setup that referenced this pull request May 14, 2022
Starting with RaspiOS 'bullseye', the `omxplayer` RPI video player is no longer supported.
Use the new EmulationStation build option (`OMX`) to enable the `omxplayer` bits only for `dispmanx` platforms. The new options is added in RetroPie/EmulationStation#792. The `RPI` build option is used only for pre-setting some program settings on the Raspberry Pi platforms (audio/video memory).
@joolswills joolswills merged commit 6451038 into RetroPie:master May 22, 2022
@joolswills
Copy link
Member

Thanks.

GeorgeMcMullen pushed a commit to GeorgeMcMullen/RetroPie-Setup that referenced this pull request Sep 7, 2022
Starting with RaspiOS 'bullseye', the `omxplayer` RPI video player is no longer supported.
Use the new EmulationStation build option (`OMX`) to enable the `omxplayer` bits only for `dispmanx` platforms. The new options is added in RetroPie/EmulationStation#792. The `RPI` build option is used only for pre-setting some program settings on the Raspberry Pi platforms (audio/video memory).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants