Skip to content

Commit

Permalink
disable X11 modesetting as it is broken on rotated displays
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Jul 23, 2022
1 parent 3492007 commit c585fa5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/games_and_emulators/retropie_auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,11 @@ _EOF_"
get_system
if [[ $jetson_model ]]; then
sudo mv /usr/lib/aarch64-linux-gnu/vlc/plugins/codec/libomxil_plugin.so /usr/lib/aarch64-linux-gnu/vlc/plugins/codec/libomxil_plugin.so.old
fi
fi

# hotfix for retropie runcommand.sh broken on rotated displays with X11 https://github.com/RetroPie/RetroPie-Setup/issues/3338
# fully disable modesetting on X11 (useless on Switch Handheld Display anyway as it has one mode)
sudo sed -i 's/^XRANDR="xrandr"/XRANDR="dummybin"/' /opt/retropie/supplementary/runcommand/runcommand.sh

if command -v dolphin-emu-nogui &> /dev/null; then
echo "Adding dolphin standalone to retropie"
Expand Down

0 comments on commit c585fa5

Please sign in to comment.