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=libmpv reports OpenGL INVALID_ENUM when creating some textures #15019

Open
6 tasks done
ripose-jp opened this issue Oct 8, 2024 · 0 comments
Open
6 tasks done

vo=libmpv reports OpenGL INVALID_ENUM when creating some textures #15019

ripose-jp opened this issue Oct 8, 2024 · 0 comments
Labels

Comments

@ripose-jp
Copy link
Contributor

ripose-jp commented Oct 8, 2024

mpv Information

mpv v0.39.0-82-gfb9ac9b570 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.349.0 (v7.349.0-rc1-dirty)
FFmpeg version: 6.1.2
FFmpeg library versions:
   libavcodec      60.31.102
   libavdevice     60.3.100
   libavfilter     9.12.100
   libavformat     60.16.100
   libavutil       58.29.100
   libswresample   4.12.100
   libswscale      7.5.100

Other Information

- Linux version: Gentoo
- Kernel Version: 6.6.47-gentoo-x86_64
- GPU Model: GeForce RTX 4090
- Mesa/GPU Driver Version: 4.6.0 NVIDIA 560.35.03
- Window Manager and Version: Plasma 6.1.5
- Source mpv: emerge (built from source)
- Introduced in version: Reproduced on v0.38.0, verified to happen on v0.34.0 in #13228

Reproduction Steps

  1. Build qt_opengl example without mpv::qt::set_option_variant(mpv, "hwdec", "auto");.
  2. Open a file.

Expected Behavior

Video plays without issue and no INVALID_ENUM errors are written to console or logs.

Actual Behavior

Creating several textures in OpenGL fails with the INVALID_ENUM error. Playback is otherwise normal.

[   8.285][v][libmpv_render] Texture for plane 0: 1280x720
[   8.285][e][libmpv_render] after creating texture: OpenGL error INVALID_ENUM.
[   8.308][d][libmpv_render] Resizing texture: 480x270
[   8.308][e][libmpv_render] after creating texture: OpenGL error INVALID_ENUM.

Log File

https://0x0.st/XEIi.txt

Sample Files

Source code for the lightly modified qt_opengl example I used: https://files.catbox.moe/dvv86a.zip

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

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.
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

1 participant