Closed PowerPixel closed 2 years ago
Looking at the error logs, it's probably something went wrong with the texture sizes, this error is very common when OpenGL tries to initialize absurd texture sizes unsupported by normal consumer GPUs, like 10000x10000.
Thanks for reporting this bug, but I don't think I can fix anything in the shaders, as this seems to be a bug either in the drivers or PRIME?
Looking at the error logs, it's probably something went wrong with the texture sizes, this error is very common when OpenGL tries to initialize absurd texture sizes unsupported by normal consumer GPUs, like 10000x10000.
Thanks for reporting this bug, but I don't think I can fix anything in the shaders, as this seems to be a bug either in the drivers or PRIME?
Hello there !
Thanks for taking the time to answer my bug report. Yeah, I suspect it might be a bug with PRIME Offload or the drivers, although I'm wondering if the problem couldn't come from MPV or GLSL side (sending wrong sizes to the GPU or whatever it does, I'm unfortunately not very knowledgeable when it comes to the graphics side of things :sweat_smile:). Therefore, I'm gonna try to file in a bug for OpenGL before reporting the bug to NVidia.
Thanks again for this wonderful project, and have a nice week !
Describe the bug While trying to use the command described in this commit, the video playback slowdowns before these error are logged into the console :
No upscaling seems to be applied past this point.
To Reproduce Steps to reproduce the behavior:
~/.config/mpv/input.conf
file :__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia mpv https://beta.crunchyroll.com/watch/G6752MM4R/untitled
CTRL + 7
to enable the experimental shaders.Expected behavior It should apply the shaders without crashing.
Screenshots
Desktop (please complete the following information):
Additional context I am running mpv on a laptop, using PRIME render offload (which is the official Nvidia OPTIMUS alternative for Linux). Please note that I cannot reproduce the issue without using prime OFFLOAD (with
mpv https://beta.crunchyroll.com/watch/G6752MM4R/untitled
)