hmlendea / gfn-electron

Linux Desktop client for Nvidia's GeForce NOW game streaming service
GNU General Public License v3.0
488 stars 61 forks source link

[BUG] Hardware decoding not working, works fine in Chrome #208

Open miromarszal opened 9 months ago

miromarszal commented 9 months ago

Describe the bug

I see no signs of hardware decoding when streaming a game. There is a noticeable input lag too.

To Reproduce

  1. Start gfn-electron and launch your favourite game.
  2. Wait until the stream begins.
  3. Observe your GPU usage with an appropriate tool (intel_gpu_top in my case).

Screenshots

GPU usage with gfn-electron GPU usage with the app

GPU usage with Chrome GPU usage with Chrome

Operating System

Ubuntu 23.04

Desktop Environment

GNOME 44.3

Display Server

Wayland

Installation method

Source

Version

1.13.0

Is this a fresh install of the app or an update from a past version?

Fresh

Did this issue appear right away upon installation/updating, or spontaneously?

Right after installation

Additional context

The graphics card is Intel® UHD Graphics (CML GT2). Hardware decoding works for me in Chrome with only one additional flag added: -enable-features=VaapiVideoDecodeLinuxGL. I leave out --use-gl, however, I verified that egl does not work and angle does. These are not the same as used by gfn-electron, so I tried the default setting and flags set as above by tweaking the source, in both cases without success. You can see from the screenshot above that hardware decoding does not work.

seedneus commented 8 months ago

didn't it need a permissions set in flatseal? Default is disabled as I can see...

miromarszal commented 8 months ago

Good point about flatpak installations, there could be issues there. In my case it's a source installation though.

hmlendea commented 8 months ago

didn't it need a permissions set in flatseal? Default is disabled as I can see...

Which permission are you refering to?

hmlendea commented 2 months ago

Is this still an issue in the latest release?