From owner-freebsd-questions@freebsd.org Tue Dec 25 22:08:18 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA8BC135DBD6 for ; Tue, 25 Dec 2018 22:08:17 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ED3438C3FD for ; Tue, 25 Dec 2018 22:08:16 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1545775697; x=1548367697; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=Nzog2ALlL6OCK3rAsmmV4Fp2c4EFYNcwmrAdeC8muGU=; b=o7BOe7dhkVTvLkzzYYC7DRDi+R24t0Btk0ILRGn6dD/y2mv01Diq/qab85+y02EFb6ScwK2pxnbmYloTVTYN4edjllwN7lS4gnirb6Cj0SO4cxsDh+W7KyWoS5lf393jsz9vT+FV5FhGHBLB7Yt5CLfEKY7jh5vSAqGYjl0kNMI= X-Thread-Info: NDI1MC4xMi4xYTEwMDAwMDMyNTVlZWEuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r4.h.in.socketlabs.com (s1-b40f.socketlabs.email-od.com [142.0.180.15]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 25 Dec 2018 17:08:10 -0500 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r4.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 25 Dec 2018 17:08:09 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.91 (FreeBSD)) (envelope-from ) id 1gburu-000Dnk-W9; Tue, 25 Dec 2018 22:08:07 +0000 Date: Tue, 25 Dec 2018 22:08:06 +0000 From: Steve O'Hara-Smith To: freebsd@dreamchaser.org Cc: freebsd-questions@freebsd.org Subject: Re: A question about graphics subsystems under FreeBSD Message-Id: <20181225220806.4034686555e1d7be42587946@sohara.org> In-Reply-To: <0595e1eb-253a-c167-af71-34d60fcee7b2@dreamchaser.org> References: <55b5d06209acb007b2f4f9a4052e77b7@kathe.in> <9b658246-ea2c-254a-fc83-5eb81ea6e53c@yandex.com> <5616c0b9-9b3c-06d1-0848-ae164c19edd8@dreamchaser.org> <20181225082137.135508fe323592e024c0b4e5@sohara.org> <0595e1eb-253a-c167-af71-34d60fcee7b2@dreamchaser.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: ED3438C3FD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=o7BOe7dh; spf=pass (mx1.freebsd.org: domain of 4250.10.freebsd-questions=freebsd.org@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.10.freebsd-questions=freebsd.org@email-od.com X-Spamd-Result: default: False [-2.39 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: mxbh.socketlabs.com]; FORGED_SENDER(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; IP_SCORE(-0.21)[ip: (-0.52), ipnet: 142.0.176.0/22(-0.25), asn: 7381(-0.20), country: US(-0.08)]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; RCVD_TLS_LAST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.18)[-0.180,0]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; FORGED_SENDER_VERP_SRS(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; ENVFROM_VERP(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2018 22:08:18 -0000 On Tue, 25 Dec 2018 11:29:07 -0700 Gary Aitken wrote: > On 12/25/18 1:21 AM, Steve O'Hara-Smith wrote: > > On Mon, 24 Dec 2018 17:13:46 -0700 Gary Aitken > > wrote: > > > >> There are a boatload of additional radeonkmsfw_*.ko modules in > >> /boot, but I don't know how they are used. My attempt to use a > >> radeon 5550 board hung the system (11.2) on exit; haven't had time > >> to look at it. > > > > The right ones are loaded automatically by the main radeonkms driver > > - at least that's what happens with the amdgpu one. You almost > > certainly need to compile the drm-kmod port to get things working - > > installing the package is a recipe for panics IME. > > Thanks. Updating says: > > 20180930: > ... > A metaport, graphics/drm-kmod, was introduced for users of both the > LinuxKPI- based DRM components as well as the legacy ones. It is > recommended to use the metaport from now on, which will select a > recommended DRM version based on the FreeBSD version. > > Attempting to build it on my 11.2 says: > ===>>> This port is marked IGNORE > ===>>> requires kernel source files in /usr/src You will need to install the kernel sources to build the port. > But one needs to read Makefile to see what, if anything, is actually > required. 11.2 is marked IGNORE, although it specifies > RUN_DEPENDS= ${KMODDIR}/drm.ko:graphics/drm-stable-kmod Yes it will build that on 11.2 and the firmware. > I do not have drm-stable-kmod installed, nor gpu-firmware-kmod on which > drm-stable-kmod depends. Given the RUN_DEPENDS, it seems like the IGNORE > might be a bug. Not a bug, simply a reflection that you need the kernel sources to build it, install the kernel sources and try again. > scanning pkg-plist in all ports comes up empty for amdgpu_dri Yep. -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/