jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
3.3k stars 324 forks source link

Constant Stuttering While using Jellyfin Media Player on Debian #421

Open Frodriguez26 opened 1 year ago

Frodriguez26 commented 1 year ago

Describe the bug I made a similar post on reddit for the first time here. The JFMP plays at about 5 frames a second for all of my media files including h264 and 265 on fresh installs of Debian. The problem is consistent across 3 different computers I have tried it on, all three with fresh installs of Debian. I do a base install of Debian, meaning no GUI, and then I install the X-server (along with its dependencies,) and window manager( suckless' DWM) after. All graphical applications work on these machines with the exception of JFMP. As you will see from the things that work on my computer (listed below,) that I do not believe the issue to be a do to GPU drivers, nor network related. I first installed jellyfin last Saturday and have been in love with it, which is why I would very much like to get this resolved.

The CPUs (Intel Celeron J4125 and Intel Celeron N4120), with their respective integrated graphics, are more than capable of playing the video files. I have also installed both free and non-free GPU drivers. I also installed intel-gpu-tools to analyze the GPU usage and the GPU and CPU were being engaged and were not near max capacity. I have searched the web everyday for a week and have not been able to find any info on anyone experiencing a similar issue.

Edit: I just did a full install of Debian and the issue still persists.

To Reproduce Steps to reproduce the behavior:

  1. Do a base install of Debain 11
  2. Install X-server along with all needed dependencies as described in apt show x-org
  3. Install a window manager, (Dwm) along with all needed dependencies as described in apt show dwm
  4. Download the JFMP .deb package in github releases.
  5. Install using apt install ./JFMP.deb
  6. Try to play any file and experience about 5 frames per second video playback.

Things that work on my computers

  1. Using Jellyfin in browser (Firefox). H264 media plays nice and smooth as expected on all three machines. Most of my media is H264 mkv files.
  2. Downloading the files onto the computers and using VLC Media player to play them. All files play flawlessly.
  3. Attaching media folder from server to client via Samba and playing video with VLC over the network.

Expected behavior Video should play smooth.

Desktop (please complete the following information):

Thank you for any insight anyone can provide!

JohnPei-b commented 1 year ago

Hello,

I was having the same issue with the exact same setup (but with a Celeron J3455 and with an XFCE Debian iso). After investigation, it seems to be related to #182.

The last comment of that issue suggested to launch jellyfin-media-player with

QT_XCB_GL_INTEGRATION="xcb_egl" jellyfinmediaplayer

And to set hardware decoding to enabled and now everything is butter smooth !