-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Flashing purple screen when using gpu-api=vulkan #14026
Comments
@haasn: Do you think we can optimize this memory allocation to work also on Vulkan? Also I notice error handling is not great
probably some NULL is substituted in shader code. |
Hi, I'm having the same issue with |
I updated my NVIDIA drive from 551.23 to 560.94, and the issue disappeared. |
Sorry, but the issue reappears. |
It's weird that after I restart my computer, the issue disappears again, so this issue is not related to the Nvidia drive problem. |
Initially on system boot For me This occurs for all git "64bit" builds for at least the last 3-months (I've not exhaustively tested), from: https://sourceforge.net/projects/mpv-player-windows/files/64bit/ mpv.conf:
Always using Nvidia "Studio" drivers. Currently on 560.81 (tested also 560.70). |
From the logs posted before, it looks like the issues starts with gpu memory allocation error, even for small chunks of memory. This also makes sense for your observation that it stops working after a while of PC use. You might be able to restore working state, by closing all applications that may be holding memory, have hardware acceleration. Also enabling resizable bar might help to mitigate the issue. But I think there was a fix for that already. From log it doesn't look like libplacebo is leaking memory, maybe something else on your system does. Or we are trying to use memory type that is very small, dunno would need to read in more depth the log. |
Yes. I just got a debug log myself:
|
My GPU has 16GB VRAM, and currently ~2GB is being used for screens and misc windows programs. There is 14GB VRAM free currently. |
That's right, I tried to enable it in my BIOS settings several days ago. After that, the problem hasn't occurred so far. |
My PC isn't compatible with resizable BAR :( |
Important Information
Provide following Information:
Reproduction steps
It happens when I use --gpu-api=vulkan. Changing it to d3d11 would eliminate the issue.
Expected behavior
Video plays.
Actual behavior
Flashing screen, but audio is still there.
Log file
(output.txt))
Sample files
The text was updated successfully, but these errors were encountered: