Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
yuzu-launcher.sh: use Wayland even on NVIDIA GPU
Browse files Browse the repository at this point in the history
This reverts commit d748ef0.
  • Loading branch information
liushuyu committed Jan 6, 2024
1 parent 1720f97 commit f7450e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion shared-modules
6 changes: 0 additions & 6 deletions yuzu-launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ 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";
Expand Down

0 comments on commit f7450e3

Please sign in to comment.