From nobody Sat May 22 01:29:25 2021 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BBD5D8B77AE for ; Sat, 22 May 2021 01:29:26 +0000 (UTC) (envelope-from lojas@arroway.org) Received: from hobbes.arroway.org (hobbes.arroway.org [173.199.118.77]) by mx1.freebsd.org (Postfix) with ESMTP id 4Fn5VZ0PqPz4THD for ; Sat, 22 May 2021 01:29:25 +0000 (UTC) (envelope-from lojas@arroway.org) Received: from [10.1.7.11] (unknown [187.61.214.250]) by hobbes.arroway.org (Postfix) with ESMTPA id 63D8C14D20F for ; Fri, 21 May 2021 22:29:25 -0300 (-03) Received: from 10.1.4.100 (SquirrelMail authenticated user matheus) by 10.1.7.11 with HTTP; Fri, 21 May 2021 22:29:25 -0300 Message-ID: Date: Fri, 21 May 2021 22:29:25 -0300 Subject: Re: amdgpu.ko crashes on Radeon Vega From: "none" To: freebsd-hackers@freebsd.org User-Agent: SquirrelMail/1.4.23 [SVN] List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Rspamd-Queue-Id: 4Fn5VZ0PqPz4THD X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lojas@arroway.org designates 173.199.118.77 as permitted sender) smtp.mailfrom=lojas@arroway.org X-Spamd-Result: default: False [0.19 / 15.00]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[173.199.118.77:from]; R_SPF_ALLOW(-0.20)[+a:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[173.199.118.77:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[arroway.org]; NEURAL_HAM_LONG(-0.80)[-0.805]; NEURAL_HAM_SHORT(-1.00)[-1.000]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-0.81)[-0.809]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:173.199.116.0/22, country:US]; MID_BARE_IP(2.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-Spam: Yes 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."