I'm new to linux and im having a problem with my gpu

simis

New Member
Credits
171
I'm brand new and I don't know what I'm doing but i know enough that I can tell there's a problem. I'm on Ubuntu 20.04 LTS and my RADEON 6700 XT is not initializing on boot. I was able to narrow it down to this after some googling around when I tried to play CIV IV and it was performing terribly. I still have no idea what to do about it though and some help would be much appreciated.

I suspect there is a firmware problem (I really don't even know what that means, I'm truly a novice) so i tried to get a clean install and this time decided to install the third party software in hopes that that would clear it up but it did not. Now my system is fresh as of this morning with only the necessary software updates, I downloaded steam and discord and CIV IV and that's it. I followed a guide (https://linuxconfig.org/amd-radeon-ubuntu-20-04-driver-installation) and got some info that i can hardly understand and I will relay it to you.

[email protected]:~$ sudo lshw -c video
[sudo] password for simis:
*-display UNCLAIMED
description: VGA compatible controller
product: Advanced Micro Devices, Inc. [AMD/ATI]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: [email protected]:08:00.0
version: c1
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller cap_list
configuration: latency=0
resources: memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:e000(size=256) memory:fc900000-fc9fffff memory:c0000-dffff
[email protected]:~$ lsmod | grep amd
edac_mce_amd 32768 0
amdgpu 6053888 0
iommu_v2 24576 1 amdgpu
gpu_sched 40960 1 amdgpu
drm_ttm_helper 16384 1 amdgpu
ttm 73728 2 amdgpu,drm_ttm_helper
drm_kms_helper 237568 1 amdgpu
i2c_algo_bit 16384 1 amdgpu
drm 548864 5 gpu_sched,drm_kms_helper,amdgpu,drm_ttm_helper,ttm
gpio_amdpt 20480 0
gpio_generic 20480 1 gpio_amdpt
[email protected]:~$ dmesg | grep -i amdgpu
[ 4.431323] [drm] amdgpu kernel modesetting enabled.
[ 4.431385] amdgpu: Ignoring ACPI CRAT on non-APU system
[ 4.431397] amdgpu: Topology: Add CPU node
[ 4.431465] fb0: switching to amdgpudrmfb from EFI VGA
[ 4.431534] amdgpu 0000:08:00.0: vgaarb: deactivate vga console
[ 4.431630] amdgpu 0000:08:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[ 4.433152] amdgpu 0000:08:00.0: No more image in the PCI ROM
[ 4.433204] amdgpu 0000:08:00.0: amdgpu: Fetched VBIOS from ROM BAR
[ 4.433207] amdgpu: ATOM BIOS: 113-D5121100-101
[ 4.433242] amdgpu 0000:08:00.0: amdgpu: VRAM: 12272M 0x0000008000000000 - 0x00000082FEFFFFFF (12272M used)
[ 4.433244] amdgpu 0000:08:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[ 4.433245] amdgpu 0000:08:00.0: amdgpu: AGP: 267894784M 0x0000008400000000 - 0x0000FFFFFFFFFFFF
[ 4.433297] [drm] amdgpu: 12272M of VRAM memory ready
[ 4.433299] [drm] amdgpu: 12272M of GTT memory ready.
[ 4.433819] amdgpu 0000:08:00.0: Direct firmware load for amdgpu/navy_flounder_sos.bin failed with error -2
[ 4.433821] amdgpu 0000:08:00.0: amdgpu: failed to init sos firmware
[ 4.433823] [drm:psp_sw_init [amdgpu]] *ERROR* Failed to load psp firmware!
[ 4.433914] [drm:amdgpu_device_ip_init [amdgpu]] *ERROR* sw_init of IP block <psp> failed -2
[ 4.434001] amdgpu 0000:08:00.0: amdgpu: amdgpu_device_ip_init failed
[ 4.434005] amdgpu 0000:08:00.0: amdgpu: Fatal error during GPU init
[ 4.434023] amdgpu: probe of 0000:08:00.0 failed with error -2

I could really use some help so please, someone more qualified than myself, (I suspect that would mean practically all of you) lend me a hand.

I can see in the preview that there is an emoji above. I don't know how to change that that is "colonp" as if the "colon" were literally a colon.
 


f33dm3bits

Gold Member
Gold Supporter
Credits
25,890
Can you open a terminal and share the output of the following command?
Code:
ls -l /lib/firmware/amdgpu/navy_flounder_sos.bin
 

brickwizard

Well-Known Member
Credits
7,000

f33dm3bits

Gold Member
Gold Supporter
Credits
25,890
How about this.
Code:
ls -l  /lib/firmware | grep amdgpu
 

f33dm3bits

Gold Member
Gold Supporter
Credits
25,890

brickwizard

Well-Known Member
Credits
7,000

f33dm3bits

Gold Member
Gold Supporter
Credits
25,890
as i said the drivers for this card ARE not included in Ubuntu
It's a missing firmware problem.
4.433819] amdgpu 0000:08:00.0: Direct firmware load for amdgpu/navy_flounder_sos.bin failed with error -2
[ 4.433821] amdgpu 0000:08:00.0: amdgpu: failed to init sos firmware
I'm running the same card on a different distribution so it should work as well on Ubuntu.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
25,890
[email protected]:~/Downloads/linux-firmware-20210919$ ls -l /lib/firmware/amdgpu/navy_flounder_sos.bin
-rw-r--r-- 1 root root 206320 Sep 26 12:43 /lib/firmware/amdgpu/navy_flounder_sos.bin
Can you reboot your system and then share the output of a command you used in your original post.
Code:
dmesg | grep -i amdgpu
lsmod | grep -i amdgpu
 

brickwizard

Well-Known Member
Credits
7,000
@simis

if you have downloaded the drivers have you installed them

amdgpu-install
 

simis

New Member
Credits
171
as i said the drivers for this card ARE not included in Ubuntu
I've downloaded and extracted the files but the installation is giving me some trouble. I'm following AMD's guide linked on their page there and the command to install isn't working. Pardon my ignorance, this is the result.
[email protected]:/home$ amdgpu-install
amdgpu-install: command not found

Isn't that the correct command?
 

brickwizard

Well-Known Member
Credits
7,000
I'm running the same card on a different distribution s
there was a big blog on this a while back, if you click on the link I posted [ drivers for Ubuntu are fairly new]
 

f33dm3bits

Gold Member
Gold Supporter
Credits
25,890
I've downloaded and extracted the files but the installation is giving me some trouble. I'm following AMD's guide linked on their page there and the command to install isn't working. Pardon my ignorance, this is the result.
[email protected]:/home$ amdgpu-install
amdgpu-install: command not found

Isn't that the correct command?
You don't need the amgdpu-pro driver, as mentioned in the guide you followed. You can use Method 1 using the opensource drivers which is already part of the Ubuntu installation. Mesa and and the linux kernel, the only thing that seems missing was the firmware. I have the same graphics card and I'm not using the amdgpu-pro driver.
 

simis

New Member
Credits
171
Can you reboot your system and then share the output of a command you used in your original post.
Code:
dmesg | grep -i amdgpu
lsmod | grep -i amdgpu
[email protected]:~$ lsmod | grep -i amdgpu
amdgpu 6053888 0
iommu_v2 24576 1 amdgpu
gpu_sched 40960 1 amdgpu
drm_ttm_helper 16384 1 amdgpu
ttm 73728 2 amdgpu,drm_ttm_helper
drm_kms_helper 237568 1 amdgpu
i2c_algo_bit 16384 1 amdgpu
drm 548864 5 gpu_sched,drm_kms_helper,amdgpu,drm_ttm_helper,ttm
[email protected]:~$ dmesg | grep -i amdgpu
[ 4.286611] [drm] amdgpu kernel modesetting enabled.
[ 4.286666] amdgpu: Ignoring ACPI CRAT on non-APU system
[ 4.286677] amdgpu: Topology: Add CPU node
[ 4.286744] fb0: switching to amdgpudrmfb from EFI VGA
[ 4.286834] amdgpu 0000:08:00.0: vgaarb: deactivate vga console
[ 4.286939] amdgpu 0000:08:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[ 4.288565] amdgpu 0000:08:00.0: No more image in the PCI ROM
[ 4.288582] amdgpu 0000:08:00.0: amdgpu: Fetched VBIOS from ROM BAR
[ 4.288584] amdgpu: ATOM BIOS: 113-D5121100-101
[ 4.288627] amdgpu 0000:08:00.0: amdgpu: VRAM: 12272M 0x0000008000000000 - 0x00000082FEFFFFFF (12272M used)
[ 4.288629] amdgpu 0000:08:00.0: amdgpu: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
[ 4.288631] amdgpu 0000:08:00.0: amdgpu: AGP: 267894784M 0x0000008400000000 - 0x0000FFFFFFFFFFFF
[ 4.288711] [drm] amdgpu: 12272M of VRAM memory ready
[ 4.288713] [drm] amdgpu: 12272M of GTT memory ready.
[ 4.289654] amdgpu 0000:08:00.0: Direct firmware load for amdgpu/navy_flounder_ta.bin failed with error -2
[ 4.289657] amdgpu 0000:08:00.0: amdgpu: fail to initialize ta microcode
[ 4.289659] [drm:psp_sw_init [amdgpu]] *ERROR* Failed to load psp firmware!
[ 4.289797] [drm:amdgpu_device_ip_init [amdgpu]] *ERROR* sw_init of IP block <psp> failed -2
[ 4.289931] amdgpu 0000:08:00.0: amdgpu: amdgpu_device_ip_init failed
[ 4.289935] amdgpu 0000:08:00.0: amdgpu: Fatal error during GPU init
[ 4.289962] amdgpu: probe of 0000:08:00.0 failed with error -2
 

brickwizard

Well-Known Member
Credits
7,000
@simis yes.. however if you downloaded from AMD you will have a tar/ file which needs to be decompressed
 

f33dm3bits

Gold Member
Gold Supporter
Credits
25,890
there was a big blog on this a while back, if you click on the link I posted [ drivers for Ubuntu are fairly new]
You linked to the amdgpu pro drivers, all that card needs is mesa, the kernel driver and the correct firmware. I am running that exact graphics card with the opensource drivers and not using the amdgpu-pro drivers.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top