Portal 2, the classic first-person puzzle game from Valve available on Steam, just had a huge upgrade come out of nowhere along with Vulkan API support powered by the DXVK project.
To stop any rumours: no, this is not Source 2 or anything of the sort. Portal 2 by default uses Direct3D 9 on Windows and OpenGL on Linux. For the Linux version, original Source engine games like this used a translation layer called ToGL to translate D3D9 to OpenGL.
With this update it now includes a special native build of DXVK along with some extra dedicated Source tweaks, which allows you to run Portal 2 with "-vulkan" as a launch option to switch it over to Vulkan. It might give you better performance depending on your setup, although the OpenGL build already performed quite well overall.
That's not all though, there's a lot more included in this update. For the Linux version it's especially great, as there's a few very specific fixes done for us including: it actually has an icon now, a Linux startup crash was solved, they fixed a credits corruption on Linux, a few intro videos weren't playing on Linux, BEEMod should work better on Linux and the game should no longer appear in the top left corner of the screen for some Linux players.
Apart from that, here's what else has changed:
Improvements:
- Improved compile time for Perpetual Training Initiative puzzles.
- Improved advanced video settings descriptions.
- Made the game Hi-DPI aware.
- Smarter default video settings.
- Improved resolution of player avatars throughout the game.
- Players can now be invited to play co-op on controller.
- Button text contrast and padding has been improved when using a controller.
- Implemented a 360° Spin action.
- The portalgun is now correctly affected by dynamic lights (projected textures) in the scene.
- Improved client-side prediction for coop play.
- Added the ability for workshop levels to pack particles into their map with a particles/map_manifest.txt
- Misc. rendering optimizations.
- Removed the "Trading Coming Soon" button.
Bug Fixes:
- Fixed a crash in the PeTI if you placed a light strip above a laser catcher on the floor and linked it to a fizzler.
- Fixed the fizzler not playing the retract animation when turned off in new PeTI maps.
- Fixed being able to copy 'uncopyable' items in the PeTI leading to invalid/broken levels.
- Fixed some items in PeTI not maintaining their portalability state when expanding the chamber boundaries.
- Fixed a crash if PeTI avatars could not be retrieved.
- Fixed Cave Johnson's lines not progressing when playing queued workshop levels.
- Fixed a memory leak that could occur when changing levels.
- Fixed a bug where you could no longer ping/taunt via mouse/keyboard if you have ever used a controller.
- Fixed the ping menu being visible when quick pinging on controller.
- Fixed the game instructor not respecting input types for respective players in split-screen mode.
- Fixed rumble not being respected for respective players in split-screen mode.
- Fixed the wrong avatar being used if playing coop after playing a workshop level.
- Fixed the OnFiredPortal2 output not firing.
- Fixed some text being duplicated on the screen multiple times.
You can buy and play Portal 2 on Steam.
You can buy and play Portal 2 on Steam.
Funny. We all know that Sin is the last person in the world that hasn't played the Portal games.
OpenGL ~400 FPS while Vulkan ~190 FPS.
If believe in first benchmarks, semi-native OpenGL still performs much better than semi-native Vulkan.Tested it myself, and the difference on my hardware was about the same. Weird you see such a big difference.
OpenGL ~400 FPS while Vulkan ~190 FPS.
It's so smooth on Linux (AMD OSS), fast and no artifacts.
Not sure why this work seemed useful to Valve.
Maybe for MacOS support without OpenGL through MoltenVK
DX9 --DXVK--> Vulkan --MoltenVK--> Metal
Oh my. :D
Last edited by sub on 19 February 2021 at 3:22 pm UTC
If believe in first benchmarks, semi-native OpenGL still performs much better than semi-native Vulkan.Tested it myself, and the difference on my hardware was about the same. Weird you see such a big difference.
OpenGL ~400 FPS while Vulkan ~190 FPS.
Not my benchmark.
https://www.reddit.com/r/linux_gaming/comments/ln4eeg/portal_2_benchmarks_vulkan_on_linux_vulkan/
Looks like DXVK in Proton (translating from DX9 to Vulkan or from Vulkan to Vulkan) is faster than OpenGL without Proton but also this OpenGL is faster than Vulkan without Proton.
If the first case is correct, I expect to see similar updates with other Valve games, as well as this option inside the game options instead of a launch parameter.
Maybe the Stadia servers only support Vulkan and the recent announcement of Google signifies some sort of deal being struck with Valve? *pure speculation*
That would be golden, like geforce now, but on Linux with valve catalogue, one of the best combinations for us.
Maybe the Stadia servers only support Vulkan and the recent announcement of Google signifies some sort of deal being struck with Valve? *pure speculation*
That would be golden, like geforce now, but on Linux with valve catalogue, one of the best combinations for us.
Well, this could go various ways... *June 2021* Google announces acquiring a majority stake in Valve Software (as founder Gabe Newell retires in New Zeeland with his new found billions). Steam to be integrated with Stadia, Android support coming through Playstore... *you heard it here first kids* :p
*June 2021* Google announces acquiring a majority stake in Valve Software (as founder Gabe Newell retires in New Zeeland with his new found billions).
That would be terrible. The next announcement would be:
*August 2023* Google announces they are shutting down the Steam game platform and instead moving the Valve team into a new Google subsidiary writing messaging apps.
Last edited by no_information_here on 19 February 2021 at 6:06 pm UTC
*June 2021* Google announces acquiring a majority stake in Valve Software (as founder Gabe Newell retires in New Zeeland with his new found billions).
That would be terrible. The next announcement would be:
*August 2023* Google announces they are shutting down the Steam game platform and instead moving the Valve team into a new Google subsidiary writing messaging apps.
That was my point. I guess I should have put /s
They also wouldn't be able to cancel any project with a 3 in the name.
Last edited by CatKiller on 19 February 2021 at 7:23 pm UTC
Hardware: i7-7820HQ (GPU: HD 630)
OS: Xubuntu 20.4
This is a very welcome addition and I hope Valve continues to work on it.
Coupled with Proton libs, its not far fetched to see a Valve maintained, Steam only, linux "wrapper" for your game to get extra Linux sales. Make the barrier low enough and there's not really a reason for a dev not to "push the linux button". If the barrier to wrap a game is stupidly low, Valve could even charge extra for it.
We can argue wether or not a wine/DXVK wrapper around a game is a "real" port or not. But in the end, it will run on linux, and that's what most people really want.
See more from me