Quick setup for Proton GE on AMD & Nvidia cards. Run it real quick with this: curl https://gist.githubusercontent.com/konsumer/56b0d05efc9a8296409b9da3f071e129/raw/f2a3b34808b55669f861ec8f2e5700dead54a245/protonge_setup.sh | bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if (! whiptail --title "Proton GE Setup" --yesno "This tool assumes you are running ubuntu/pop/etc 20.10. Are you?" 8 78); then | |
echo "Run it again, when you get a cool OS. 😂" | |
exit 1 | |
fi | |
if (whiptail --title "Proton GE Setup" --yesno "What kind of video card do you have, gamer?" 8 78 --no-button "AMD" --yes-button "NVidia"); then | |
CARD=NVIDIA | |
else | |
CARD=AMD | |
fi | |
echo "Ok, I will install Proton GE, and drivers for ${CARD}. Basically, say yes to any questions below." | |
sudo dpkg --add-architecture i386 | |
wget -nc https://dl.winehq.org/wine-builds/winehq.key | |
sudo apt-key add winehq.key | |
sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/' | |
sudo apt install -y --install-recommends winehq-staging | |
sudo apt install -y winetricks flatpak | |
flatpak install com.valvesoftware.Steam.CompatibilityTool.Proton-GE | |
sudo apt update && sudo apt upgrade | |
if [ "${CARD}" == "NVIDIA" ];then | |
sudo add-apt-repository ppa:graphics-drivers/ppa | |
sudo apt install -y nvidia-driver-465 libvulkan1 libvulkan1:i386 | |
else | |
sudo add-apt-repository ppa:kisak/kisak-mesa | |
sudo apt install -y mesa-vulkan-drivers mesa-vulkan-drivers:i386 libgl1-mesa-dri:i386 | |
fi | |
echo "You will need to reboot for the changes to take effect. Afterwards, you should be able to select Proton GE, in steam compatability layer: https://github.com/GloriousEggroll/proton-ge-custom#enabling" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment