Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase memory map limit for steam users #8649

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

dmanlfc
Copy link
Collaborator

@dmanlfc dmanlfc commented Apr 25, 2023

No description provided.

@dmanlfc dmanlfc merged commit fd98a5d into batocera-linux:master Apr 25, 2023
drizzt added a commit to drizzt/batocera-switch that referenced this pull request May 31, 2023
Since this Ryujunx PR [1] ot returns a warning if vm.max_map_count < 524288,
so just set an higher value.

To be coherent with what other Linux distrubitions are doing, use
2147483642.

This is the value used by Batocera 37 itself [2], SteamDeck and Fedora 39 [3].

There is not need to re-set the value each time yuzu or Ryujinx is
started, so just set it once on startup.

[1] Ryujinx/Ryujinx#4702
[2] batocera-linux/batocera.linux#8649
[3] https://fedoraproject.org/wiki/Changes/IncreaseVmMaxMapCount
drizzt added a commit to drizzt/batocera-switch that referenced this pull request May 31, 2023
Since this Ryujunx PR [1] ot returns a warning if vm.max_map_count < 524288,
so just set an higher value.

To be coherent with what other Linux distrubitions are doing, use
2147483642.

This is the value used by Batocera 37 itself [2], SteamDeck and Fedora 39 [3].

There is not need to re-set the value each time yuzu or Ryujinx is
started, so just set it once on startup.

[1] Ryujinx/Ryujinx#4702
[2] batocera-linux/batocera.linux#8649
[3] https://fedoraproject.org/wiki/Changes/IncreaseVmMaxMapCount
drizzt added a commit to drizzt/batocera-switch that referenced this pull request May 31, 2023
Since this Ryujunx PR [1] it returns a warning if vm.max_map_count < 524288,
so just set an higher value.

To be coherent with what other Linux distrubitions are doing, use
2147483642.

This is the value used by Batocera 37 itself [2], SteamDeck and Fedora 39 [3].

There is not need to re-set the value each time yuzu or Ryujinx is
started, so just set it once on startup.

[1] Ryujinx/Ryujinx#4702
[2] batocera-linux/batocera.linux#8649
[3] https://fedoraproject.org/wiki/Changes/IncreaseVmMaxMapCount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant