yuzu-launcher: use X11 if using NVIDIA GPU
This commit is contained in:
parent
2d901fe1b8
commit
d748ef03f1
2 changed files with 7 additions and 1 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 24f7c7d54fb3ec86b58a5f5a81de24e9f7b33ea8
|
||||
Subproject commit 80aa46759c01ab75dadfc8e7166cc1e2f06d2d62
|
|
@ -13,6 +13,12 @@ EOF
|
|||
zenity --warning --no-wrap --title "That's awkward ..." --text "$MESSAGE"
|
||||
}
|
||||
|
||||
# Use X11 if user has a NVIDIA card
|
||||
# see https://github.com/flathub/org.yuzu_emu.yuzu/issues/1309
|
||||
if test -c /dev/nvidiactl; then
|
||||
export QT_QPA_PLATFORM=xcb
|
||||
fi
|
||||
|
||||
# Discord RPC
|
||||
for i in {0..9}; do
|
||||
test -S "$XDG_RUNTIME_DIR"/"discord-ipc-$i" || ln -sf {app/com.discordapp.Discord,"$XDG_RUNTIME_DIR"}/"discord-ipc-$i";
|
||||
|
|
Loading…
Reference in a new issue