-
Notifications
You must be signed in to change notification settings - Fork 345
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
When will fixes for ffmpeg invalid display handle (-17) be pushed to Intel drivers? #1647
Comments
These are the current drivers when I search with apt
|
And these are the errors I get when running ffmpeg:
|
Ok so I simply missed a step. I needed to install the runtime dependencies: Are these going to be merged into the kernel so it just works out of the box? |
Media stack depends on Kernel, so step1&2 are necessary. If you intent to run BRC encode cases, step3 is also needed. After that, you could follow Install-from-Agama#install-run-time-packages to install necessary driver and runtime packages, then use |
Step 1, 2, and 3 were already completed for us. We are running Pop OS (an Ubuntu derivative). It was step 4 that we were missing. Was wondering if there is any plan to make it more seamless? I can run NVIDIA and AMD GPUS out of the box and they work with encoding / decoding. Is there any plan to make Intel run out of the box as well? |
this is the kernel it comes prepackaged with:
|
You will never get out of the box support on Ubuntu 22.04 LTS (jammy) since it was released before the Arc graphics. |
Pop OS updates the kernel. They must not have updated the iHD/oneVPL. I'll open an issue with them and link this issue. I suspect its probably on their end if 23.04 does indeed work out of the box. Then I'll close this issue (or leave it open) once we confirm where the actual issue resides. |
Are you looking for pre-build packages? Probably you could try w/ the MediaStack.tar.gz from https://github.com/oneapi-src/oneVPL-intel-gpu/releases for quarterly release. Please let us know if any issues found. |
I installed prebuilt packages from here: https://dgpu-docs.intel.com/installation-guides/ubuntu/ubuntu-jammy-arc.html#step-4-install-run-time-packages What I'm actually looking for is not just prebuilt packages, but seamless out of the box functionality. My experience with AMD and NVIDIA on Pop OS and Ubuntu has been pretty seamless. AMD worked out of the box. I didn't need to install anything. NVIDIA, I simply had to check the box for proprietary drivers at installation. Easy and painless. Intel Arc required updating ppa, changing from open to closed drivers, installing a lot of runtime packages and dependencies. Definitely felt like more of a hassle compared to AMD and NVIDIA. For context, my studio develops Blocky Ball: https://store.steampowered.com/app/1343040/Blocky_Ball/ We want to make sure we support the big 3 graphics cards on Windows and Linux. AMD and NVIDIA were easy. Intel Arc took us a few days to get up and running. We almost gave up on it to pursue other pressing development but fortunately we got it working! :) I'm very much enjoying the arc card now that it's working! I'm currently using it as my daily driver. I think out of box functionality is needed to increase adoption. |
So it seems intel needs a meta package like Instead of installing each of them, because they scattered everywhere, which makes it not that user friendly. |
This would make things A LOT easier! :) |
Btw i've just tried Ubuntu 23.04, as said before, Arc works out of the box in terms of both media(iHD/VPL) and graphics(Mesa). But it still requires you to run |
Ok so this helps. And brings another question to mind: What needs to be done to make sure these packages are preinstalled on this distributions? It would be nice for vaapi and qsv to also work out of the box. Maybe I just got lucky and I installed the dependencies for AMD not realizing it, but AMD vaapi worked out of box for me. |
Kernel 6.2+ (Ubuntu 23.04) Mesa(OpenGL & Vulkan) drivers are preinstalled on nearly all Linux desktop distros. AMD only requires The
|
If this is the case, it sounds like an I wonder if |
Thank you for your suggestions. In Agama package repository, we only provide |
Sounds great! What is the difference between |
Refer to Full vs Free Feature Build https://github.com/intel/media-driver#components-and-features |
Thanks! Definitely a good idea to include the |
However |
That is exactly what I'm looking for :). |
Basically I'm looking for one big meta package that includes everything my gpu needs to operate. |
ffmpeg invalid display handle (-17) is caused by missing MediaSDK runtimes. You need to install these as additional too: https://github.com/Intel-Media-SDK/MediaSDK ffmpeg with oneVPL does still depend on it. |
This error message is caused by missing MediaSDK lib/libmfx* libs and in some systems such as Ubuntu or Debian, it must be under /usr/lib instead of /opt/intel also /usr/local/lib was not possible. FFmpeg with oneVPL does still depend on extra MediaSDK runtimes. if both MediaSDK and oneVPL-intel-gpu libs is installed under /usr/lib , the message will be gone. I hope it is clear now. |
Ffmpeg is still erroring with "invalid display handle(-17) when trying to do hardware encoding: intel/cartwheel-ffmpeg#233
While using intel's latest drivers from here:
https://repositories.intel.com/graphics/ubuntu jammy arc
Installation instructions:
https://dgpu-docs.intel.com/installation-guides/ubuntu/ubuntu-jammy-arc.html
I'm wondering when I can expect the patched drivers to be pushed out? The issue I linked above is closed claiming to have fixed it.
The text was updated successfully, but these errors were encountered: