drm@dr-80qr ~ (main)> nvidia-smi NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
My computer:
-Computer-
Processor : Intel(R) Core™ i5-2520M CPU @ 2.50GHz
Memory : 10071MB (2994MB used)
Operating System : EndeavourOS Linux
Resolution : 1366x768 pixels
OpenGL Renderer : Mesa Intel(R) HD Graphics 3000 (SNB GT2)
Session Display Server : Wayland
-GPUs-
drm-card0 : Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller
pci-dc0 : NVIDIA Corporation GF119M [Quadro NVS 4200M]
From chrome:
GPU0
VENDOR= 0x10de, DEVICE=0x1057, DRIVER_VENDOR=Mesa, DRIVER_VERSION=22.3.4
GPU1
VENDOR= 0x8086, DEVICE=0x0126, DRIVER_VENDOR=Mesa, DRIVER_VERSION=22.3.4 ACTIVE
Optimus true
GPU CUDA compute capability major version: 0
ANGLE (Intel, Mesa Intel(R) HD Graphics 3000 (SNB GT2), OpenGL 3.3 (Core Profile) Mesa 22.3.4)
It’s definitely possible, technically what you have to do:
Install proprietary NoVidya drivers
Install cuda
But since it’s laptop and most likely use garbage like Optimus - i’m pretty sure you also have to make sure to forcefully use Nvidia GPU in order to get cuda.
That indicate there’s something not right with NoVidya drivers
Must be that optimus crap swtiched to Intel.
is listed here if I am not wrong?
The proper command to see what driver is used and giving more information about the hardware is: inxi -Gaz
But the Nvidia is mostlikely legacy and needs 470 or even 390 version of the nvidia drivers.
And also looks like 390 branch hits end of life soon…so only viable option for you is Nouveau, not sure how well it works with CUDA, if at all…
Freaking proprietary drivers with end of life for you, thx novidya.
RuntimeError: The NVIDIA driver on your system is too old (found version 9010).
Please update your GPU driver by downloading and installing a new version from the URL:
http://www.nvidia.com/Download/index.aspx
Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.
drm@dr-80qr ~/MakeItTalk (main) [1]>
F**ck
So end of life it is, right ?
my computer isn’t even “old”, it’s fast enough… but seems nothing is less recent than 3 years old today is too old for anything fancy…
What should I do now?
Is a version disponible here ? If so where ? This is over my head.
Oh sorry, i misunderstood you dilemma…Although for working GPU driver - points above are still valid.
Yeah than you can’t use CUDA accelerated GPU pytorch.
You need to try No CUDA pytorch, it’s performance will most likely be crap though.
I want MakeItTalk, I prefer a slow one than none at all.
how do I install “no cuda pytorch” ?
Btw, what does this mean ?
NVRM: The NVIDIA NVS 4200M GPU installed in this system is
NVRM: supported through the NVIDIA 390.xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 525.85.05 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe…
[ 53.117118] NVRM: No NVIDIA GPU found.
you can always check supported drivers with our nvidia-inst tool: nvidia-inst --drivers
This will check ID against official nvidia ID list and show supported drivers.
If it is not installed (command not found) install it… yay -S nvidia-inst
But both legacy drivers 3090 and 470 are unmaintained currently and if no one will take over the maintainment at the AUR they will be soon in an unworking state for sure… nvidia-390xx-settings is already not working anymore.
>~/flownet2-pytorch (master)> bash install.sh
[...]
File "/home/drm/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 658, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/drm/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1573, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/drm/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1916, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
~/MakeItTalk (main) [1]> python main_end2end.py --jpg examples/ci.jpg
[...]
File "/home/drm/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 987, in convert return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "/home/drm/.local/lib/python3.10/site-packages/torch/cuda/__init__.py", line 229, in _lazy_init torch._C._cuda_init()
RuntimeError: The NVIDIA driver on your system is too old (found version 9010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.