RetroPie / RetroPie-Setup

Shell script to set up a Raspberry Pi/Odroid/PC with RetroArch emulator and various cores
Other
10.04k stars 1.38k forks source link

system: handle Pi5's xorg configuration #3882

Closed cmitu closed 7 months ago

cmitu commented 7 months ago

Pi5 needs an additional X11 configuration stanza for xorg-xserver to start properly. This configuration is handled by the gldriver-test package, which installs a couple of services that create the needed configuration files based on the displays connected to the board (HDMI/DSI/etc.). Technically, once the services have run the package can be removed IIF the type of display connection will not change (i.e. will always use HDMI or DSI, etc.)

Since this package is only installed with raspberrrypi-ui-mods (i.e. the RaspiOS desktop), let's install it by default on Pi5. The only dependency for the package is raspi-config, which is already present on any RaspiOS installation.