From owner-freebsd-x11@freebsd.org Sat May 23 17:44:40 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D7A32D93C7 for ; Sat, 23 May 2020 17:44:40 +0000 (UTC) (envelope-from trueos@norwegianrockcat.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49TrMp4Yzkz4NDm for ; Sat, 23 May 2020 17:44:38 +0000 (UTC) (envelope-from trueos@norwegianrockcat.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norwegianrockcat.com; s=selector2; h=To:Date:Message-Id:Subject: Mime-Version:Content-Transfer-Encoding:Content-Type:From; bh=QkJvtjp3Y1UE240DMQ1m0RyEgKdU2HKEQdaPeaPlbjM=; b=FltgKSI2rc/2PZ9dsfxeC5WlbK Bnzx15G1QLGCs5d/zwliw4/SXnWp8zHBL+tSOUNkYo3LyagZpK2wgXzBTuomcMmN8xBWA9RBeNSBD RYnSWa48Yhj962B5FMD2nQeA/wQPZokxuJzngJLdclx6AjdK5BBM6wXL36L/ou4dbMcLZ9z/uRoOh HeIMHkmdTGF9CBL1F6mmsE2Qo++UBp1OikpFl2E6mT5EFsfHoyJBpwC7nfCIp6iODpozKhfMgu18e xKDmDfUaX1oVL4eXdLrjsDqVykO0uR9ftgpm/90uM2qKpY5GidTfZVdHPBd4Dw+ExTcMgDciuB9dj rSfLEaIg==; Received: from [10.9.9.203] (helo=mailfront21.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1jcYCJ-0000zn-W3 for freebsd-x11@freebsd.org; Sat, 23 May 2020 19:44:36 +0200 Received: by mailfront21.runbox with esmtpsa [Authenticated alias (786220)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1jcYCI-0006Y5-Gq for freebsd-x11@freebsd.org; Sat, 23 May 2020 19:44:34 +0200 From: Trenton Schulz Content-Type: text/plain; charset=utf-8 X-Mao-Original-Outgoing-Id: 611948053.9171-7098592db8f3fa521ca0b86ffd5ce03b Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.5\)) Subject: Adding support for AMD GPU Navi 10 Message-Id: <5F842657-4AB6-4E03-818B-F2F35F0A96CB@norwegianrockcat.com> Date: Sat, 23 May 2020 19:44:34 +0200 To: freebsd-x11@freebsd.org X-Mailer: Apple Mail (2.3445.9.5) X-Rspamd-Queue-Id: 49TrMp4Yzkz4NDm X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=norwegianrockcat.com header.s=selector2 header.b=FltgKSI2; dmarc=pass (policy=none) header.from=norwegianrockcat.com; spf=pass (mx1.freebsd.org: domain of trueos@norwegianrockcat.com designates 91.220.196.211 as permitted sender) smtp.mailfrom=trueos@norwegianrockcat.com X-Spamd-Result: default: False [-3.44 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[norwegianrockcat.com:s=selector2]; NEURAL_HAM_MEDIUM(-1.05)[-1.052]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[91.220.196.211:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.016]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:91.220.196.211]; DKIM_TRACE(0.00)[norwegianrockcat.com:+]; DMARC_POLICY_ALLOW(-0.50)[norwegianrockcat.com,none]; NEURAL_HAM_SHORT(-0.78)[-0.775]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:50304, ipnet:91.220.196.0/24, country:NO]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[91.220.196.211:from] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 17:44:40 -0000 Hello, I recently purchased a new desktop machine and it came with an AMD = Radeon 5700 XT card. It=E2=80=99s a Navi 10 card and, as expected, it = doesn=E2=80=99t load on FreeBSD even -current and the devel kmod. =46rom searching online, I see that support was added to the Linux 5.3 = kernel. I also noticed from the kms-drm repo that there is a pull = request for to add support for 5.1. So, I was motivated and decided to = be fearless and try and =E2=80=9Csync=E2=80=9D the amdgpu driver with = what was in the 5.3 kernel. I was somewhat successful in that I got some = of the newer files to compile, but it seems that it probably need some = additional bits. It was at this point that I realized that I should probably try to do = this correctly. That is, try and help in upgrading the devel port to = 5.3. But, it seems that there is a procedure where the git commit = history from Linux is pulled in. How does one do this? I searched the = archives, but nothing immediately jumped out. The next question is that I don=E2=80=99t want to stomp on someone = else=E2=80=99s toes. So, if there are people working on or have plans on = trying to do this, I can try to help them out or if nothing else, try = and test things out? Maybe I could even document how we go about = upgrading to a new version of the Linux DRM?=20 It would be really nice to be able do use something beyond the scfb = driver with the graphics card. :-) Best regards, --=20 Trenton= From owner-freebsd-x11@freebsd.org Sat May 23 19:20:12 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2B552DB832 for ; Sat, 23 May 2020 19:20:12 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49TtV34lvjz4WJl for ; Sat, 23 May 2020 19:20:10 +0000 (UTC) (envelope-from greg@unrelenting.technology) Date: Sat, 23 May 2020 19:20:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=default; t=1590261602; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=smwb0RjbwqzIZMB07A8/lzU736l3F+/fgunFsyeuk/M=; b=B2jngcAl4aT8QhAxSm7axJ4BscnOH50E9+Lc7g1uqlYEDPGgFNgiTyepaAMY5dwbw9R9Jj 1ZelYkMgKYWN/NqaF5qd6umkjGLJgAG/uH9km0MLvALTqg1gcfWm1Kv/c26WY8iitYx7SI c/qiFZPe5uQjTmgYxMQH+LSDofPajtk= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: myfreeweb To: freebsd-x11@freebsd.org, Trenton Schulz Subject: Re: Adding support for AMD GPU Navi 10 In-Reply-To: <5F842657-4AB6-4E03-818B-F2F35F0A96CB@norwegianrockcat.com> References: <5F842657-4AB6-4E03-818B-F2F35F0A96CB@norwegianrockcat.com> Message-ID: <34E9CA55-1E81-481C-9F89-F3ABF5E7F421@unrelenting.technology> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.10 X-Rspamd-Queue-Id: 49TtV34lvjz4WJl X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=B2jngcAl; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 2001:41d0:2:267:: as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-3.81 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.06)[-1.056]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:41d0:2:267::]; NEURAL_HAM_LONG(-0.97)[-0.974]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; NEURAL_HAM_SHORT(-0.78)[-0.785]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 19:20:13 -0000 On May 23, 2020 5:44:34 PM UTC, Trenton Schulz wrote: >I recently purchased a new desktop machine and it came with an AMD Radeon= 5700 XT card=2E It=E2=80=99s a Navi 10 card and, as expected, it doesn=E2= =80=99t load on FreeBSD even -current and the devel kmod=2E > >From searching online, I see that support was added to the Linux 5=2E3 ke= rnel=2E >The next question is that I don=E2=80=99t want to stomp on someone else= =E2=80=99s toes=2E So, if there are people working on or have plans on tryi= ng to do this, I can try to help them out or if nothing else, try and test = things out? Maybe I could even document how we go about upgrading to a new = version of the Linux DRM?=20 manu@ is working on 5=2E3 in a separate repo: https://github=2Ecom/freebsd/drm-kmod Join us in the chat https://gitter=2Eim/FreeBSDDesktop/Lobby to discuss ho= w you can help=2E From owner-freebsd-x11@freebsd.org Sat May 23 21:21:30 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 542012DE278 for ; Sat, 23 May 2020 21:21:30 +0000 (UTC) (envelope-from trueos@norwegianrockcat.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49TxB06sxCz3StK for ; Sat, 23 May 2020 21:21:28 +0000 (UTC) (envelope-from trueos@norwegianrockcat.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norwegianrockcat.com; s=selector2; h=To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type; bh=CeANGk7NDWasGfwxz3lUZf9rMIy+RmxgLFGWnd1vlZw=; b=jyVUcYh4ykCA pjuS89WOmSXnYA65mWHGwSv+YNUXwLhpmbWk1McIP2kofICQtsYM6JtAo6B/yzzFIGQJpOFJw+4lJ G8yCR73Vciz3kXDhq5hZc9NIOkrspqZzeLs7a8FcxosbzXIpMA8SRyEYL1Ava6pq3BJ5EEvq19VwK l187Kh9aapkXH+thdx8x1lSIzvxKCMQq0C637hyfkixKqwvIVXf2fFI3og0OBJ+EqNoq3vtQp8qFF 1geobDzmAX2KyIO6P7I8YWcaDVxWGl3NGW9+ooNUyII19q5pPKTXqsVOnvapJlsyj8gjV2IE/GX8X QFUbDzXPnKC2bWhyjw4HTA==; Received: from [10.9.9.202] (helo=mailfront20.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1jcbaA-0002yp-EV; Sat, 23 May 2020 23:21:26 +0200 Received: by mailfront20.runbox with esmtpsa [Authenticated alias (786220)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1jcbZz-0007C2-Ib; Sat, 23 May 2020 23:21:15 +0200 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.5\)) Subject: Re: Adding support for AMD GPU Navi 10 From: Trenton Schulz In-Reply-To: <34E9CA55-1E81-481C-9F89-F3ABF5E7F421@unrelenting.technology> Date: Sat, 23 May 2020 23:21:15 +0200 Cc: freebsd-x11@freebsd.org X-Mao-Original-Outgoing-Id: 611961015.124408-923d888dbe603b6722895c988b6a16d6 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5F842657-4AB6-4E03-818B-F2F35F0A96CB@norwegianrockcat.com> <34E9CA55-1E81-481C-9F89-F3ABF5E7F421@unrelenting.technology> To: myfreeweb X-Mailer: Apple Mail (2.3445.9.5) X-Rspamd-Queue-Id: 49TxB06sxCz3StK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=norwegianrockcat.com header.s=selector2 header.b=jyVUcYh4; dmarc=pass (policy=none) header.from=norwegianrockcat.com; spf=pass (mx1.freebsd.org: domain of trueos@norwegianrockcat.com designates 91.220.196.211 as permitted sender) smtp.mailfrom=trueos@norwegianrockcat.com X-Spamd-Result: default: False [-3.96 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[norwegianrockcat.com:s=selector2]; NEURAL_HAM_MEDIUM(-1.05)[-1.052]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:91.220.196.211]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.99)[-0.992]; RWL_MAILSPIKE_GOOD(0.00)[91.220.196.211:from]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[norwegianrockcat.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[norwegianrockcat.com,none]; NEURAL_HAM_SHORT(-1.31)[-1.315]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:50304, ipnet:91.220.196.0/24, country:NO]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[91.220.196.211:from] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2020 21:21:30 -0000 > On 23 May 2020, at 21:20, myfreeweb = wrote: >=20 >=20 >=20 > On May 23, 2020 5:44:34 PM UTC, Trenton Schulz = wrote: >> I recently purchased a new desktop machine and it came with an AMD = Radeon 5700 XT card. It=E2=80=99s a Navi 10 card and, as expected, it = doesn=E2=80=99t load on FreeBSD even -current and the devel kmod. >>=20 >> =46rom searching online, I see that support was added to the Linux = 5.3 kernel. >> The next question is that I don=E2=80=99t want to stomp on someone = else=E2=80=99s toes. So, if there are people working on or have plans on = trying to do this, I can try to help them out or if nothing else, try = and test things out? Maybe I could even document how we go about = upgrading to a new version of the Linux DRM?=20 >=20 > manu@ is working on 5.3 in a separate repo: > https://github.com/freebsd/drm-kmod >=20 > Join us in the chat https://gitter.im/FreeBSDDesktop/Lobby to discuss = how you can help. Thank you. I=E2=80=99ll see what I can do. Best regards, --=20 Trenton