Jump to content

Emby Theatre suddenly dropping frames - noticeable during playback


djlfahy

Recommended Posts

djlfahy

Hi, hope someone can help. Emby Theatre had been flawless for years but all of a sudden I'm getting problems where the movie stutters for a couple of seconds, usually after about 10 mins. This repeats at intervals during the movie. Its very annoying as this never happened before. I changed settings etc. but to no avail. It happens on 4K and 1080p content. Graphics card is NVIDIA GT640 and sound outputs to Denon amp. Please find logs attached and picture of stats on Emby Theatre just after what I described has occured. Cant figure out whats cauing it.

20240422_192713.jpg

theater-63849409786.txt theater-63849410049.txt embyserver.txt hardware_detection-63849409916.txt ffmpeg-remux-eb50f9e9-8d00-4e1f-8ca8-9ebce3d8391f_1.txt ffmpeg-remux-f2454c20-9746-4ff8-8d0a-88d395217bbf_1.txt ffmpeg-remux-c114fc0e-3d39-4adb-9e53-99337ea3e5a8_1.txt hardware_detection-63849409329.txt

Link to comment
Share on other sites

HI, are your graphics drivers up to date?

Link to comment
Share on other sites

djlfahy

still cant figure out why frames drop every 10mins or so , causing picture to stutter. any ideas from the logs?? everything worked fine for years so dont know why its started.

Link to comment
Share on other sites

generiq
On 4/24/2024 at 1:26 PM, djlfahy said:

Any suggetions guys??

 

Use gpu-next instead of gpu

Looking at your stats, hardware acceleration appears to be failing, or being misreported

Edited by generiq
Link to comment
Share on other sites

djlfahy

Frame dropping occurs no matter what selections I make for renderer and acceleration. Could the graphics card be an issue? It started to do this completely out of the blue. What’s the solution if hardware acceleration is failing?

Link to comment
Share on other sites

djlfahy

SPENT HOURS ON THIS BUT CANT FIGURE IT OUT. SAME ISSUE OF STUTTER NO MATTER WHAT SETTINGS I USE

Link to comment
Share on other sites

djlfahy

stats show hardware acceleration as blank or no for 4K HEVC files?? Why would this be the case. 1080P H264 files show hardware acceleration as working??

Any ideas. Very frustrating. Could do with the new app now

Link to comment
Share on other sites

djlfahy

No stutter present when file played in standalone mpv player. Any ideas??

Link to comment
Share on other sites

generiq

OK, the emby logs are no help here. So let's use the stats, that's mpv. Please set video output to gpu-next and hardware acceleration to Auto. Reproduce the issue and post the screenshot of the stats. Don't do anything else. 

Link to comment
Share on other sites

generiq

There's the answer - hardware acceleration is failing. So we need to find the cause. You said this just started to happen. Did you just update your gpu driver? The drive is what provides pixel format support. You said that other videos play fine, so that implies that hardware pixel format support for this video has somehow been lost. Try a different driver.

Link to comment
Share on other sites

djlfahy

gpu driver for nvidia geforce was updated, do i need to roll back??

Link to comment
Share on other sites

generiq
1 minute ago, djlfahy said:

gpu driver for nvidia geforce was updated, do i need to roll back??

I would try that

Link to comment
Share on other sites

djlfahy

rolled back gpu drivers, hardware acceleration still comes up as no , same as pictures above. anything else needs looking at??

Link to comment
Share on other sites

generiq

Gonna need a log from mpv. Read this and create an mpv.conf, then add the line:

log-file=" "

Between the speech marks add the address where to save it, and include the file name.

example:

log-file="C:\Users\username\Documents\mpv logs\log.txt"

Play the video and recreate the issue only once, then attach the log here

Link to comment
Share on other sites

generiq

Looks like your hardware doesn't support the pixel format. mpv throws everything it can at it, but they all fail and it falls back to software decoding.

[ 200.705][e][vd] Could not open codec.
[ 200.713][v][vd] Attempting next decoding method after failure of hevc_cuvid-cuda-copy.
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-d3d11va
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-dxva2
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-nvdec
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-vaapi
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-d3d11va-copy
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-dxva2-copy
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-nvdec-copy
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-vaapi-copy
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-d3d12va
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-vulkan
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc_qsv-qsv
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc_cuvid-cuda
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-d3d12va-copy
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc-vulkan-copy
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc_qsv-qsv-copy
[ 200.713][d][vd] Skipping previously attempted hwdec: hevc_cuvid-cuda-copy
[ 200.713][v][vd] Using software decoding.

 

When you play it in the standalone, I suspect that you haven't configured it and it is using the default of software decoding. You can see that if you hit shift+i. 

Why doesn't it drop frames in the standalone? Most likely because it doesn't have electron clamped to it and there's less processing for CPU to handle.

Link to comment
Share on other sites

generiq

The video is 10 bit, and if you research your GPU, I suspect that it doesn't support it.

[   0.162][v][vo/gpu-next/d3d11] Device Name: NVIDIA GeForce GT 640

 

Link to comment
Share on other sites

It’s strange that it only started doing this a couple of weeks ago. Same hardware. So why now?   Would a better GPU solve this?  Or will new Emby app/theatre stop using electron?

Link to comment
Share on other sites

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...