Can't get GPU running on Linux Mint 21.1

It seems that a lot of GPU problems revolve around specific versions of drivers. Though AMD has their own support structure, you can often learn from information reported by others who fold.

Moderators: Site Moderators, FAHC Science Team

calxalot
Site Moderator
Posts: 1094
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Can't get GPU running on Linux Mint 21.1

Post by calxalot »

You probably need to also enable the service so it runs at boot.
E.g.:

Code: Select all

sudo systemctl start fah.service
sudo systemctl enable fah.service
rjeber
Posts: 12
Joined: Sat Apr 15, 2023 1:43 pm
Hardware configuration: Laptop: HP17bs086nf, Intel Core i5-7200U, Intel HD Graphics 620 . Mint Cinnamon 21.1
Desktop: ASUS Prime B760-plus D4 motherboard, AMD Radeon RX6500XT, Intel 12th gen i7 12 core 3500MHz, 8GB ram, 500GB Samsung SSD, Mint Cinnamon 21.1
Location: Millas, France

Re: Can't get GPU running on Linux Mint 21.1

Post by rjeber »

Thanks, I'll give it a try.

Russell
rjeber
Posts: 12
Joined: Sat Apr 15, 2023 1:43 pm
Hardware configuration: Laptop: HP17bs086nf, Intel Core i5-7200U, Intel HD Graphics 620 . Mint Cinnamon 21.1
Desktop: ASUS Prime B760-plus D4 motherboard, AMD Radeon RX6500XT, Intel 12th gen i7 12 core 3500MHz, 8GB ram, 500GB Samsung SSD, Mint Cinnamon 21.1
Location: Millas, France

Re: Can't get GPU running on Linux Mint 21.1

Post by rjeber »

O.K. That seems to fail at the first hurdle. When running "sudo amdgpu-install --usecase=opencl --opencl=rocr" i get the following error message:

Code: Select all

W: GPG error: http://dl.google.com/linux/earth/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
E: The repository 'http://dl.google.com/linux/earth/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I have found Man page 8 : apt-secure but it's somewhat over my head! I have tried a couple of fixes suggested on the Ubuntu-Mate.community but neither has worked.

I am learning a bit though. My introduction to Linux was about 20 years ago and although a Linux user ever since I haven't done much delving into the guts of the system.

Any help solving this would be appreciated.

Russell
rjeber
Posts: 12
Joined: Sat Apr 15, 2023 1:43 pm
Hardware configuration: Laptop: HP17bs086nf, Intel Core i5-7200U, Intel HD Graphics 620 . Mint Cinnamon 21.1
Desktop: ASUS Prime B760-plus D4 motherboard, AMD Radeon RX6500XT, Intel 12th gen i7 12 core 3500MHz, 8GB ram, 500GB Samsung SSD, Mint Cinnamon 21.1
Location: Millas, France

Re: Can't get GPU running on Linux Mint 21.1

Post by rjeber »

Ah, fixed that one by running
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
before
sudo amdgpu-install --usecase=opencl --opencl=rocr

The AMD driver now seems to install although it lists some "Possible missing firmware". It remains to be seen if that is a problem but I must stop for the night now.

Russell
rjeber
Posts: 12
Joined: Sat Apr 15, 2023 1:43 pm
Hardware configuration: Laptop: HP17bs086nf, Intel Core i5-7200U, Intel HD Graphics 620 . Mint Cinnamon 21.1
Desktop: ASUS Prime B760-plus D4 motherboard, AMD Radeon RX6500XT, Intel 12th gen i7 12 core 3500MHz, 8GB ram, 500GB Samsung SSD, Mint Cinnamon 21.1
Location: Millas, France

Re: Can't get GPU running on Linux Mint 21.1

Post by rjeber »

Oh dear. That's wrecked it. Can only get 640 x 480 resolution now on an "Unknown Display". :oops:
Output from install:

Code: Select all

Running the post_install script:

depmod...
update-initramfs: Generating /boot/initrd.img-5.15.0-70-generic
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_10_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_imu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_6_0_3.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/smu_13_0_10.bin for module amdgpu
Setting up hsa-rocr (1.7.0.50403-121~22.04) ...
Setting up libdrm2-amdgpu:amd64 (1:2.4.113.50403-1538762.22.04) ...
Setting up libelf-dev:amd64 (0.186-1build1) ...
Setting up rocm-opencl (2.0.0.50403-121~22.04) ...
Setting up g++ (4:11.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up libdrm-amdgpu-amdgpu1:amd64 (1:2.4.113.50403-1538762.22.04) ...
Setting up openmp-extras-runtime (15.54.0.50403-121~22.04) ...
Setting up rocm-language-runtime (5.4.3.50403-121~22.04) ...
Setting up rocm-opencl-runtime (5.4.3.50403-121~22.04) ...
update-alternatives: using /opt/rocm-5.4.3/bin/clinfo to provide /usr/bin/clinfo (clinfo) in auto mode
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Is there a way of installing the missing firmware or should I roll back with Timeshift and try again?
Russell
rjeber
Posts: 12
Joined: Sat Apr 15, 2023 1:43 pm
Hardware configuration: Laptop: HP17bs086nf, Intel Core i5-7200U, Intel HD Graphics 620 . Mint Cinnamon 21.1
Desktop: ASUS Prime B760-plus D4 motherboard, AMD Radeon RX6500XT, Intel 12th gen i7 12 core 3500MHz, 8GB ram, 500GB Samsung SSD, Mint Cinnamon 21.1
Location: Millas, France

Re: Can't get GPU running on Linux Mint 21.1

Post by rjeber »

Help please! I am getting the same, 640 x 480, VGA resolution only available on my Windows O.S. as well as Linux. I have also tried running a live session from my original installation disk. Timeshift back 10 days still only allows VGA. So it looks as if the firmware on the graphics card has been compromised.

That seems to be confirmed by an error message flashing up too quick to read Something like "AMD GPU checksum error"

Graphics section of system report follows:

Code: Select all

Graphics:
  Device-1: AMD vendor: Sapphire driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16 ports:
    active: DP-1 empty: HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:743f
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati
    unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 640x480 s-dpi: 96
  Monitor-1: DisplayPort-0 mapped: DP-1 res: 640x480 size: N/A
  OpenGL: renderer: AMD Radeon RX 6500 XT (navi24 LLVM 15.0.6 DRM 3.42 5.15.0-70-generic)
    v: 4.6 Mesa 22.2.5 direct render: Yes
Does anyone have an idea for fixing this other than getting a new graphics card?

Russell
Post Reply