-
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
Plugin? #17
Comments
I think the issue with the unraid templates are that they are designed around running a single docker container. GoW is designed to be modular and run each required process in its own container (the way that Docker is designed to be used). I guess the plugin was a way to wrap up the multiple containers and host dependencies into a single config. Also more than happy to help get GoW to an easy-to-install state for unraid! Steam headless is cool for steam games and using only steam link, but if you want sunshine, you really should look to GoW! |
Please @zb140 correct me if anything is wrong.
This was created before the
It's a starting point, since As @Josh5 correctly pointed out we have a composition of containers, which is "the docker way" of building things: small independent units that can work together. While we have This is all very WIP if you guys want to help out pull requests are very welcome! |
@Josh5 I really haven't looked any further into how GoW works but wouldn't it be an idea to create templates for the individual containers in the CA App too where the description mentions what is needed and with some kind of base container, at least in addition to the plugin? Or if it's better to only to publish the plugin then simply make it available on the CA App, just an idea from my side. @ABeltramo Oh okay, I didn't even noticed that this container/plugin exists... I would strongly recommend that you get it in the CA App itself from Unraid and also to maybe open up a proper support thread or at least point to this Issue tracker here on GitHub, even if this plugin is still in beta (you can mark it as BETA in the CA App too). The other thing is about the 32bit support, the driver that I compile for each Kernel version should include the 32bit libraries, is something missing? If yes, I'm happy to add the missing parts but from what I know everything should be included in the Nvidia Driver packages, at least I hope so... About "the docker way", I really don't know what this even means nowadays... but I get your point. ;) |
Hi! Like @ABeltramo said, the ultimate goal is to have the plugin provide a UI that will make it very easy to start and stop the containers, add new ones, etc. Progress on that aspect has been much slower than I would like 😄 I haven't created a support thread in the Unraid Forums yet; I've been thinking of the project as being in more of a pre-release state. We haven't published anything related to GoW to CA Apps yet either. I expect we'll do both of those things once it's a little bit more ready for less-technical users.
That's awesome!
Has that always been the case? I know when I first started trying to get our setup, and specifically Steam, running on Unraid, , they were not getting automatically loaded into docker containers by the
The nvidia runtime unfortunately does not automatically provide the two Xorg driver files inside the container. From searching through their GitHub this seems to be because they don't want to support containerized Xorg. So by default we download them ourselves, but in the documentation we suggest people should manually mount them into the Xorg container from their host to avoid that penalty and to make sure they're using the same driver as the host. |
Doesn't have to be necessarily on the forums, you also could point it to this issue tracker as pointed out above.
Yes, at least it should be the case, I compile it since I've created the Nvidia-Driver plugin with this. Haven't gone too deep into the plugin itself since I'm really busy currently.
But is the plugin downloading the driver every time Unraid boots because the rootfs is not persistent across reboots or am I wrong about that? |
Right now, the support link in the plugin template points to our Discord server, but we can certainly change that to point here, or somewhere else if it would be more useful.
The issue when I was originally working on it was that even if you specified Anyway, now that I know that they're expected to be present, I will try again and report back on what I find. I'm sure we can get it working without us having to download/install anything extra.
Totally understandable! Thanks for taking the time to comment here; we really appreciate it. We've already got a few changes we can make that will be a noticeable improvement.
Ah! Sorry, I misunderstood your question earlier. Yes, it apparently does currently download the driver on every reboot, but that's a bug I hadn't noticed yet 😄 I had intended to save it on the USB like you suggest. Having said that, the only reason we're downloading it at all is to get the 32-bit drivers, so once we can switch to using the ones provided by Nvidia-Driver, the whole thing will be unnecessary and we won't have to download them at all. |
Can plugins have dependencies between each other? |
Plugins can have dependencies so that if you try to install one, the system will tell you you must install other plugins first. I don't think it will automatically download them for you though, but I'm happy to be told I'm wrong about that. Since the |
That sure does look like it should be installing the compat32 libs, but for some reason they don't appear to actually be present on my system. I even downloaded and manually unpacked the built |
@ich777 Not urgent, but could you share some details about what kind of environment I would need to set up to be able to run your nvidia driver compile script? I think it might help my investigation into why the 32-bit libs don't seem to be making it onto my system. |
@zb140 LOL I've now found what the issue is, don't know if I where the actual issue or something else but I blame me... 😖 Anyways, I'm really happy that you've brought this up and that it is finally solved! 😃 @zb140 do you run Unraid or do you use something else? If you run Unraid, please upgrade to BTW I would strongly recommend to upgrade to this version because the drivers are now loaded really early in the boot process and everything changed a bit, but nothing in terms of stability... ;)
Or maybe release the plugin with a minimum requirement for @ABeltramo What do you think about that, I know that we are talking about a |
I'm fine with all that, I guess we can just release a new version that requires that rc version in order to be installed and leave the old version as is. My only concern is that if we remove uinput and the nvidia driver installation there's nothing left as things are now, right? I guess we should start thinking on how to actually bring the GOW components without having people mess with the terminal.. |
Yep, I'm running Unraid. I'm on 6.10.3 right now but I'll upgrade to 6.11.0-rc2. I can't reboot my server right now but I should be able to give it a try either later today or maybe tomorrow.
Yes, without the need to install |
Me too! I should have reported it back when I initially discovered they were missing, but since Unraid generally doesn't have other 32-bit stuff installed I just figured it was on purpose that they weren't included. |
Please also let me know if the Plugin Update Helper (notifications about not to reboot yet since drivers are currently downloaded) is working.
This sounds really good. :)
Nope they where supposed to be included, but I've never noticed it because my Steam container at that time which was based on Anyways, thank you for bringing that up and that I was finally able to fix it. Should I let this issue open for further help if needed from @Josh5 or me or should that issue be closed? |
Hey @ich777, I installed 6.11.0-rc2 and the Plugin Update Helper worked perfectly. Also, as far as I can tell, the 32-bit nvidia drivers are now being installed correctly (for instance, Unfortunately, the $ uname -r
5.18.14-Unraid
$ grep 'CONFIG_INPUT_UINPUT' /lib/modules/$(uname -r)/build/.config
CONFIG_INPUT_UINPUT=m
$ ls -l /dev/uinput
ls: cannot access '/dev/uinput': No such file or directory
$ find /lib/modules/$(uname -r) -iname \*uinput\*
$ Do you have any thoughts/suggestions? |
I will look into this and report that internally and also let you know what‘s going on. EDIT: I've looked now into this and you are correct, the module is missing (btw the modules for Firewire are also missing that I've requested), I've reported that internally...
Thank you, I have issues with it on my test machine, don't know why, maybe it's a user error or the hardware is simply too old. |
@zb140 already got a response from Tom that it is fixed in the next release. |
Excellent, thanks for following up! I'll keep an eye out for when the next release is available. |
@zb140 Do you need a module for uinput for |
If you have one available, that'd be great! I haven't downgraded yet. Thanks! |
@zb140 where can I reach you on discord, have a special build for you... :) |
@ich777 I'm forty2#9911. You're welcome to DM me, or I'm also in the official Unraid server. |
Hey!
May I ask for what this plugin actually is, haven't spent much time to looking through your code, do you have a support thread on the Unraid Forums for this plugin?
Please note that the uinput part of this plugin isn't needed anymore after or better speaking with the release of Unraid 6.11.0-rc1
May I also ask why are you installing the Nvidia 32-bit libraries when they are already included in the Nvidia-Driver plugin?
Another thing that you should look into is that it seems to me that somehow your plugin always downloads the Nvidia Driver on boot or am I wrong about that?
Edit: Oh before I forget there was already a uinput plugin out there which actually was working with another container that enabled to play games in Docker.
BTW I've now gone a bit more through your code and you documentation, it's actually for your container. I would strongly recommend to consider creating a template for the CA App as pointed out in #8
If you need help feel free to contact me. ;)
Edit2: Here is the other container that is already available in the CA App in Unraid to run Steam in Docker from @Josh5 :
The text was updated successfully, but these errors were encountered: