-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Nvidia host support #132
Comments
Thanks for your report. It might be hope for #68 . Do you confirm you have a smooth experience since using this trick? |
Hey @pauleve. I've been a bit busy and was trying out other ways to get MTGO to run as well. I followed your instructions here #68 (comment) and unfortunately there seems to be no significant improvement. The After ensuring I have the Another suspicion of mine is that it may have something to do with DE compositing/vsync. I might try to install a very bare-bones DE like XFCE/LXDE to see if the freezes still occur there. |
That's an interesting suspicion... I'm on minimalist DE (xmonad) and never experienced these freezes. It may be worth trying with a direct wine install as well (following https://it.toolbox.com/blogs/jeffhoogland/howto-install-mtgo-on-ubuntu-linux-010718) to check whether it is a Docker issue or not. |
@pauleve I tried with LXQT yesterday (which has no compositing AFAIK) and it behaved exactly the same for me. Might try a minimal WM as well The overall "feel" when those freezes occur is akin to some I/O operation on the MTGO client being (erroneously) executed on its main thread and, in conjunction with some setups having overhead for them, leading to a frozen GUI. |
I have been using an Arch Linux host with Nvidia GPU and my performance was terrible until now (worse than a virtualbox VM). I did some googling and it turns out that nvidia acceleration needs to explicitly allowed, after an nvidia tookit installed.
In my case, this meant doing
yay -S nvidia-container-toolkit
, restartingdocker.service
and changingdocker-mtgo/run-mtgo
Line 280 in f99b972
to
I'm not sure if it's safe to add this change for everyone, but perhaps an argument could be passed to the
mtgo-run
script to append that option.I'm not very experience with Docker but I could PR a little README addition for these cases and try to add a runner parameter for adding
--gpus all
internally.The text was updated successfully, but these errors were encountered: