Skip to content

Add libnvidia-egl-wayland2 to the graphics discoverer#1750

Merged
cdesiniotis merged 1 commit intoNVIDIA:mainfrom
cdesiniotis:add-egl-wayland2-to-cdi-spec
Apr 6, 2026
Merged

Add libnvidia-egl-wayland2 to the graphics discoverer#1750
cdesiniotis merged 1 commit intoNVIDIA:mainfrom
cdesiniotis:add-egl-wayland2-to-cdi-spec

Conversation

@cdesiniotis
Copy link
Copy Markdown
Contributor

Closes #1747

Testing

On a system with the NVIDIA driver installed:

$ sudo apt-get install libnvidia-egl-wayland21

$ ls -ltr /usr/lib/x86_64-linux-gnu/*egl-wayland2*
-rw-r--r-- 1 root root 89560 Mar  7 09:10 /usr/lib/x86_64-linux-gnu/libnvidia-egl-wayland2.so.1.0.1
lrwxrwxrwx 1 root root    31 Mar  7 09:10 /usr/lib/x86_64-linux-gnu/libnvidia-egl-wayland2.so.1 -> libnvidia-egl-wayland2.so.1.0.1

$ ls -ltr /usr/share/egl/egl_external_platform.d/*wayland2*
total 20
-rw-r--r-- 1 root root 116 Mar  6 16:07 09_nvidia_wayland2.json

$ ./nvidia-ctk cdi generate --output nvidia.yaml

$ cat nvidia.yaml
. . .
- hostPath: /usr/lib/x86_64-linux-gnu/libnvidia-egl-wayland2.so.1.0.1
          containerPath: /usr/lib/x86_64-linux-gnu/libnvidia-egl-wayland2.so.1.0.1
          options:
            - ro
            - nosuid
            - nodev
            - rbind
            - rprivate
. . .
- hostPath: /usr/share/egl/egl_external_platform.d/09_nvidia_wayland2.json
          containerPath: /usr/share/egl/egl_external_platform.d/09_nvidia_wayland2.json
          options:
            - ro
            - nosuid
            - nodev
            - rbind
            - rprivate
. . .

Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
@cdesiniotis cdesiniotis added this to the v1.19.1 milestone Apr 1, 2026
@cdesiniotis cdesiniotis self-assigned this Apr 1, 2026
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 23876454317

Details

  • 0 of 2 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.006%) to 43.344%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/discover/graphics.go 0 2 0.0%
Totals Coverage Status
Change from base Build 22904460070: -0.006%
Covered Lines: 6427
Relevant Lines: 14828

💛 - Coveralls

@cdesiniotis
Copy link
Copy Markdown
Contributor Author

/cherry-pick release-1.19

@cdesiniotis cdesiniotis merged commit a419cc6 into NVIDIA:main Apr 6, 2026
16 checks passed
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 6, 2026

🤖 Backport PR created for release-1.19: #1753

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add egl-wayland2 to CDI

3 participants