Jump to content

Emby 4.8.11.0 Linux Server After the client exits, the GPU is still occupied


Recommended Posts

zimrigeek
Posted

Server Version: 4.8.11
Running on Docker Nvidia based on Ubuntu 24.04 LTS
CPU: AMD EPYC 7D12
GPU: Nvidia Quadro P400

Mobile settings: iPhone IOS 18.3
Emby App: 2.2.36

Problem description:
If you use EmbyAPP in IOS and open a movie that needs to be transcoded and it plays normally, use IOS to swipe up to exit EmbyAPP and the BUG will be triggered:

Impact:
1. The EmbyServer Web backend prompts "Playing" but the actual time does not change as shown in the figure:

image.thumb.png.3af332cc3aae57c40f615d1ef5d34e1e.png

2. GPU is occupied: The usage rate and the video memory occupation of more than 500M; (Expansion: If I repeat the BUG reproduction operation many times, then my GPU will consume all the video memory and start to occupy the CPU until all resources are consumed, which will start to affect the stability of the entire system)

image.thumb.png.385736faf202a00853fe1dace6438ea9.png

 

 

When I provided the screenshots, no device was viewing them.

zimrigeek
Posted

Server Version: 4.8.11
Running on Docker Nvidia based on Ubuntu 24.04 LTS
CPU: AMD EPYC 7D12
GPU: Nvidia Quadro P400

Mobile settings: iPhone IOS 18.3
Emby App: 2.2.36

Problem description:
If you use EmbyAPP in IOS and open a movie that needs to be transcoded and it plays normally, use IOS to swipe up to exit EmbyAPP and the BUG will be triggered:

Impact:
1. The EmbyServer Web backend prompts "Playing" but the actual time does not change as shown in the figure:

image.png.b9fa3db782eb031d33cbf88ee3bc26c1.png

 

2. GPU is occupied: The usage rate and the video memory occupation of more than 500M; (Expansion: If I repeat the BUG reproduction operation many times, then my GPU will consume all the video memory and start to occupy the CPU until all resources are consumed, which will start to affect the stability of the entire system)

image.thumb.png.e1ad23cf87efbc6a2ee96e64a8e8922f.png

When I provided the screenshots, no device was viewing them.

I did this about 6-7 times in iOS, and swiped up to exit the playing EmbyApp. As shown in Figure BTOP, the GPU memory and usage rate were completely exhausted, followed by the CPU usage. I limited it to 50% of the CPU through Docker resources.

 

 

I have provided the logs you need in the attachment.

embyserver.txt ffmpeg-transcode-0ccee258-68f8-4750-a884-e095106061c8_1.txt ffmpeg-transcode-0fb344c7-a06a-4f82-9387-f38e2da04736_1.txt ffmpeg-transcode-1d2627f0-eba0-455e-840b-837ce298e634_1.txt ffmpeg-transcode-2e7a2b5f-4d2d-492c-8502-0d4e891c2d67_1.txt ffmpeg-transcode-6b5f0261-76df-4f6c-8386-f155a65e473f_1.txt ffmpeg-transcode-6dcbcc14-231b-4421-a64a-ab7885bba4bf_1.txt ffmpeg-transcode-9cdaa09e-a723-4cf6-ab03-251a9b336075_1.txt ffmpeg-transcode-17ae19be-93ef-4a65-8dc0-28729fe02a26_1.txt ffmpeg-transcode-58f01298-0ce0-4283-9334-694ef82852d7_1.txt ffmpeg-transcode-74ea0ad7-e5a6-4f14-8bbf-baa957b6eaed_1.txt ffmpeg-transcode-087d6976-5e84-4690-8c23-daf17b81e0a9_1.txt ffmpeg-transcode-89d5c96f-c526-4bcb-9c65-97164dbef652_1.txt ffmpeg-transcode-6543a13a-ffe3-4a72-9077-56022ad86a4d_1.txt ffmpeg-transcode-7979b467-52bd-46b0-a34a-59df22c5a781_1.txt ffmpeg-transcode-9595feb3-1c37-4a3d-b661-0f3051ec57cf_1.txt ffmpeg-transcode-37627384-21a1-432f-b7b0-6b0f766999c7_1.txt ffmpeg-transcode-b35c1682-e8b8-4c16-93cb-076aedfe694f_1.txt ffmpeg-transcode-c69ddf05-8c94-4ffe-bed5-29afa3e98439_1.txt ffmpeg-transcode-e7b56de1-25f1-4b3f-822b-12a761c0498a_1.txt ffmpeg-transcode-eb89f507-890d-43ee-8ba5-2a4b65c3bfc3_1.txt ffmpeg-transcode-efdf721c-c5aa-44ab-9ad3-bccdbcc2e721_1.txt ffmpeg-transcode-f617b9b7-1974-448d-9393-90dd39fff7a6_1.txt

Posted

Hi, if you stop playing first before swipe closing the app, how does that compare?

zimrigeek
Posted
15 hours ago, Luke said:

Hi, if you stop playing first before swipe closing the app, how does that compare?

Hi Luke,Thank you for your immediate feedback~

 If I pause or stop playback before exiting EmbyApp on iOS, the above BUG will not occur.

Normanos
Posted (edited)

Actually, I also noticed that client still "playing" video in next morning.  But that was already on previous versions.  

 I think it's something to do with apps. If it's happens with me, I just start playing another video and previous disappears.  If my friends playback stuck, I just restarting Emby. 

For most cases I blaming internet connection.

Debian 11 /  96G RAM / NVIDIA RTX- 3050

 

Edited by Normanos
Posted

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

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