Re: amdgpu.ko crashes on Radeon Vega

From: none <lojas_at_arroway.org>
Date: Sat, 22 May 2021 01:29:25 UTC
On Sat, May 15, 2021 14:50, George Mitchell wrote:
> On 5/15/21 1:29 PM, Nenhum_de_Nos wrote:
>>[...]
>> George,
>>
>> I'm about to try this on Ryzen 3400G here, where can I find this step
by step to try to repeat what you did? My box has just basic FreeBSD install,
>> cause I couldn't use Xorg at all. When I finish something on another OS
> I
>> will try this.
>>
>> Thanks,
>>
>> matheus
>>
>>
> 1. Install FreeBSD 12.
> 2. Install drm-fbsd12.0-kmod.
> 3. Boot into single-user mode.
> 4. Type "kldload amdgpu".

Hi,

I did just that and no crash here. The system is:

FreeBSD xxx 12.2-RELEASE-p6 FreeBSD 12.2-RELEASE-p6 GENERIC  amd64

% kldstat
Id Refs Address                Size Name
 1   63 0xffffffff80200000  227ae98 kernel
 2    1 0xffffffff82a11000   24f9e4 amdgpu.ko
 3    2 0xffffffff82c61000    75e80 drm.ko
 4    5 0xffffffff82cd7000    12d30 linuxkpi.ko
 5    4 0xffffffff82cea000    13f30 linuxkpi_gplv2.ko
 6    2 0xffffffff82cfe000      6d0 debugfs.ko
 7    1 0xffffffff82cff000     f0e1 ttm.ko
 8    1 0xffffffff82d0f000    16bf0 if_iwm.ko
 9    1 0xffffffff82d26000     2698 intpm.ko
10    1 0xffffffff82d29000      b40 smbus.ko
11    1 0xffffffff82d2a000   28debf iwm9260fw.ko
12    1 0xffffffff82fb8000     4260 ng_ubt.ko
13    6 0xffffffff82fbd000     9bd0 netgraph.ko
14    2 0xffffffff82fc7000     9128 ng_hci.ko
15    3 0xffffffff82fd1000      9b0 ng_bluetooth.ko
16    1 0xffffffff82fd2000     1860 uhid.ko
17    1 0xffffffff82fd4000     2908 ums.ko
18    1 0xffffffff82fd7000     1a40 wmt.ko
19    1 0xffffffff82fd9000     caf0 ng_l2cap.ko
20    1 0xffffffff82fe6000    1af20 ng_btsocket.ko
21    1 0xffffffff83001000     2150 ng_socket.ko


> When you say you can't use Xorg at all, does that mean VESA mode is not
working?                                                       -- George

Yep, but I had quite no time to  research for the right xorg.conf to use
it. I tried startx here zero xorg.conf fiddling, and server error. Its so
many time since I last did this, I am here quite a first timer.

thanks,

matheus

-- 
"We will call you Cygnus,
the God of balance you shall be."