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

Trying to install driver for ARC A750

shekar
Beginner
6,033 Views

I am trying to install ARC A750 driver on Ubuntu 22.04. As recommended in the document, I install the Linux image 'linux-iimage-5.17.0-1020-oem' but even though the installation succeeds, after I reboot, 'uname -r' still returns '5.19.0-35-generic' and the driver installation fails..

 

Any suggestions on how I can get past this?

Thanks

0 Kudos
9 Replies
Hugo_Intel
Employee
5,980 Views

Hello shekar

 

Thank you for posting on the Intel Communities. I am sorry to hear that you experiencing issues when trying to install the required kernel version on Ubuntu 22.04 for your Intel® Arc™ A750 Graphics.

 

Please make sure that you are following the instruction and commands outlined in the following article:

Where Can I Find Linux Drivers for Intel® Arc™ Graphics?

 

After following the instruction, on the GNU GRUB screen (see image attached) you can go to Advanced options and the kernel version 5.17.0-1020-oem should be listed, you will need to select it in order to start the system with that kernel.

 

Best Regards,

 

Hugo O.

Intel Customer Support Technician.

 

0 Kudos
shekar
Beginner
5,963 Views

Hi Hugo,

 

I am able to boot the 5.17.0-1020-oem kernel. One problem I am seeing is that when I install the intel-i915-dkms and intel-fw-gpu packages, I get errors (see below). Note that the packages get installed for the 5.17*oem kernel but the failure occurs when trying to install for the 5.19.0-35-generic kernel. I am not sure why the apt command is trying to install for the generic kernel. When I run the 'uname -r' command, I get:

$ uname -r
5.17.0-1020-oem

This is the output of the command:

$ sudo apt-get install -y intel-i915-dkms intel-fw-gpu

[... snip ...]

iaf.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.17.0-1020-oem/updates/dkms/

depmod...
Building initial module for 5.19.0-35-generic
Error! Bad return status for module build on kernel: 5.19.0-35-generic (x86_64)
Consult /var/lib/dkms/intel-i915-dkms/0.6469.0.3.221221.4.5.17.0.1020/build/make.log for more information.
dpkg: error processing package intel-i915-dkms (--configure):
installed intel-i915-dkms package post-installation script subprocess returned error exit status 10
Setting up libfl-dev:amd64 (2.6.4-8build2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for install-info (6.8-4build1) ...
Processing triggers for initramfs-tools (0.140ubuntu13.1) ...
update-initramfs: Generating /boot/initrd.img-5.19.0-35-generic
Errors were encountered while processing:
intel-i915-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks

Shekar

0 Kudos
Hugo_Intel
Employee
5,936 Views

Hello shekar


It is good to know that you were able to install the kernel. In regards to the error message that you shared this will happen if you start the system with the 5.19 generic kernel as the support is only for the 5.17.0-1020-oem and this is the one you will need to keep using. If you are experiencing the issue while using the 5.17.0-1020-oem kernel, please share with us a short video of the CLI at the time you get this error.


Also, please share with us the output of the command:

sudo apt-get install hwinfo

hwinfo --display


Best regards,


Hugo O.

Intel Customer Support Technician.


0 Kudos
shekar
Beginner
5,933 Views

Hi Hugo,

 

Thank you for your response. Here is the output for hwinfo and below that a description of the problem I am still experiencing.

 

------------------------------

$ hwinfo --display
06: PCI 300.0: 0300 VGA compatible controller (VGA)
[Created at pci.386]
Unique ID: svHJ.pFByMAbAkG8
Parent ID: GA8e.mr2N3fBJq5F
SysFS ID: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:01.0/0000:03:00.0
SysFS BusID: 0000:03:00.0
Hardware Class: graphics card
Model: "Intel VGA compatible controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x56a1
SubVendor: pci 0x8086 "Intel Corporation"
SubDevice: pci 0x1021
Revision: 0x08
Driver: "i915"
Driver Modules: "i915"
Memory Range: 0xe6000000-0xe6ffffff (rw,non-prefetchable)
Memory Range: 0xf000000000-0xf1ffffffff (ro,non-prefetchable)
Memory Range: 0xe7000000-0xe71fffff (ro,non-prefetchable,disabled)
IRQ: 108 (904230 events)
Module Alias: "pci:v00008086d000056A1sv00008086sd00001021bc03sc00i00"
Driver Info #0:
Driver Status: i915 is active
Driver Activation Cmd: "modprobe i915"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #78 (PCI bridge)

Primary display adapter: #6

 

Here is an example of what I am experiencing. Whenever I try to install a package (see below), an attempt is made by the OS to install for both kernels. As I said earlier, uname -r gives the 5.17* kernel (so I know I am running the "correct" kernel).

$ sudo apt install pkg-config build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
build-essential set to manually installed.
The following packages were automatically installed and are no longer required:
libflashrom1 libftdi1-2 libgl1-amber-dri libllvm15 linux-image-5.15.0-25-generic linux-modules-5.15.0-25-generic linux-modules-extra-5.15.0-25-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
pkg-config
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 48.2 kB of archives.
After this operation, 134 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 pkg-config amd64 0.29.2-1ubuntu3 [48.2 kB]
Fetched 48.2 kB in 0s (613 kB/s)
Selecting previously unselected package pkg-config.
(Reading database ... 245057 files and directories currently installed.)
Preparing to unpack .../pkg-config_0.29.2-1ubuntu3_amd64.deb ...
Unpacking pkg-config (0.29.2-1ubuntu3) ...
Setting up intel-i915-dkms (0.6469.0.3.221221.4.5.17.0.1020+i11-1) ...
Removing old intel-i915-dkms-0.6469.0.3.221221.4.5.17.0.1020 DKMS files...
Module intel-i915-dkms-0.6469.0.3.221221.4.5.17.0.1020 for kernel 5.17.0-1020-oem (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

compat.ko:
- Uninstallation
- Deleting from: /lib/modules/5.17.0-1020-oem/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


i915.ko:
- Uninstallation
- Deleting from: /lib/modules/5.17.0-1020-oem/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


i915_spi.ko:
- Uninstallation
- Deleting from: /lib/modules/5.17.0-1020-oem/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.


iaf.ko:
- Uninstallation
- Deleting from: /lib/modules/5.17.0-1020-oem/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod...
Deleting module intel-i915-dkms-0.6469.0.3.221221.4.5.17.0.1020 completely from the DKMS tree.
Loading new intel-i915-dkms-0.6469.0.3.221221.4.5.17.0.1020 DKMS files...
Building for 5.17.0-1020-oem 5.19.0-35-generic
Building initial module for 5.17.0-1020-oem
Secure Boot not enabled on this system.
Done.

compat.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.17.0-1020-oem/updates/dkms/

i915.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.17.0-1020-oem/updates/dkms/

i915_spi.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.17.0-1020-oem/updates/dkms/

iaf.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.17.0-1020-oem/updates/dkms/

depmod...
Building initial module for 5.19.0-35-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/intel-i915-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.19.0-35-generic (x86_64)
Consult /var/lib/dkms/intel-i915-dkms/0.6469.0.3.221221.4.5.17.0.1020/build/make.log for more information.
dpkg: error processing package intel-i915-dkms (--configure):
installed intel-i915-dkms package post-installation script subprocess returned error exit status 10
Setting up pkg-config (0.29.2-1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Errors were encountered while processing:
intel-i915-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

0 Kudos
Hugo_Intel
Employee
5,909 Views

Hello shekar


Thank you for providing us with this information. based on the output of the HWinfo command the driver for the Intel® Arc™ GPU has been successfully installed. Have you been able to test any games and do they work fine?


In regards to the issue you mention with the OS wanting to install packages on both kernels, our advice would be to contact Ubuntu Support as you might need to uninstall or disable the 5.19- generic kernel from the system.


Best Regards,


Hugo O.

Intel Customer Support Technician.


0 Kudos
Hugo_Intel
Employee
5,835 Views

Hello shekar

  

I hope you are doing fine. 

  

Were you able to check the previous post? 

Let us know if you still need assistance. 

  

Best regards,  


Hugo O.  

Intel Customer Support Technician. 


0 Kudos
shekar
Beginner
5,757 Views

Hi Hugo,

 

I am able to install the driver but the apt-get failure still persists. I had to downgrade to 20.04 and even there I get the same error where once I install the Intel dkms packages (step 3 in the documentation), I get into this problem. But since the driver is up and running (as you pointed out), I am going to live with this issue -- I am not sure I fully understand the side-effects of this problem, but I guess I will find out.

I didn't find anything in the Ubuntu communities related to this issue. I think it has to do with these instructions:

sudo apt-get install intel-i915-dkms intel-platform-cse-dkms pmt

Anyway, thank you for your help. I will post on this thread if I find anything else of interest.

 

Shekar

0 Kudos
Hugo_Intel
Employee
5,717 Views

Hello shekar


Thank you for getting back to us. I am sorry to hear that you are still facing issues with the apt-get command. The apt-get command is used to download and install software on your Linux distribution as such the issue is more related to the OS itself, the troubleshooting for that is a little bit out of our scope, I apologize that we are not able to provide further steps for that problem, however, we are glad that you were able to install the driver for your Intel® Arc™ A750 Graphics.


In case you have further questions, please open a new topic as this thread will no longer be monitored.


Best Regards,


Hugo O.

Intel Customer Support Technician.


0 Kudos
nelsinchi
Beginner
3,214 Views

Hi Hugo,

 

I have been seeing the same failure on my laptop too. I am getting the following error when I install the package intel-i915-dkms. It is on a Dell XPS 15 9520 with Ubuntu 22.04 LTS installed.

 

ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/intel-i915-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.2.0-35-generic (x86_64)
Consult /var/lib/dkms/intel-i915-dkms/1.23.7.17.230608.24/build/make.log for more information.
dpkg: error processing package intel-i915-dkms (--configure):
installed intel-i915-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
intel-i915-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Even when I do a simple "sudo apt update && sudo apt upgrade -y" the error blows up on the output. I am not sure if that error can be skipped because the driver is active, but the message is very annoying

❯ hwinfo --display
20: PCI 100.0: 0302 3D controller                                
 [Created at pci.386]
 Unique ID: VCu0.xah+EZneCB4
 Parent ID: vSkL.j3Tc4EUz7XC
 SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
 SysFS BusID: 0000:01:00.0
 Hardware Class: graphics card
 Model: "nVidia 3D controller"
 Vendor: pci 0x10de "nVidia Corporation"
 Device: pci 0x25a2  
 SubVendor: pci 0x1028 "Dell"
 SubDevice: pci 0x0b19  
 Revision: 0xa1
 Driver: "nvidia"
 Driver Modules: "nvidia"
 Memory Range: 0xbe000000-0xbeffffff (rw,non-prefetchable)
 Memory Range: 0x6000000000-0x60ffffffff (ro,non-prefetchable)
 Memory Range: 0x6100000000-0x6101ffffff (ro,non-prefetchable)
 I/O Ports: 0x3000-0x307f (rw)
 IRQ: 191 (1435 events)
 Module Alias: "pci:v000010DEd000025A2sv00001028sd00000B19bc03sc02i00"
 Driver Info #0:
   Driver Status: nvidiafb is not active
   Driver Activation Cmd: "modprobe nvidiafb"
 Driver Info #1:
   Driver Status: nouveau is not active
   Driver Activation Cmd: "modprobe nouveau"
 Driver Info #2:
   Driver Status: nvidia_drm is active
   Driver Activation Cmd: "modprobe nvidia_drm"
 Driver Info #3:
   Driver Status: nvidia is active
   Driver Activation Cmd: "modprobe nvidia"
 Config Status: cfg=new, avail=yes, need=no, active=unknown
 Attached to: #14 (PCI bridge)

34: PCI 02.0: 0300 VGA compatible controller (VGA)
 [Created at pci.386]
 Unique ID: _Znp.fMBUULyugT7
 SysFS ID: /devices/pci0000:00/0000:00:02.0
 SysFS BusID: 0000:00:02.0
 Hardware Class: graphics card
 Model: "Intel VGA compatible controller"
 Vendor: pci 0x8086 "Intel Corporation"
 Device: pci 0x46a6  
 SubVendor: pci 0x1028 "Dell"
 SubDevice: pci 0x0b19  
 Revision: 0x0c
 Driver: "i915"
 Driver Modules: "i915"
 Memory Range: 0x6188000000-0x6188ffffff (rw,non-prefetchable)
 Memory Range: 0x4000000000-0x400fffffff (ro,non-prefetchable)
 I/O Ports: 0x4000-0x403f (rw)
 Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
 IRQ: 190 (5297913 events)
 Module Alias: "pci:v00008086d000046A6sv00001028sd00000B19bc03sc00i00"
 Driver Info #0:
   Driver Status: i915 is active
   Driver Activation Cmd: "modprobe i915"
 Config Status: cfg=new, avail=yes, need=no, active=unknown

Primary display adapter: #34

I found the following articles very useful when I was installing the driver on my Ubuntu, but in the end, I still get the message error. It is like the kernel cannot build the Intel module.

 

https://www.intel.com/content/www/us/en/download/747008/intel-arc-graphics-driver-ubuntu.html

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

 

Please, could you provide us another solution to this error?

 

Kind regards,

Nelson Fonseca

0 Kudos
Reply