Summary
OVITO previously launched and displayed interactive viewports normally on my Ubuntu desktop. After upgrading to 3.16.1, an ordinary launch fails with:
Presenting not supported on this window
ERROR: Failed to create render pass descriptor for onscreen render target.
Explicitly selecting an NVIDIA GPU in OVITO’s graphics configuration does not resolve the problem.
The bundled software fallback also fails independently: its Vulkan driver cannot load because it requires libffi.so.6, which is not present on my system.
I eventually obtained a working launch using a custom wrapper combining NVIDIA/Vulkan selection settings and a temporary libffi compatibility alias. I have not isolated which individual settings are necessary. This should not be required to restore functionality that worked before the upgrade.
Environment
- OVITO: 3.16.1
- OS: Ubuntu, x86_64; exact Ubuntu release not recorded in this report
- GPUs: 2 × NVIDIA RTX A5000
- Proprietary NVIDIA driver: 595.91.07
- Desktop/remote access: GNOME Remote Desktop, accessed through a Devolutions RDP client
- OVITO is launched from a terminal inside the Ubuntu desktop, not through SSH X11 forwarding
- Shell: zsh
- Vulkan loader version reported in logs: 1.3.275
- Installed libffi runtime:
libffi.so.8, includinglibffi.so.8.1.4 - No
libffi.so.6was initially present vulkaninfois not installed- Exact previously working OVITO version not recorded
NVIDIA GPU/driver output:
NVIDIA RTX A5000, 595.91.07
NVIDIA RTX A5000, 595.91.07
X display providers:
Providers: number : 2
Provider 0: id: 0x217 cap: 0x1, Source Output crtcs: 4 outputs: 8 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x3fb cap: 0x2, Sink Output crtcs: 4 outputs: 8 associated providers: 1 name:NVIDIA-G0
Reproduction: normal launch
- Launch OVITO 3.16.1 from the Ubuntu desktop terminal without the workaround below.
- Attempt to display the interactive viewports.
- Observe the presentation/render-pass failure.
If a shell wrapper named ovito is already installed, bypass it with:
command ovito
Observed output:
ERROR: VkInstanceCreateInfo::pApplicationInfo::apiVersion has value of 0 which is not permitted. If apiVersion is not 0, then it must be greater than or equal to the value of VK_API_VERSION_1_0 [VUID-VkApplicationInfo-apiVersion]
Presenting not supported on this window
ERROR: Failed to create render pass descriptor for onscreen render target.
Reproduction: bundled software fallback
Launch:
OVITO_VULKAN_FALLBACK=1 command ovito
With Vulkan-loader diagnostics enabled, the log shows that OVITO selects its bundled fallback manifest and then cannot load its driver:
Found ICD manifest file .../lib/ovito/vulkan-fallback/lvp_icd.json, version 1.0.0
Searching for ICD drivers named ./libvulkan_lvp.so
ERROR: libffi.so.6: cannot open shared object file: No such file or directory
loader_icd_scan: Failed loading library associated with ICD JSON .../lib/ovito/vulkan-fallback/./libvulkan_lvp.so. Ignoring this JSON
vkCreateInstance: Found no drivers!
Failed to create Vulkan instance: -9
Failed to create platform Vulkan instance
RenderThread: Failed to create Vulkan instance.
The release notes describe the Linux package as supplying its runtime dependencies, with only the GUI’s X client libraries required from the target system. This dependency-loading failure appears inconsistent with that stated behavior.
Tests performed
| Test | Result |
|---|---|
| Normal launch | Presentation/render-pass failure |
| Explicit NVIDIA selection in OVITO | Same failure |
| Reset OVITO preferences, then select NVIDIA | Same failure |
Force QT_QPA_PLATFORM=xcb |
Same failure |
Force QT_QPA_PLATFORM=wayland |
Cannot connect to a Wayland display; plugin itself is present |
| Force bundled software fallback | Driver loading fails on missing libffi.so.6 |
| Explicitly select the already-installed system lavapipe driver | Application/viewport works |
| Temporary libffi alias with bundled software fallback | Application/viewport works |
| Temporary libffi alias alone, without NVIDIA overrides | Original presentation failure remains |
| Temporary libffi alias plus the NVIDIA settings below | Application/viewport works |
The system-software-driver launch warned that it could not find the saved NVIDIA adapter selection. That was expected because that test exposed only the software driver.
The successful tests do not establish that every setting in the combined workaround is necessary.
Currently working launch workaround
The following combination starts OVITO successfully:
(
compat_dir=$(mktemp -d) || exit
trap 'rm -f "$compat_dir/libffi.so.6"; rmdir "$compat_dir"' EXIT
ln -s /usr/lib/x86_64-linux-gnu/libffi.so \
"$compat_dir/libffi.so.6" || exit
env -u VK_DRIVER_FILES -u VK_ICD_FILENAMES \
LD_LIBRARY_PATH="$compat_dir${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" \
OVITO_VULKAN_FALLBACK=0 \
__NV_PRIME_RENDER_OFFLOAD=1 \
__VK_LAYER_NV_optimus=NVIDIA_only \
QT_VK_PHYSICAL_DEVICE_INDEX=0 \
ovito
)
This disables OVITO’s bundled software fallback and explicitly requests NVIDIA device selection.
The temporary alias points the requested libffi.so.6 filename at the system’s existing libffi library. It is an unsupported compatibility experiment, not a claim that the different ABI versions are fully interchangeable.
I have not independently verified the selected runtime GPU through a graphics diagnostic utility, and I have not isolated which parts of this combined command are required.
Additional API-version diagnostic
The following message also appeared during successful software-rendering launches:
VkInstanceCreateInfo::pApplicationInfo::apiVersion has value of 0 which is not permitted. If apiVersion is not 0, then it must be greater than or equal to the value of VK_API_VERSION_1_0 [VUID-VkApplicationInfo-apiVersion]
Please explain or correct this diagnostic. Its wording is contradictory, and its presence during successful launches makes it difficult to determine whether it is actionable.
I am not asserting that this message causes the NVIDIA presentation failure.
Expected behavior
An ordinary launch of the current OVITO release should initialize a working viewport with the installed proprietary NVIDIA driver, without an undocumented shell wrapper.
If a particular GPU cannot present to the current window surface, OVITO should either select a compatible device or provide an actionable explanation. Explicit GPU selection should also distinguish the available adapters sufficiently on a system with two identically named GPUs.
The bundled fallback should load with the dependencies supplied by the package, consistent with the release notes.
Requested resolution
Please investigate:
- The default NVIDIA Vulkan presentation failure on this dual-GPU configuration.
- Why explicit adapter selection does not resolve it, while the combined workaround does.
- The unresolved
libffi.so.6dependency in the bundled software driver. - The contradictory API-version diagnostic.
- A supported fix that restores an ordinary launch without the wrapper.
This upgrade turned a previously working scientific application into a graphics-stack debugging exercise. Faster rendering on configurations that work does not compensate for breaking basic operation on an existing installation. A downgrade or permanent CPU-rendering workaround is not an adequate resolution to the native-rendering regression.