Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--vo=gpu broken on Windows 10 after Patch Tuesday #11007

Open
nslay opened this issue Dec 14, 2022 · 7 comments
Open

--vo=gpu broken on Windows 10 after Patch Tuesday #11007

nslay opened this issue Dec 14, 2022 · 7 comments
Labels

Comments

@nslay
Copy link

nslay commented Dec 14, 2022

Important Information

Provide following Information:

  • mpv version
    mpv 0.35.0-33-gcf349d68e3 Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects
    built on Sun Dec 11 12:20:06 2022
    libplacebo version: v5.229.1-33-g7ead30d
    FFmpeg version: git-2022-12-10-07e0732a9
    FFmpeg library versions:
    libavutil 57.43.100
    libavcodec 59.55.100
    libavformat 59.34.102
    libswscale 6.8.112
    libavfilter 8.52.100
    libswresample 4.9.100

  • Windows Version
    Windows 10 Home
    10.0.19044 Build 19044

  • Source of the mpv binary
    updater.bat from mpv Windows release

  • If known which version of mpv introduced the problem
    I think Windows Update broke this. Everything worked before Windows Update ran last night. I've updated the GPU driver to the latest version (NVIDIA NVS 42000M).

  • Possible screenshot or video of visual glitches
    mpvBrokenGPUVideoOutput

If you're not using git master or the latest release, update.
Releases are listed here: https://github.com/mpv-player/mpv/releases

Reproduction steps

Using --no-config or --vo=gpu, the mpv window is empty (though sound still plays, controls still work).
Workaround is to use --vo=direct3d.

Try to reproduce your issue with --no-config first. If it isn't reproducible
with --no-config try to first find out which option or script causes your issue.

Describe the reproduction steps as precise as possible. It's very likely that
the bug you experience wasn't reproduced by the developer because the workflow
differs from your own.
Run mpv --vo=gpu videoFile
gpu is the default video output when using --no-config.

Expected behavior

Video should be visible in the mpv window.

Actual behavior

The window is present and sized correctly but the window is an empty gray panel.

Log file

Make a log file made with -v -v or --log-file=output.txt, paste it to
https://0x0.st/ or attach it to the github issue, and replace this text with a
link to it.

Re-ran it in an empty folder.

mpv_output.txt

NOTE: Hey mpv developers. I really appreciate your work! But... maybe don't dump a user's folder contents into the log file when you expect us to post it on a completely open and public website!

The issue will be closed for ignoring the issue template.

Sample files

Sample files needed to reproduce this issue can be uploaded to https://0x0.st/
or similar sites. (Only needed if the issue cannot be reproduced without it.)
Do not use garbage like "cloud storage", especially not Google Drive.

You should be able to reproduce this with any ordinary video file. I've tried mp4, avi, webm and all have same problems when using --vo=gpu.

@nslay nslay added the os:win label Dec 14, 2022
@CounterPillow
Copy link
Contributor

NOTE: Hey mpv developers. I really appreciate your work! But... maybe don't dump a user's folder contents into the log file when you expect us to post it on a completely open and public website!

Your secret is safe with me. 🫃

@Jules-A
Copy link

Jules-A commented Dec 15, 2022

I can't reproduce this but I'm using an RX570 if that matters. I haven't had any issues with the latest Windows 10 update. EDIT: Using Shinchiro Non-v3 builds.

@nslay
Copy link
Author

nslay commented Dec 15, 2022

Everything works correctly on NVIDIA RTX3080 Ti, although I'm using the x86_64-v3 version of mpv for this different machine. Could be an NVIDIA sucks at old hardware problem.

@wbtcpip2
Copy link

i'm using libmpv 0.35.0-33-gcf349d68e3 win32 32bits with GTX 570 and video output is ok

@nslay
Copy link
Author

nslay commented Dec 15, 2022

Aha, I think I narrowed down the cause. Both mpv and VLC seem to be confused by the presence of 2 GPUs. There's a built-in Intel Graphics Card and then there is a discrete NVIDIA graphics card. Now the discrete NVIDIA graphics card has always been selected as the preferred graphics processing unit... since a decade ago when I picked this setting. When I did a clean GPU driver installation this morning, this setting was reset to "Auto Select" and then --vo=gpu produced video. I changed it to NVIDIA NVS 4200M and the video stopped working in the same fashion as I posted. So there's something with how mpv/VLC (but not video games or Netflix in firefox) works with the GPUs that was recently broken in a Patch Tuesday update. The latest driver on nvidia's site has a release date of 10/26/2021... it hasn't changed and was installed before Patch Tuesday when mpv functioned correctly. The only thing that changed is the Patch Tuesday update.

@Dudemanguy
Copy link
Member

Is this still an issue?

@nslay
Copy link
Author

nslay commented May 1, 2023

Yep, just updated to today's build (updater.bat which got 20230430-git-6d422b3) and changed GPU in NVIDIA Control Panel from auto-select to high performance GPU (NVS 4400M) and can reproduce the issue still. If I change back to auto-select, everything works again. Mpv used to work with the NVIDIA GPU until some Windows patch Tuesday some months ago.

It seems to be related to having a built-in Intel GPU and a discrete NVIDIA GPU. Mpv otherwise works on machines with dedicated (though newer) NVIDIA GPUs on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants