-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Is the docker image really built with nvidia 565 drivers? #1226
Comments
I think it will work if the docker container's driver version is higher than that installed on your host. Have you installed the nvidia-container-toolkit or nvidia-docker2? For your error, have you rebooted after installing the new NVIDIA driver? |
Yeah I've done both of those. I just don't think Mint's old drivers are gonna allow the newer to run. I tried with old and new nvidia/cuda tags and the old work, the new don't. I'm in no way a linux / docker / nvidia expert so I'm not a definitive answer on this. So, the only thing I know to try would be downgrading the video2x container's nvidia drivers but I know NOTHING about Arch Linux and my quick scan told me Arch Linux has ONLY the newest driver in it's repos and I didn't see any way to add a legacy repo or anything. I'm probably bailing on it for now...
|
Disregarding what nvidia-smi says, what does |
Only CPU
|
I see... looks like the device isn't recognized at all. Well, we've got other tickets opened about docker compatibility issues, and another issue about packaging w/ flatpak which may solve this kind of issues. For now, since you're using Mint, which is based on Ubuntu I believe, have you tried the Ubuntu deb packages? |
I have and libavcodec needed is 61 while the best I could find quickly late at night was 60 and I had to go to downstream for it. So I suspected it was the first of many dependency problems I'll have. This was my first install of Mint because Ubuntu (Canonical) was pissing me off moving everything to snaps and half of the snaps didn't work. Also, I was getting a lot of stability problems. This is the first "Mint's too old" problem I've had and I've been on it for most of this year. |
I've actually made a release for Ubuntu 22.04. Have you tried that yet? |
Yeah, (video2x-linux-ubuntu2204-amd64.deb) it installs but I get probs running it. Maybe I'll poke at it after a cup of coffee...
|
Sure, lmk how it goes. If there's something I can add or tweak that'll make it compatible with Mint as well I'd be happy to do it. |
OK video2x deb seems to want libavcodec_61. Max version I see in the Mint repos is 60. I'm not sure why since Mint 22 is based on Ubuntu 24.04 so the 22.04 deb should be fine. Again I'm not an expert (only and enthusiast) but are you expecting a higher version of ffmpeg?
|
Ah sorry it's something I forgot to mention. The version of FFmepg on Ubuntu 22.04 is too old and it's not compiled with libplacebo. I had to use a PPA and compile with FFmpeg 7 for Colab: sudo add-apt-repository -y ppa:ubuntuhandbook1/ffmpeg7
sudo apt-get update
sudo apt-get install ffmpeg Then Video2X should install and run with RealESRGAN. I still couldn't get libplacebo to work for Colab though. |
Success! I added the UbuntuHandbook ppa for ffmpeg,
and upgraded ffmpeg (which I noticed brought libavcodec61 along with it) and
This is with the deb installation. I'll give it a whirl and see if it makes it through an upscale. I'll also watch for anything that breaks with the updated libs and let you know. Thanks for checking in and chatting. |
I can't get the docker image to run anything nvidia because it complains:
when I run things like nvidia-smi on a Linux Mint host, where the nvidia driver is 535. I even updated with nvidia official ppa but the highest I can get there is 560. I'm going to try to downgrade the containers drivers to 550 so I can stick with a recommended driver and see what happens.
The text was updated successfully, but these errors were encountered: