cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

StevenFTW
Journeyman III

Drivers Not Installing On Linux (Error proccesing package amdgpu-install)

I'm new to Linux. Currently on Ubuntu 22.04.4. (I'm open to hopping on a distro that can install these drivers)

Recently switched my PC to Linux, trying to download vulkan drivers. find the appropriate pack for my version and gave her an install (noticed that it said HWE when mine had LTS, looked it up and i had the HWE packs already installed, boopity). Opened terminal, input amdgpu-install. no worky. Trouble shooted that, turns out it was a typo in some files. (if oyu wann know more lmk). consulted a buddy, (they have nvidia but still gave it a shot) told me to run amdgpu-install --usecase=graphics,opencl --vulkan=amdvlk,pro instead, so i did. this time, a different issue, "Errors were encountered while processing: amdgpu-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)"
gave me a file to look in, Screenshot from 2024-07-13 19-11-41.png

i had a look in /tmp/amd.xxxx/amd/dkms/config, the file in there is named config.h.in.

If you need more information, lmk how to provide it. Thank-you for taking the time to read this.

1 Reply
Krotti83
Adept I

Hi @StevenFTW!

 

Seems the system compiler (GCC 12) isn't installed on your system, according to your posted screenshot from the build log. There are many GCC not found errors:

 

/bin/sh: 1: gcc-12: not found

 

 

You can install GCC (and the required build tools) with:

 

$ sudo apt update
$ sudo apt install build-essential

 

 

 And then retry to install the drivers.

0 Likes