-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
os:Linux:DebianOS is DebianOS is Debian
Description
Describe the Bug
In Ubuntu 22.04 CUDA version has been bumped to 11.5. This version is not compatible with latest NVIDIA legacy driver (470.x). Sunshine still compiles using 22.04 docker scripts, but Sunshine cannot start CUDA (and thus nvenc) due to version incompatibility.
Expected Behavior
Same issue will happen when building directly (without docker) on 22.04 for all NVIDIA driver versions below 495.x.
Additional Context
Fix is rather simple:
- copy Dockerfile-ubuntu_22_04 to Dockerfile-ubuntu_22_04_legacy:
- remove 2 lines
nvidia-cuda-dev
nvidia-cuda-toolkit \ - add:
RUN wget https://developer.download.nvidia.com/compute/cuda/11.4.2/local_installers/cuda_11.4.2_470.57.02_linux.run --progress=bar:force:noscroll -q --show-progress -O /root/cuda.run && chmod a+x /root/cuda.run
RUN /root/cuda.run --silent --toolkit --toolkitpath=/usr --no-opengl-libs --no-man-page --no-drm && rm /root/cuda.run
before line with build.sh
Downloaded CUDA version could be changed to latest 11.4.4 (I just copied above from 20.04 docker script) but 11.4.2 still works.
Sunshine Host Operating System and Version
Ubuntu 22.04
Architecture
x64
Sunshine Version
0.13.0 (git pull)
GPU Type
NVidia
GPU Model
GTX 970
GPU Driver/Mesa Version
470.129.06
Capture Method (Linux Only)
No response
Metadata
Metadata
Assignees
Labels
os:Linux:DebianOS is DebianOS is Debian