-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
OpenGL error: GL_INVALID_OPERATION #10324
Comments
Ah yeah, that message is from libplacebo. It's harmless but perhaps scary looking. |
If you can track down which exact call is the invalid one we might be able to avoid running it. (Try |
For future reference: As discussed in IRC, using |
I came across RenderDoc and tried it out. In the call The same call also gives this debug message with severity "Info". |
That seems logical. The framebuffer likely doesn't exist the very first time that gets called. I'm not sure what the right way around this is. |
I’m still getting this error with
I have tried running |
The original reason for this commit was to prevent a compositor error on weston when going into the maximized state. The configured dimensions of mpv didn't match its actual size and Weston is super strict about this so it threw a compositor error which is fatal. It only happened in opengl and this seemed like an OK workaround, so I went with this. However, there's actually a far easier way to solve this problem and we don't need this anymore. This has the benefit of avoiding a harmless warning message that appears with gpu-next on opengl. The next commit is the proper solution. Closes mpv-player#10324. This reverts commit 661b554.
The original reason for this commit was to prevent a compositor error on weston when going into the maximized state. The configured dimensions of mpv didn't match its actual size and Weston is super strict about this so it threw a compositor error which is fatal. It only happened in opengl and this seemed like an OK workaround, so I went with this. However, there's actually a far easier way to solve this problem and we don't need this anymore. This has the benefit of avoiding a harmless warning message that appears with gpu-next on opengl. The next commit is the proper solution. Closes mpv-player#10324. This reverts commit 661b554.
I get the following error when using
--vo=gpu-next
and OpenGL:[vo/gpu-next] gl_fb_query: OpenGL error: GL_INVALID_OPERATION
Other then that message, everything seems to be working as expected.
Reproduction steps
mpv --no-config --idle=yes --force-window=yes --vo=gpu-next --gpu-api=opengl
Does not happen with
--gpu-api=vulkan
.Expected behavior
No errors when everything is working fine.
Actual behavior
[vo/gpu-next] gl_fb_query: OpenGL error: GL_INVALID_OPERATION
Log file
output.txt
The text was updated successfully, but these errors were encountered: