running the stuff in the title, tried a buncha switches for chromium/electron stuff but still the load mesured with e.g. amdgpu_top doesn't show "Media" usage. playing other stuff (VLC, Dragon, mpv) shows "Media" usage, which means those are using hardware acceleration.

edit: in the meantime tried the portable version as well, same results so it isn't a flatpak issue.

edit 2: as @thingsiplay@lemmy.ml found, running portable and flatpak with --enable-features=AcceleratedVideoDecodeLinuxZeroCopyGL,AcceleratedVideoDecodeLinuxGL,VaapiIgnoreDriverChecks under X11/Xwayland produces hardware accelerated video. that doesn't seem to be the case with wayland, the media graph stays at 0% and there's a buncha dropped frames with e.g. 4K video.

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 9 months ago* (2 children)

cool beans. can you confirm your flatpak settings, are they for X or wayland? if you run freetube and run xlsclients in terminal, does it return empty? and if freetube runs in wayland, does it say 0% in media when you playback?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 9 months ago (1 child)

    I don't know how to do a screenshot of the entire window that scrolls outside the view... i know skill issues. :D Well in Flatseal some relevant settings are X11 windowing system = ON, Wayland windowing system = OFF, Fallback to X11 windowing system = OFF. GPU acceleration = ON:

    • xlsclients returns "freetube"
    • With the enabled acceleration features using cmdline: "Media" activity is active (as soon as I play a video)
    • Without the extra features: "Media" activity is 0%

    Unfortunately if I enable Wayland (just reverse ON / OFF X11 and Wayland setting in Flatseal), the Media activity is unused. Following settings and results are...

    X11 windowing system = OFF, Wayland windowing system = ON, Fallback to X11 windowing system = OFF. GPU acceleration = ON:

    • xlsclients returns "" (empty)
    • With the enabled acceleration features using cmdline: "Media" activity is 0%
    • Without the extra features: "Media" activity is 0%
  • source
  • parent
  • hideshow 1 child comment