Skip to content

Commit

Permalink
v8.17
Browse files Browse the repository at this point in the history
- DietPi-Software | Moonlight Qt: Install libgl1, needed for streaming
  • Loading branch information
MichaIng committed Apr 29, 2023
1 parent cce1e9f commit 3b9a820
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -11183,8 +11183,8 @@ _EOF_
G_EXEC eval "echo 'deb https://dl.cloudsmith.io/public/moonlight-game-streaming/moonlight-qt/deb/raspbian/ $G_DISTRO_NAME main' > /etc/apt/sources.list.d/dietpi-moonlight-qt.list"
G_AGUP

# Install
G_AGI moonlight-qt
# Install: libgl1 required, else start from console prints "SDL Error: Can't load EGL/GL library on window creation.", the GUI says it cannot find a video decoder and streaming does not start.
G_AGI moonlight-qt libgl1

# Video setup: https://github.com/moonlight-stream/moonlight-docs/wiki/Installing-Moonlight-Qt-on-Raspberry-Pi-4#hevc-and-hdr-support
# - Usually requires: vc4-fkms-v3d
Expand Down Expand Up @@ -12828,6 +12828,7 @@ If no WireGuard (auto)start is included, but you require it, please do the follo

if To_Uninstall 208 # Moonlight Qt
then
dpkg-query -s 'libgl1' &> /dev/null && G_EXEC apt-mark auto libgl1
G_AGP moonlight-qt
[[ -f '/etc/apt/sources.list.d/dietpi-moonlight-qt.list' ]] && G_EXEC rm /etc/apt/sources.list.d/dietpi-moonlight-qt.list
[[ -f '/etc/apt/trusted.gpg.d/dietpi-moonlight-qt.gpg' ]] && G_EXEC rm /etc/apt/trusted.gpg.d/dietpi-moonlight-qt.gpg
Expand Down

0 comments on commit 3b9a820

Please sign in to comment.