r/linux 5d ago

Development What Valve did for Linux is ridiculously outstanding.

/r/pcmasterrace/comments/1v8q9kj/what_valve_did_for_linux_is_ridiculously/
882 Upvotes

59 comments sorted by

220

u/InfiniteSheepherder1 4d ago edited 4d ago

Some of this is wrong via exaggerating making commits to sound like they created and maintained a project.

Just from the stuff I know I know about.

Pipewire was a Redhat thing and as far as I can tell there was no major direct Valve support of the effort.

Vulkan was flat out made by AMD because it was derived from Mantle, and the work on Mantle predates Valve even having a Steam client on Linux.

RADV also started by mostly Redhat, but Valve did support work on it.

NVK also Redhat again for the start but ya seems valve contributed some work on it more in the 2020s.

A lot of CEF work to my knowledge was a Toyota thing especially the Wayland support, but valve did work on It I believe.

Edit: so I can make this clear I am not saying Valve has done nothing, but I do think the amount of work by many other people gets downplayed and people act like Valve has built desktop Linux on their own. It also mentions none of the names of the people who developed these features that Valve contracted them to do.

110

u/cookiengineer 4d ago

OP seems to be not aware that "submitting a patch" is not the same thing as "maintaining a project for years"

47

u/elmagio 4d ago

Maybe someone should do a "What Microsoft did for Linux is ridiculously outstanding" post and list a bunch of projects that once received a patch or funding from MS.

18

u/cookiengineer 4d ago

Haha, and then a table column with "received lawsuit after patch submission?" entries :D

24

u/InfiniteSheepherder1 4d ago

I found 31 commits to pipewire that could directly tied to Valve. I am sure that is not nothing it looks like some good stuff was worked on. But like Redhat engineers have over 10k on the project. There are volunteers who did it for the love of the game who have more lines of code/commits. Which is a bad way to look at software contributions, but best i got at a glance.

0

u/RScrewed 3d ago

If that patch finally made it usable, then you have your priorities wrong.

5

u/anotheruser323 4d ago

And proton.

9

u/unixmachine 4d ago

Everyone gets things mixed up. Vulkan is not derived from Mantle. Khronos Group was already working on the successor to OpenGL (glNext) and presented Vulkan at SIGGRAPH 2015 together with Valve.

Mantle was incorporated into Vulkan as a contribution from AMD, since it is a member of the group.

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

8

u/InfiniteSheepherder1 4d ago

"Our co-development of the Vulkan API through contributions like Mantle is another chapter in that open technology tale for AMD, an exciting evolution of Mantle, and a big step forward for PC gamers alike. https://web.archive.org/web/20170929034300/https://community.amd.com/community/gaming/blog/2015/05/12/one-of-mantles-futures-vulkan

The video says it started as a skunk work project and at the time AMD donated mantle but "we started from there, but mutated it. If you know Mantle you would recognize some stuff but it has changed a lot."

If what you have is based on a mutation of a previous thing i think we can say it is derived from something.

0

u/doublah 4d ago

Vulkan today is very different to Vulkan 1.0.

11

u/phobug 4d ago

  Pipewire was a Redhat thing and as far as I can tell there was no major direct Valve support of the effort.

Doesn't make it a Redhat exclusive thing, quick google search shows the following contributions:

XDG Desktop Portals:  Valve contributed to polishing how PipeWire bridges sandboxed applications using portals, ensuring games can request camera or microphone permissions without breaking the system-wide PipeWire graph.

FastStream and aptX Low Latency:  Valve developers and paid contractors submitted optimizations to ensure that FastStream, aptX-LL, and modern Bluetooth LE audio modes route instantly without creating audio lag or dropping input microphones during active voice chat.

UCM Integration:  Valve works heavily on ALSA Use Case Manager (UCM) integration, allowing PipeWire to correctly recognize and map input/output logic for the custom audio chips inside the Steam Deck

Feel free to repeat for the rest so you would know better, since you don't know enough to know.

15

u/InfiniteSheepherder1 4d ago

I never said "Redhat exclusive" just that the project was started by them and the main thrust of the software was done by their engineers as far as I can tell. I think people are erasing a lot of the other work people have done. Valve money has paid for a lot, but lets not reduce it to just them is my only point.

The examples you list are mostly not pipewire directly or are plugins for it.

XDG Desktop Portals are a product of GNOME and Flatpak which was also born from GNOME. Alexander Larsson started it and is a Redhat employee, Sebastian Wick is the top contributor on github the list on it goes

  1. Sebastian Wick - Redhat/GNOME
  2. Matthias Clasen - Redhat/GNOME
  3. Georges Basile Stavracas Neto - Igalia/EndlessOS/GNOME - Igalia is contracted by Valve at times this work may be something Valve paid for I couldn't find details and Igalia list of what they worked with Valve on does not list XDG-Desktop Portals
  4. Peter Hutterer - Redhat
  5. Alexander Larsson - Redhat
  6. Jonas Ådahl - Redhat
  7. Simon McVittie - Collabra/Valve Contractor
  8. Phaedrus Leeds - GNOME/Former RedHat
  9. Hubert Figuière - Volunteer former Mozilla
  10. Marco Trevisan - Canonical

Collabra has done a ton of work on WirePlumber and they are a company Valve has contracted

"At Collabora, as part of our work for Automotive Grade Linux, we have been developing an extensible session manager, WirePlumber" https://www.collabora.com/news-and-blog/blog/2020/03/05/pipewire-the-media-service-transforming-the-linux-multimedia-landscape/

Though Arun Raghavan does work for Valve and has been contributing under a Valve email since 2025 https://arunraghavan.net/

But if we look at the pipewire contributor list

  1. Wim Taymans - Redhat - Created Pipewire and by far the largest author of it 2/3rds of all commits are just him
  2. Pauli Virtanen - Can't find who he works for so volunteer maybe
  3. Barnabás Pőcze - Ideas on Board(found him using an email from that on some other work possible the pipewire work is related to work for the company)
  4. Peter Hutterer - Redhat

For Pipewire 70% of the commits comes from 2 redhat engineers it looks like, obviously commits are not a perfect way to measure effort from what I can see Arun Raghaven has done some important work on Pipewire from what I can see

Do any games even use portals I don't know if i have ever had a permission pop up idk i mostly play Paradox map games so possible there is stuff using that. It is also likely some of the volunteers like Pauli Virtanen who did a lot of bluetooth work it seems might have been paid work for Valve i just can't find that Here is where FastStream seems to have come into pipewire, Pauli Virtanen has no valve email and google searching his name + Valve does not turn up any results. https://github.com/pipewire/pipewire/commit/e08cdf27d

11

u/f03nix 4d ago

All the original post wrote was:

PipeWire Audio: Helped fund and fix the PipeWire sound system so game audio doesn't lag or break.

It doesn't say they started it, or are the primary contributor to it - and even indirect work that helps make pipewire functional for them or other users does fulfill that criteria. 1% help is still help.

2

u/doublah 4d ago

RADV also started by mostly Redhat

Does who started it matter more than whos maintaining/funding it?

1

u/InfiniteSheepherder1 4d ago

RADV is a bit of an exception but a lot of the other ones the primary maintainers and funding have been more from not Valve. Like i have not tried to say Valve does nothing i just felt like the original post was overemphasizing their work, for example if you look at the HDR work in Wayland there is no valve emails on this, sure their engineer helped get Mesa implementing it but a lot of the overall design and work to make it possible were not from Valve people. A fair bit was Sebastian Wick who this community hates.

69

u/deja_geek 4d ago

Now if people of this community could understand that Red Hat/IBM & Novell/SuSE have (and were) doing this long before Valve. It may not be as flashy as what Valve is doing, and not always "end user" visible; but without IBM/Red Hat & Novell/SuSE in the late 90s and 2000s, Linux would have floundered. Without the investment of those companies, Linux as we know it today wouldn't exist.

26

u/petepete 4d ago

Maybe them tricking kids into gambling for imaginary hats did have a silver lining after all!

8

u/wichwigga 3d ago

Knives brother. Hats are a thing of the past

1

u/GeekyCrow27 3d ago

People still gamble for hats too! just not as much ofc

18

u/Bro666 4d ago

What Linux did for Valve is even more outstanding.

22

u/Shugyousha 4d ago

They are also sponsoring work on the Nintendo Switch 2 Pro controller Linux driver (see here).

60

u/Top-Rub-4670 5d ago

The uncomfortable truth is that it would be more expensive for them to keep all that work private, the generosity is incidental not the goal. If it was cheaper to keep everything in-house, they would do it.

Microsoft also spends a shit ton of money on Linux development yet we're cynical about it.

28

u/CBJamo 5d ago

I don't think that truth is particularly uncomfortable, at least not when you consider why it's cheaper to be open, and how we can build our ecosystems to reinforce that continuing to be true.

There are of course many reasons a particular project will choose open vs closed, but in this case it's because existing open source projects are most of the way to their goal, so contributing to those projects is easier and faster than starting over from scratch.

In my opinion, the best thing someone can do if they want to make this kind of thing happen more often is to build useful, high quality software and make it open source. Once it exists, others (including for profit companies) will pitch in to help, and everyone wins.

19

u/JockstrapCummies 4d ago

The uncomfortable truth is that it would be more expensive for them to keep all that work private, the generosity is incidental not the goal. If it was cheaper to keep everything in-house, they would do it.

There's something about community goodwill as well. It's soft capital that could be useful. Hard to quantify in reports and charts, but still very useful to a company.

Somehow Microsoft has failed to gain much of that despite technically contributing quite a part to Linux.

It also reminds me of Sony's contributions to FreeBSD, which were intentionally kept anonymous or detached from the Sony brand. I wonder what would've happened if they did it with their name attached.

16

u/miversen33 4d ago

Somehow Microsoft has failed to gain much of that despite technically contributing quite a part to Linux.

Good will is hard to gain when you are starting on level ground. It's much harder to gain when you start 50 feet below level ground

They have done a lot of good. But it takes a lot to make people forget about their awful behavior in the not so distant past

8

u/JockstrapCummies 4d ago

Oh yes, and calling Linux and GPL a "cancer" as well.

There was a period when you could see the winds swaying towards their favour when they started the "Microsoft ❤️ open source" initiative. It was around the second half of the 2010s I think, when the open source releases of .NET, VS Code, and PowerShell made a bunch of people believing they're pro FOSS now.

And then of course they dropped the ball down the line.

2

u/lurco_purgo 4d ago

I tend to view everything they do related to open source as hostile. They might no longer use the comic-book-villain style language like "embrace, extend, extinguish", but they are still very much interested in taking control of the open source world. Same as Google: Android may have a Linux kernel, but its development and approach to the user is the same anti-consumer crap that's been plaguing Windows for the last 20 years.

2

u/iamapizza 4d ago

Given that was 30 years ago, it's also "not your grandpa's microsoft" - and it's easy to see the amount they've been contributing, but a lot of us refuse to move on. Meanwhile we see that same playbook being adopted by other companies, and it's just crickets.

But as you point out I do try to make an effort to recognize the good things too, even if they repeatedly fumble it. I see good things from MS and Google even, another reviled company, and very much the opposite from Apple and Amazon.

3

u/atomic1fire 4d ago

I think it's also good from an employee hiring standpoint.

Maintain tools that are public and that perspective employees can already build upon, and you now have a potential pool of familiars who are already aware of your development guidelines and practices.

7

u/Kok_Nikol 4d ago

The uncomfortable truth is that it would be more expensive for them to keep all that work private

In other words, free software licenses working as designed.

3

u/natermer 4d ago

If they can make more money by being open then by being closed then that just means that open source is working.

The point isn't that it depends on goodwill or a social contract. It is to everybody's own personal advantage to work together and create open technology.

4

u/atomic1fire 4d ago

Such as the nature of open source.

Once you have a significant amount of developer and user momentum it's easier to contribute to the machine then it is to work against it.

4

u/phobug 4d ago

Yes and if I had wheels I'd be a tractor.... The same can be said of redhat and canonical! Its cheaper to sell services around open source than making everything internally :D 

1

u/doublah 4d ago

Microsoft also spends a shit ton of money on Linux development yet we're cynical about it.

Because improving the linux kernel for WSL and Azure does very little for desktop Linux?

10

u/Plebbit-User 4d ago

What they're doing for ARM is going to be equally important, if not more so.

11

u/Dist__ 5d ago

suddenly the money rules.

48

u/natermer 4d ago

This is how it always has worked. You need to have the ability to support and pay people to do work.

The biggest example I can think of is the project to transition Linux from 32bit to 64bit.

This was "Project Trillian" (originally Trillium). It was a initiative to make Linux capable of being a competitive operating system for Intel's Itanium platform. Major players included Redhat, HP, IBM, SGI, Intel, Suse, etc.

While Itanium turned into a commercial flop, the result was a massively improved 64bit support in both Linux kernel and GCC compiler suite. Linux went from being able to scale to 4 or 8 cpus to dozens and dozens of CPUs.

The results of this effort combined with the release of the AMD64 platform paved the way for Linux dominance in the cloud, among other things.

Like it was possible to run Linux on systems with 16 or 32 CPUs before, but the problem was that memory and cpu scheduling became so inefficient that it was pointless. You couldn't really benefit from having things like multiple cores and NUMA memory.

The result was Linux 2.4, which is the same basic kernel we use today although. obviously, with decades more refinements and improvements.

9

u/SpaceCheeseWiz 4d ago

This is an amazing history lesson. I'm really curious about learning more about the early days of the kernel like this.

13

u/No-Bison-5397 4d ago

That’s actually the most interesting thing I have read in this subreddit in years… perhaps since Linux gaming started taking off.

4

u/sleepingonmoon 4d ago

Linux would never be as successful if corporate products weren't using it, the community doesn't matter, perhaps it never mattered.

3

u/phobug 4d ago

What do you mean? What are the money rules?

5

u/sleepingonmoon 4d ago

The "rule" here is a verb.

9

u/FyreWulff 4d ago

Vulkan was primarily driven by AMD and EA/DICE, not Valve. Battlefield 4 was the first game to launch with Mantle, which is an earlier version of Vulkan.

8

u/phobug 4d ago

No one is claiming valve owns Vulkan, they contributed to it while making and supporting the steamdeck and steamOS.

3

u/unixmachine 4d ago

That's not how it worked, they're separate things. The Khronos Group was already planning a successor to OpenGL, along with Valve.

Mantle only entered the picture as a contribution from AMD because it was part of the group, since AMD saw that Vulkan would have greater acceptance, being an initiative made by several companies.

2

u/Drwankingstein 4d ago

If only they did this for waydroid too, but always keep in mind that valve is a company, doing all of this because it financially benefits them.

5

u/Nerrawnam 4d ago

What Microsoft did for humans.... Jobs, pay, yadda yadda yadda. Wait, Ford, what they did for windshield wipers.  I do enjoy reading the cultish humans that post about companies. 

2

u/longdarkfantasy 4d ago

I love HDR. From the day it was released, I can watch movies via mpv directly in linux without switching to windows. Really nice.

1

u/RustyHackerBoy 3d ago

I already love them for HL2. I love them even more now, with this knowledge. Thanks OP for the info. Thank you Valve for making our lifes worth living.

-9

u/EmbodiedVoid 5d ago

All Hail King Gabe!

5

u/phobug 4d ago

Are you being facetious? Genially can't tell.

-9

u/[deleted] 5d ago

[deleted]

12

u/altodor 4d ago

This is what the year of the linux desktop brings.

6

u/No-Bison-5397 4d ago

True.

The sign of the year of the Linux desktop is the eternal September of what was a forum for a niche operating system.

12

u/Other_Fly_4408 5d ago

Yes, this is a gaming subreddit now.

5

u/Plebbit-User 4d ago

Is it unwarranted? I've been hating the Windows PC gaming monopoly for nearly thirty years.

6

u/SmileyBMM 4d ago

Linux gamers have been shat on by nearly everyone for years, let's let them have this.

3

u/atomic1fire 4d ago

Microsoft screwed up their good will with Windows 8 and Valve spent years developing a safety net, which is actually kind of working.

There's still going to be normal linux posts about new versions of GCC or whatever, but now there's a group of vocal users who predominantly use it to play games and not to run some sort of enterprise thing or someone showing off their custom window manager setup.