Tsubajashi / mpv-settings

basically my settings for MPV
387 stars 41 forks source link

Newer config file doesnt work for me #31

Closed TrumpetMonkey closed 1 year ago

TrumpetMonkey commented 1 year ago

The older mpv.conf works fine but the newer one just doesnt work for me, the application refuses to open Here is my log file mpv.log

Tsubajashi commented 1 year ago

Hi! does that happen to every video file in question, or does that only happen in particular situation?

Tsubajashi commented 1 year ago

i now checked throughout the entire log, and im unsure where the issue is - as far as i have seen, it didnt even get any information to run any kind of video. Can you tell me your hardware you tried to run this on?

TrumpetMonkey commented 1 year ago

Hi! does that happen to every video file in question, or does that only happen in particular situation?

It happens to every video file and even just opening the application itself without specifying any file it doesnt open

TrumpetMonkey commented 1 year ago

Yes my GPU is Nvidia GeForce GTX 1050 with 3gb of VRAM as its the mobile version My cpu is the Ryzen 5 3550h (4c/8t) I have made sure mpv uses the dedicated GPU using the windows graphics settings so i dont think the integrated GPU is part of the issue I also have 14GB of RAM and it is running off the boot drive which is an nvme SSD

TrumpetMonkey commented 1 year ago

Here is a log file of when i try to open a video in particular (The previous one was just double clicking the .exe) mpv.log

Tsubajashi commented 1 year ago

there are 2 things you may want to check out, as i still dont get any critical errors listed in the logs:

after Christmas i will see if i can replicate the issue on Windows, as i generally dont run Windows anymore and would need to setup a test environment for that

Tsubajashi commented 1 year ago

i have added another config file for windows, which may work on your end - i wasnt able to test it, but i essentially reverted gpu-next to gpu, and (hopefully) disabled all features which are incompatible with the old vo backend. Please tell me if it works - if it does, this can be considered a workaround until i have a windows setup to test with

TrumpetMonkey commented 1 year ago

I installed the fonts in the fonts folder and have been using v3 However, neither the old nor the new safe .conf files have been working for me Just want to mention the config used in an older version of your settings still works fine for me mpv.log This is that .conf file (Renamed so i can upload it) mpv.conf.log

Tsubajashi commented 1 year ago

thank you, i will add the old config as the safe_conf for the time being. :)

Xathros1 commented 1 year ago

there is no need to install any of the fonts inside the fonts folder, they are preloaded before being used by mpv automatically https://mpv.io/manual/stable/#files-~/-config/mpv/fonts/

Xathros1 commented 1 year ago

I've tried the latest stable version which is mpv 2022.11.14 on a windows test system and it worked for me without any errors. So I can't replicate... Maybe @TrumpetMonkey could try the stable version instead? It's possible that mpv devs have introduced some bugs in the new git releases. Who knows. I'm just guessing here. The logs weren't helpful at all unfortunately. https://sourceforge.net/projects/mpv-player-windows/files/release/ mpv-0.35.0-x86_64.7z or mpv-0.35.0-x86_64-v3.7z

Also what could help us is that you try to start mpv and / or a testvideo via powershell/commandline and report any errors that you encounter. Maybe it'll show stuff, that the logs don't?

Xathros1 commented 1 year ago

I have made sure mpv uses the dedicated GPU using the windows graphics settings so i dont think the integrated GPU is part of the issue

start mpv with --vulkan-device=help https://mpv.io/manual/stable/#options-vulkan-device By default mpv is using the first entry.

To do that you need to open commandline/powershell, switch to the mpv directory using "cd" for e.g.: cd C:\ProgramData\mpv.install\ and then run mpv.com --vulkan-device=help

TrumpetMonkey commented 1 year ago

I've tried the latest stable version which is mpv 2022.11.14 on a windows test system and it worked for me without any errors. So I can't replicate... Maybe @TrumpetMonkey could try the stable version instead? It's possible that mpv devs have introduced some bugs in the new git releases. Who knows. I'm just guessing here. The logs weren't helpful at all unfortunately. https://sourceforge.net/projects/mpv-player-windows/files/release/ mpv-0.35.0-x86_64.7z or mpv-0.35.0-x86_64-v3.7z

Also what could help us is that you try to start mpv and / or a testvideo via powershell/commandline and report any errors that you encounter. Maybe it'll show stuff, that the logs don't?

Hi i have now tried the version that you have linked and unfortunately the results are still much the same I also used the --vulkan-device=help and my dedicated gpu is first in the list as GPU0 so i think it is safe to assume it is using that Here is a transcript of what appeared in powershell once i tried to load up a test video (With the newest version)

powershell.txt

Xathros1 commented 1 year ago

Thanks! I can't find anything wrong. My best guess is compatibility issues with drivers to the new libplacebo renderer (gpu-next) although there are no error messages, no, warnings, nothing.

Xathros1 commented 1 year ago

Could you try my alternative conf here? https://github.com/Xathros1/mpv-settings-gpu-next/blob/compat-gpu/mpv_windows_safe.conf This is just a very slightly changed version for vo=gpu (some settings don't translate 1 to 1) if this works then we have found the culprit

TrumpetMonkey commented 1 year ago

Could you try my alternative conf here? https://github.com/Xathros1/mpv-settings-gpu-next/blob/compat-gpu/mpv_windows_safe.conf This is just a very slightly changed version for vo=gpu (some settings don't translate 1 to 1) if this works then we have found the culprit

This one doesnt seem to work either I would like to mention that indeed i am on the latest nvidia game drivers for windows and on windows11

Here is the powershell windows transcript and log file while trying to play a video with the newest config powershellnew.txt And the log newconf.log

Xathros1 commented 1 year ago

This one doesnt seem to work either I would like to mention that indeed i am on the latest nvidia game drivers for windows and on windows11

Thanks, for trying! I haven't expected you to use 5 year old drivers anyway, also I think mpv would be complaining then, definitely. Still nothing in the logs.

OK, here is another test config... this time using the new renderer (gpu-next) and DirectX instead of Vulkan. https://github.com/Xathros1/mpv-settings-gpu-next/blob/compat-gpu/mpv_windows_d3d.conf

TrumpetMonkey commented 1 year ago

This one doesnt seem to work either I would like to mention that indeed i am on the latest nvidia game drivers for windows and on windows11

Thanks, for trying! I haven't expected you to use 5 year old drivers anyway, also I think mpv would be complaining then, definitely. Still nothing in the logs.

OK, here is another test config... this time using the new renderer (gpu-next) and DirectX instead of Vulkan. https://github.com/Xathros1/mpv-settings-gpu-next/blob/compat-gpu/mpv_windows_d3d.conf

Finally! this one works completely normally for me, although im not sure why it wouldnt work with the vulkan version

Xathros1 commented 1 year ago

Finally! this one works completely normally for me, although im not sure why it wouldnt work with the vulkan version

Great, so we've found the culprit.... the gpu api.

Why? Don't know.

Although: "because GPU drivers on Windows are a mess and you can trust them to do DX11, but not much beyond that. Especially Intel." https://github.com/mpv-player/mpv/issues/8902#issuecomment-856955992

maybe a valid reason...

It's entirely possible that this issue will be gone with some future driver update from Nvidia

TrumpetMonkey commented 1 year ago

Finally! this one works completely normally for me, although im not sure why it wouldnt work with the vulkan version

Great, so we've found the culprit.... the gpu api.

Why? Don't know.

Although: "because GPU drivers on Windows are a mess and you can trust them to do DX11, but not much beyond that. Especially Intel." mpv-player/mpv#8902 (comment)

maybe a valid reason...

It's entirely possible that this issue will be gone with some future driver update from Nvidia

Until then i will be using the d3d config Thanks for the help!

Tsubajashi commented 1 year ago

Finally! this one works completely normally for me, although im not sure why it wouldnt work with the vulkan version

Great, so we've found the culprit.... the gpu api. Why? Don't know. Although: "because GPU drivers on Windows are a mess and you can trust them to do DX11, but not much beyond that. Especially Intel." mpv-player/mpv#8902 (comment) maybe a valid reason... It's entirely possible that this issue will be gone with some future driver update from Nvidia

Until then i will be using the d3d config Thanks for the help!

just wanted to check on ya again - are the issues resolved with the current mpv master + gpu drivers you have, nowadays? if so, i would like to close this issue :D

TrumpetMonkey commented 1 year ago

i dont use this config anymore but i do use MPV with vulkan now so

Tsubajashi commented 1 year ago

gotcha, then ill close it for the moment. :) thanks for letting me know!