Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardware acceleration #1

Open
Hooloovoo opened this issue Apr 25, 2023 · 2 comments
Open

Hardware acceleration #1

Hooloovoo opened this issue Apr 25, 2023 · 2 comments

Comments

@Hooloovoo
Copy link

Hello,

Thank you for making a snap of this!

Looking at the output of intel_gpu_top, it seems like hardware acceleration is not working for me on an Intel (Alder Lake) system on Ubuntu 22.04. It works when I download the Jammy deb from:
https://github.com/jellyfin/jellyfin-media-player/releases

jssotomdz added a commit that referenced this issue Jun 30, 2023
As requested by #1, testable in the --edge channel
jssotomdz added a commit that referenced this issue Jun 30, 2023
@jssotomdz
Copy link
Owner

Thanks for reporting the issue. I just pushed some changes that should fix the issue. The new build is in the --edge channel. I'll wait for a couple of days since I recently updated the --candidate channel with other fixes. Please let me know if the issue is solved on your end.

@Hooloovoo
Copy link
Author

Great, thanks!

I tested this but it doesn't seem to be working for me. Using the Flatpak:
image

But using the snap:

$ which jellyfinmediaplayer 
/snap/bin/jellyfinmediaplayer
$ snap info jellyfinmediaplayer 
name:      jellyfinmediaplayer
summary:   Jellyfin Desktop Client based on Plex Media Player
publisher: Jesús Soto (jssotomdz)
store-url: https://snapcraft.io/jellyfinmediaplayer
contact:   jesus.soto@canonical.com
license:   unset
description: |
  Desktop client using jellyfin-web with embedded MPV player. Media plays within the same window
  using the jellyfin-web interface unlike Jellyfin Desktop. Supports audio passthrough. Based on
  Plex Media Player.
  
  This is a community-developed snap and not officially supported or released by Jellyfin.
commands:
  - jellyfinmediaplayer
snap-id:      gm0DnYvVGXTlvybxkbIe2uGCevpYTLg9
tracking:     latest/edge
refresh-date: today at 11:29 BST
channels:
  latest/stable:    –                           
  latest/candidate: 1.9.1 2023-06-30 (19) 643MB -
  latest/beta:      ↑                           
  latest/edge:      1.9.1 2023-06-30 (20) 643MB -
installed:          1.9.1            (20) 643MB -

image

It does not look like it is accelerating. I see at the commandline:

$ /snap/bin/jellyfinmediaplayer 
Testing for explicit PulseAudio choice...
...and PulseAudio has been explicitly chosen, so using it.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket
libpng warning: iCCP: known incorrect sRGB profile
Listening to socket: "/tmp/jmp_pmpUniqueApplication_aaron-personal.sock"
Signal handlers installed successfully.
Logging to  /home/aaron-personal/snap/jellyfinmediaplayer/20/.local/share/jellyfinmediaplayer/logs/jellyfinmediaplayer.log
[77816:78078:0703/113225.133323:ERROR:zygote_host_impl_linux.cc(263)] Failed to adjust OOM score of renderer with pid 78079: Permission denied (13)
[77816:78076:0703/113249.490258:ERROR:ssl_client_socket_impl.cc(960)] handshake failed; returned -1, SSL error code 1, net_error -107
[77816:78076:0703/113249.494453:ERROR:ssl_client_socket_impl.cc(960)] handshake failed; returned -1, SSL error code 1, net_error -107
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

I am using Intel, not nvidia, but could that be relevant?

I also tested the Chromium snap with hwaccel and it is working correctly to accelerate Jellyfin media. Oddly, the deb from the releases page does not seem to be accelerating for me any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants