Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20948 Discussions

Intel ARC A380 in Handbrake on Ubuntu LTS

TobiasJohansson
Beginner
3,278 Views

I've got myself a Intel ARC A380 (Asrock) for the sole purpose of encoding AV1 in handbrake (GUI), using latest Ubuntu LTS. One +month later after endless guides, compiling (who I had to learn), clueless studying about how it's suppose to work. I am no closer to make it work then when I started.

I have tried the card in a Windows Machine and got it to work at first attempt without doing anything but Windows updates.

I might have something to do with FFMPEG since I got it to work with Manjaro after installing FFMPEG Full..something in AUR. But I had so many other problems with Manjaro so I don't want to use it. But what do I know, It seems that there are multiple ways to use hardware encoding with Intel ARC.

Is there anyone out there who got it to work with Ubuntu LTS or know what I need to get it to work, any cohesive step-by-step guide... anything?
At this point I feel like I wanna bury the card deep underground and never touch anything labeled Intel again.

My Software:
Ubuntu 22.04.3 (fresh install, only updates)
Kernel 6.5.0-14-generic
Handbrake 1.7.2 (flatpak)

My hardware:
Ryzen 3900X
32 GB RAM
Resize Bar is ON in BIOS
AsRock Intel ARC A380 in first PCIe-slot, no other cards or peripherals.

0 Kudos
7 Replies
Hugo_Intel
Employee
3,179 Views

Hello TobiasJohansson


Thank you for posting on the Intel Communities. I know it can be frustrating when the GPU is not working as expected, I will be glad to help.


To correctly install the driver in an Ubuntu distribution, you can follow these steps:

https://dgpu-docs.intel.com/driver/installation.html


Best Regards,


Hugo O.

Intel Customer Support Technician.


0 Kudos
TobiasJohansson
Beginner
3,173 Views
Thank you for the reply
If I understood the guide correctly.
1. Using Ubuntu 23.04 should work with everything I need out-of-the-box from kernel to encode AV1.
2. Using Ubuntu 22.04.3 LTS, I should follow the Client guide out-of-tree so Intel provide the kernel with dkms.

If those options still don't work, it's most likely something to do with compiling options in FFMPEG or something with Handbrake?
0 Kudos
Hugo_Intel
Employee
3,133 Views

Hello TobiasJohansson


In this case, I advise that you follow the steps in sections 2.1.2 and 2.1.3 to ensure the driver's dependencies are installed on the Operating System.


In case the issue persists, it could be a compatibility problem between the drive and the app, so if the problem continues to happen, share with us more details about what exactly happens when trying to use AV1 encoding with Handbrake like error messages or crashes, since we might be able to take a further look at the problem.


Best Regards,


Hugo O.

Intel Customer Support Technician.


0 Kudos
TobiasJohansson
Beginner
3,103 Views

Installed/upgraded steps 2.1.2 and 2.1.3, rebooted and tried Handbrake again.

Still no QSV options in Video Settings.

 

Installed Quicksync plugin for handbrake and got a activity log from handbrake:

OS: GNOME 45 (Flatpak runtime)
HandBrake 1.7.2 (2024010400)
Kernel: Linux 6.5.0-14-generic (x86_64)
CPU: AMD Ryzen 9 3900X 12-Core Processor x 24
Install Dir: /app/bin
Config Dir: /home/tobias/.var/app/fr.handbrake.ghb/config/ghb
_______________________________

[20:28:48] Compile-time hardening features are enabled
Cannot load libnvidia-encode.so.1
[20:28:48] hb_display_init: attempting VA driver 'iHD'
libva info: VA-API version 1.13.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /app/extensions/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva error: /app/extensions/lib/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
[20:28:48] hb_display_init: attempting VA driver 'i965'
libva info: VA-API version 1.13.0
libva info: User environment variable requested driver 'i965'
libva info: Trying to open /app/extensions/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[20:28:48] hb_display_init: attempting VA default driver
libva info: VA-API version 1.13.0
libva info: Trying to open /app/extensions/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva error: /app/extensions/lib/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /app/extensions/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[20:28:48] hb_qsv_make_adapters_list: MFXVideoCORE_QueryPlatform failed impl=0 err=-16
[20:28:48] hb_display_init: attempting VA driver 'iHD'
libva info: VA-API version 1.13.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /app/extensions/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva error: /app/extensions/lib/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
[20:28:48] hb_display_init: attempting VA driver 'i965'
libva info: VA-API version 1.13.0
libva info: User environment variable requested driver 'i965'
libva info: Trying to open /app/extensions/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[20:28:48] hb_display_init: attempting VA default driver
libva info: VA-API version 1.13.0
libva info: Trying to open /app/extensions/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva error: /app/extensions/lib/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /app/extensions/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[20:28:48] qsv: is available on this system
[20:28:48] hb_init: starting libhb thread
[20:28:48] hb_init: starting libhb thread
[20:28:48] hb_init: starting libhb thread

 

0 Kudos
Hugo_Intel
Employee
3,019 Views

Hello TobiasJohansson


Plese make sure that you meet the requerements based on the official Handbrake documentation, mostly the ones related to Arc GPUs:



Best Regards,


Hugo O.

Intel Customer Support Technician.


0 Kudos
Hugo_Intel
Employee
2,960 Views

Hello TobiasJohansson


Please let me know if you checked and ensured all requirements outlined in the official handbrake documentation are met and whether the issue persists.


Best Regards,


Hugo O.

Intel Customer Support Technician.


0 Kudos
Hugo_Intel
Employee
2,853 Views

Hello TobiasJohansson


We hope you found the information and recommendations useful. We will now close this thread since there are no further questions. Feel free to open a new topic if you need further assistance.


Best Regards,


Hugo O.

Intel Customer Support Technician.


0 Kudos
Reply