Play windows games on linux steam

Запускаем Windows игры в Linux

На мой взгляд, именно Steam и Lutris предлагают максимально современные и легкие решения для запуска игр. В качестве примера, поиграем в World of Tanks и World of Warships на Ubuntu 19.04.

Еще недавно, запускать Windows игры в Линукс было тем ещё квестом, затмевающим интерес к игре из-за тяжелого и не всегда удачного процесса установки игры.

С появлением DXVK (библиотеки основанной на Vulkan, позволяющей транслировать 3D приложения (игры) Direct3D 10/11), и как следствие Steam Play (Proton) – установка многих игр в Линукс стала почти такой же легкой как и в Windows.

Содержание

Запуск Windows игр в Linux с помощью Lutris

Lutris – сервис с игровым приложением, предоставляющий автоматизированные, настроенные скрипты для установки игр.

Интеграция с такими игровыми магазинами, как GOG и Steam, позволяет импортировать существующую библиотеку игр, а поддерживаемые сообществом установочные сценарии обеспечивают полностью автоматизированную настройку.

Установка Lutris в дистрибутивы на основе Ubuntu

Для корректной работы Lutris, разработчики рекомендуют предварительно установить Wine (версию Staging). Установить Wine в Ubuntu можно по инструкции официального сайта: Installing WineHQ packages

Для Ubuntu подобных дистрибутивов добавляем репозиторий Lutris:

Для лучшей производительности необходимо установить последнюю версию видеодрайвера и библиотеки Vulkan.

Пользователям видеокарты Nvidia нужно добавить репозиторий с новыми драйверами и затем удобным способом установить последнюю версию драйвара:

Выбрать драйвер можно с помощью встроенной утилиты Программы и обновления – Дополнительные драйверы.

Если видеокарта поддерживает Vulkan API, то устанавливаем необходимые библиотеки (скорее всего они уже установились при установке видеодрайвера. Проверить, если видеокарта поддерживает Vulkan можно по ссылке: Vulkan API):

Пользователям видеокарт AMD / Intel (Ubuntu 18.04 и выше):

Установка игр в Linux с помощью Lutris

Переходим на официальный сайт программы в раздел Games и выбираем нужную нам игру.

Найдя игру, выбираем (если доступно) редакцию скрипта с нужным нам сервером (например для World of Tanks это будет RU DXVK version). Нажимаем на Install. В качестве примера будет показана установка игры World of Tanks в Ubuntu 19.04.

Ссылка откроется в установленном приложении Lutris, нам предложат установить игру. Нажимаем на Install.

Дальше можно выбрать папку, в которую будет установлена игра. Продолжаем установку. Будет установлена нужная для данной игры версия Wine, соглашаемся на все установки. По окончанию установки онлайн установщика будет предложено создать ярлыки и запустить игру.

Затем откроется полноэкранное окно, в котором будет осуществляться установка игры. Не пугаемся, с помощью клавиш ALT+TAB можно вернуться в рабочее окно.

Запустить установленную игру можно как из программы Lutris, так и из списка установленных приложений.

Аналогично установил игру World of Warships в Ubuntu 19.04.

Именно в Ubuntu столкнулся с проблемой, при которой курсор мыши в игре не позволял делать обороты около 180 градусов. Ранее устанавливал игру в окружениях KDE и Cinnamon (Linux Mint), такой проблемы там нет. Если курсор вывести нажатием на CTRL, то можно захватить другие обороты мыши. Решение: переключение отображения игры в оконный режим.

Устанавливаем Windows игры в Linux с помощью Steam (Proton)

Для совместимости игр с операционными системами GNU/Linux, компания Valve разрабатывает проект Proton (Steam Play), который в свою очередь состоит из различных наработок, таких как Wine, DXVK, esync. Подробнее почитать о Steam Proton можно в нашей статье: Steam Play улучшает поддержку Windows-игр для Linux.

Информация о качестве поддержки Windows игр в Steam Proton доступна по ссылке: ProtonDB.

Для включения опции Proton, нам необходимо открыть Steam – затем Настройки – Steam Play – и включить доступные опции.

Версию Steam Proton стоит выбирать самую актуальную, т.е с большим номером.

Дальнейшая установка игр ничем не отличается от установки в системе Windows. Steam Play автоматически произведет нужные настройки для установки игры.

Сравнение производительности видеокарты Nvidia Geforce 1060 в Ubuntu 19.04 и Windows 10

Сравнение проводилось на ноутбуке с видеокартой Nvidia Geforce 1060 (6 ГБ) и процессором Intel® Core™ i7 8750H. Операционные системы Windows 10 1903 (build 18362.10019), версия видеодрайвера NVIDIA GeForce Game Ready 436.15 и система Ubuntu 19.04 с версией видеодрайвера 430.40 (самый актуальный в репозитории ppa:graphics-drivers).

Читайте также:  What is linux ldconfig

World of Tanks

Танковые сражения в World of Tanks в Windows 10 показывали от 115-130 fps до 150-165 fps, в зависимости от игровой сцены.

В Ubuntu 19.04 от 100 до 120 fps. Настройки Высокие, sd клиент.

World of Warships

В морских сражениях World of Warships в Windows 10 производительность держалась от 65 до 75 fps.

В Ubuntu 19.04 игра World of Warships показала производительность от 60 до 70 fps, но периодически сильно проседала до 25 fps. Настройки высокие, hight клиент.

Обе игры в Ubuntu были установлены с помощью Lutris.

War Thunder

Также, с интересом проверил производительность видеодрайвера в игре War Thunder. В Windows 10 игра была установлена с помощью нативного клиента, а в Ubuntu 19.04 с помощью Steam (нативная версия).

В морских сражениях в War Thunder в Windows 10 отображался fps от 65 до 85, в воздушных боях около 100 fps.

В Ubuntu 19.04 варьировался fps от 35-55 в морских сражениях и 75 fps в воздушных.

Версия из Lutris, использующая DXVK, в Ubuntu 19.04 показала fps от 50 до 75 в морских сражениях и 60 fps в воздушных.

Знаю, что разработчики War Thunder тестируют версию с использованием библиотек Vulkan. Не тестировал её, но уверен, что производительность будет значительно выше, чем у нативной версии, использующей OpenGL.

Euro Truck Simulator 2

В симуляторе Euro Truck Simulator 2 производительность в Windows 10 отображалась от 85 до 120 fps.

В Ubuntu 19.04 производительность игры ETS 2 варьировалась от 55 fps (в редких случаях) до 110 fps. В обоих случаях были использованы настройки Ультра.

Как видим, производительность игр в Linux уступает Windows 10, но при использовании библиотек DXVK и Vulkan разница гораздо меньше, чем при использовании OpenGL. В любом случае это прорыв для пользователей Linux: доступных игр стало гораздо больше, а их установка стала максимально простой.

На мой взгляд, осталось решить проблему работы античитов. Именно из-за проблемы с работой некоторых античитов, в Linux не доступна еще масса игр.

Источник

How to Play Windows-only Games on Linux with Steam Play

Last updated September 18, 2020 By Abhishek Prakash 56 Comments

The new experimental feature of Steam allows you to play Windows-only games on Linux. Here’s how to use this feature in Steam right now.

What is Steam Play?

Game distribution platform Steam has implemented a fork of WINE, it’s called – “Steam Play”. With Steam Play, Linux users can play games that are available on Windows only. It was in beta phase for a while but you can now directly try it out without opting in for Steam beta updates.

Play Windows-only games in Linux with Steam Play

You need to install Steam first. Steam is available for all major Linux distributions. I have written in detail about installing Steam on Ubuntu and you may refer to that article if you don’t have Steam installed yet.

Once you have Steam installed and you have logged into your Steam account, it’s time to see how to enable Windows games in Steam Linux client.

Step 1: Go to Account Settings

Run Steam client. On the top left, click on Steam and then on Settings.

Step 3: Enable Steam Play beta

Now, you’ll see an option Steam Play in the left side panel. Click on it and check the boxes:

  • Enable Steam Play for supported titles (You can play the whitelisted Windows-only games)
  • Enable Steam Play for all titles (You can tryto play all Windows-only games)

Steam Play New

You can also opt to change the version of the compatibility layer (Proton) if you need it. Once, you are done selecting the options, hit “OK” and proceed to restart steam in order for the changes to take effect.

Here’s how it will work:

For example, I have Age of Empires in my Steam library which is not available on Linux normally. But after I enabled Steam Play beta for all Windows titles, it now gives me the option for installing Age of Empires on Linux.

Windows-only games can now be installed on Linux

Things to know about Steam Play feature

There are a few things you should know and keep in mind about using Windows-only games on Linux with Steam Play:

  • Only 27 Windows-games were whitelisted for Steam Play initially. These whitelisted games work seamlessly on Linux. However, now the number of games supported has increased significantly.
  • You can try any Windows game with Steam Play beta but it might not work all the time. Some games will crash sometimes while some games might not run at all.
  • You won’t see the Windows-only games available for Linux in the Steam store. You’ll have to either try the game on your own or refer to this community maintained list or a better-looking web version of the same to see the compatibility status of the said Windows game. You can also contribute to the list by filling this form.
  • If you have games downloaded on Windows via Steam, you can save some download data by sharing Steam game files between Linux and Windows.
Читайте также:  Установщик windows 10 64x

How Do You Identify Games That Work On Steam Play?

I’m sure that you don’t have a lot of free time to download games one by one and test it with Steam Play.

In that case, you can visit ProtonDB to check reports/stats contributed by gamers who test the games.

You can use that as a reference to decide whether you should download/purchase a certain game.

I hope this tutorial helped you in running Windows-only games on Linux. Which game(s) are you looking forward to play on Linux?

Like what you read? Please share it with others.

Источник

Play windows games on linux steam

387 уникальных посетителей
21 добавили в избранное

Steam Play Compatibility Tools are great for running games that do not work natively on your system. Of course there is no guarantee games will work, But it certainly boosts the list of playable games on Steam for Linux. You can run Windows games or DOS games on Linux, You can even run Linux games that fail to run when you start them normally.

In this guide I will explain what each Tool is for, how to install them and how you use them.

First up we need to enable Steam Play in the Steam settings,

Next click on the Steam Play menu and enable the first setting.

You can optionally enable the second box to enable Steam Play automatically for all games in your library, I would not recommend this because It breaks the Linux filtering tool.

Now Save and Steam will restart, To actually use it now we need to force it for each game we want to play, So right click the game you want and then click on properties.

Here go to the bottom, check the Force the use of a specific Steam Play compatibility tool and then select the tool you want to use for the specific game.

Below I will list all Steam Play Compatibility tools out there, describe what they do and how to install them.

This is Valves own fork of Wine, It will be installed automatically if you select it as the tool of choice in any games properties. Proton should be the go to tool if you want to play Windows games.

ProtonDB [www.protondb.com] is a Proton DataBase, Here anyone can report how well games run for them with Proton, It creates some nice stats and it is a useful place to check which games you will be able to play.

I would also urge everyone to report the games you have played, It helps a lot. Good or bad, even if there are already hundreds of reports. Also check out this Curator who lists Platinum rated games.

The Proton Github [github.com] is where you can report problems with games, It probably won’t get fixed because of it, but it is good to let everyone know there is interest, and who knows maybe the community finds a fix together.

Winetricks is a tool that helps you set certain tweaks to Wine to help make programs run or run better. Protontricks is just a simple wrapper which deals with proton directories in a manageable way.

If you use Arch or NixOS you can find it in the repos.

If you use a different Distro please follow the pipx instructions Here [github.com]

Proton GE is a fork of proton by Glorious Eggroll, That’s where the GE comes from. It fixes a lot of game specific bugs, so if your game does not work with Proton, You can always try this one.

If you use Arch, you can find a package in the AUR, this will also keep it up to date.

If you use any other Distro, you need to download the latest release from here [github.com]

If you have not done so already create the folder where the tools should be located

Next we are going to extract the downloaded tarball in the just created folder, we are doing this the GUI way because the filenames change a lot.

Just go to your downloads folder and right click the archive you downloaded, then click extract here.

Читайте также:  Dolby surround для windows

Wait for it to finish and then move the extracted folder to

Now you should be able to restart steam and the compatibility tool should show up in the game properties when you enable Force the use of a specific Steam Play compatibility tool.

Remember you have to manually update this tool, But on the other side this allows you to keep older versions just in case.

Boxtron is a tool to run DOS games with DOSBox right from the Steam Client, This fixes some broken DOS games on the Steam Store, and it enhances the performance for most. You can check this Curator for supported games

If you use Arch, you can find a package in the AUR, this will also keep it up to date.
If you use Fedora you can find it in your repositories, This will also keep it up to date.
If you use Flatpak Steam you also need to install Boxtron with Flatpak.

If you use a different Distro you can just download the latest release from here [github.com]

If you have not done so already create the folder where the tools should be located

Now just go to your downloads folder and right click the archive you downloaded, then click extract here.

Wait for it to finish and then move the extracted folder to

Now you should be able to restart steam and the compatibility tool should show up in the game properties when you enable Force the use of a specific Steam Play compatibility tool.

Remember you have to manually update this tool, But on the other side this allows you to keep older versions just in case.

Roberta is a tool to run SCUMM games with ScummVM right from the Steam Client, This Enables you to play some Windows ports on the Steam Store with a Native Linux Engine. which greatly improves everything ofcourse. Also check out this Curator that lists compatible games.

If you use Arch, you can find a package in the AUR, this will also keep it up to date.

If you use a different Distro you can just download the latest release from here [github.com]

If you have not done so already create the folder where the tools should be located

Now just go to your downloads folder and right click the archive you downloaded, then click extract here.

Wait for it to finish and then move the extracted folder to

Now you should be able to restart steam and the compatibility tool should show up in the game properties when you enable Force the use of a specific Steam Play compatibility tool.

Remember you have to manually update this tool, But on the other side this allows you to keep older versions just in case.

Luxtorpeda is a tool that makes Windows only games run natively running the game with the official game assets using open source engines like OpenMW, OpenXcom, GZDoom and much more.

If you use Arch, you can find a package in the AUR, this will also keep it up to date.

If you use any other Distro, you need to download it directly from here [luxtorpeda.gitlab.io]

If you have not done so already create the folder where the tools should be located

Now just go to your downloads folder and right click the archive you downloaded, then click extract here.

Wait for it to finish and then move the extracted folder to

Now you should be able to restart steam and the compatibility tool should show up in the game properties when you enable Force the use of a specific Steam Play compatibility tool.

Remember you have to manually update this tool, But on the other side this allows you to keep older versions just in case.

Steam Linux Runtime is a container for your native Linux games, it will use more of Steams own libraries instead of the ones from your system. If a game does not run normally you could try this one.

Steam Linux Runtime has a few advantages for users; Games can not access your home directory, they are isolated in their own little container. It can help support older games that don’t work on newer systems. For developers it creates a single runtime they have to test against.

You should be all set up and ready to play anything without the need for Proprietary Operating Systems.

I hope this guide helped you in some way, If you have any suggestions or anything please leave a comment.

Источник

Оцените статью