Bug 1182226 - amdgpu driver not working in Leap 15.2
amdgpu driver not working in Leap 15.2
Status: RESOLVED NORESPONSE
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Kernel
Leap 15.2
x86-64 Linux
: P5 - None : Normal (vote)
: ---
Assigned To: openSUSE Kernel Bugs
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-02-14 02:09 UTC by Donald Leslie
Modified: 2022-02-18 09:20 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Donald Leslie 2021-02-14 02:09:34 UTC
I am running Leap 15.2 on an HP 855 G7

The kernel supplied with Leap 15.2 is kernel-default-5.3.18-lp152.63.1.x86_64

It does not see the HDMI port 

I get the following results:

From hwinfo:

25: PCI 300.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: svHJ.HB+rwQfOiT4
  Parent ID: JZZT.e+TNXSUNut3
  SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: graphics card
  Device Name: "Onboard IGD"
  Model: "ATI Renoir"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x1636 "Renoir"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x8760 
  Revision: 0xd1
  Memory Range: 0x460000000-0x46fffffff (ro,non-prefetchable)
  Memory Range: 0x470000000-0x4701fffff (ro,non-prefetchable)
  I/O Ports: 0x1000-0x1fff (rw)
  Memory Range: 0xfc300000-0xfc37ffff (rw,non-prefetchable)
  IRQ: 255 (no events)
  Module Alias: "pci:v00001002d00001636sv0000103Csd00008760bc03sc00i00"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #39 (PCI bridge)

xrandr --listproviders
xrandr: Failed to get size of gamma for output default
Providers: number : 0

From glxinfo:

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0.1, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.3.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 19.3.4
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

inxi -G
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Renoir driver: N/A 
           Device-2: N/A type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.3 driver: ati unloaded: fbdev,modesetting,radeon,vesa 
           resolution: 1920x1080~77Hz 
           OpenGL: renderer: llvmpipe (LLVM 9.0.1 128 bits) v: 3.3 Mesa 19.3.4 

After much fumbling trying to find what was wrong I added the .../kernel/stable and got a 5.10 kernel. Now everything works fine. I now get:

25: PCI 300.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: svHJ.HB+rwQfOiT4
  Parent ID: JZZT.e+TNXSUNut3
  SysFS ID: /devices/pci0000:00/0000:00:08.1/0000:03:00.0
  SysFS BusID: 0000:03:00.0
  Hardware Class: graphics card
  Device Name: "Onboard IGD"
  Model: "ATI Renoir"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0x1636 "Renoir"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x8760 
  Revision: 0xd1
  Driver: "amdgpu"
  Driver Modules: "amdgpu"
  Memory Range: 0x460000000-0x46fffffff (ro,non-prefetchable)
  Memory Range: 0x470000000-0x4701fffff (ro,non-prefetchable)
  I/O Ports: 0x1000-0x1fff (rw)
  Memory Range: 0xfc300000-0xfc37ffff (rw,non-prefetchable)
  IRQ: 49 (no events)
  Module Alias: "pci:v00001002d00001636sv0000103Csd00008760bc03sc00i00"
  Driver Info #0:
    Driver Status: amdgpu is active
    Driver Activation Cmd: "modprobe amdgpu"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #39 (PCI bridge)

xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x57; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 4; outputs: 4; associateproviders: 0; name: Unknown AMD Radeon GPU @ pci:0000:03:00.0
    output eDP
    output HDMI-A-0
    output DisplayPort-0
    output DisplayPort-1

From glxinfo:

OpenGL vendor string: AMD
OpenGL renderer string: AMD RENOIR (DRM 3.40.0, 5.10.12-1-default, LLVM 11.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.4
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

inxi -G
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Renoir driver: amdgpu v: kernel 
           Device-2: Luxvisions Innotech Limited HP HD Camera type: USB driver: uvcvideo 
           Display: x11 server: X.org 1.20.10 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           resolution: <xdpyinfo missing> 
           OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.12-1-default LLVM 11.0.1) v: 4.6 Mesa 20.3.4
Comment 1 Takashi Iwai 2021-02-15 08:39:35 UTC
Could you give the full output of hwinfo?

I think the recent Renoir chip isn't supported on Leap 15.2, and adding the support is fairly unlikely.  OTOH, Leap 15.3 kernel should work.  Could you try the Leap 15.3 kernel on top of the existing Leap 15.2 system?
  http://download.opensuse.org/distribution/leap/15.3/repo/oss/

The URL above contains a slightly old Leap 15.3 kernel.  If you'd like to try the very latest one, it's available at
  http://download.opensuse.org/repositories/Kernel:/SLE15-SP3/standard/

Note that the latter kernel is not signed with the official key, hence it won't work with Secure Boot.  Please turn the Secure Boot off on BIOS if you want to try the latter kernel.

In addition to the Leap 15.3 kernel package, you might need to upgrade the kernel firmware as well.  The packages are found also in Leap 15.3 repo.
Comment 2 Miroslav Beneš 2022-02-18 09:20:26 UTC
No response. Closing.