Proton: enable LAA by default

Created on 29 Jan 2020  路  9Comments  路  Source: ValveSoftware/Proton

Feature Request

I confirm:

  • [X] that I haven't found another request for this feature.
  • [X] that I have checked whether there are updates for my system available that
    contain this feature already.

Description

Enable LAA by default and disable for problem ones.

Justification [optional]

Many games will benefit from this.

Risks [optional]

Some games might crash https://github.com/Tk-Glitch/PKGBUILDS/issues/401, but we can disable laa for them.

References [optional]

TKG did this
https://github.com/Tk-Glitch/PKGBUILDS/commit/b0fe54e1e3b939b3faf97d78340626cac25fb411
https://github.com/Tk-Glitch/PKGBUILDS/commit/5a694743b95586857b034129725b7ce353769ed3

Feature Request

Most helpful comment

image

All 9 comments

I don't know, this seems more like a hack to workaround the bigger problem of mysteriously higher memory usage (#177 https://github.com/doitsujin/dxvk/issues/1318) than anything

It most definitely is. But can this actually be fully fixed? I would assume DXVK's memory overhead reduction has its limits.

I mean, just this month nvidia finally fixed a big bug with that. So.. we are progressing?
It doesn't help that the number of users actually reasoning with the memory map numbers under the eyes is pretty low.

Well.. Borderlands: The Pre-sequel running via forced Proton still crash complaining about memory allocation error if UHD textures pack is installed, with D9VK/DXVK enabled.... With PROTON_USE_WINED3D enabled it doesn't crash, but the performance sucks!

@CSahajdacny, if you are running over a Nvidia GPU, try to disable the game vsync. It's not a rule, but one of my games was raising DxvkMemoryAllocationError because of its own vsync implementation. The sync is still done even when the setting is turned off. It makes me believe somehow for this specific game the vsync was done twice and the memory crashed.

@CSahajdacny, if you are running over a Nvidia GPU, try to disable the game vsync. It's not a rule, but one of my games was raising DxvkMemoryAllocationError because of its own vsync implementation. The sync is still done even when the setting is turned off. It makes me believe somehow for this specific game the vsync was done twice and the memory crashed.

Thanks for the tip. I'm gonna try and report the result.

image

As you noted, the Large Address Aware flag is enabled by default beginning with Proton 5.0-4. If you find this causing issues with certain games, please let us know in the game's issue page.

You can disable forcing the LAA flag by setting PROTON_FORCE_LARGE_ADDRESS_AWARE=0.

Awesome!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juppso picture juppso  路  3Comments

AwesamLinux picture AwesamLinux  路  3Comments

Elkasitu picture Elkasitu  路  3Comments

AwesamLinux picture AwesamLinux  路  3Comments

ArekPiekarz picture ArekPiekarz  路  3Comments