This repository has been archived by the owner on Sep 11, 2023. It is now read-only.
forked from SourMesen/Mesen
-
Notifications
You must be signed in to change notification settings - Fork 28
Running Mesen-X headlessly with xvfb-run #64
Comments
Here is a link to my container's Dockerfile: https://github.com/empathicqubit/vscode-cc65-debugger/blob/master/docker/Dockerfile |
I think ideally xvfb would not be necessary at all, but that's a different issue. |
Possibly similar issue? https://trac.ffmpeg.org/ticket/1738 |
Upgrading Mono fixes that specific issue, but now I'm sorting through a native code exception. I think I'm okay with updating Mono since there is an official path for that. Updating libc is impossible, however. This is as far as I've gotten using Xvfb with these changes. The test still works locally. Starting Mesen xvfb-run ["-a","mono","/__w/vscode-cc65-debugger/vscode-cc65-debugger/src/__tests__/mesendir/Mesen.exe","--testrunner","/__w/vscode-cc65-debugger/vscode-cc65-debugger/src/../dist/mesen/mesen_binary_monitor.lua","/__w/vscode-cc65-debugger/vscode-cc65-debugger/src/__tests__/simple-project/program.nes"]
at MesenGrip.autostart (src/dbg/mesen-grip.ts:49:21)
console.log
Could not set X locale modifiers
at Socket.<anonymous> (src/__tests__/test-shared.ts:79:80)
console.log
=================================================================
Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
at Socket.<anonymous> (src/__tests__/test-shared.ts:79:80)
console.log
Aborted (core dumped)
at Socket.<anonymous> (src/__tests__/test-shared.ts:79:80) |
PR #66 seems to fix the issue |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello there. I'm trying to run Mesen-X inside my build process, which worked before with SourMesen 0.9.9. I've run this test code locally and it works correctly, so I assume there's some new problem with running with a headless X server. Any pointers for getting it working would be helpful. Version details of the container:
I would prefer not to update these because I need to support older environments.
The Mesen output:
The text was updated successfully, but these errors were encountered: