Skip to content

Broken ffmpeg commands for Intel GPUs on Linux #62

@felix920506

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 run jellybench with --nocpu option the following exception is thrown when starting benchmark

Error Code or Output

We will do 72 tests.
Continue (y/n): y

Status: Testing  Workers: 01  Last Speed: 00.00     0% [                                               ] ETA:  --:--:--
Traceback (most recent call last):
  File "/home/user/.cache/pypoetry/virtualenvs/jellybench-py-ZcGqwGZJ-py3.12/bin/jellybench", line 6, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/user/jellybench_py/jellybench_py/core.py", line 760, in main
    return cli()
           ^^^^^
  File "/home/user/jellybench_py/jellybench_py/core.py", line 727, in cli
    valid, runs, result = benchmark(
                          ^^^^^^^^^^
  File "/home/user/jellybench_py/jellybench_py/core.py", line 186, in benchmark
    output = worker.workMan(total_workers, ffmpeg_cmd)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/jellybench_py/jellybench_py/worker.py", line 146, in workMan
    "rss": workrss,
           ^^^^^^^
UnboundLocalError: cannot access local variable 'workrss' where it is not associated with a value

Steps to Reproduce

  1. start jellybench with --nogpu flag
  2. start benchmark
  3. see error

Operating System

Linux

System Architecture

x86_64 (64-bit)

Python Version

3.12.3

CPU[s]

Intel Core i5-10400F

GPU[s]

Intel Arc A750

Additional Context

Benchmark starts properly without the --nocpu flag

Possible Solution

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingserverTied to HWA Server Development

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions