Skip to content

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

@miromarszal

Description

@miromarszal

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions