mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.19k stars 2.89k forks source link

Failed to query swap chain's output information #14920

Open nanachisol opened 3 weeks ago

nanachisol commented 3 weeks ago

mpv Information

mpv v0.39.0-18-g1c55d600 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Sep 24 2024 18:08:02
libplacebo version: v7.349.0 (v7.349.0-13-ga018ab0-dirty)
FFmpeg version: N-117169-g6611bf548
FFmpeg library versions:
   libavcodec      61.20.100
   libavdevice     61.4.100
   libavfilter     10.5.100
   libavformat     61.8.100
   libavutil       59.40.100
   libswresample   5.4.100
   libswscale      8.4.100

Other Information

- Windows version:windows 11 23h2
- GPU model, driver and version:Intel UHD Graphics 710 31.0.101.5334 /NVIDIA GeForce RTX 4060 Laptop 31.0.15.4656 
- Source of mpv:zhongfly
- Introduced in version:n/a

Reproduction Steps

1、The laptop is on hybird mode,and mpv's conf like below

vo=gpu-next
hwdec=auto
d3d11-adapter="NVIDIA GeForce RTX 4060 Laptop GPU"

The console show Failed to query swap chain's output information

2、set the mpv use "NVIDIA GeForce RTX 4060 Laptop GPU" in windows/nvidia control panel ,and conf like this

vo=gpu-next
hwdec=auto

The console show no error

Expected Behavior

The console has no error

Actual Behavior

The console has error

Log File

mpv-error.log mpv-normal.log

Sample Files

no relevant

I carefully read all instruction and confirm that I did the following:

nanachisol commented 2 weeks ago

The shinchiro's mpv-x86_64-20211114-git-c478a1e looks "ok",but the gpu-next default hardware decode may be vulkan. mpv.log The shinchiro's mpv-x86_64-20211128-git-f08db00 become to show the error "Failed to get swap chain's containing output" mpv.log