Skip to content

Does not detect improper HWA setup on Linux for GPUs #60

Description

@felix920506

Classifications

  • Running python ./jellybench_py/hwi.py manually (within the Poetry shell) works and produces correct results.
  • This happens on a Virtual Hardware (VM, WSL, ...)
  • The issue occurs during the benchmark section of the script (after Starting Benchmark...).
  • A server issue or faulty server response is causing the problem.
  • jellybench was run in --debug mode (recommended for issue reports).
  • I am using the latest version (branch develop) of jellybench. I understand older versions are not supported.

Description

When running on Linux, the following things might happen:

  • The system does not have the correct GPU firmware installed
  • The system does not have a new enough version of the kernel, mesa etc.
  • The user running the benchmark tool might not have permission to use the GPU

In many of these cases, the program can still detect the presence of the GPUs, but will fail to run benchmarks on them.
The program should run a test before starting benchmarks to detect if things are setup properly.
There are commands in the Jellyfin HWA docs on what ffmpeg commands can be used to test for such cases.

Error Code or Output

Steps to Reproduce

  1. Start Jellybench on a Linux system with improper hardware acceleration setup (eg. user without permissions to use GPU)
  2. Run benchmarks
  3. No errors are reported, benchmarks silently fail

Operating System

Linux

System Architecture

x86_64 (64-bit)

Python Version

3.12

CPU[s]

Intel Core i5-10400F

GPU[s]

Intel Arc A750

Additional Context

No response

Possible Solution

  1. Run a test command to test if HWA was actually properly setup (commands can be found in Jellyfin HWA docs)
  2. Print out a message every time a test fails

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions