Upvote Upvoted 37 Downvote Downvoted
1 2
TF2 has a 64bit and Vulkan update in testing
1
#1
0 Frags +

(in linux)

sources:

Eventually, the Windows version should be 64bit too.
[i](in linux)[/i]

sources:
[list]
[*] https://www.gamingonlinux.com/2024/01/team-fortress-2-has-a-64bit-and-vulkan-update-for-linux-in-testing/
[*] it was also boosted by Timothee Besset, who works for Valve: https://mastodon.social/@TTimo
[*] https://mastodon.social/@TTimo/111811122750500199
[/list]

[quote]Eventually, the Windows version should be 64bit too.[/quote]
2
#2
-11 Frags +

We've been playing tf2 on 32 bit this whole time? Wtf valve

We've been playing tf2 on 32 bit this whole time? Wtf valve
3
#3
33 Frags +

finally, 32 more bits

finally, 32 more bits
4
#4
36 Frags +

somehow this will lower my framerate even more

somehow this will lower my framerate even more
5
#5
2 Frags +

https://www.youtube.com/watch?v=fUA5ZzNY70A

https://www.youtube.com/watch?v=fUA5ZzNY70A
6
#6
9 Frags +

https://lr.drgnz.club/r/tf2/comments/19ecd0k/linux_beta_vulkan_benchmark/
so far I've read of +25% to 30% uplifts

edit: also read about someone having the performance unchanged and when I tried the branch, it soft locked the entire system upon entering game's menu, so yeah

https://lr.drgnz.club/r/tf2/comments/19ecd0k/linux_beta_vulkan_benchmark/
so far I've read of +25% to 30% uplifts

edit: also read about someone having the performance unchanged and when I tried the branch, it soft locked the entire system upon entering game's menu, so yeah
7
#7
3 Frags +

This is more overdue than any sort of content update they could give us tbh

This is more overdue than any sort of content update they could give us tbh
8
#8
-3 Frags +

im sure the 8 people that game on linux will be stoked

im sure the 8 people that game on linux will be stoked
9
#9
-2 Frags +

https://media.tenor.com/y0zptlFKiYIAAAAM/yay-kitty.gif

https://media.tenor.com/y0zptlFKiYIAAAAM/yay-kitty.gif
10
#10
tf2pickup.org
9 Frags +
Richarrrrdim sure the 8 people that game on linux will be stoked

well it's supposed to be available first on linux but then on windows too meaning pretty much all players will gain (probably a lot of) performance from that sooner or later

[quote=Richarrrrd]im sure the 8 people that game on linux will be stoked[/quote]
well it's supposed to be available first on linux but then on windows too meaning pretty much all players will gain (probably a lot of) performance from that sooner or later
11
#11
6 Frags +
supragain (probably a lot of) performance

I don't know if this will necessarily be the case, 64-bit might help with the occasional out of memory crashes that people experience in certain rare circumstances, and maybe fix things like this, but gmod for example has a 64-bit version and it performs about the same as the 32-bit one. I guess it's good future-proofing if microsoft ever decides to drop the 32-bit libraries from windows.

As for vulkan, valve has already released a vulkan shaderapi for games like csgo and portal 2 and at least on windows it seems to perform pretty consistently worse than the directx one across the board, but who knows, maybe tf2 will be different for some reason. For linux it's definitely a welcome addition.

[quote=supra]gain (probably a lot of) performance[/quote]
I don't know if this will necessarily be the case, 64-bit might help with the occasional out of memory crashes that people experience in certain rare circumstances, and maybe fix things like [url=https://www.youtube.com/watch?v=QzZoo1yAQag]this[/url], but gmod for example has a 64-bit version and it performs about the same as the 32-bit one. I guess it's good future-proofing if microsoft ever decides to drop the 32-bit libraries from windows.

As for vulkan, valve has already released a vulkan shaderapi for games like csgo and portal 2 and at least on windows it seems to perform pretty consistently worse than the directx one across the board, but who knows, maybe tf2 will be different for some reason. For linux it's definitely a welcome addition.
12
#12
45 Frags +

64-bit alone will do a little bit for performance. Raising the game from SSE to SSE2 will allow the compiler to do better optimizations, especially for mathematical calculations (as well as more consistent rounding). And 64-bit compilers have new rules that finally force them to remove a bunch of legacy code that is incompatible with some compiler optimizations. It also forces more proper memory alignment in the engine, which can improve performance.

On Windows, 64-bit will eliminate the WoW64 compatibility layer, which adds some overhead to threading and disk reading mainly. I am not sure of the overhead, if any, of 32-bit support on Linux.

64-bit also increases the amount of RAM available from 4GB to practically unlimited. This fixes out-of-memory crashes that people sometimes get, especially with higher texture qualities (on DX8, I believe, and on some Linux drivers) because of system copies of texture data. But it also happens for 100-player servers and custom MvM missions sometimes.

The increased RAM can also allow people to increase cache sizes, which can help with cosmetic and sound loading and the stutters associated with both.

Furthermore, on Linux, the runtime is being upgraded from Ubuntu 12.04 to Steam Linux Runtime 3 (sniper), a much more modern set of tools in terms of the compiler, SDL graphics/input library, and more. This has performance improvements, bug fixes (for example, the MvM TFBot name issue on Valve servers), console text rendering fixes, and a double mouse sensitivity fix.

The port also means some libraries are being changed. The memory allocator is being changed to mimalloc, which is much faster and means there will be less overhead for a lot of operations. The MP3 reading is being changed from Miles to minimp3, which is also faster.

A new dxvk-based layer for DirectX to Vulkan is being added, which gets graphical parity for Linux compared to Windows, and also gets rid of overhead, massively improving performance for graphics rendering on Linux. On Windows, the dxvk results have been quite middling and inconsistent, though.

Finally, performance changes are being made, from TC2 and some new fixes. The extent of this is not fully known or realized yet but I can say that I am very optimistic about some pretty impactful performance improvements getting in.

64-bit alone will do a little bit for performance. Raising the game from SSE to SSE2 will allow the compiler to do better optimizations, especially for mathematical calculations (as well as more consistent rounding). And 64-bit compilers have new rules that finally force them to remove a bunch of legacy code that is incompatible with some compiler optimizations. It also forces more proper memory alignment in the engine, which can improve performance.

On Windows, 64-bit will eliminate the WoW64 compatibility layer, which adds some overhead to threading and disk reading mainly. I am not sure of the overhead, if any, of 32-bit support on Linux.

64-bit also increases the amount of RAM available from 4GB to practically unlimited. This fixes out-of-memory crashes that people sometimes get, especially with higher texture qualities (on DX8, I believe, and on some Linux drivers) because of system copies of texture data. But it also happens for 100-player servers and custom MvM missions sometimes.

The increased RAM can also allow people to increase cache sizes, which can help with cosmetic and sound loading and the stutters associated with both.

Furthermore, on Linux, the runtime is being upgraded from Ubuntu 12.04 to Steam Linux Runtime 3 (sniper), a much more modern set of tools in terms of the compiler, SDL graphics/input library, and more. This has performance improvements, bug fixes (for example, the MvM TFBot name issue on Valve servers), console text rendering fixes, and a double mouse sensitivity fix.

The port also means some libraries are being changed. The memory allocator is being changed to mimalloc, which is much faster and means there will be less overhead for a lot of operations. The MP3 reading is being changed from Miles to minimp3, which is also faster.

A new dxvk-based layer for DirectX to Vulkan is being added, which gets graphical parity for Linux compared to Windows, and also gets rid of overhead, massively improving performance for graphics rendering on Linux. On Windows, the dxvk results have been quite middling and inconsistent, though.

Finally, performance changes are being made, from TC2 and some new fixes. The extent of this is not fully known or realized yet but I can say that I am very optimistic about some pretty impactful performance improvements getting in.
13
#13
2 Frags +

but will it break sourcemod?

but will it break sourcemod?
14
#14
3 Frags +

I'm sure they have been aware at some level for a while, and the beta testing period will be long enough for mods to catch up. The only thing sure to permanently break is PREC, but hopefully, Demo Support will get some fixes in this update to get parity with it. (https://www.teamfortress.tv/63486/why-use-p-rec-over-integrated-demo-support)

I'm sure they have been aware at some level for a while, and the beta testing period will be long enough for mods to catch up. The only thing sure to permanently break is PREC, but hopefully, Demo Support will get some fixes in this update to get parity with it. (https://www.teamfortress.tv/63486/why-use-p-rec-over-integrated-demo-support)
15
#15
14 Frags +
mastercoms Raising the game from SSE to SSE2 will allow the compiler to do better optimizations, especially for mathematical calculations (as well as more consistent rounding)

Do you think this would affect wall bugs and other things that occur with rounding issues?

[quote=mastercoms] Raising the game from SSE to SSE2 will allow the compiler to do better optimizations, especially for mathematical calculations (as well as more consistent rounding)[/quote]

Do you think this would affect wall bugs and other things that occur with rounding issues?
16
#16
26 Frags +

might be a hot take round these parts but i'll gladly take the death of wallbugs for improved performance

might be a hot take round these parts but i'll gladly take the death of wallbugs for improved performance
17
#17
2 Frags +
Junomastercoms Raising the game from SSE to SSE2 will allow the compiler to do better optimizations, especially for mathematical calculations (as well as more consistent rounding)
Do you think this would affect wall bugs and other things that occur with rounding issues?

i easily wallbug on cp_process_final so guessing nothing changed in that regard

[quote=Juno][quote=mastercoms] Raising the game from SSE to SSE2 will allow the compiler to do better optimizations, especially for mathematical calculations (as well as more consistent rounding)[/quote]

Do you think this would affect wall bugs and other things that occur with rounding issues?[/quote]
i easily wallbug on cp_process_final so guessing nothing changed in that regard
18
#18
0 Frags +

probably would break linux bugs idk though https://jump.tf/forum/index.php?topic=3426.0

probably would break linux bugs idk though https://jump.tf/forum/index.php?topic=3426.0
19
#19
2 Frags +
turbochad69probably would break linux bugs idk though https://jump.tf/forum/index.php?topic=3426.0

Given the cause of Linux bugs it doesn't seem likely that simply upgrading from 32 to 64 bits would break them.

[quote=turbochad69]probably would break linux bugs idk though https://jump.tf/forum/index.php?topic=3426.0[/quote]

Given the cause of Linux bugs it doesn't seem likely that simply upgrading from 32 to 64 bits would break them.
20
#20
13 Frags +

Now available on Windows

Now available on Windows
21
#21
-1 Frags +
mastercomsNow available on Windows

How does one get this.

[quote=mastercoms]Now available on Windows[/quote]
How does one get this.
22
#22
1 Frags +

This is super good - do we need a different build of srcds for it to work on 64 bit or is it cross compatible?

This is super good - do we need a different build of srcds for it to work on 64 bit or is it cross compatible?
23
#23
0 Frags +

Can someone try to benchtest a few demos on the 32 bit and 64 bit beta?

Can someone try to benchtest a few demos on the 32 bit and 64 bit beta?
24
#24
0 Frags +
RahmedCan someone try to benchtest a few demos on the 32 bit and 64 bit beta?

Loaded up the beta branch and played on a tr_walkway to see like ~10 fps increase. Definitely leaning toward coincidence though. Haven't tried demos yet but I'm betting they will be broken like after most updates now. I'll edit when I have time to test demos.

[quote=Rahmed]Can someone try to benchtest a few demos on the 32 bit and 64 bit beta?[/quote]

Loaded up the beta branch and played on a tr_walkway to see like ~10 fps increase. Definitely leaning toward coincidence though. Haven't tried demos yet but I'm betting they will be broken like after most updates now. I'll edit when I have time to test demos.
25
#25
4 Frags +

32bit

3267 frames 11.225 seconds 291.04 fps ( 3.44 ms/f) 24.448 fps variability

64bit

3267 frames 11.235 seconds 290.78 fps ( 3.44 ms/f) 43.185 fps variability

just a pub demo in a CPU limited scenario, no time in spawn or deathcam
dx95 mastercoms low

see below, testing was flawed

[s]32bit
[code]3267 frames 11.225 seconds 291.04 fps ( 3.44 ms/f) 24.448 fps variability[/code]

64bit
[code]3267 frames 11.235 seconds 290.78 fps ( 3.44 ms/f) 43.185 fps variability[/code]

just a pub demo in a CPU limited scenario, no time in spawn or deathcam
dx95 mastercoms low

[/s]

see below, testing was flawed
26
#26
0 Frags +

will the old betas still run in 32 bit?

will the old betas still run in 32 bit?
27
#27
1 Frags +
mitchThis is super good - do we need a different build of srcds for it to work on 64 bit or is it cross compatible?

Yes, they're not cross-compatible

Phnxwill the old betas still run in 32 bit?

You mean the betas that let you watch demos? They will probably remain 32bit

[quote=mitch]This is super good - do we need a different build of srcds for it to work on 64 bit or is it cross compatible?[/quote]
Yes, they're not cross-compatible

[quote=Phnx]will the old betas still run in 32 bit?[/quote]
You mean the betas that let you watch demos? They will probably remain 32bit
28
#28
3 Frags +
twiikuumitchThis is super good - do we need a different build of srcds for it to work on 64 bit or is it cross compatible?Yes, they're not cross-compatible
Phnxwill the old betas still run in 32 bit?You mean the betas that let you watch demos? They will probably remain 32bit

Yes that's what I meant, And what about programs like HLAE, Lawena and AviRecorder?

[quote=twiikuu][quote=mitch]This is super good - do we need a different build of srcds for it to work on 64 bit or is it cross compatible?[/quote]
Yes, they're not cross-compatible

[quote=Phnx]will the old betas still run in 32 bit?[/quote]
You mean the betas that let you watch demos? They will probably remain 32bit[/quote]
Yes that's what I meant, And what about programs like HLAE, Lawena and AviRecorder?
29
#29
16 Frags +

more benchmarks
this is on a 13600k

Windows 11

Show Content
32bit fresh3267 frames 12.572 seconds 259.87 fps ( 3.85 ms/f) 21.638 fps variability
3267 frames 12.573 seconds 259.84 fps ( 3.85 ms/f) 21.195 fps variability
3267 frames 12.581 seconds 259.67 fps ( 3.85 ms/f) 21.060 fps variability
32bit - copied old custom folder3267 frames 12.723 seconds 256.78 fps ( 3.89 ms/f) 24.883 fps variability
3267 frames 12.537 seconds 260.59 fps ( 3.84 ms/f) 21.946 fps variability
3267 frames 12.472 seconds 261.96 fps ( 3.82 ms/f) 22.366 fps variability
64bit3267 frames 9.857 seconds 331.45 fps ( 3.02 ms/f) 30.149 fps variability
3267 frames 9.924 seconds 329.22 fps ( 3.04 ms/f) 30.956 fps variability
3267 frames 9.665 seconds 338.02 fps ( 2.96 ms/f) 30.280 fps variability
64bit - copied old custom folder3267 frames 9.877 seconds 330.78 fps ( 3.02 ms/f) 30.767 fps variability
3267 frames 9.937 seconds 328.78 fps ( 3.04 ms/f) 30.117 fps variability
3267 frames 9.955 seconds 328.17 fps ( 3.05 ms/f) 31.133 fps variability

these results made me wonder why 64bit was faster on Win11 but not Win10.
it's because I forgot that it would be a new exe; on Win10 I use process lasso to set the core affinity of hl2.exe so that it doesn't try to use E-cores, and I also disable core 0 since that guy is always up to no good.

Windows 10 re-tested

Show Content
32bit, 5 cores (my usual settings)3267 frames 10.983 seconds 297.45 fps ( 3.36 ms/f) 25.718 fps variability
3267 frames 11.345 seconds 287.96 fps ( 3.47 ms/f) 24.452 fps variability
3267 frames 11.292 seconds 289.33 fps ( 3.46 ms/f) 25.462 fps variability
64bit, default affinity3267 frames 10.458 seconds 312.38 fps ( 3.20 ms/f) 50.489 fps variability
3267 frames 10.182 seconds 320.85 fps ( 3.12 ms/f) 51.322 fps variability
3267 frames 10.281 seconds 317.77 fps ( 3.15 ms/f) 49.849 fps variability
64bit, P-cores only (0-5)3267 frames 8.984 seconds 363.65 fps ( 2.75 ms/f) 37.203 fps variability
3267 frames 8.850 seconds 369.15 fps ( 2.71 ms/f) 38.201 fps variability
3267 frames 8.936 seconds 365.59 fps ( 2.74 ms/f) 38.869 fps variability
64bit, P-cores only, no core0 (1-5)3267 frames 8.549 seconds 382.17 fps ( 2.62 ms/f) 36.685 fps variability
3267 frames 8.588 seconds 380.42 fps ( 2.63 ms/f) 36.313 fps variability
3267 frames 8.557 seconds 381.81 fps ( 2.62 ms/f) 37.040 fps variability

Looks incredibly promising, core utilisation looks so much better, much more like the performance of TC2

On Win10, manually setting affinity is still a huge boost (as with 32bit).
Win11 already has good scheduling - I did test process lasso, showed no benefit

and the benchmark demo if anyone wants to try it

more benchmarks
this is on a 13600k

[b]Windows 11[/b]
[spoiler]
[quote=32bit fresh]
3267 frames 12.572 seconds 259.87 fps ( 3.85 ms/f) 21.638 fps variability
3267 frames 12.573 seconds 259.84 fps ( 3.85 ms/f) 21.195 fps variability
3267 frames 12.581 seconds 259.67 fps ( 3.85 ms/f) 21.060 fps variability
[/quote]

[quote=32bit - copied old custom folder]
3267 frames 12.723 seconds 256.78 fps ( 3.89 ms/f) 24.883 fps variability
3267 frames 12.537 seconds 260.59 fps ( 3.84 ms/f) 21.946 fps variability
3267 frames 12.472 seconds 261.96 fps ( 3.82 ms/f) 22.366 fps variability
[/quote]

[quote=64bit]
3267 frames 9.857 seconds 331.45 fps ( 3.02 ms/f) 30.149 fps variability
3267 frames 9.924 seconds 329.22 fps ( 3.04 ms/f) 30.956 fps variability
3267 frames 9.665 seconds 338.02 fps ( 2.96 ms/f) 30.280 fps variability
[/quote]

[quote=64bit - copied old custom folder]
3267 frames 9.877 seconds 330.78 fps ( 3.02 ms/f) 30.767 fps variability
3267 frames 9.937 seconds 328.78 fps ( 3.04 ms/f) 30.117 fps variability
3267 frames 9.955 seconds 328.17 fps ( 3.05 ms/f) 31.133 fps variability[/quote]
[/spoiler]


these results made me wonder why 64bit was faster on Win11 but not Win10.
it's because I forgot that it would be a new exe; on Win10 I use process lasso to set the core affinity of hl2.exe so that it doesn't try to use E-cores, and I also disable core 0 since that guy is always up to no good.

[b]Windows 10 re-tested[/b]
[spoiler]

[quote=32bit, 5 cores (my usual settings)]3267 frames 10.983 seconds 297.45 fps ( 3.36 ms/f) 25.718 fps variability
3267 frames 11.345 seconds 287.96 fps ( 3.47 ms/f) 24.452 fps variability
3267 frames 11.292 seconds 289.33 fps ( 3.46 ms/f) 25.462 fps variability[/quote]


[quote=64bit, default affinity]3267 frames 10.458 seconds 312.38 fps ( 3.20 ms/f) 50.489 fps variability
3267 frames 10.182 seconds 320.85 fps ( 3.12 ms/f) 51.322 fps variability
3267 frames 10.281 seconds 317.77 fps ( 3.15 ms/f) 49.849 fps variability
[/quote]

[quote=64bit, P-cores only (0-5)]3267 frames 8.984 seconds 363.65 fps ( 2.75 ms/f) 37.203 fps variability
3267 frames 8.850 seconds 369.15 fps ( 2.71 ms/f) 38.201 fps variability
3267 frames 8.936 seconds 365.59 fps ( 2.74 ms/f) 38.869 fps variability
[/quote]

[quote=64bit, P-cores only, no core0 (1-5)]3267 frames 8.549 seconds 382.17 fps ( 2.62 ms/f) 36.685 fps variability
3267 frames 8.588 seconds 380.42 fps ( 2.63 ms/f) 36.313 fps variability
3267 frames 8.557 seconds 381.81 fps ( 2.62 ms/f) 37.040 fps variability[/quote]
[/spoiler]

Looks incredibly promising, core utilisation looks so much better, much more like the performance of TC2

On Win10, manually setting affinity is still a huge boost (as with 32bit).
Win11 already has good scheduling - I did test process lasso, showed no benefit

[url=https://drive.google.com/file/d/1UyxgiFaE_JFJR8kuG88cvbUN9fLXD8Ol/view?usp=sharing]and the benchmark demo[/url] if anyone wants to try it
30
#30
2 Frags +
PhnxtwiikuumitchThis is super good - do we need a different build of srcds for it to work on 64 bit or is it cross compatible?Yes, they're not cross-compatible
Phnxwill the old betas still run in 32 bit?You mean the betas that let you watch demos? They will probably remain 32bit
Yes that's what I meant, And what about programs like HLAE, Lawena and AviRecorder?

I can't speak for client side plugins but this will definitely break a lot if not all server side plugins. I know for a fact that all sourcepython based plugins (tempus being the biggest one) will be bricked for sure, and the sourcepy devs are very dead so thats going to be a lot of fun.

[quote=Phnx][quote=twiikuu][quote=mitch]This is super good - do we need a different build of srcds for it to work on 64 bit or is it cross compatible?[/quote]
Yes, they're not cross-compatible

[quote=Phnx]will the old betas still run in 32 bit?[/quote]
You mean the betas that let you watch demos? They will probably remain 32bit[/quote]
Yes that's what I meant, And what about programs like HLAE, Lawena and AviRecorder?[/quote]

I can't speak for client side plugins but this will definitely break a lot if not all server side plugins. I know for a fact that all sourcepython based plugins (tempus being the biggest one) will be bricked for sure, and the sourcepy devs are very dead so thats going to be a lot of fun.
1 2
Please sign in through STEAM to post a comment.