MINGW-packages: mpv does not work if opengl32.dll presents from mesa
-
Steps:
- Download mpv and mesa packages.
- Run mpv with a media file.
-
Workaround: Remove or rename the
/mingw64/bin/opengl32.dll
file. -
Thoughts: I think opengl32.dll should be from System32. But as the opengl32.dll presents in
/mingw64/bin/
folder,mpv.exe
loads it from that path first instead of the System32 one. Also mesa-demos has this same issue.
mingw-w64-mesa package maintainer, @pal1000 any hint about this issue? @lazka mpv is not updated. PKGBUILD shows version 0.33.0 but pacman shows 0.32.0-3
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 27 (23 by maintainers)
@Biswa96 @mati865 @revelator @lazka @mingwandroid I finally figured out what’s going on here. I looked again at Intel G2020 specs and it looks like it doesn’t support AVX. mingw-w64-x86_64-mesa includes swr driver which unfortunately is plagued by issues with AVX usage leaking into common code: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3860 https://gitlab.freedesktop.org/mesa/mesa/-/issues/4437
All Pentium CPUs do no support AVX but still they cover more features than
core2
so it indeed must be AVX that got enabled somewhere. Aside from that IMO the fact that mesa is preferred over the system graphics driver is the problem here.