NVIDIA / NVIDIA/open-gpu-kernel-modules

PIGLIT ext_external_objects-vk-semaphores test fails with NVIDIA drivers

Open
#464 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

525.89.02

Does this happen with the proprietary driver (of the same version) as well?

Yes

Operating System and Version

Description: Ubuntu 22.04.2 LTS

Kernel Release

Linux illia-pc 6.1.12-060112-generic #202302141939 SMP PREEMPT_DYNAMIC Tue Feb 14 19:45:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Hardware: GPU

GPU 0: NVIDIA GeForce RTX 2070 SUPER (UUID: GPU-f4d05232-e6fb-41e5-94f5-d578948277bb)

Describe the bug

PIGLIT ext_external_objects-vk-semaphores test fails with NVIDIA drivers

https://gitlab.freedesktop.org/mesa/piglit/

To Reproduce

1 clone and compile PIGLIT test repo
git clone https://github.com/Mesa3D/piglit.git
cd piglit/

2 Apply patch for build fix

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9adb9b318..23a8d6882 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -134,7 +134,7 @@ if(PIGLIT_BUILD_CL_TESTS)
 endif(PIGLIT_BUILD_CL_TESTS)
 
 IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
-       if(X11_FOUND AND OPENGL_gl_LIBRARY AND PIGLIT_BUILD_GLX_TESTS)
+       if(X11_FOUND AND OPENGL_gl_LIBRARY)
                set(PIGLIT_HAS_GLX True)
                add_definitions(-DPIGLIT_HAS_GLX)
        endif()

3 build and run

cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug
cd ..
export PIGLIT_SOURCE_DIR=$(pwd)
./build/bin/ext_external_objects-vk-semaphores -auto -fbo

Actual result: The system freezes for a several minutes and than the test fails

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report2.log.gz

More Info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Piglit's ext_external_objects-vk-semaphores test and reproduce it using the provided CMake configuration and ./build/bin/ext_external_objects-vk-semaphores command on the reported NVIDIA and Ubuntu setup. Compare the freeze and failure behavior with the attached driver log; done is a confirmed diagnosis and a narrowly scoped fix or test result.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, ubuntu
Domain
computer-graphics, operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.