amdgpu doesn't work on 14-RELEASE

I have a Dell Inspiron 5567 laptop (i5 7200U, 4GB of RAM), which also includes an AMD dGPU "Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]` (or more specifically, R7 M445)". With normal drm-kmod, the kernel panics. I tried the focal branch, while it does fix the crash, running vkcube (both xcb and xlib) gives me the black screen (can't even Ctrl-C). I've also rebuilt the gpu firmware (topaz flavor, specifically). Are there any solutions for this? Thanks in advance.

My dmesg:
Code:
[drm] amdgpu kernel modesetting enabled.
drmn1: <drmn> on vgapci1
vgapci1: child drmn1 requested pci_enable_io
vgapci1: child drmn1 requested pci_enable_io
[drm] initializing kernel modesetting (TOPAZ 0x1002:0x6900 0x1028:0x1767 0xC3).
drmn1: Trusted Memory Zone (TMZ) feature not supported
[drm] register mmio base: 0xDF200000
[drm] register mmio size: 262144
[drm] add ip block number 0 <vi_common>
[drm] add ip block number 1 <gmc_v7_0>
[drm] add ip block number 2 <iceland_ih>
[drm] add ip block number 3 <gfx_v8_0>
[drm] add ip block number 4 <sdma_v2_4>
[drm] add ip block number 5 <powerplay>
drmn1: Fetched VBIOS from ATRM
amdgpu: ATOM BIOS: BR46858.006
[drm] GPU posting now...
lkpi_iicbb0: <LinuxKPI I2CBB> on drmn1
iicbb0: <I2C bit-banging driver> on lkpi_iicbb0
iicbus6: <Philips I2C bus> on iicbb0 addr 0xff
iic6: <I2C generic I/O> on iicbus6
[drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
drmn1: successfully loaded firmware image 'amdgpu/topaz_mc.bin'
drmn1: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
drmn1: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
[drm] Detected VRAM RAM=4096M, BAR=256M
[drm] RAM width 64bits GDDR5
[drm] amdgpu: 4096M of VRAM memory ready
[drm] amdgpu: 2961M of GTT memory ready.
[drm] GART: num cpu pages 65536, num gpu pages 65536
[drm] PCIE GART of 256M enabled (table at 0x000000F400000000).
drmn1: successfully loaded firmware image 'amdgpu/topaz_pfp.bin'
drmn1: successfully loaded firmware image 'amdgpu/topaz_me.bin'
drmn1: successfully loaded firmware image 'amdgpu/topaz_ce.bin'
[drm] Chained IB support enabled!
drmn1: successfully loaded firmware image 'amdgpu/topaz_rlc.bin'
drmn1: successfully loaded firmware image 'amdgpu/topaz_mec.bin'
drmn1: successfully loaded firmware image 'amdgpu/topaz_sdma.bin'
drmn1: successfully loaded firmware image 'amdgpu/topaz_sdma1.bin'
amdgpu: hwmgr_sw_init smu backed is iceland_smu
drmn1: successfully loaded firmware image 'amdgpu/topaz_smc.bin'
amdgpu: can't get the mac of 5
drmn1: SE 1, SH per SE 1, CU per SH 6, active_cu_number 5
vgapci1: child drmn1 requested pci_get_powerstate
drmn1: Using BACO for runtime pm
sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)!
sysctl_warn_reuse: can't re-use a leaf (hw.dri.vblank_offdelay)!
sysctl_warn_reuse: can't re-use a leaf (hw.dri.timestamp_precision)!
[drm] Initialized amdgpu 3.42.0 20150101 for drmn1 on minor 1

From my /etc/rc.conf
kld_list="i915kms amdgpu fusefs cuse"
 
I've not had any issues with amdgpu on 14 and I have 5 Radeon systems on 14 that work without issue. But I've not loaded i915kms on a Radeon system.
 
OP has an intel iGPU.
I have the same problem. I haven't intel or nvidia in system so its not related to i915kms.
the panic appears with drm-515-kmod, but with older drm-510-kmod I haven't any problem
 
Hi, sorry for being inactive for a while, here are my updates on the problem:
- So when I load the amdgpu driver, it doesn't turn the screen black (unlike Intel's), and when I launch Wayland sessions, it says "found 0 GPUs" (Xorg is unlaunchable, with complete black screen)
- I installed drm_info, and the output is in the text files:
 

Attachments

  • amdgpudrm.txt
    1.4 KB · Views: 23
  • i915kms.txt
    52.2 KB · Views: 18
Back
Top