High GPU Render usage and micro-stuttering on Intel Sandy Bridge

Open
#74 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
linux, rust

Research direction

No source file, test, or entry point is identified in the issue. Reproduce windowed and fullscreen playback on Intel Sandy Bridge while running intel_gpu_top and vainfo, then establish whether hardware decoding is active; done means the rendering or decoding cause of the micro-stuttering is supported by evidence.

Written by the indexing model from the issue text.

Description

Hello,

First of all, thank you for the great work on the Linux version. Version 1.0.2 is a significant improvement over 1.0.1 on my system.

However, I'm still experiencing slight micro-stuttering during video playback.

System:

  • Linux Mint (X11)
  • Stremio 1.0.2 (Flatpak)
  • Intel Sandy Bridge (Gen6) integrated GPU
  • VA-API is installed and working correctly (vainfo attached below)

Behavior:

  • Video playback is much smoother than in 1.0.1.
  • The Stremio interface is now very smooth.
  • In fullscreen, playback is almost perfect, with only occasional micro-stutters.
  • In windowed mode, playback stutters much more noticeably.

While playing a video, intel_gpu_top reports:

  • Render/3D: 100%
  • Video: 0%
  • Blitter: 0%

This makes me wonder if hardware video decoding is actually being used on Intel Sandy Bridge, or if rendering is still being handled almost entirely by the 3D engine.

vainfo output:

libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Sandybridge Desktop - 2.4.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc

If you need any additional logs or if there are any debug options I can enable, I'd be happy to help.

Thank you!

Dominant language
Rust
Stars
145
Forks
45
Avg merge
7h 8m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Stremio/stremio-linux-shell

All issues in Stremio/stremio-linux-shell

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.