15.1-RELEASE drm-kmod kernel panic / black screen with amdgpu / radeonkms (AMD E2-6110)

I have an Acer Aspire E15 running FreeBSD 15.1-RELEASE. I tried to get the correct graphics driver installed by first installing the drm-kmod metapackage and, when loading amdgpu or radeonkms from that resulted in a kernel panic, tried drm-515-kmod (via pkg) and later built graphics/drm-612-kmod from ports. All of these resulted in a kernel panic, black screen, or a combination of the two except if I load amdgpu.ko from graphics/drm-612-kmod which only hangs but doesn't panic with the following output:

Code:
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
<6>[drm] Initalizing kernel modesetting (MULLINS 0x1002:0x9852 0x1025:0x0865 0x00).
<6>[drm] register mmio base: 0XF0C00000
<6>[drm] register mmio size: 262144

After this, I am forced to hard reset the system. I can ssh in as my user but not run any commands.

This laptop has an AMD E2-6110 APU and it is from the era between radeonkms and amdgpu so I am not sure what to use for it. Since radeonkms.ko still causes a kernel panic even after I've built and installed drm-612-kmod but amdgpu.ko doesn't, I am thinking amdgpu.ko is the right driver, though why its being so difficult I don't know.

Edit: I have also built and installed drm-66-kmod from source and this has the same result as the binary version; kldload amdgpu causes a kernel panic.

Here are some maybe helpful information about the system and the port:

Code:
# uname -a
FreeBSD acer-aspire 15.1-RELEASE-p2 FreeBSD 15.1-RELEASE-p2 releng/15.1-n283596-aadd58dddcbc GENERIC amd64
# cd /usr/src && git branch
* releng/15.1
# pkg info -x drm-612-kmod
drm-612-kmod-6.12.85.1501000_1
# pciconf -lv | grep -B 4 VGA
vgapci0@pci0:0:1:0:     class=0x030000 rev=0x00 hdr=0x00 vendor=0x1002 device=0x9852 subvendor=0x1025 subdevice=0x0865
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Mullins [Radeon R2 Graphics]'
    class      = display
    subclass   = VGA

I also have all of the AMD/Radeon GPU firmware as far as I know. I can't paste the entire list because it reaches the size limit.
 
Back
Top