Closed luc122c closed 1 year ago
@luc122c apologies for the extended delay in adding support for Ubuntu 22.04! Back in May 2022, NVIDIA stopped publishing updates to their CUDA + OpenGL "cudagl" base image, which meant there wasn't an Ubuntu 22.04 version of it available for consumption by downstream projects like ue4-runtime. NVIDIA described this as a "temporary hiatus", so I waited patiently for them to resume publishing new cudagl images. Over a year later, this still hasn't happened.
Today I set about removing Ubuntu 18.04 support from the ue4-runtime codebase, since Canonical ended official support for 18.04 a few months ago, and I've recently received reports from community members that Unreal Engine 5.2 crashes with Vulkan errors when running under Ubuntu 18.04-based containers. When I noticed that the upstream cudagl base image still hadn't been updated, I decided to finally give up on waiting for NVIDIA, and implemented a workaround instead. The build script now manually builds cudagl images for each version of CUDA, allowing ue4-runtime to support both the latest version of Ubuntu and the latest version of CUDA. This does increase the build time a bit when building images for a lot of different CUDA versions, so I've also switched to just building images for the newest minor version of each major version of CUDA. These changes should help ensure the ue4-runtime codebase is in a position to more rapidly adopt support for new versions of Ubuntu in the future.
NVIDIA have now released CUDA images running on Ubuntu 22.04. It would be great to have pixel streaming base images that use this newer stack. I'm happy to help. https://catalog.ngc.nvidia.com/orgs/nvidia/containers/cuda/tags