Jump to content

Recommended Posts

Posted

@Luke are you seeing this? gpu-next isn't working. Has the build been correctly updated?

Posted

@marriedman the post you've marked as the solution is incorrect. I'm pretty sure it falls back to software decoding when you get smooth playback. There is something wrong here.

marriedman
Posted
6 minutes ago, generiq said:

@marriedman the post you've marked as the solution is incorrect. I'm pretty sure it falls back to software decoding when you get smooth playback. There is something wrong here.

I can unmark it and wait to see what Luke has to say.

alucryd
Posted

Sorry folks, I'm clueless when it comes to windows, but I can at least confirm it's not using gpu-next according to the provided screenshot. There must be some kind of error making it fall back to the libmpv (software) renderer.

On Linux I would add `log-file=/path/to/log` to my mpv.conf to get some information about what's going on, should work on windows as well, here you can find where mpv.conf is located: https://mpv.io/manual/master/#files-on-windows

marriedman
Posted
1 minute ago, alucryd said:

Sorry folks, I'm clueless when it comes to windows

Just as info - I'm on Linux. I'll look into a mpv log sometime soon. Busy with family stuff currently. 

Sorry about brief reply, I hate using my phone. 

alucryd
Posted
2 hours ago, marriedman said:

Just as info - I'm on Linux. I'll look into a mpv log sometime soon. Busy with family stuff currently. 

Sorry about brief reply, I hate using my phone. 

Sorry, saw some Windows screenshots and saw you mention Windows so I assumed. Well then, if you scroll up on the link I posted you'll also find the Linux locations. Logs should tell you why gpu-next won't load.

  • Like 1
marriedman
Posted
20 hours ago, alucryd said:

On Linux I would add `log-file=/path/to/log` to my mpv.conf to get some information about what's going on

I run Manjaro and according to the Arch wiki, there is no mpv.conf by default. If a user wants to deviate from the default options, then they can copy the template into ~/.config:

https://wiki.archlinux.org/title/mpv#Configuration

The provided template is completely commented out so there should be no conflicts. I added the following to the end of the template they provide:

log-file=~~/log

I set the video settings on Emby Theater to gpu-next and hardware acceleration Auto as per generiq preference and question. I let it play for until about 1,000 frames dropped. I saved a copy of the log file and have attached it. I think it is saying there is something wrong with a VAAPI driver, but honestly I could be way off.

Hope this is informative and helps someone!

mpv log 2023-04-07.txt

Posted

There is no mention of gpu-next in the log. This would appear to confirm my suspicion - it isn't being applied. 

Either it isn't scripted correctly, or the mpv build isn't correct.

@alucryd @Luke

Posted
21 hours ago, generiq said:

There is no mention of gpu-next in the log. This would appear to confirm my suspicion - it isn't being applied. 

Either it isn't scripted correctly, or the mpv build isn't correct.

@alucryd @Luke

Hi, we’ll take a look at it. Thanks.

  • Like 1
  • 8 months later...
  • 5 months later...
JoBagOfDonuts
Posted (edited)
On 12/25/2023 at 9:42 PM, generiq said:

I'm curious. Was a resolution found?

This may or may not help. But this is how I fixed problems with embys frame drops and stuttering on linux with 4k remuxs. I know I'm late but so far I have Video output on "auto", hardware acceleration mode on "unset (for mpv.conf)". And it works really well, no stuttering or anything.

Edited by JoBagOfDonuts
Posted
17 hours ago, JoBagOfDonuts said:

This may or may not help. But this is how I fixed problems with embys frame drops and stuttering on linux with 4k remuxs. I know I'm late but so far I have Video output on "auto", hardware acceleration mode on "unset (for mpv.conf)". And it works really well, no stuttering or anything.

And what did you add to your mpv.conf?

JoBagOfDonuts
Posted
Just now, generiq said:

And what did you add to your mpv.conf?

Nothing. I just selected it an it worked

Posted (edited)
5 minutes ago, JoBagOfDonuts said:

Nothing. I just selected it an it worked

So all that does is void the hardware acceleration option in the Theater settings. Which is the same as setting 'none'. This then uses software decoding, which if you read through, I stated this was the reason smooth playback was happening. This issue here, is that there is an error where gpu-next is not being applied. With that corrected (no idea if it has), playback should be smooth.

Try options:

Video output  = gpu-next 

Hardware acceleration  = auto

What happens?

Edited by generiq
JoBagOfDonuts
Posted
Just now, generiq said:

So all that does is void the hardware acceleration option the Theater settings. Which is the same as setting 'none'. This then uses software decoding, which if you read through, I stated this was the reason smooth playback was happening. This issue here, is that there is an error where gpu-next is not being applied. With that corrected (no idea if it has), playback should be smooth.

Try options:

Video output  = gpu-next 

Hardware acceleration  = auto

What happens?

That didn't work at all which why why I settled on my method.

Posted
Just now, JoBagOfDonuts said:

That didn't work at all which why why I settled on my method.

So the issue has not been corrected. Do you get the same result if you set hardware acceleration  = none

JoBagOfDonuts
Posted (edited)
4 minutes ago, generiq said:

So the issue has not been corrected. Do you get the same result if you set hardware acceleration  = none

I tried about everything possible and what I did is the only thing that worked. I've noticed that emby devs don't seem to fix or look into most issues. Have no idea why though, it's paid software.

Edited by JoBagOfDonuts
Posted
Just now, JoBagOfDonuts said:

I tried about everything possible and what I did is the only thing that worked. I've notice that emby devs don't seem to fix or look into most issues. Have no idea why though, it's paid software.

Can you do me a favor? Please set gpu-next and hardware acceleration auto, and post a screenshot of your stats?

JoBagOfDonuts
Posted (edited)
4 minutes ago, generiq said:

Can you do me a favor? Please set gpu-next and hardware acceleration auto, and post a screenshot of your stats?

Sorry I had switched to Linux for a while but found lots of issues with the Linux versions of my apps. So I had to switch back. I can confirm that I have tried that and it was the same messed up behavior. I don't have much to say on the issue other than what I provided, apologies.

Edited by JoBagOfDonuts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...