在 Fedora 上使用 Steam play 和 Proton 来玩 Windows 游戏
Steam 游戏
![](/data/attachment/album/201811/25/102810i7n9r1ynue1dfn7w.jpg)


之前，Steam [宣布](https://steamcommunity.com/games/221410/announcements/detail/1696055855739350561)要给 Steam Play 增加一个新组件，用于支持在 Linux 平台上使用 Proton 来玩 Windows 的游戏，这个组件是 WINE 的一个分支。这个功能仍然处于测试阶段，且并非对所有游戏都有效。这里有一些关于 Steam 和 Proton 的细节。


据 Steam 网站称，测试版本中有以下这些新功能：


* 现在没有 Linux 版本的 Windows 游戏可以直接从 Linux 上的 Steam 客户端进行安装和运行，并且有完整、原生的 Steamworks 和 OpenVR 的支持。
* 现在 DirectX 11 和 12 的实现都基于 Vulkan，它可以提高游戏的兼容性并减小游戏性能收到的影响。
* 全屏支持已经得到了改进，全屏游戏时可以无缝扩展到所需的显示程度，而不会干扰到显示屏本身的分辨率或者说需要使用虚拟桌面。
* 改进了对游戏控制器的支持，游戏自动识别所有 Steam 支持的控制器，比起游戏的原始版本，能够获得更多开箱即用的控制器兼容性。
* 和 vanilla WINE 比起来，游戏的多线程性能得到了极大的提高。


### 安装


如果你有兴趣，想尝试一下 Steam 和 Proton。请按照下面这些简单的步骤进行操作。（请注意，如果你已经安装了最新版本的 Steam，可以忽略启用 Steam 测试版这个第一步。在这种情况下，你不再需要通过 Steam 测试版来使用 Proton。）


打开 Steam 并登陆到你的帐户，这个截屏示例显示的是在使用 Proton 之前仅支持 22 个游戏。


![](/data/attachment/album/201811/25/102812tjlqjq7sjl677ytj.png)


现在点击客户端顶部的 “Steam” 选项，这会显示一个下拉菜单。然后选择“设置”。


![](/data/attachment/album/201811/25/102813gar8x1cetejx8px8.png)


现在弹出了设置窗口，选择“账户”选项，并在 “参与 Beta 测试” 旁边，点击“更改”。


![](/data/attachment/album/201811/25/102814e8r9z8w9n9ufwape.png)


现在将 “None” 更改为 “Steam Beta Update”。


![](/data/attachment/album/201811/25/102814u3up1pw52nfamffz.png)


点击“确定”，然后系统会提示你重新启动。


![](/data/attachment/album/201811/25/102815i61kadxnh31w7dp7.png)


让 Steam 下载更新，这会需要一段时间，具体需要多久这要取决于你的网络速度和电脑配置。


![](/data/attachment/album/201811/25/102815azvbqd3n9revb2rv.png)


在重新启动之后，返回到上面的设置窗口。这次你会看到一个新选项。确定勾选了“为提供支持的游戏使用 Stream Play” 、“让所有的游戏都使用 Steam Play 运行”，“使用这个工具替代 Steam 中游戏特定的选项”。这个兼容性工具应该就是 Proton。


![](/data/attachment/album/201811/25/102816gwmumjw1zmyuj7so.png)


Steam 客户端会要求你重新启动，照做，然后重新登录你的 Steam 账户，你的 Linux 的游戏库就能得到扩展了。


![](/data/attachment/album/201811/25/102816vk0bl9solzl9lmb1.png)


### 使用 Steam Play 来安装一个 Windows 游戏


现在你已经启用 Proton，开始安装游戏，选择你想要安装的游戏，然后你会发现这个安装过程类似于在 Steam 上安装一个普通游戏，如下面这些截图所示。


![](/data/attachment/album/201811/25/102817qee2jccjte1313s3.png)


![](/data/attachment/album/201811/25/102818q3jwq0v53b03y2qn.png)


![](/data/attachment/album/201811/25/102819oh9dr6mfz1mmfkm4.png)


![](/data/attachment/album/201811/25/102820k07hb2n2ggyonbjb.png)


在下载和安装完游戏后，你就可以开始玩了。


![](/data/attachment/album/201811/25/102821si2bz5tjsrywt8jm.png)


![](/data/attachment/album/201811/25/102822buwawkvqkdwzeuqz.png)


一些游戏可能会受到 Proton 测试性质的影响，在这个叫 Chantelise 游戏中，没有了声音并且帧率很低。请记住这个功能仍然在测试阶段，Fedora 不会对结果负责。如果你想要了解更多，社区已经创建了一个 Google 文档，这个文档里有已经测试过的游戏的列表。




---


via: <https://fedoramagazine.org/play-windows-games-steam-play-proton/>


作者：[Francisco J. Vergara Torres](https://fedoramagazine.org/author/patxi/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[hopefully2333](https://github.com/hopefully2333) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
Some weeks ago, Steam [announced](https://steamcommunity.com/games/221410/announcements/detail/1696055855739350561) a new addition to Steam Play with Linux support for Windows games using Proton, a fork from WINE. This capability is still in beta, and not all games work. Here are some more details about Steam and Proton.


According to the Steam website, there are new features in the beta release:

- Windows games with no Linux version currently available can now be installed and run directly from the Linux Steam client, complete with native Steamworks and OpenVR support.
- DirectX 11 and 12 implementations are now based on Vulkan, which improves game compatibility and reduces performance impact.
- Fullscreen support has been improved. Fullscreen games seamlessly stretch to the desired display without interfering with the native monitor resolution or requiring the use of a virtual desktop.
- Improved game controller support. Games automatically recognize all controllers supported by Steam. Expect more out-of-the-box controller compatibility than even the original version of the game.
- Performance for multi-threaded games has been greatly improved compared to vanilla WINE.

## Installation

If you’re interested in trying Steam with Proton out, just follow these easy steps. (Note that you can ignore the first steps to enable the Steam Beta if you have the [latest updated version of Steam installed](https://fedoramagazine.org/third-party-repositories-fedora/). In that case you no longer need Steam Beta to use Proton.)

Open up Steam and log in to your account. This example screenshot shows support for only 22 games before enabling Proton.

Now click on *Steam* option on top of the client. This displays a drop down menu. Then select *Settings.*

Now the settings window pops up. Select the *Account* option and next to *Beta participation,* click on *change.*

Now change *None* to *Steam Beta Update.*

Click on *OK* and a prompt asks you to restart.

Let Steam download the update. This can take a while depending on your internet speed and computer resources.

After restarting, go back to the *Settings* window. This time you’ll see a new option. Make sure the check boxes for *Enable Steam Play for supported titles*, *Enable Steam Play for all titles* and *Use this tool instead of game-specific selections from Steam* are enabled. The compatibility tool should be Proton.

The Steam client asks you to restart. Do so, and once you log back into your Steam account, your game library for Linux should be extended.

## Installing a Windows game using Steam Play

Now that you have Proton enabled, install a game. Select the title you want and you’ll find the process is similar to installing a normal game on Steam, as shown in these screenshots.

After the game is done downloading and installing, you can play it.

Some games may be affected by the beta nature of Proton. The game in this example, Chantelise, had no audio and a low frame rate. Keep in mind this capability is still in beta and Fedora is not responsible for results. If you’d like to read further, the community has created a [Google doc](https://docs.google.com/spreadsheets/d/1DcZZQ4HL_Ol969UbXJmFG8TzOHNnHoj8Q1f8DIFe8-8/edit#gid=1003113831) with a list of games that have been tested.

## Zlopez

There is also this page https://spcr.netlify.com/ for list of games compatible with Steam play. It is much nicer than google docs.

You can also use this page to submit new testing data for Steam play.

## Zlopez

Also there is no need for beta now. This is part of the standard Steam release now.

## TartareFR

An online database (wineHQ like) website exists at https://spcr.netlify.com/, there is a lot of tips for almost all running games with proton.

## DePingus

With Fedora you’re going to have to add your user to the input group or gamepads won’t work correctly.

Also, specific to Fedora, you should increase the open file limits or be prepared to disable ESYNC for proton. https://github.com/zfigura/wine/blob/esync/README.esync

## Brian

I didn’t see any entries in that database mentioning nouveau, as opposed to the Nvidia proprietary drivers. I’d given up on the proprietary drivers, since they tended to cause issues during kernel updates.

Is performance with Steam Play and Proton tested with nouveau drivers?

## Dman

You need the proprietary driver unfortunately. NVIDIA however is actually updating the Linux drivers to support Steam Play such as recent DXVK fixes.

## Steve Ebey

using dkms for kernel update of the nvidia drivers, currently running 410.57 on fedora 28, and every kernel update automatically recompiles the driver, during the kernel update. If you have a problem, it could mean some of the necessary components for dkms or gcc are not installed.

## Matthew Bunt

There is a cool little project on github that helps configure proton just like winetricks helps configure wine. You can use it to make changes for specific games so the configs wont overlap with other games (just like separate wine prefixes).

protontricks – https://github.com/Sirmentio/protontricks

## Greyson

Perfect! I am using Steam Play and is a gorgeous project

## andrei

Is this ever going to be implemented for games outside of steam?

## Luke

This is a specific feature of Steam Client that pulls a fork of WINE down and auto-configures it, essentially, to make Steam-based Windows games play easier.

You can use WINE directly for non-Steam games.

## Frederik

I think what Andrei is asking is if the Proton specific bits will be made available for regular Wine. Wine is LGPL, which should mean that the new bits needs to be released under LGPL as well (knowing nothing about the details about how stuff is implemented — it may not be requried).

## Dman

You dont mention the drivers required to run Steam Play properly in Linux. Obviously the latest NVIDIA proprietary drivers are required but Fedora 28 ships with an old version of Mesa. Therefore you need to update Mesa for AMD users from a compatible copr. Ideally version 18.2.2 which has a bunch of DXVK fixes. Hopefully Mesa is more up to date in Fedora 29…

## Dman

Here is the best copr to use with Fedora 28 for AMD users to get the updated Mesa drivers… https://copr.fedorainfracloud.org/coprs/jerbear64/mesa_dxvk/

## Peter

I believe this solution is far from being ready yet. I could’t find a game that would start on my machine even though they are listed as fully supported. Things like miss-identifying my graphics card are happening.

I’m on the latest Nvidia proprietary drivers, and native Linux games are working just fine. So we’re not there yet, but it’s a hopeful start.

## HesusFTW

Is there a chance to play games with Intel Graphics Drivers? (I’m currently playing Dota 2 on the integrated graphics of my Intel Core i7-7700). I already tried to play Age of Empires 2 but it doesn’t even start/crash/do something.

## Dman

Not supported. You can upgrade the Mesa drivers to help but I don’t think Intel have a strong focus here unlike the AMD driver stack. Unless the game supported Intel graphics natively & ideally uses OpenGL you’re going to struggle.

## Dman

HesusFTW, try the Mesa copr from here…

https://copr.fedorainfracloud.org/coprs/jerbear64/mesa_dxvk/

Age of Empires is a DirectX 9 game so you need the Gallium Nine compatibility layer.

This is now part of the updated Mesa stack. Hopefully this works for you.

## Przemek

I’m looking for some help.

I’m trying to run Rocksmith, which needs special cable (USB to guitar jack).

Game starts without the problem, but I have no luck with the recognition of the cable. Cable itself shows up correctly in the lsusb.

Any idea how to proceed? This is the only things which keeps me from removing windows dual boot partition.

## pac

@Przemek

You probably need to add your user to the input group, depending on your distribution. I’m guessing it might treat it like a gamepad, and without your user being in the group it refuses to work.

## Michel

Can someone recommend a good game to try this on that’s also cheap? None of my Windows-only titles (like Sid Meier’s Ace Patrol and Typing of the Dead) are well-supported, and I’m using the Steam flatpak so I want to check if that introduces additional issues or not.

## Zlopez

I’m using flatpak Steam with steam play and these games are working for me without issue: Warhammer End Times: Vermintide, The Walking Dead, Shortest Trip to Earth and Anachronox.

Didn’t noticed any additional issue when I switched from RPM Steam to Flatpak.

## Edward O'Callaghan

https://github.com/ValveSoftware/steam-for-linux/issues/5634

Because of this issue it is sometimes the case that the Steam client will SegFault on Fedora under certain Audio device configurations, depending if your HDMI audio adapters happen to come first or not. Possible other configuration variants will trigger the crash.

## AngryAnonymous

Yeah, if you just figured out how to install drivers on fedora then you can publish a post like this.

## Jatin

There are many games still, infact most of the games dont run using steam proton but they run on linux using DXVK via Lutris. Lutris is a great application it has pre tested scripts for the games to run using DXVK (Vulkan). Proton is still not that mature currently. In many cases Wine still does the better job. Proton is a folk of wine for steam and i hope it will be great in the future.

## John Harris

It’d be awesome if Fedora Magazine would stop supporting the use of proprietary software.

## ImFromPL

Shakes and Fidget working too good.