From owner-freebsd-x11@freebsd.org Wed Dec 26 19:15:16 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 41D0C1359F30 for ; Wed, 26 Dec 2018 19:15:16 +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 36B598E5E6 for ; Wed, 26 Dec 2018 19:15:15 +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 5f0171d9 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Wed, 26 Dec 2018 11:15:08 -0800 (PST) Subject: Re: A question about graphics subsystems under FreeBSD To: Manish Jain , freebsd-x11@freebsd.org References: From: Pete Wright Message-ID: <67575fff-d550-9ec6-12ee-dcc41f429bc4@nomadlogic.org> Date: Wed, 26 Dec 2018 11:15:07 -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: 36B598E5E6 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.66 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[27.75.175.76.zen.spamhaus.org : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; 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_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.nomadlogic.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; IP_SCORE(-2.40)[ip: (-9.04), ipnet: 140.82.16.0/21(-4.52), asn: 20473(1.66), country: US(-0.08)]; FREEMAIL_TO(0.00)[yandex.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: Wed, 26 Dec 2018 19:15:16 -0000 On 12/23/18 3:41 PM, 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  | > > (** : Radeon appears to need radeon.ko and radeonkms.ko under FreeBSD > 11.x, and only radeonkms.ko in 12.0) > > I doubt if the above table is entirely correct and complete. > Could someone please fill me in on the missing tidbits so that I can > enhance my port (mkdesktop). > We've been trying to get the wiki in better shape in regards to AMD GPU and Intel i915 graphics.  Here are two tables which should be pretty up to date (although I suspect some of the newer CPU's need to be added): https://wiki.freebsd.org/Graphics/AMD-GPU-Matrix https://wiki.freebsd.org/Graphics/Intel-GPU-Matrix Also the main wiki has been updated which will hopefully provide some insight as well: https://wiki.freebsd.org/Graphics/ tl;dr version is if you have an AMD GPU or Intel i915 based system, installing the "drm-kmod" package should work for you as it will select the appropriate kmod for your platform.  Furthermore, there is no need to install the xf86-video drivers for these platforms as the modesetting driver which ships with Xorg is now the preferred Xorg driver upstream. Cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA