-
Notifications
You must be signed in to change notification settings - Fork 2
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
move_mount: EINVAL on bazzite #38
Comments
Do you have Edit: I forgot to say - thank you for the detailed bug report! |
That's because the protocol is based on QUIC, which is based on UDP. Telnet uses TCP.
I don't think the app is the issue. I haven't tried flatpak, but please let me know if it works! |
I was able to reproduce this by moving The actual fix is to make sure Xwayland is installed and on your PATH. You need it to run X11 applications (mmserver is based on wayland). |
That's interesting, Xwayland seems to be in my path, right where you would expect:
Is there a command line flag I can include that will increase the timeout on the server side? Or is that client side... if so, I'll try the command line client on the mac. |
You're welcome to try the commandline client on your mac, but the bug is definitely server side. Whatever error is happening is never being printed (it's actually the code to print the error that had an infinite loop 😓 ). Let me push a server release and then we can see if we get more information. |
Hm, weird. Can you upload the full bug report dir please? |
The other thing you can try is:
And then upload a zip of the |
Sorry, I forgot my tools and procedures: Stack trace output: |
These are the failing syscalls (in particular the last one):
|
Just so I have it, what's your kernel version? As a heads up, I'm pretty stumped by this and it may take me a few days to figure out a repro/fix. |
Here's a possible fix: af519ee I'm not going to push a release with it until I do some more digging. If you're down to build mmserver, then you could see if it fixes for you :) |
My kernel is 6.11.10-304.bazzite.fc41.x86_64 |
Ef it, I'll give it a go! |
Hey, I've built af519ee from source and given it a try - sorry to report still no joy. This is run from the bazzite box: I'm going to give it a shot from the ubuntu box I built mm-server on, it might help if we determine if this is an issue with bazzite itself. |
Another run, this time commit af519ee from a Ubuntu 24.04 box: |
The ubuntu issue is #29 - please see the fix in that thread. (I'll add a startup warning so it's more obvious.) |
Sure thing, I'll report back. |
here's 2e60536's bug reports: mmserver-4-trace.zip This is before the sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0 fix, after which created a new error in the console: 2024-12-20T16:06:23.783906Z INFO mmserver::session: launching session session_id=153534 application="steam-gamepadui" and here are the bug reports after running the apparmor commands: |
Sorry, I'm a bit mixed up now. This is all on ubuntu? Or are we back on bazzite?
This is just steam exiting with an error - I don't know why, but you can try with some other program to see if that is happier. |
Sticking with Ubuntu for the time being, easier to build and run on one box than to switch between the two. I'll try something else, one sec. |
Ok, looks like something related to snap:
I'm happy to help figure out how to make snap programs work (maybe in a separate issue), but for this that's out of scope. For this issue thread, the thing I'm most interested in is the |
Ah, okay, I will switch back to bazzite right after this next attempt on ubuntu. |
Latest bug report of 2e60536 on bazzite: |
I can't tell exactly without the strace output, but it looks like my shot in the dark fix didn't do anything. 🙁 |
Trace: |
bug-report.zip
I am attempting to launch any application from the macOS GUI app and receiving a timeout message. I've tried three applications, steam, heroic games launcher, and lutris. When launching, I will get the spinner for about 10 seconds and then a timeout message:
I am starting mmserver in an SSH session to the host, with the simple toml provided in the setup docs:
[apps.lutris]
command = ["lutris"]
xwayland = true
force_1x_scale = false
isolate_home = false
The mmserver binary reports a good startup:
./mmserver -C lutris.toml --bind 10.0.15.59:9599
2024-12-17T15:06:42.603820Z INFO mmserver::vulkan: selected gpu: "NVIDIA GeForce GTX 1060 3GB" (0)
2024-12-17T15:06:42.694870Z INFO mmserver::vulkan: hardware encoding support: (h264: true, h265: true, av1: false)
2024-12-17T15:06:42.699841Z INFO mmserver: listening on 10.0.15.59:9599
A simple telnet to the port will report connection refused, however:
telnet 10.0.15.59 9599
Trying 10.0.15.59...
telnet: connect to address 10.0.15.59: Connection refused
telnet: Unable to connect to remote host
The macOS GUI app does automatically see the host and presented application, and I can shutdown mmserver, switch to a new application toml, and see the application name change in the GUI app. I have tried starting mmserver both logged in and out of the desktop session, that doesn't seem to effect the behavior.
Is there a test application that is quick to launch that might circumvent this timeout, something like VLC? What would the toml for that look like? Is serving an application from mmserver using flatpak supported (so something like: command = ["flatpak", "run", "com.mydomain.myapp"])?
The text was updated successfully, but these errors were encountered: