From nobody Wed Dec 14 08:42:21 2022 X-Original-To: x11@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 4NX84g2wxfz4jpZj for ; Wed, 14 Dec 2022 08:42:27 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Received: from smtp-bc0a.mail.infomaniak.ch (smtp-bc0a.mail.infomaniak.ch [IPv6:2001:1600:4:17::bc0a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "relay.mail.infomaniak.ch", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NX84f4t4Rz3tcX for ; Wed, 14 Dec 2022 08:42:26 +0000 (UTC) (envelope-from dumbbell@FreeBSD.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2001:1600:4:17::bc0a is neither permitted nor denied by domain of dumbbell@FreeBSD.org) smtp.mailfrom=dumbbell@FreeBSD.org; dmarc=none Received: from smtp-2-0000.mail.infomaniak.ch (unknown [10.5.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4NX84Z1zLWzMqdTm for ; Wed, 14 Dec 2022 09:42:22 +0100 (CET) Received: from [192.168.75.22] (unknown [93.19.7.141]) by smtp-2-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4NX84Z09cSzMpr8N for ; Wed, 14 Dec 2022 09:42:22 +0100 (CET) Message-ID: <69350dba-df1f-37b3-c064-d0b4b2020d7c@FreeBSD.org> Date: Wed, 14 Dec 2022 09:42:21 +0100 List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: How to get amdgpu dimgrey cavefish working? To: x11@freebsd.org References: <8F74831D-FB52-4D96-ACFB-913653488884@patmaddox.com> Content-Language: en-US From: =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= Organization: The FreeBSD Project In-Reply-To: <8F74831D-FB52-4D96-ACFB-913653488884@patmaddox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Infomaniak-Routing: alpha X-Spamd-Result: default: False [-1.18 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.992]; R_MIXED_CHARSET(0.91)[subject]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[x11@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[dumbbell]; ARC_NA(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; HAS_ORG_HEADER(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[x11@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:29222, ipnet:2001:1600::/32, country:CH]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4NX84f4t4Rz3tcX X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N On 13/12/2022 03:43, Pat Maddox wrote: > I have a Radeon RX 6600 which to my understanding is Navi 23 / dimgrey > cavefish. > > I have built drm-kmod using poudriere, which also got me > gpu-firmware-amd-kmod-dimgrey_cavefish. Hi! You'll need the drivers from Linux 5.12. They are not available in the Ports tree as of this writing. You need to compile them from the following Git repository: https://github.com/freebsd/drm-kmod The `amdgpu` kernel module you currently have loaded successfully but it didn't attach to your device (it doesn't know about it). That's why you don't get any /dev/dri/card0 and that the X.Org server "cannot run in frame buffer mode". -- Jean-Sébastien Pédron The FreeBSD Project