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

Wrap with wineserver break some game #52

Open
rhjdvsgsgks opened this issue Apr 24, 2024 · 1 comment
Open

Wrap with wineserver break some game #52

rhjdvsgsgks opened this issue Apr 24, 2024 · 1 comment

Comments

@rhjdvsgsgks
Copy link

while having wineserver -p0 && "$0" "$@" ; ret=$? ; wineserver -k ; exit ${ret} runned before wine. some of game will failed to start and hang with error

01fc:err:winediag:NtCreateFile Too many open files, ulimit -n probably needs to be increased

i tried follow the suggestion above and set limit to unlimited. but it still showing same error

after comment out the line of "Wrap with wineserver". game can start normally

also: i found another similar project can be used as a reference:
https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/tree/main/pressure-vessel

@hartwork
Copy link
Owner

I'm happy to improve the situation, but we first need to understand the problem better. The wrapping is done so that the WINE server has a chance at a clean shutdown, based on my in-code comment. I wonder if the process injected in between is maybe forking and existing early itself or something. Which side of the wrapping sandwich is the problem — the killing or the explicit upfront start to the server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants