-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TF2][Linux] running tf2 under proton 4.11-6 with d9vk enabled is more performant than native binary #2844
Comments
Are you using Steam windows version + lutris for play TF2 in DX9 or you just enable the proton on steam for Linux? In my case, if I enable proton, the Linux version of TF2 still has priority over the windows version, in other words, I'll play in OpenGL instead of DX9. |
I'm using the native Linux client |
I tried using d9vk on TF2, but the game only shows a black screen or a screen full of artifacts. |
make sure you have the correct vulkan drivers installed, it will black screen if d9vk is not enabled. edit also , im using Radv , not sure what would happen on nvidia or intel if applicable |
I'm using a RX570 on Fedora 31. Fedora comes with vulkan and mesa libs installed by default with the last version. |
I redid the whole procedure again and now it worked. Regarding performance, there is a lot of falling frames in singleplayer mode. I have no way to test in multiplayer mode because the game is running in "unprotected" mode. |
I should also mention that i am using the experimental Fsync patches, so you might want to try disabling esync and see if the frame-drops go away edit: for further detail, im using the 5.2 kernel, with futex wait(fsync) on kubuntu 18.04.3 with the latest mesa git |
Installed the kernel with fsync support on Fedora. It seems that fsync has made the situation worse because now I can't play even in training mode because the game is running in an insecure mode. lol |
strange, What framerate are you running? and do you have tearfree enabled? I was running my testing by creating a local server with bots, i noticed slight stuttering when the framrate dipped below 90fps, but most of the time the framerate was well above 140. edit: i also tried the stock ubuntu kernel, with esync on and off, seemed to only drop performance, and remained in insecure mode, so idk, source 1 is definitely buggy under wine. |
small update, it would appear that the "insecure mode" problem is because steam cannot validate the signature of the client.dll /server.dll in the tf/bin folder, strangely, ive run the exact same install of tf2 on stock wine with the windows version of steam and it doesn't have any problems validating the file, so this appears to be a proton/steam specific issue as seen here ValveSoftware/Proton#2704 |
@PineconesUpMyButthole You won't get VAC banned and starts in secure mode. What I've done in the past is set the Steam Windows executable to be a 64bit wine prefix (with normal wine) and set steam to start with |
@PineconesUpMyButthole For the ntlm_auth errors, have you installed the |
an interesting development, looks like valve added the dxvk backend to portal 2 ! |
would be awesome if valve added it to tf2.... |
Is there any chance it would be added to tf2 and windows? |
There's always hope, but looking at recent tf2 updates, there are chances... |
I hope so, Vulkan runs so much better for me. |
Playing on slightly more limited hardware, having dxvk-native for TF2 would be amazing. |
+up. Do we have any news about this ? |
Any news about this? The summer update came out yesterday but unfortunately DXVK wasn't a part of it. |
Any updates? TF2 is nearly unplayable on my system at the moment performance wise. I'm hoping dxvk-native gets added soon. |
enabling proton support for official servers would make the native binary obsolete and consequently decrease valve's workload, i see this as a win win. |
Soo... i get sent from Steam support to here... with a question about DXVK on windows about CSS... then get sent to a TF2 & proton Discussion on linux... classic. |
Vulkan would be a big improvement for hybrid graphics laptops; Vulkan is multi-gpu aware and is capable of direct scanout and automatically choosing the discrete gpu. I've also noticed that TF2 on Linux is pretty taxing on the CPU, so anything which reduces the load on that would probably have a big effect. Even though my hardware is more than capable of running TF2 (i7-13800h, nvidia rtx 4000 ada workstation graphics), I still get pretty bad stutters and low performance under certain conditions, like being near a group of player models. Valve has to either make TF2 work under Proton or ensure feature parity with running it there. (Vulkan/DXVK, Wayland) |
Aged like fine wine :) tf2's x64 linux beta implements dxvk-native and ships a newer sdl2 version which is capable of Wayland. |
took a while but it happened. retail linux binary now uses dxvk and the game was updated to be 64bit. Guess that closes this chapter! |
So I was curious to see how it would behave, and was surprised to find that the game runs about with about 50%-75% higher fps (on my machine) under proton with d9vk enabled, compared to the native linux install.
the only problem I found was that the game launches in insecure mode using proton.
I suppose this would be more of a request than a "bug", but perhaps it might be worth investigating whether d9vk can be integrated into the game or eventually switching over to proton as the preferred install option on linux.
The text was updated successfully, but these errors were encountered: