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

WineResolver: Do not unset 'DISPLAY' when running silently #399

Merged
merged 1 commit into from
May 15, 2024

Conversation

loathingKernel
Copy link
Contributor

When unsetting DISPLAY, Wine hangs after executing a command, and doesn't allow for other instances of wine to start, i.e. games do not launch, with a cryptic error. This also fixes the previously observed issues with winepath.exe and reg.exe never exiting.

This is likely due to the newly introduced Wayland driver. This behavior can be observed when Wayland support is compiled into Wine and the wayland driver is enabled in the prefix's registry. In this case, if running under X11 and DISPLAY is not set, Wine will hang, and the process never returns.

When unsetting DISPLAY, Wine hangs after executing a command, and doesn't
allow for other instances of wine to start, i.e. games do not launch, with
a cryptic error. This also fixes the previously observed issues with
`winepath.exe` and `reg.exe` never exiting.

This is likely due to the newly introduced Wayland driver. This behavior
can be observed when Wayland support is compiled into Wine and the wayland
driver is enabled in the prefix's registry. In this case, if running under
X11 and DISPLAY is not set, Wine will hang, and the process never returns.
@loathingKernel loathingKernel merged commit 0ddd5a0 into RareDevs:main May 15, 2024
0 of 12 checks passed
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.

1 participant