-
Notifications
You must be signed in to change notification settings - Fork 222
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
Entering fails if Nouveau/Nova is being used while the proprietary NVIDIA driver is still installed #1573
Comments
I found the same error message here: #1572 (comment) |
My workaround is to switch the driver to proprietary nvidia. |
Oops! Sorry about that. I will look into this. |
It seems to me that this only happens if the use of Nouveau is forced, while the proprietary NVIDIA driver is still installed, particularly if I reinstalled Fedora Workstation on my machine with a NVIDIA GPU, with only Nouveau, and Toolbx works as expected. I have been regularly testing with the proprietary NVIDIA driver installed and enabled. I have never tested the situation where the proprietary driver is installed but Nouveau is being forced, and looking at the Toolbx code I can see how this can fail to work. I can imagine different ways to force the use of Nouveau, but I wonder how you did so that I can reproduce your exact situation, and if there's a supported way to do it. |
You're right! I had both installed and I noticed somewhat misconfigured kernel arguments while changing to the proprietary driver. The setting in
It was missing the argument |
If the proprietary NVIDIA driver is installed, particularly libnvidia-ml.so.1, but the kernel driver is not being used, then 'enter' fails with: $ toolbox enter Error: failed to initialize NVIDIA Management Library This was tested on Fedora 39 Workstation with the proprietary NVIDIA driver from RPM Fusion, which makes it possible to easily disable the driver without uninstalling it [1]. Note that, with and without this change, there's a delay of a few seconds inside nvmlInit() from the NVIDIA Management Library. [1] https://rpmfusion.org/Howto/NVIDIA containers#1573
Thanks for the confirmation! Could you please test this pull request: #1575 ? |
The PR fixes it. Thanks! |
Thanks for the confirmation, and your contribution to Toolbx! |
Describe the bug
A clear and concise description of what the bug is. If possible, re-run the command(s) with
--log-level debug
and put the output here.I can not enter the toolbox:
Steps how to reproduce the behaviour
toolbox enter
.Expected behaviour
toolbox runs the container environment.
Actual behaviour
toolbox does not enter the container and exits with code 1.
Screenshots
Not applicable.
Output of
toolbox --version
(v0.0.90+)Toolbx package info (
rpm -q toolbox
)toolbox-0.0.99.6-1.fc40.x86_64
Output of
podman version
Podman package info (
rpm -q podman
)podman-5.2.3-1.fc40.x86_64
Info about your OS
Fedora Workstation 40 (Wayland session)
Additional context
I do not have the nvidia driver loaded:
Output of lsmod
The text was updated successfully, but these errors were encountered: