Skip to content
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 fails with CUDA call "cu->cuInit(0)" failed with CUDA_ERROR_UNKNOWN (999): unknown error #689

Open
2 tasks done
Jayden295 opened this issue Aug 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Jayden295
Copy link

Jayden295 commented Aug 2, 2024

NVIDIA Open GPU Kernel Modules Version

560.28.03

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.

  • I confirm that this does not happen with the proprietary driver package.

Operating System and Version

NixOS 24.11 (Vicuna)

Kernel Release

Linux laptop 6.6.42-xanmod1 #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan 1 00:00:00 UTC 1980 x86_64 GNU/Linux

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

  • I am running on a stable kernel release.

Hardware: GPU

NVIDIA GeForce RTX 3050 Ti Laptop GPU (UUID: GPU-357aa0ab-a71e-7d0a-b7bd-4d2a99d4e383)

Describe the bug

When I try to use anything that uses CUDA (trying to record with OBS, re-encoding a video, running hashcat), it fails with CUDA call "cu->cuInit(0)" failed with CUDA_ERROR_UNKNOWN (999): unknown error.

To Reproduce

  • Just run a program that uses CUDA

For exemple:

  • Try to record something using OBS.

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

This bug disappears after running nvidia-bug-report.sh for some reason, CUDA works again after running nvidia-bug-report.sh.

Edit: After more research I found out that running nvidia-settings as root somehow fixes the problem.
Edit 2: Loading the nvidia-uvm module though modprobe nvidia-uvm fixes this issue

@Johnsoct
Copy link

I got this running OBS from Flatpak on Ubuntu@latest.

city-high-rider added a commit to city-high-rider/nixos-files that referenced this issue Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants