- Запускаем Windows игры в Linux
- Содержание
- Запуск Windows игр в Linux с помощью Lutris
- Установка Lutris в дистрибутивы на основе Ubuntu
- Установка игр в Linux с помощью Lutris
- Устанавливаем Windows игры в Linux с помощью Steam (Proton)
- Сравнение производительности видеокарты Nvidia Geforce 1060 в Ubuntu 19.04 и Windows 10
- World of Tanks
- World of Warships
- War Thunder
- Euro Truck Simulator 2
- Простой запуск Windows игр на Linux
- Is Linux Good For Gaming? Linux vs Windows
- Interface
- Convenience
- Customization
- Security
- Selection of Games
- Price
- Conclusion
Запускаем 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 можно по нашей инструкции: Установка последней версии WineHQ в Ubuntu 18.04 и 19.04
Для 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).
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 не доступна еще масса игр.
Простой запуск Windows игр на Linux
Я уже писал, как установить и запустить Photoshop на Linux ( Ссылка на статью ), теперь хочу написать про то, как запускать Windows игры на Linux через PlayOnLinux, без особых проблем.
Суть статьи в том, что мы сделаем максимальную универсальную бутылку для Wine, что бы вы могли устанавливаться большинство игр.
Для начало скачиваем PlayOnLinux, для этого просто скачиваем тут dep пакет и устанавливаем его, также можно установить через менеджер приложений, но там как правило устаревшая версия.
Открываем PlayOnLinux и нажимаем «Установка».
В открывшимся окне нажимаем «Установить программу, отсутствующую в списке».
Пока не появится выбор создания нового виртуального диска, везде ставим галочки и нажимаем далее, после выбираем создать новый виртуальный диск.
Называем его как вам надо, я же назвал его test_game.
Ставим везде галочки, может кроме в пункте «Использовать другую версию Wine» не обязательно.
Выбираем разрядность Wine зависимо от разрядности вашей системы.
Настраиваем Wine, как на скриншотах ниже.
Вместо 1920X1080 выбираем разрешение своего экрана.
Вместо Windows 8.1 можете выбрать другую.
Нажимаем «Применит» и «OK», после в открывшимся окне выбираем библиотеки которые нам нужны.
Библиотеке:
1. POL_Install_corefonts
2. POL_Install_d3dx10
3. POL_Install_d3dx11
4. POL_Install_d3dx9
5. POL_Install_dxfullsetup
6. POL_Install_gecko
7. POL_Install_mfc42
8. POL_Install_mono210
9. POL_Install_msls31
10. POL_Install_tahoma2
11. POL_Install_vbrun6
12. POL_Install_vcrun2005
13. POL_Install_vcrun6
14. POL_Install_VideoDriver
15. POL_Install_xinput
Также у вас будет выбор, какую видео карту использовать, если у вас есть интегрированная, выбираем дискретную.
После того как все компоненты установились, даётся выбор, установить с exe файла или с диска, тут всё зависит от вас, какой вам нужен, я же выбрал, установку с файлы, дальше всё как на Windows, единственное, у вас возможно будет не правильно отображаться установщик, особенно когда устанавливаете пиратскую игру, у меня вот как выглядел.
Дальше он нам предложит выбрать, откуда запускать игру, если нет такого exe файла, то выбираем «Просмотр», у меня вот так.
Is Linux Good For Gaming? Linux vs Windows
Windows has long been the standard operating system for gaming, but is it okay to use Linux for gaming? Here’s the ultimate comparison.
Yes, Linux is a decent operating system for gaming, especially since the number of Linux-compatible games is increasing due to Valve’s SteamOS being based on Linux.
However, we would still advise anyone who doesn’t need any of the advanced features that Linux has to offer to stick with Windows due to its ease of use and fewer compatibility issues with games.
Three operating systems are widely utilized today: Windows, Linux, and macOS. But once we consider that macOS is limited to Apple’s pre-built machines, a custom PC owner’s choice comes down to only the first two.
Windows and Linux have plenty of differences and some similarities. But without getting too deep into the inner workings of each of these operating systems and their varied strengths and weaknesses, we will instead focus on answering one specific question: is Linux good for gaming?
When deciding which operating system is better in this regard, there is still a multi-layered question that needs an answer.
You won’t be using your PC just for playing, so we’ll go over each OS’s most essential aspects when it comes to both gaming and everyday use, without delving into other potential applications such as programming and other professional applications.
Table of Contents Show
Interface
When Windows was first released, one reason why it was popular was precisely its ease of use. It marked a pivotal moment in history when the average user would finally be able to easily use a computer, as opposed to the cluttered and intimidating interface of its predecessor, the MS-DOS, and those of other operating systems used at the time.
Linux may seem just as easy and straightforward to use as Windows 10 is, but there are two key differences:
- The Linux interface is highly customizable and varies significantly from distribution to distribution.
- It has a much steeper learning curve since the system is not designed to hold the user’s hand.
With that in mind, we could say that Windows is overall a better fit for those who are not particularly tech-savvy, whereas Linux will require at least a basic understanding of how computer software works.
Convenience
A machine called a “personal computer” implies that it should be able to perform several functions as well as offer a degree of customization for users to personalize their computer. How do these two operating systems compete in that regard?
When it comes to everyday tasks such as browsing the web and playing multimedia content, both Windows and Linux will suit that purpose well. There are many programs to choose from on both platforms, many of which are available on both of them.
However, Linux does tend to have some trouble when it comes to software implementation, and some processes may not be as streamlined as they are in Windows.
While Microsoft’s OS will automatically download drivers, codecs, and sync data between different devices, getting everything set up correctly on Linux may take a while. On top of that, many of the previously automated processes may become manual.
Customization
In the customization department, Linux has the upper hand. As mentioned above, its user interface can differ significantly from distribution to distribution.
There are numerous “distros” out there – Fedora, CentOS, Debian, Ubuntu, along with countless others, and each might look like a completely different operating system.
On the other hand, Windows will always be recognizable as Windows. Windows 10 does allow users a lot of freedom with customization, especially when compared to the older versions of the OS, but that still comes down mostly to themes that act solely as re-skins and change nothing in terms of functionality.
In the end, Linux, like its mobile cousin, Android, owes its high degree of customization to its open-source nature. And if you like having an OS that can look virtually however you envision it, you will appreciate what Linux can offer.
Meanwhile, Windows and its more limited customization options may still be better suited for users who prefer convenience to overall functionality and flexibility.
Security
At first glance, Linux may seem to be especially vulnerable to malware and security breaches due to being a highly malleable open-source OS. But much to the contrary, it has proven to be more secure than Windows time and time again.
To re-state it once more, Linux is open-source. As such, its source code is public and available for any programmer to tweak and improve. And with countless devoted developers around the world, vulnerabilities are quickly discovered and patched up.
But still, how could an open-source operating system be more secure than Windows, an OS developed by one of the leading software companies? It all comes down to Windows’ popularity.
Essentially, Windows is the ideal target for malware due to how many inexperienced users rely on it. Still, it is easy to keep Windows secure with the use of specialized anti-malware programs such as Kaspersky, Norton, or McAfee.
However, using them will inevitably carry an extra expense. Meanwhile, free programs such as Avast are still excellent, although free versions of these programs do not have all the advanced functionality of their paid counterparts.
But all in all, viruses, spyware, Trojans and all other types of malware invade your PC through the Internet. As long as you avoid visiting suspicious sites and have an anti-malware program installed, you have very little to fear.
Selection of Games
And finally, we come to the most crucial question when it comes to choosing your gaming operating system: how many games are available for it?
As of March 2019, there are almost six thousand Linux games available on Steam. This may not sound terrible, and it does exceed the number of titles that were available exactly a year ago by roughly a thousand.
Then again, there are already over thirty thousand games available for Windows on Steam. That may not look so bad, but consider that there are already over twenty thousand games available for Windows.
Granted, this is a significant gap, but keep in mind that the number of Linux games on Steam has been increasing steadily over the past few years, and this trend is not about to stop.
This is great news for Linux gamers, and we have Valve to thank for that, as their SteamOS is based on Linux. We can expect this pace to keep up and, potentially, even rise.
What’s more, there is a way to run Windows games on Linux with the help of Wine, although the games run this way tend to suffer from lower performance and decreased stability.
So, at this point, choosing between Linux and Windows comes down mostly to whether the games in your library are available on Linux, or at least whether the games that you play frequently are available on Linux.
Price
A significant difference that may end up being crucial to your decision is the pricing – or lack thereof. Whereas Windows is a commercial piece of software, Linux is open-source and entirely free.
Windows 10 is currently available in “Home” and “Pro” editions, with the former priced at $120 and the latter at $200. As both of these names imply, “Home” is geared towards casual users, and “Pro” is for those who require more powerful features.
In contrast, there are many different distributions of Linux. The vast majority of them are free, and although paid ones do exist, a gamer is unlikely to need them as they are meant for workstations and servers.
Conclusion
In the end, both operating systems are now very viable choices for gaming. Windows is still mainstream, with the majority of developers prioritizing it. Nevertheless, you can expect more and more games to come to Linux in the future, even though some titles may not be ported immediately.
With that said, we would still advise most people to go with Windows, especially casual users. It has more than enough features and is very user-friendly. And besides, it still has the most extensive game library.
We would only advise going with Linux if you need to make use of its advanced capabilities or have your sights set on a Steam Machine.