You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a Raspberry Pi Compute Module 4 in a RetroFlag GPi Case 2 and the official RPi4-GPICase2 5.0 image in the default configuration :
When the system is connected to its dock, with the dock's HDMI output connected to a monitor, the internal monitor turns off (correctly) and the external monitor only displays the flower screen, in a 640x480 box in the top left.
It is expected RetroArch shows up on the external monitor instead ; or at the very least if it doesn't switch automatically the internal monitor should not be turned off, as this leaves the user without a way to interact with the system.
Setting video_monitor_index="2" in retroarch.cfg fixes it, but that breaks the internal monitor (only shows the flower) when not docked.
This happens regardless of if the system is started while already connected to the dock or if it is hotplugged. (On the plus side, the latter case is technically an improvement over the old switching scripts that didn't support hotplugging at all... But it'd be better if it actually worked :D )
I investigated a bit more and there doesn't seem to be a way to detect whether an external monitor is plugged in or not. In particular /sys/class/drm/card0/card0-HDMI-A-1/status is always connected even while not on the dock, the edid is also always the same regardless of what monitor is connected or if there is one at all.
The dock itself, however, is detectable as a USB hub with id 1a40:0101. One such hub is always present and a second one is added when docked.
I've come up with a workaround that changes the config and restarts RetroArch when the hub is added or removed. Definitely not a great way to do it, but I couldn't find anything better.
Using a Raspberry Pi Compute Module 4 in a RetroFlag GPi Case 2 and the official RPi4-GPICase2 5.0 image in the default configuration :
When the system is connected to its dock, with the dock's HDMI output connected to a monitor, the internal monitor turns off (correctly) and the external monitor only displays the flower screen, in a 640x480 box in the top left.
It is expected RetroArch shows up on the external monitor instead ; or at the very least if it doesn't switch automatically the internal monitor should not be turned off, as this leaves the user without a way to interact with the system.
Setting
video_monitor_index="2"
inretroarch.cfg
fixes it, but that breaks the internal monitor (only shows the flower) when not docked.This happens regardless of if the system is started while already connected to the dock or if it is hotplugged. (On the plus side, the latter case is technically an improvement over the old switching scripts that didn't support hotplugging at all... But it'd be better if it actually worked :D )
Logs don't seem to have anything interesting, still including them just in case:
retroarch -v with the bug
retroarch -v with retroarch.cfg workaround applied
The text was updated successfully, but these errors were encountered: