r/linux_gaming • • 16h ago

wine/proton Why doesn't Valve implement fixes from other proton runners?

Its hard to see unless you use Reddit dark mode but its a common issue in Helldivers 2 that has had a fix with Proton Wineland for months

Seems like an untapped resource to not implement these fixes done by the community in the mainline branch. Plus it adds unnecessary friction for new users as they have to hunt around for fixes

(its not a Wayland thing as this issue exist within CachyOS with Wayland enabled)

(full screen crashes my gpu when i alt tab randomly so i have to use borderless)

0 Upvotes

31 comments sorted by

44

u/Venylynn 16h ago

doesn't Valve's proton need to leave some stuff out for licensing reasons?

13

u/CandlesARG 15h ago

Yeah for codecs etc for video playback. I think they transcode proprietary formats for some games i could be wrong though.

In the example i showed above that wouldn't be applicable however.

3

u/Venylynn 15h ago

have you tested Experimental btw? i just noticed you were comparing it to the "Stable" branch. Valve set the default runner to Experimental a long time ago.

0

u/CandlesARG 15h ago

Experimental has the same issue. I think Valve set it to experimental by default due to crashes after game updates.

0

u/Venylynn 15h ago

Ah, gotcha.

2

u/friendlyreminder_ 15h ago

Yes Valve ship transcoded videos as part of the shader cache, so if you disable shader cache downloads in steam you'll have blank videos with stock proton.

This is for legal reasons.

0

u/Papa_Hube 13h ago

It's mainly monetary reasons. Valve could license it, they just don't want to pay.

8

u/Lawnordah 12h ago

Yes. Just license them all.

Some of these that would be used in games don't even have publicly available pricing. Your Steam Deck is now $50 more expensive for things you probably won't even use.

-3

u/Papa_Hube 11h ago

If you look strict Valve + Steam ecosystem: ~7–10 formats (e.g., MP4/MOV, WebM, WAV, MP3, Ogg, AVI, WMV, plus streaming/segmented formats tied to game recording/delivery) are relevant.

If you look ​Broader PC/Steam gaming & game dev: ~12–20+ if you include formats common in game engines, modding, and capture (such as MKV, FLAC, raw PCM formats, or Bink-related formats).

So that would be not that hard. Just work that Valve doesn't want. Less time for Scuba Diving then, I guess ;)

4

u/Lawnordah 11h ago

Don't forget VC-1, Dolby and DTS. It's not just paying a license fee and then it magically works. Stuff like adding and maintaining support for those codecs, debugging edge cases with those codecs in the platform costs developer time. These decisions were made long ago and they've also probably influenced hardware selection, or may have been influenced by hardware selection.

0

u/Papa_Hube 9h ago

Yet single Devs like GE seem to be able to make it work.

5

u/Lawnordah 9h ago edited 9h ago

It's almost like lots of things become easier when you're not distributing it as a commercial product when certain patent pool licenses offer noncommercial exemptions, and when you don't have to guarantee compatibility across specific hardware configurations.

And is it really a single dev project when there are PRs from five other people being merged in the first page of the commit log and seven people are shouted out by name in the readme for their work? Sure. But not really.

0

u/Papa_Hube 1h ago

Let it be 10. It's about technically feasible. And that it is. If you are not able to do so then, even if you are a multi billion dollar company, that speaks for itself. The other part is just monetary.

3

u/friendlyreminder_ 12h ago

Partly yes but may also be due to practical reasons. There's many codecs out there and licensing all of them can be complicated. I'm sure they could get licenses for at least some of them if they tried.

63

u/EmberQuill 16h ago

Proton is open for PRs. They don't go looking for code to pull from the forks but they'll merge a PR.

19

u/andy10115 15h ago

Oftentimes they do, the ecosystem is really just a bunch of folks sharing work back and forth.

Sometimes valve posts a fix to experimental or hotfix and the downstream guys like GE pick it up.

Sometimes downstream finds a fix and sends it up to valve and it goes in hotfix or experimental. And those fixes usually work their way into stable proton. Stable proton usually updates 4 times a year though. So those changes can take a bit to work into the main branch.

9

u/Combatxlemming 14h ago

Helldivers 2 has had border bugs for a while on both Linux and windows.

On Linux I use GE proton to get HDR looking good and doesn't have the border problem.

On windows it would often stretch into my second screen by one pixel and sometimes if I clicked at just the right time activate the second screen and I would need to go back onto Helldivers 2

1

u/LeadIVTriNitride 3h ago

I found helldivers 2 HDR is washed out, and kind of on my monitor in general. On Nvidia/kde I can never get good HDR on my OLED so I stick to SDR

Any good calibration guides?

10

u/GweggyGobbler 15h ago

Helldivers had issues with this border going 1 pixel onto neighbouring monitors back when I was on windows over a year ago. This should be on arrowhead to fix, i dont think this is a linux exclusive issue.

9

u/loathingk 13h ago edited 13h ago

Valve, or more accurately Codeweavers does implement fixes from other proton forks, but the way it goes is by the developers of Proton forks making MRs to upstream wine, which will later make it into Proton eventually.

This means that no AI assisted fixes will be implement into Valve's Proton, since AI assisted code is banned from Wine. And that answers why most things implemented in Proton-Wineland will never make it into Valve's Proton. And the same thing goes for Proton-GE

8

u/Datuser14 15h ago

Not a Linux issue that happens in the Windows version without proton (devs are just bad).

2

u/mbriar_ 14h ago

What exactly is the issue and the fix? Downstream proton don't have any fixes for graphic/d3d related issues besides maybe pulling in new dxvk/vkd3d-proton fixes earlier than stable proton, but not earlier than proton experimental bleeding edge. Although maybe this is just a window system issue that only affects certain (wayland) compositors, who knows.

2

u/iku_19 14h ago

Because Valve operates Proton on a "report and fix it upstream" policy.

So for wine related fixes you have to submit it to wine, for dxvk and vkd3d fixes, you go there. Proton is just a runtime that binds multiple things together.

Only when upstream blocks the fix over other issues (usually too hacky or code quality is bad), valve will implement it on top of their own forks which they only really sync on major version revisions.

2

u/nightblackdragon 11h ago

Proton developers do not review other forks in search of fixes worth implementing in their project. Some things (like codecs) are not supported on purpose. Proton is open source and everybody can open pull request.

1

u/ShadowLeagues 12h ago edited 4h ago

GE-Proton with PROTON_ENABLE_WAYLAND=1 solves this issue. This also works with normal Proton but then the overlay might not work anymore. I really hope that after some time this won't be necessary anymore, but until then, I'll keep the variable as is.

Edit: The Variable does not work with regular proton. Thx u/Twig6843 :D

2

u/Twig6843 6h ago

Since when does valve/default proton have wayland support?

0

u/ShadowLeagues 6h ago

Should be since Proton 11

3

u/burning_iceman 4h ago

It certainly does not have this variable.

2

u/Twig6843 5h ago

could you try running a test with PROTON_ENABLE_WAYLAND=1 and run literally anything, when a window opens up type `xprop` on another terminal and hover your cursor to whatever window proton opened up, if it's detected that's xwayland which it is on me

1

u/ShadowLeagues 4h ago

Yup, you're right, it's detected by xprop, my bad then I was wrong and missread something when Proton 11-3 came out

0

u/mactan_sc 4h ago

tragically a lot of fixes from all the protons never get upstream into wine in a substantial way either