Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel ARC GPU support #389

Open
jameskitt616 opened this issue Apr 29, 2024 · 9 comments
Open

Intel ARC GPU support #389

jameskitt616 opened this issue Apr 29, 2024 · 9 comments

Comments

@jameskitt616
Copy link

image

I run neko with my Intel iGPU for a while now, with no issues. I recently got my hands on a Intel ARC A380 GPU.
I gave it a try with neko, tho neko instantly fails when trying to spin it up. I use an up-to-date kernel (6.8) on the underlying host for the Intel ARC to be working.
The error message is probably saying that the neko container is missing a gstreamer plugin (no element "vaapih264enc" ) or somehow other related to gstreamer-vaapi.

I don't know if that is actually the issue. I will be happy to assist in any way, if there are questions or help needed/further information required.

@beyondzvincent
Copy link

can you teach me how to use with intel igpu? i have a intel 1260p but failed to run neko with gpu acceleration

@ehfd
Copy link

ehfd commented May 1, 2024

  1. You need to use Ubuntu 24.04. (at least a 24.04 container) or similarly new container distro.
  2. You need vah264lpenc (gst-bad, va / separate from the legacy vaapi plugin) - It should be to first check if vah264enc (older Intel GPUs, AMD GPUs) plugin exists then if it doesn't, switch to vah264lpenc from within the code internally.

Reference: https://github.com/selkies-project/selkies-gstreamer/blob/8476d8fc44dbc90103f7d615ca719858526b2bc7/src/selkies_gstreamer/gstwebrtc_app.py#L401

@jameskitt616
Copy link
Author

I do use Ubuntu 24.04 already. The rest is on neko's side on the code base or in the docker container as i understand it.

@ehfd
Copy link

ehfd commented May 1, 2024

The host and the container should both be Ubuntu 24.04. The above message is for @m1k1o.

@m1k1o
Copy link
Owner

m1k1o commented May 1, 2024

We are currently on debian bullseye / ubuntu 20.04 for nvidia. As 24.04 is available only since couple of days, I think we could upgrade. But even the upgrade to bookworm was not successful as we saw high CPU usage spikes. Let's see if that happens with the latest version.

@jameskitt616
Copy link
Author

Is there anything i can do or test to help out bring this a little further?

@ehfd
Copy link

ehfd commented May 19, 2024

I have an Arc and the driver support is very bad.

intel/media-driver#1800

@jameskitt616
Copy link
Author

I only used my Arc for transcoding in Emby, worked fine so far there. I dont know how support with gstreamer looks.
But thats why i ask if there is anything specific i can test.

@ehfd
Copy link

ehfd commented May 20, 2024

It's a vapostproc issue. Encoding seems to work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants