Bug 1196797 - amdgpu: AMD RX6500XT (Navi24) not yet supported?
amdgpu: AMD RX6500XT (Navi24) not yet supported?
Status: IN_PROGRESS
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel
Leap 15.3
x86-64 openSUSE Leap 15.3
: P5 - None : Normal (vote)
: ---
Assigned To: openSUSE Kernel Bugs
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-03-06 05:38 UTC by He Chenlan
Modified: 2022-05-13 19:14 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
tiwai: needinfo? (210hcl)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description He Chenlan 2022-03-06 05:38:04 UTC
User-Agent:       Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4919.0 Safari/537.36
Build Identifier: 

February, I bought a new AMD display card RX6500XT, and I upgrade my Leap 15.3 to the newest, but it still cannot work properly. My screen can only display resolution with 1024x768 but my screen should work with 1920x1080. I tried to confirm the troubleshoot and I found this card just run under 'radeon'. This is a new card, and it should be work with 'AMDGPU' properly.

Reproducible: Always

Steps to Reproduce:
1.Install the card AMD RX6500XT
2.Update Leap 15.3 to newest
3.Enter the desktop
Actual Results:  
Screen could only work with 1024x768.

Expected Results:  
Screen can work with 1920x1080, 1440x900 etc.
Comment 1 Stefan Dirsch 2022-03-06 09:02:35 UTC
According to Wikipedia this is a very new card (Release January 2022). So I guess this is not yet supported by our Leap 15.3 kernel. So either you need a newer kernel (KOTD = Kernel of the day), which hopefully supports the GPU already or switch to 1080p framebuffer resolution. Unfortunately I no longer know how to specify this nowadays on the kernel boot line. :-(
Please add the output of

hwinfo --gfxcard

hwinfo --framebuffer

Reassigning to kernel component.
Comment 2 He Chenlan 2022-03-06 09:26:57 UTC
The output of 'hwinfo --gfxcard' is
23: PCI 2d00.0: 0300 VGA compatible controller (VGA)            
  [Created at pci.386]
  Unique ID: ETRw.baTozgWiTT7
  Parent ID: ZcEn.CS5kfnTSviA
  SysFS ID: /devices/pci0000:00/0000:00:03.1/0000:2b:00.0/0000:2c:00.0/0000:2d:00.0
  SysFS BusID: 0000:2d:00.0
  Hardware Class: graphics card
  Model: "ATI VGA compatible controller"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x743f 
  SubVendor: pci 0x1e7b 
  SubDevice: pci 0xaa15 
  Revision: 0xc1
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  Memory Range: 0xe0000000-0xe01fffff (ro,non-prefetchable)
  I/O Ports: 0xe000-0xefff (rw,disabled)
  Memory Range: 0xfc800000-0xfc8fffff (rw,non-prefetchable)
  Memory Range: 0xfc900000-0xfc91ffff (ro,non-prefetchable,disabled)
  IRQ: 255 (no events)
  Module Alias: "pci:v00001002d0000743Fsv00001E7Bsd0000AA15bc03sc00i00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #31 (PCI bridge)

Primary display adapter: #23

There is no output of 'hwinfo --framebuffer'.

Addition, the output of 'inxi -Ga' is
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] vendor: Dataland driver: N/A bus ID: 2d:00.0 chip ID: 1002:743f 
           Display: x11 server: X.org 1.20.3 compositor: kwin_x11 driver: ati unloaded: fbdev,modesetting,radeon,vesa 
           resolution: <xdpyinfo missing> 
           OpenGL: renderer: llvmpipe (LLVM 11.0.1 256 bits) v: 4.5 Mesa 20.2.4 compat-v: 3.1 direct render: Yes 

PS: I cannot enter KDE with wayland. It just stuck there.
Comment 3 Stefan Dirsch 2022-03-06 09:42:02 UTC
Thanks!

Hmm. Not even a generic framebuffer !?! Ok. Things have changed. vga=<framebuffer_mode> no longer works as far as I know. :-(
Others may know.
Comment 4 Takashi Iwai 2022-03-07 07:44:36 UTC
That's a pretty new model, indeed, and even not supported by 5.14 kernel, i.e. even Leap 15.4 doesn't include the support.

I can try to build a kernel with the patch to add the support for this chip (it seems Beige Goby).  But before that, please check whether the recent TW backport kernel in OBS Kernel:stable:Backport works with it.
  http://download.opensuse.org/repositories/Kernel:/stable:/Backport/standard/

If it works, please upload the full output of hwinfo and the output of dmesg from that kernel.  Use attachments, not pasting on the text form.
Comment 5 Takashi Iwai 2022-03-07 08:49:21 UTC
(In reply to Takashi Iwai from comment #4)
> That's a pretty new model, indeed, and even not supported by 5.14 kernel,
> i.e. even Leap 15.4 doesn't include the support.

Correction, Leap 15.4 kernel already has the code to add this PCI ID, so it may work there.

But let's check the behavior with the latest upstream kernel (from OBS Kernel:stable:Backport) at first.
Comment 6 He Chenlan 2022-03-07 11:18:49 UTC
Thanks for your help. With 5.16 kernel, my display card work properly. With 'inxi -Ga', it tells me that my card now work with amdgpu, not ATI or radeon.
But, is it possible to use 5.3 kernel from leap 15.3 or 5.14 kernel from leap 15.4? This kernel is from Tumbleweed which upgrade so frequently.
Comment 7 Takashi Iwai 2022-03-07 12:28:22 UTC
(In reply to He Chenlan from comment #6)
> Thanks for your help. With 5.16 kernel, my display card work properly.

OK, that's a good start.

> But, is it possible to use 5.3 kernel from leap 15.3 or 5.14 kernel from
> leap 15.4? This kernel is from Tumbleweed which upgrade so frequently.

Yes, you can install Leap 15.4 kernel on top of your Leap 15.3 system.
Just grab kernel-default, kernel-default-extra and kernel-default-optional packages from OBS Kernel:SLE15-SP4 repo,
  http://download.opensuse.org/repositories/Kernel:/SLE15-SP4/pool/
and install them.

But, tt may be better to increase the number of installable kernels beforehand by editing /etc/zypp/zypp.conf; just add more entries for multiversion.kernels = .... line, e.g.
  multiversion.kernels = latest,latest-1,latest-2,latest-3,running
This will keep more kernels on your system without purge.
Comment 8 He Chenlan 2022-03-11 11:52:56 UTC
Sorry to disturb again. The repo of 15.4 kernel cannot use. It said, "Repository can't be determined." Is it possible to backport to 15.3's kernel which has not been EOL?
Comment 9 Takashi Iwai 2022-03-11 14:30:33 UTC
(In reply to He Chenlan from comment #8)
> Sorry to disturb again. The repo of 15.4 kernel cannot use. It said,
> "Repository can't be determined." Is it possible to backport to 15.3's
> kernel which has not been EOL?

Sorry, that's very difficult.

Leap 15.4 kernel should be usable on Leap 15.3.
What exactly did you do that?
Comment 10 He Chenlan 2022-03-27 09:50:50 UTC
Just because of GFW, maybe I can find other methods.
Comment 11 He Chenlan 2022-03-30 12:28:43 UTC
Sorry to disturb again.
The kernel of leap 15.4, 5.14.21 stucked when I starting my openSUSE. The output of kernel said it stucked at "fb0: switching to amdgpu from EFI VGA". By the way, the firmware of Radeon had back to 15.3's firmware.
Comment 12 Takashi Iwai 2022-03-30 12:42:46 UTC
OK, could you try the latest kernel-firmware-amdgpu package in OBS Kernel:stable:Backport?  You can install it forcibly by breaking the dependency.

Also, could you check the latest kernel in OBS Kernel:SLE15-SP4 repo?
Comment 13 He Chenlan 2022-04-24 12:28:54 UTC
After I reinstall my openSUSE(Yes, I reinstlled it because of the stuck), I use kernel from Kernel:SLE15-SP4 version 5.14.21-150400.116.gc6ecb5f and radeon firmware from Backport repo, I can use my graphic card properly.
By the way, could you merge 5.14 kernel and newest radeon firmware  to openSUSE 15.3's backports repo so that I could just use a more stable repo, no need to update usually from OBS.