Summary: | AMD Ryzen 7 PRO 7840U's internal GPU not supported | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Philipp Ost <bsd> | ||||||||||
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | CC: | manu, rhurlin | ||||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(x11) |
||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Description
Philipp Ost
2024-03-31 21:07:56 UTC
Created attachment 249606 [details]
FreeBSD 15 dmesg
Created attachment 249607 [details]
Output of 'pciconf -lv'
Created attachment 249608 [details]
Output of pkg info about all installed ports related to GPU
Looks like I forgot to add some flavors as depencencies for gpu-firmware-kmod meta-port, I'll fix this. In the meantime can you test installing gpu-firmware-amd-kmod-gc-11-0-1 ? You will probably have to install other packages too (some -dcn-XXX -psp-XXX variant). Can you make a list of the needed package so we can patch fwget for your pciid ? (We need to do something like https://cgit.freebsd.org/src/tree/usr.sbin/fwget/pci/pci_video_amd#n138) Thanks. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0e2edbb731bd49e90c5e4fc3a677438fa6b7333 commit e0e2edbb731bd49e90c5e4fc3a677438fa6b7333 Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2024-04-01 06:59:00 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2024-04-01 07:07:02 +0000 graphics/gpu-firmware-kmod: Add the GCN3 firmwares as depends PR: 278082 Sponsored by: Beckhoff Automation GmbH & Co. KG graphics/gpu-firmware-kmod/Makefile | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) (In reply to Emmanuel Vadot from comment #4) Updating the gpu-firmware-kmod meta-port has fixed the issue. Loading amdgpu.ko from drm-61-kmod-6.1.69_2 does no longer panic the kernel. kldstat now reports the following about graphics related modules: ----8<---- 25 1 0xffffffff85200000 666878 amdgpu.ko 26 2 0xffffffff85867000 85090 drm.ko 27 1 0xffffffff851be000 22b8 iic.ko 28 2 0xffffffff851c1000 40e9 linuxkpi_video.ko 29 3 0xffffffff851c6000 7358 dmabuf.ko 30 3 0xffffffff851ce000 3378 lindebugfs.ko 31 1 0xffffffff851d2000 c338 ttm.ko 32 1 0xffffffff858ed000 48a60 amdgpu_gc_11_0_1_mes_2_bin.ko 33 1 0xffffffff85936000 3a890 amdgpu_gc_11_0_1_mes1_bin.ko 34 1 0xffffffff851df000 2ae0 amdgpu_psp_13_0_4_toc_bin.ko 35 1 0xffffffff85971000 446a0 amdgpu_psp_13_0_4_ta_bin.ko 36 1 0xffffffff859b6000 4ba00 amdgpu_dcn_3_1_4_dmcub_bin.ko 37 1 0xffffffff85a02000 225e0 amdgpu_gc_11_0_1_imu_bin.ko 38 1 0xffffffff85a25000 425e0 amdgpu_gc_11_0_1_pfp_bin.ko 39 1 0xffffffff85a68000 425e0 amdgpu_gc_11_0_1_me_bin.ko 40 1 0xffffffff85aab000 29430 amdgpu_gc_11_0_1_rlc_bin.ko 41 1 0xffffffff85ad5000 43a80 amdgpu_gc_11_0_1_mec_bin.ko 42 1 0xffffffff851e2000 a7e0 amdgpu_sdma_6_0_1_bin.ko 43 1 0xffffffff85b19000 5bb00 amdgpu_vcn_4_0_2_bin.ko ---->8---- Output of 'fwget -nv': ----8<---- Trying to match device 0x8168 in class network and vendor realtek with pci_network_realtek Trying to match device 0x1103 in class network and vendor qca with pci_network_qca Trying to match device 0x15bf in class video and vendor amd with pci_video_amd Needed firmware packages: 'wifi-firmware-ath11k-kmod' ---->8---- We were able to start a very bare-bones X session; getting that running properly is a different story. ;-) Thanks! I just filed Bug 278115 to add the missing firmware packages to fwget. Thanks, closing this PR then. |