Right Click on a game in Lutris. Select
then go to the tab
then
Change the Limit and Edit:
/etc/security/limits.conf
at the bottom of it add
* hard nofile 1048576
use your username instead of the *
Edit:
and add
DefaultLimitNOFILE=524288
Edit:
and add
DefaultLimitNOFILE=524288
I am not sure if you need to edit all of them, IIRC someone said that you only need the first one to edit. But I didn't test it so far. I've all 3 edited, and it works for me.
You can check it with this command in the terminal: