mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.36k stars 2.91k forks source link

The root directory has a LOG log file that cannot be opened: #13772

Closed laodaoxp closed 7 months ago

laodaoxp commented 7 months ago

The root directory has a LOG log file that cannot be opened: Set up HDR direct playback:

Vo=gpu text gpu-api=vulkan

Every time the MPV software is opened, there will be a LOG file I am unable to open this file

mpv.20240326-190010-103.log mpv.20240326-190103-179.log mpv.20240326-190202-739.log mpv.20240326-190353-522.log mpv.20240326-190445-212.log

MPV下载地址:https://github.com/dyphire/mpv-config/releases

verythankyou

Andarwinux commented 7 months ago

If this only occurs when using vulkan, it may be caused by some Vulkan layers, you can run vulkaninfo.exe to look for those layers.

laodaoxp commented 7 months ago

如果仅在使用 vulkan 时出现这种情况,则可能是由某些 Vulkan 层引起的,您可以运行 vulkaninfo.exe 来查找这些层。

work:vulkaninfo.exe prompt: WARNING: [Loader Message] Code 0 : windows_read_data_files_in_registry: Registry lookup failed to get layer manifest files.

I don't understand what to do next? Call for help

Andarwinux commented 7 months ago

This doesn't look like full command line output? You can dump the full output to txt: vulkaninfo.exe > out.txt mpv itself's log also carries vulkan layers info, you can send it too.

laodaoxp commented 7 months ago

这看起来不像完整的命令行输出?您可以将完整输出转储到txt:vulkaninfo.exe > out.txtmpv本身的日志也带有vulkan层信息,您也可以发送它。

vulkaninfo.txt 谢谢你

laodaoxp commented 7 months ago

如果仅在使用 vulkan 时出现这种情况,则可能是由某些 Vulkan 层引起的,您可以运行 vulkaninfo.exe 来查找这些层。

vulkaninfo.txt Can you help me analyze it?

laodaoxp commented 7 months ago

这看起来不是完整的命令行输出?您可以将完整的输出转储到txt:vulkaninfo.exe > out.txtmpv本身的日志也带有vulkan层信息,您也可以发送它。

vulkaninfo.txt 谢谢

Can you help me analyze it?

Andarwinux commented 7 months ago

VK_LAYER_TENCENT_wegame_cross_overlay looks very suspicious, could you try set system env var VK_LOADER_LAYERS_DISABLE=VK_LAYER_TENCENT_wegame_cross_overlay?

laodaoxp commented 7 months ago

VK_LAYER_TENCENT_wegame_cross_overlay看起来很可疑,你能尝试设置系统环境变量吗VK_LOADER_LAYERS_DISABLE=VK_LAYER_TENCENT_wegame_cross_overlay? Perfect solution, amazing. Thank you so much. I love you