From owner-freebsd-x11@freebsd.org Fri Dec 28 21:12:13 2018 Return-Path: Delivered-To: freebsd-x11@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 981241422CDE for ; Fri, 28 Dec 2018 21:12:13 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [140.82.23.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D37C6C0A8 for ; Fri, 28 Dec 2018 21:12:12 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from duke.gem.co (cpe-76-175-75-27.socal.res.rr.com [76.175.75.27]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id abff611a TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Fri, 28 Dec 2018 13:12:10 -0800 (PST) Subject: Re: A question about graphics subsystems under FreeBSD To: Kevin Oberman , Greg V Cc: "freebsd-x11@freebsd.org" References: <1545661179.1813.0@smtp.migadu.com> From: Pete Wright Message-ID: Date: Fri, 28 Dec 2018 13:12:09 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4D37C6C0A8 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 140.82.23.70 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-5.71 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[27.75.175.76.zen.spamhaus.org : 127.0.0.10]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.nomadlogic.org]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; IP_SCORE(-2.42)[ip: (-9.04), ipnet: 140.82.16.0/21(-4.52), asn: 20473(1.55), country: US(-0.08)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20473, ipnet:140.82.16.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2018 21:12:13 -0000 On 12/28/18 12:36 PM, Kevin Oberman wrote: > On Mon, Dec 24, 2018 at 6:20 AM Greg V wrote: > >> >> On Mon, Dec 24, 2018 at 2:41 AM, Manish Jain >> wrote: >>> Hi, >>> >>> I have a port mkdesktop which simplifies the task of FreeBSD desktop >>> configuration. I was looking to enhance the port in its capabilities >>> and it would help me if I could know the various pkg's and kld's >>> needed by the various chipsets. >>> >>> As per my (incomplete) knowledge, the following are usually needed: >>> >>> Chipset | | >>> >>> AMD GPU | drm-kmod:xf86-video-amdgpu | >>> Radeon | drm-kmod:xf86-video-ati | radeonkms.ko** >>> NVidia | drm-kmod:nvidia-driver | nvidia.ko:nvidia-modeset.ko >>> Intel GPU | drm-kmod:xf86-video-intel | >> - mesa-dri/mesa-libs are needed for both AMD and Intel >> - the kernel modules you're missing: amdgpu.ko, i915kms.ko >> - *really* old (*ancient*) Radeons might need drm-legacy-kmod and >> xf86-video-ati-legacy >> - "not too old, but not new either" Radeons (Southern Islands and Sea >> Islands — from HD7750 to R9 290) are supported by *both* radeonkms >> and amdgpu kernel drivers (amdgpu is of course the newer and better one) >> - xf86-video-intel is a semi-abandoned pile of bugs, try just not >> installing it, the default "modesetting" driver with GLAMOR >> acceleration usually works better >> - xf86-video-amdgpu is not strictly necessary, it's similar to >> "modesetting", though it sometimes seems to fix screen tearing, so i'd >> say keep it >> > I forgot to mention that you need libva-intel-driver for VAAPI. hte VAAPI > support in mesa does not support Intel GPUs. Seems like that should be > mentioned somewhere. Without it HD video is a bit jerky and eat CPU on my > system. (You still need mesa-ibs and mesa-dri, of course.) Awesome, thanks for pointing that out.  I've created a note regarding this and will actually do the same on my systems so that I can add it to my testing checklist. Cheers! -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA