• We did not send an email asking for donations - please read this post.

Installing Games on Linux

kibasnowpaw

Active Member
Joined
Jan 2, 2022
Messages
223
Reaction score
109
Credits
1,844
Do you think its possible to play BF1 on Linux using Origin in Lutris and Steam?
Am i The only one that thinks it look better on linux then on Windows or is it just been to long since i played it on Windows to i have forgotten.
Skærmbillede_2022-10-28_17-48-41.png
Skærmbillede_2022-10-28_18-21-07.png
 


kibasnowpaw

Active Member
Joined
Jan 2, 2022
Messages
223
Reaction score
109
Credits
1,844
Captain proton to the rescue!
Some minor tinkering is required.
Not required but it will help. Like Gamemode make the game run better and DXVK_ASYNC=1 if you run the game in DX11 can help with the stuttering if you have any but they are not required. i run the game in VKD3D so that would be Vulkan its support DX12 and make many games look better but you most of the time would also have lower FPS because of it. like Halo you will have like 8 FPS in VKD3D and 500+ FPS in DXVK with a 2070S so its really up to whats most imported for you looks or high
FPS.

 

NORD

Well-Known Member
Joined
Jan 4, 2019
Messages
416
Reaction score
312
Credits
2,175
Oh snapples I just figured out how to activate proton on steam awesome now I can stop using windows for steam!
 

BigBadBeef

Active Member
Joined
Sep 23, 2021
Messages
144
Reaction score
43
Credits
1,368
Oh snapples I just figured out how to activate proton on steam awesome now I can stop using windows for steam!
You should also vidit protondb to see how well do all the games from your library work on Proton.
If you have an account, you can link it to your steam library and it will display a comprehensive list of compatibility of all steam games in your library.
 

NORD

Well-Known Member
Joined
Jan 4, 2019
Messages
416
Reaction score
312
Credits
2,175
Right now I have my games downloading should be done by morning.
 

kibasnowpaw

Active Member
Joined
Jan 2, 2022
Messages
223
Reaction score
109
Credits
1,844
Most games work on Linux/Proton. Only a handful doesn't, and most of those are games with Anti-cheat.
But ProtonDB is an excellent place to check what you need to make it work, and you can give your own Review about how well it runs and if you did anything to make it run.
If you want to make most games run better, then i will recommend making two kinds of cache. DXVK STATE CACHE. 2. GL SHADER DISK CACHE.

DXVK cache is made when the game runs in DXVK and makes the games run better since all the Data it has Cache doesn't have to be Compiled all over again, which means less work for your PC and higher FPS and Smoother game-play in the long run.


GL Cache is NVIDIA Hardware cache, and it does the same as DXVK, but just for your GPU, which means less work for your GPU.

https://www.reddit.com/r/cemu/comments/6t6ufd
Code:
DXVK_STATE_CACHE=1
DXVK_STATE_CACHE_PATH=/mnt/Games/Chash
__GL_SHADER_DISK_CACHE=1
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
__GL_SHADER_DISK_CACHE_PATH=/mnt/Games/GLCache

you can also make a dxvk.conf file that you put in where the Game .Exe is.
in that folder you can put in Command that help some games to run better or use the DXVK UI in game without has to putting in a command to do so for every game.
What i have in my dxvk.conf that i use in most games.

Code:
dxvk.useStateCache = True
dxvk.hud = compiler,pipelines,frametimes,drawcalls,fps
dxgi.maxFrameLatency = 1
dxgi.maxDeviceMemory = 4096
dxgi.maxSharedMemory = 4096
dxgi.nvapiHack = False
d3d9.deferSurfaceCreation = True
d3d9.maxAvailableMemory = 4096
d3d11.constantBufferRangeCheck = True
vkd3d-proton.cache.write
vkd3d-proton.cache

 
Last edited:

NORD

Well-Known Member
Joined
Jan 4, 2019
Messages
416
Reaction score
312
Credits
2,175
I will mess around with it after work.
 

CrazedNerd

Well-Known Member
Joined
Mar 31, 2021
Messages
758
Reaction score
303
Credits
6,472
Oh snapples I just figured out how to activate proton on steam awesome now I can stop using windows for steam!
And every game that works on SteamOS will work on linux without the emulation tools.
 

kibasnowpaw

Active Member
Joined
Jan 2, 2022
Messages
223
Reaction score
109
Credits
1,844
And every game that works on SteamOS will work on linux without the emulation tools.
yes called native linux games because it supports openGL which can run on linux without been emulated.
 

CrazedNerd

Well-Known Member
Joined
Mar 31, 2021
Messages
758
Reaction score
303
Credits
6,472
yes called native linux games because it supports openGL which can run on linux without been emulated.
So, ive been wondering since you posted that...do those libraries typically come installed on a linux operating system? Or do they get installed with the steam client and games?
 

kibasnowpaw

Active Member
Joined
Jan 2, 2022
Messages
223
Reaction score
109
Credits
1,844
DXVK come with some Linux Distributions if not can be easy installed with
Code:
 Sudo apt install DXVK
or
Code:
Sudo pacman -S DXVK
i would recommend compiling it from github to get most out of it.


Vukan need libraries to work like.
on AMD.
libvulkan1 mesa-vulkan-drivers vulkan-utils
and on NVIDIA
vulkan-utils

Vkd3d is a 3D graphics library built on top of Vulkan. It has an API very
similar, but not identical, to Direct3D 12 and work with Proton but you do need some libraries to help it running since its use
Vulkan.
In Wine its just called WINED3D but should work the same way just the Wine vertion.

OpenGL by my understanding come with all mainstream Linux Distributions and don't need anything ells to run but it cant hurt to check.
 

CrazedNerd

Well-Known Member
Joined
Mar 31, 2021
Messages
758
Reaction score
303
Credits
6,472
So, ive been wondering since you posted that...do those libraries typically come installed on a linux operating system? Or do they get installed with the steam client and games?

To answer my own question with a case-insensitive "find" search:

Code:
/usr/lib/libreoffice/program/opengl
/home/<user-folder>/.local/share/Steam/bin/shaders/tenfoot/opengl

It seems that the software you download has it's own OpenGL libraries instead of distros by default...i was mostly asking because there are tons of distros and i'd bet that some of them are different. I would think the ideal gaming distro would have OpenGL's by default, i've seen gaming an explicitly gaming distro before but i think it was last updated in 2009 so i wouldn't recommend try to mess around with the thing...
 

ljhwild

New Member
Joined
Nov 3, 2022
Messages
20
Reaction score
3
Credits
265
The whole steam deck system is based on Archlinux and they really polished out WIne on that one. You can play so many tripple A titles now days on Linux that I'm starting to wonder what's windows good for anymore
 

kibasnowpaw

Active Member
Joined
Jan 2, 2022
Messages
223
Reaction score
109
Credits
1,844
To answer my own question with a case-insensitive "find" search:

Code:
/usr/lib/libreoffice/program/opengl
/home/<user-folder>/.local/share/Steam/bin/shaders/tenfoot/opengl

It seems that the software you download has it's own OpenGL libraries instead of distros by default...i was mostly asking because there are tons of distros and i'd bet that some of them are different. I would think the ideal gaming distro would have OpenGL's by default, i've seen gaming an explicitly gaming distro before but i think it was last updated in 2009 so i wouldn't recommend try to mess around with the thing...
I didn't know Steam has its own OpenGL.
 

CrazedNerd

Well-Known Member
Joined
Mar 31, 2021
Messages
758
Reaction score
303
Credits
6,472
I didn't know Steam has its own OpenGL.
You can pretty much find every file on a linux system with "find / -iname <search-term>", login as su first. It makes sense considering that SteamOS is a somewhat obscure linux operating system.
 

BigBadBeef

Active Member
Joined
Sep 23, 2021
Messages
144
Reaction score
43
Credits
1,368
SteamOS is a somewhat obscure linux operating system.
Hehehe an OS made by a multi-billion dollar corporation is having trouble going above being "obscure". I just love how you can't bullshit your way into "market share" (don't know if the term applies since its free) as far as open source is concerned.
 

zoouser

New Member
Joined
Jan 28, 2021
Messages
6
Reaction score
3
Credits
40
Thanks for the heads up I have it going and running good. On first boot it was choppy and laggy, but somebody said run it again you have build the cache sure enough after awhile it has run smoothly. I tried installing through Lutris Steam that failed for me I'm sure its me trying to figure things out for the first time. That took me awhile to download and uninstall then I tried the Proton Steam way changed the settings to allow windows games and the whole thing. On first run it needed to download I think it was the BF1 shaders that alone took 40 minutes in all took me about me about 3 hours a lot of that was downloading and me doing other things. Thanks.
 

Attachments

  • Screenshot from 2022-11-05 18-59-17.png
    Screenshot from 2022-11-05 18-59-17.png
    2.1 MB · Views: 25
  • eee.png
    eee.png
    2.8 MB · Views: 11
  • Screenshot from 2022-11-05 19-29-17.png
    Screenshot from 2022-11-05 19-29-17.png
    3.2 MB · Views: 9

kibasnowpaw

Active Member
Joined
Jan 2, 2022
Messages
223
Reaction score
109
Credits
1,844
Thanks for the heads up I have it going and running good. On first boot it was choppy and laggy, but somebody said run it again you have build the cache sure enough after awhile it has run smoothly. I tried installing through Lutris Steam that failed for me I'm sure its me trying to figure things out for the first time. That took me awhile to download and uninstall then I tried the Proton Steam way changed the settings to allow windows games and the whole thing. On first run it needed to download I think it was the BF1 shaders that alone took 40 minutes in all took me about me about 3 hours a lot of that was downloading and me doing other things. Thanks.
if you are running the game in DXVK i would recommend
Code:
DXVK_STATE_CACHE=1
DXVK_STATE_CACHE_PATH=/mnt/Games/Chash

if you running in VKD3D and use Nvidia i would recommend
Code:
__GL_SHADER_DISK_CACHE=1
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1
__GL_SHADER_DISK_CACHE_PATH=/mnt/Games/GLCache

every time it has to Compile cache to the file it will lag and you may see it at time when you play it the first time that's why you can Download DXVK file form other people so it don't have to compile as much if any.
you can Download Cache from here to difference games
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top