Repository navigation
Closed
Labels
Description
- 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
Reacted by Alexander, Matěj Štágl and Joshua
Activity
therealkenc commentedon Oct 15, 2016
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 commentedon Oct 15, 2016
No, this is for x86_64 builds (which are default as of right now).
therealkenc commentedon 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: swrasteven 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.)therealkenc commentedon 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-utilswill get you llvmpipe on WSL.therealkenc commentedon 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.