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

libTAS fails to run in Docker container using overlay2 #524

Closed
jboardman367 opened this issue Mar 7, 2023 · 0 comments
Closed

libTAS fails to run in Docker container using overlay2 #524

jboardman367 opened this issue Mar 7, 2023 · 0 comments

Comments

@jboardman367
Copy link

I built the docker image from the repository and it successfully runs and I am able to open the libTAS application, however when attempting to start a game I receive the following output

[libTAS f:0] Thread 51 (main) ERROR: tmp_fd != -1 failed in ProcSelfMaps with error Operation not supported
Attempt 1: Couldn't connect to socket.
Game couldn't start properly.
recv() returns -1 with error Bad file descriptor
The connection to the game was lost. Exiting

Based on the brief discussion in the discord here which suggests that the issue is O_TMPFILE not being supported on the file system, I ran df -T /usr in the docker container and confirmed that libTAS is installed in an overlay type filesystem. I confirmed that O_TMPFILE is not supported on this file system (related man page)

This means that the docker image can't be run using the recommended driver as per the Docker documentation, and the alternatives are all either deprecated, have poor performance, or require a certain backing file system.

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

No branches or pull requests

1 participant