NVIDIA / NVIDIA/open-gpu-kernel-modules

mpv/libplacebo VK_ERROR_INITIALIZATION_FAILED with nvidia vulkan and wayland

Open
#354 6 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

515.65.01-5

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

Yes

Operating System and Version

Arch Linux

Kernel Release

5.19.2-zen1-1-zen

Hardware: GPU

GPU 0: NVIDIA GeForce RTX 3050 Laptop GPU (UUID: GPU-7ef8ea0d-17bb-7e77-0311-e1e259621525)

Describe the bug

when use mpv with nvidia, vulkan and wayland, mpv will play audio but don't display video window.
in log, we can see 'vk->CreateSwapchainKHR(...): VK_ERROR_INITIALIZATION_FAILED'

To Reproduce

mpv --no-config --gpu-api=vulkan with Nvidia GPU in Wayland
if Nvidia is not default, please specify Nvidia GPU with --vulkan-device=

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

https://github.com/mpv-player/mpv/issues/10552

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 by reproducing the issue with mpv --no-config --gpu-api=vulkan under Wayland using the reported NVIDIA setup, then inspect the attached nvidia-bug-report.log.gz. Read the linked mpv issue for related investigation; done means identifying and resolving the Vulkan swapchain initialization failure so video displays.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, linux
Domain
desktop, operating-systems
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.