Skip to content

sunshine looking for libssl.so.1.1 on debian distros that use libssl3 #185

@jackharrer

Description

@jackharrer

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:

  1. copy Dockerfile-ubuntu_22_04 to Dockerfile-ubuntu_22_04_legacy:
  2. remove 2 lines
    nvidia-cuda-dev
    nvidia-cuda-toolkit \
  3. 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

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions