RetroPie / RetroPie/RetroPie-Setup
Splashscreen (VLC) Fails to Display Video on GPi Case 2 (CM4) – Video Output Forced to HDMI
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 10.4k
- Forks
- 1.4k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 11
Description
Description:
After the omxplayer → VLC upgrade for splashscreens, the video output no longer appears on the GPi Case 2’s LCD (though audio now works). Testing suggests VLC defaults to HDMI output, ignoring the GPi Case’s custom display configuration.
Steps to Reproduce (GPi Case 2 + CM4, undocked):
- Fresh install RetroPie 4.8 via Raspberry Pi Imager.
- Run the RetroFlag GPi Case 2 script (switches between
config_hdmi.txt/config_lcd.txtdynamically). - Boot RetroPie, configure Wi-Fi, install the safe shutdown script (restores audio).
wget -O - "https://raw.githubusercontent.com/RetroFlag/GPiCase2-Script/main/retropie_install_gpi2.sh" | sudo bash
- Enable a video splashscreen (e.g.,
.mp4with audio). - Observe (Pre-Upgrade): Video plays on LCD, no audio. 5. Runretropie_setup.shto upgrade packages (triggers VLC transition). Reboot.- Observe (Post-Upgrade): No video on LCD, but audio works (likely via HDMI).
Expected Behavior:
Splashscreen video and audio should play on the GPi Case 2’s LCD.
Critical Context:
- Hardware: Retro Flag GPi Case 2 (Raspberry Pi CM4), used undocked (LCD only).
- Display Management:
- The RetroFlag script dynamically swaps
config.txtwith eitherconfig_hdmi.txt(docked) orconfig_lcd.txt(undocked). - Issue Hypothesis: VLC ignores the active
config_lcd.txtand defaults to HDMI for video output, while audio routes correctly.
- The RetroFlag script dynamically swaps
- Prior State:
omxplayer: Video worked on LCD (no audio).VLC: Audio works, but video fails (LCD unused).
User Note:
Not tested in docked mode. Issue likely stems from VLC’s output detection bypassing the GPi Case’s dynamic display switching.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the undocked GPi Case 2 behavior, then inspect retropie_setup.sh, retropie_install_gpi2.sh, and the config_hdmi.txt/config_lcd.txt switching described in the report. Compare the splashscreen setup before and after the omxplayer-to-VLC transition. Done means video and audio both play on the GPi LCD after the upgrade.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- raspberry-pi, shell
- Domain
- embedded-iot, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 43/100