[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 05/32] tests/functional: skip vulkan tests with nVidia
From: |
Alex Bennée |
Subject: |
[PATCH v2 05/32] tests/functional: skip vulkan tests with nVidia |
Date: |
Tue, 4 Mar 2025 22:24:12 +0000 |
While running the new GPU tests it was noted that the proprietary
nVidia driver barfed when run under the sanitiser:
2025-02-20 11:13:08,226: [11:13:07.782] Output 'headless' attempts
EOTF mode SDR and colorimetry mode default.
2025-02-20 11:13:08,227: [11:13:07.784] Output 'headless' using color
profile: stock sRGB color profile
and that's the last thing it outputs.
The sanitizer reports that when the framework sends the SIGTERM
because of the timeout we get a write to a NULL pointer (but
interesting not this time in an atexit callback):
UndefinedBehaviorSanitizer:DEADLYSIGNAL
==471863==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address
0x000000000000 (pc 0x7a18ceaafe80 bp 0x000000000000 sp 0x7ffe8e3ff6d0
T471863)
==471863==The signal is caused by a WRITE memory access.
==471863==Hint: address points to the zero page.
#0 0x7a18ceaafe80
(/lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.183.01+0x16afe80)
(BuildId: 24b0d0b90369112e3de888a93eb8d7e00304a6db)
#1 0x7a18ce9e72c0
(/lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.183.01+0x15e72c0)
(BuildId: 24b0d0b90369112e3de888a93eb8d7e00304a6db)
#2 0x7a18ce9f11bb
(/lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.183.01+0x15f11bb)
(BuildId: 24b0d0b90369112e3de888a93eb8d7e00304a6db)
#3 0x7a18ce6dc9d1
(/lib/x86_64-linux-gnu/libnvidia-eglcore.so.535.183.01+0x12dc9d1)
(BuildId: 24b0d0b90369112e3de888a93eb8d7e00304a6db)
#4 0x7a18e7d15326 in vrend_renderer_create_fence
/usr/src/virglrenderer-1.0.0-1ubuntu2/obj-x86_64-linux-gnu/../src/vrend_renderer.c:10883:26
#5 0x55bfb6621871 in virtio_gpu_virgl_process_cmd
The #dri-devel channel confirmed:
<digetx> stsquad: nv driver is known to not work with venus, don't use
it for testing
So lets skip running the test to avoid known failures.
Message-Id: <20250226140343.3907080-9-alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Dmitry Osipenko <dmitry.osipenko@collabora.com>
---
v2
- implement block at the test level
---
tests/functional/test_aarch64_virt_gpu.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/functional/test_aarch64_virt_gpu.py
b/tests/functional/test_aarch64_virt_gpu.py
index 7d7749e243..55957dae0a 100755
--- a/tests/functional/test_aarch64_virt_gpu.py
+++ b/tests/functional/test_aarch64_virt_gpu.py
@@ -17,6 +17,9 @@
from qemu_test.linuxkernel import LinuxKernelTest
+from re import search
+from subprocess import check_output
+
class Aarch64VirtGPUMachine(LinuxKernelTest):
ASSET_VIRT_GPU_KERNEL = Asset(
@@ -94,6 +97,11 @@ def test_aarch64_virt_with_vulkan_gpu(self):
self.require_device('virtio-gpu-gl-pci')
+ vk_info = check_output(["vulkaninfo", "--summary"], encoding="utf-8")
+
+ if search(r"driverID\s+=\s+DRIVER_ID_NVIDIA_PROPRIETARY", vk_info):
+ self.skipTest("Test skipped on NVIDIA proprietary driver")
+
self._launch_virt_gpu("virtio-gpu-gl-pci,hostmem=4G,blob=on,venus=on")
self._run_virt_weston_test("vkmark -b:duration=1.0",
"debug: stuck in fence wait with iter at")
--
2.39.5
- [PATCH v2 08/32] plugins: add explicit dependency in functional tests, (continued)
- [PATCH v2 08/32] plugins: add explicit dependency in functional tests, Alex Bennée, 2025/03/04
- [PATCH v2 02/32] tests/functional: factor out common code in gpu test, Alex Bennée, 2025/03/04
- [PATCH v2 06/32] tests/functional: expand tests to cover virgl, Alex Bennée, 2025/03/04
- [PATCH v2 15/32] tests/tcg: fix constraints in test-i386-adcox, Alex Bennée, 2025/03/04
- [PATCH v2 07/32] tests/functional: update the aarch64_virg_gpu images, Alex Bennée, 2025/03/04
- [PATCH v2 10/32] tests/functional: Allow running TCG plugins tests on non-Linux/BSD hosts, Alex Bennée, 2025/03/04
- [PATCH v2 05/32] tests/functional: skip vulkan tests with nVidia,
Alex Bennée <=
- [PATCH v2 01/32] tests/functional: move aarch64 GPU test into own file, Alex Bennée, 2025/03/04
- [PATCH v2 09/32] tests/functional: Introduce the dso_suffix() helper, Alex Bennée, 2025/03/04
- [PATCH v2 12/32] tests/vm: bump timeout for shutdown, Alex Bennée, 2025/03/04
- [PATCH v2 14/32] tests/tcg: add message to _Static_assert in test-avx, Alex Bennée, 2025/03/04
- [PATCH v2 13/32] tests/tcg: mark test-vma as a linux-only test, Alex Bennée, 2025/03/04
- [PATCH v2 11/32] libvirt-ci: bump to latest for vulkan-tools, Alex Bennée, 2025/03/04
- [PATCH v2 29/32] plugins/api: build only once, Alex Bennée, 2025/03/04