-
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
CUDA card not detected. #24
Comments
Oh, one other thing. The only time the test passes is if I use the system's version of Wine. With all the other latest versions of the runners the test program fails. |
I am sure the nvapi libs are working as intended, but it seems nvcuda is not. The If you could run gpu caps viewer with |
Thanks for giving me more to look at. To save you a lot of reading, this seems important:
I'll continue poking the dragon a bit on this side, but if you have any insight on why nvcuda is not loading, it would be highly appreciated. |
Here is another interesting data point.
However, when I run the uninstall script, it appears that a symlink to nvcuda has never been made:
It seems to me that instead of just showing "Creating symlink to ..." the script should show the actual command run to ease troubleshooting. It does, however, explain why the GPU cap program is not finding the nvcuda... |
The "error" when running uninstall is something i could have fixed if i bothered i guess, but it is harmless. So.. Nope, it most likely works just fine However, what does NOT work fine ref. to your snippit from the log is this: nvcuda loads libcuda.so.1 from your linux system as seen here: Could you try to run:
The placement may vary depending on distro, and it could be that some distro's or driver install issues does NOT create the libcuda.so.1 symlink perhaps? This is on Ubuntu, but as i said, some distro's may use other folders for libraries. This should not matter, as nvcuda simply loads libcuda.so.1 from where the linker (LD) sais the file is. If LD is unaware of libcuda.so.1 -> No load. |
Hi there! As for libcuda location on my system (Arch)
So, I'll go poking around and see why wine is not able to find cuda, it may very well be specific to my system. Thanks again for your help in troubleshooting this issue with me. |
A couple of very noticeable differences I see between Arch and Ubuntu, is that Ubuntu packages a 32bit and a 64bit version of cuda, while Arch only packages the 64bit version. On Arch there is also a libcudart and a libcudadebugger. Could it be that the script gets confused and links to the wrong library? That is one of the things I will investigate from my end. |
One more thing that could be tripping up things here. |
One more data point... for some reason the nvapi tests now fails, no matter what I do...
|
Sorry for the many mails. |
This may be a silly question, but I see that there are two parts to what is being built by the source. The install program links to the windows directory, but what is supposed to happen to the contents of the unix sub-subdirectory in lib and lib64? |
I know this can be somewhat convoluted to understand. To use 32-bit windows programs like gpu caps viewer, 32-bit nvidia driver libraries must be installed. |
Hi there... Unfortunately, it does not seem to detect the CUDA card with GPU-Z, or the application that I want to run with CUDA support, namely Insta360 studio. Also, if I run GPU Caps outside of the bottle, it also does not detect CUDA, but the error is different than before: |
I could not really get GPU-Z to work either... Bare in mind that these "info" programs usually requires a bit more barebones system functions that ANY of the nvapi/nvcuda++ libraries provides. It seems as insta360 requires that you purchased a camera to download the "free" software.. and i am not about to do that. Perhaps you could provide some logs from that instead of GPU-Z (that most likely wont work too well)? |
That makes sense. I will be happy to provide you a copy of the installer. Send me a mail at evorster@gmail.com, and I will share it via a WeTransfer link. However, I think I have been looking in the wrong direction. I see on the application window that CUDA is enabled, but hardware encoding and decoding are still disabled. This may be the application wanting to talk to the nvidia drivers through a different channel that is not provided by CUDA. Since we managed to get the card talking to GPU Caps, I guess we can close this report, and I will start looking elsewhere to see if I can make this application do hardware encoding and decoding through wine. |
Hardware encoding/decoding uses nvcuvid and nvencodeapi and is not provided. There was some implementation of this in wine-staging at a time, but it was not really maintained and when i took over my own branch of nvcuda, i had no huge interest in doing this. So, it could be quite likely that insta360 that seems to be some sort of video encoding software attempts to use one of these libraries, and that is the reason it does not work. |
Hi there. You are quite right. In my preliminary searches on this topic, your name actually pops up quite a bit, so I am going to take your word for it that hardware encode and decode is simply not supported through wine. Video encode and decode with hardware is completely off-topic to this bug report, too. I did get CUDA support on the video card, and for that I do thank you. |
As a sidenote, you can try the simplified nvcuda archive here: https://github.com/SveSop/nvcuda/releases/download/v0.1/nvcuda-0.1.tar.gz There is no need to use the whole nvidia-libs package for cuda, as bottles already have dxvk and dxvk-nvapi as installable components. Simply copy the This should make CUDA work in a bottle without the need for using nvidia-libs at all. |
Hi there.
Firstly, thanks so much for the work you put into this.
I finally managed to install the nvidia-libs, and I'm pretty sure its working, as it passed the tests.
When running the GPU caps viewer, unfortunately it does not detect CUDA.
What is interesting to note is that OpenGL is running on my other gpu, which is an AMD.
One other thing I have tried is to install CUDA, and that fails too...
The error message says "Call not implemented"
Now the reason I would like to have CUDA acceleration is that I would like to run Insta360 Studio in a bottle, with CUDA acceleration. It runs fine as it is, but fails to detect the GPU for accelerated video decode and encode.
Here is a little more information on my laptop:
It contains a secondary GPU, which is the mobile version of the nVidia RTX 4090.
The text was updated successfully, but these errors were encountered: