You are not logged in.

#1 2021-11-30 22:13:55

Neutrynos
Member
Registered: 2021-11-30
Posts: 4

Can't use my graphic card [AMDGPU]

Hello,

I have issues to put my new graphic card in use. It's a AMD RX 6600. I also have a AMD 4650G CPU.
The problem is that when I plug a HDMI on the grpahic card, there is no signal.
I ensured that the amdgpu is loaded by checking lsmod.

Here is what I can see from lspci :

0f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] [1002:73ff] (rev c7)
    Subsystem: Gigabyte Technology Co., Ltd Device [1458:2334]
11:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev d9)
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636]
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

So I guess that amdpgu was associated to my CPU instead of my GPU.

I also configured Xorg as in the wiki section here : https://wiki.archlinux.org/title/AMDGPU … figuration

Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
EndSection

It's been more than a week that I'm trying to make it work, but I'm kind of lost, I don't know where to look.
Of course I'd like to enable my second screen, but more than that, I'd like to understand a bit more how all of this work. I think I have understood the kernel part, but once the drivers are loaded, I don't really understand how it's put into use.

If it's useful, here is what I found in dmesg for amdgpu :

$ dmesg | grep amdgpu                       
[   15.232647] [drm] amdgpu kernel modesetting enabled.
[   15.232791] amdgpu: Topology: Add CPU node
[   15.232958] fb0: switching to amdgpudrmfb from EFI VGA
[   15.233103] amdgpu 0000:11:00.0: vgaarb: deactivate vga console
[   15.233155] amdgpu 0000:11:00.0: enabling device (0006 -> 0007)
[   15.233264] amdgpu 0000:11:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
[   15.234492] amdgpu: ATOM BIOS: 113-RENOIR-033
[   15.235163] amdgpu 0000:11:00.0: amdgpu: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
[   15.235167] amdgpu 0000:11:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[   15.235171] amdgpu 0000:11:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
[   15.235362] [drm] amdgpu: 512M of VRAM memory ready
[   15.235367] [drm] amdgpu: 3072M of GTT memory ready.
[   16.152244] amdgpu 0000:11:00.0: amdgpu: SMU is initialized successfully!
[   16.172719] snd_hda_intel 0000:11:00.1: bound 0000:11:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[   16.213104] amdgpu: Topology: Add dGPU node [0x1636:0x1002]
[   16.213110] amdgpu 0000:11:00.0: amdgpu: SE 1, SH per SE 2, CU per SH 18, active_cu_number 27
[   16.214976] fbcon: amdgpudrmfb (fb0) is primary device
[   16.321064] amdgpu 0000:11:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[   16.351663] amdgpu 0000:11:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[   16.351667] amdgpu 0000:11:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[   16.351669] amdgpu 0000:11:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[   16.351671] amdgpu 0000:11:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[   16.351672] amdgpu 0000:11:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[   16.351674] amdgpu 0000:11:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[   16.351675] amdgpu 0000:11:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[   16.351677] amdgpu 0000:11:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[   16.351679] amdgpu 0000:11:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[   16.351681] amdgpu 0000:11:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[   16.351683] amdgpu 0000:11:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
[   16.351685] amdgpu 0000:11:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
[   16.351686] amdgpu 0000:11:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
[   16.351688] amdgpu 0000:11:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
[   16.351690] amdgpu 0000:11:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
[   16.352992] [drm] Initialized amdgpu 3.39.0 20150101 for 0000:11:00.0 on minor 0

Should I consider a different Xorg configuration given that I got 2 graphic units in my computer ?
Does anyone have a clue of what I might want to look at ? Thanks in advance

Offline

#2 2021-11-30 22:56:23

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: Can't use my graphic card [AMDGPU]

Please post the xorg.log from with and without the use of that Xorg config and the full ungrepped dmesg output.  Are there any other displays than the HDMI one attached to the system?

Offline

#3 2021-11-30 23:21:52

Neutrynos
Member
Registered: 2021-11-30
Posts: 4

Re: Can't use my graphic card [AMDGPU]

I have one screen plugged by HDMI on the motherboard (my working screen) and another one plugged by HDMI on the GC (the unworking one).

Logs with xorg config:
dmesg -> https://pastebin.com/BQ0tMWrQ
xorg.log -> https://pastebin.com/9qkhD6wV

Logs without xorg config:
dmesg -> https://pastebin.com/XSDDUNwe
xorg.log -> https://pastebin.com/GZ6bYC23

Offline

#4 2021-11-30 23:40:53

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: Can't use my graphic card [AMDGPU]

[    0.000000] Linux version 5.9.14-arch1-1 (linux@archlinux) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Sat, 12 Dec 2020 14:37:12 +0000

Have you tried with the current linux package?

Offline

#5 2021-11-30 23:54:04

Neutrynos
Member
Registered: 2021-11-30
Posts: 4

Re: Can't use my graphic card [AMDGPU]

That's another issue I have. When I update linux I have problems when booting, because it fails to load kernel modules, so I downgrade each time. (My boot setup is crappy, I don't manage to find the right configuration for grub + efi on this computer, I have another one with almost the same configuration and no problems, but on this one there is always something wrong. Since I can boot I haven't search too much yet, but I think I should search a bit more before posting something here)

Offline

#6 2021-12-01 00:08:46

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: Can't use my graphic card [AMDGPU]

I think 5.9 is too old to support 1002:73ff

commit e7de4aee0a0ad741397822e1b7887e790b3944a8
Author: Tao Zhou <tao.zhou1@amd.com>
Date:   Fri Oct 2 13:55:53 2020 -0400

    drm/amdgpu: add DID for dimgrey_cavefish
    
    Add device id for dimgrey_cavefish.
    
    Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
    Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index a2990fa7617d..6a44c2e0d6a5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -1106,6 +1106,12 @@ static const struct pci_device_id pciidlist[] = {
        {0x1002, 0x73C3, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_NAVY_FLOUNDER},
        {0x1002, 0x73DF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_NAVY_FLOUNDER},
 
+       /* DIMGREY_CAVEFISH */
+       {0x1002, 0x73E0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_DIMGREY_CAVEFISH},
+       {0x1002, 0x73E1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_DIMGREY_CAVEFISH},
+       {0x1002, 0x73E2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_DIMGREY_CAVEFISH},
+       {0x1002, 0x73FF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_DIMGREY_CAVEFISH},
+
        {0, 0, 0}
 };
 

Which was first added to 5.11-rc1 and was not back ported to 5.9.Y as it was a new feature.

Offline

#7 2021-12-01 05:40:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,952

Re: Can't use my graphic card [AMDGPU]

When I update linux I have problems when booting, because it fails to load kernel modules, so I downgrade each time.

https://www.youtube.com/watch?v=XPpJcnEoijU

You're either booting from the root partition or the /boot partition isn't mounted during updates.

Offline

#8 2021-12-01 07:51:25

Neutrynos
Member
Registered: 2021-11-30
Posts: 4

Re: Can't use my graphic card [AMDGPU]

Haha, unfortunately that's pretty much that. I can't escape this anymore. I know my /boot partition is mounted so it must be the other thing.

Offline

Board footer

Powered by FluxBB