Skip to content

Need memfd #1209

Closed
Closed

Description

@Krutonium
  • 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

Activity

  1. therealkenc commented on Oct 15, 2016

    @therealkenc

    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.

  2. janisozaur commented on Oct 15, 2016

    @janisozaur

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

  3. therealkenc commented on Oct 16, 2016

    @therealkenc

    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

  4. therealkenc commented on Dec 20, 2017

    @therealkenc

    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.

  5. therealkenc commented on Nov 20, 2020

    @therealkenc

    /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.

  6. deleted a comment from on Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions