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

Need memfd #1209

Closed
Krutonium opened this issue Oct 15, 2016 · 6 comments
Closed

Need memfd #1209

Krutonium opened this issue Oct 15, 2016 · 6 comments

Comments

@Krutonium
Copy link

Krutonium commented Oct 15, 2016

  • A brief description

memfd is required to run some software such as OpenRCT2. It is not implemented so the game can not run.

  • Expected results

Game Runs

  • Actual results (with terminal output if applicable)
[krutonium@DESKTOP-PTBK953 pfckr]$ openrct2
shared memfd open() failed: Function not implemented
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4371:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4371:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4371:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4850:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2450:(snd_pcm_open_noupdate) Unknown PCM default
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
FATAL[/mnt/c/Users/pfckr/Desktop/pkg/src/openrct2-x86_64-git/src/platform/shared.c:604 (platform_create_window)]: SDL_CreateWindow failed Couldn't find matching GLX visual
[krutonium@DESKTOP-PTBK953 pfckr]$
  • Your Windows build number

14946

  • Steps / All commands required to reproduce the error from a brand new installation

Build x64 OpenRCT2 following the guides here. https://github.com/OpenRCT2/OpenRCT2

@therealkenc
Copy link
Collaborator

Sound can be worked around with PulseAudio. You can also work around the eventual fatal libGL error by recompiling mesa with either swrast or llvmpipe.

But it looks like OpenRTC2 requires multilib (32 bit) so you'll hit that brick wall eventually I think. There's a user voice here.

@janisozaur
Copy link

janisozaur commented Oct 15, 2016

No, this is for x86_64 builds (which are default as of right now).

@therealkenc
Copy link
Collaborator

therealkenc commented Oct 16, 2016

In VcXsrv uncheck "Native opengl" in the the Extra Settings panel of XLaunch. You'll get best performance with llvmpipe from here. But strangely, I am not getting your failed to load driver: swrast even without replacing libGL.so. This is on Xenial for what it's worth, but not clear that should matter. If you see the swrast error, it means you need a software renderer. (Because WSL doesn't know you have a video card.)

openrct2-wsl

@therealkenc
Copy link
Collaborator

therealkenc commented Dec 20, 2017

This got lost in the noise and was left open. The OP cites a bunch of ALSA #1631 and absence of a OpenGL pipeline. Ref #486 for PulseAudio. sudo apt install mesa-utils will get you llvmpipe on WSL.

@therealkenc
Copy link
Collaborator

therealkenc commented Nov 20, 2020

/dupe #3542 and #237. For practical purposes, audio has new LZ #5816. GUI apps is #938. The most recent chatter on OpenGL using a third-party X server is #6154.

@ghost
Copy link

ghost commented Nov 20, 2020

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

@ghost ghost added the duplicate label Nov 20, 2020
@microsoft microsoft deleted a comment Nov 20, 2020
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

3 participants