From owner-freebsd-x11@freebsd.org Thu Dec 27 13:30:49 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 CA5AB135F1D9 for ; Thu, 27 Dec 2018 13:30:49 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3BF27395A for ; Thu, 27 Dec 2018 13:30:48 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Thu, 27 Dec 2018 13:30:47 +0000 Received: from [192.168.1.141] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id F6E5280C-D251-4E44-B91A-4953D282B108.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Thu, 27 Dec 2018 13:30:46 +0000 Date: Thu, 27 Dec 2018 16:30:46 +0300 From: Greg V Subject: Re: A question about graphics subsystems under FreeBSD To: Pete Wright Cc: Manish Jain , freebsd-x11@freebsd.org Message-Id: <1545917446.73020.1@smtp.migadu.com> In-Reply-To: <67575fff-d550-9ec6-12ee-dcc41f429bc4@nomadlogic.org> References: <67575fff-d550-9ec6-12ee-dcc41f429bc4@nomadlogic.org> X-Mailer: geary/0.12.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; bh=OHBYRMvkxk9Tn6/c3UlnxuNvuV9EG882/HsYdNgNuqc=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=d4ucpI1f3wU08srMs5dcfSEUaQQwf+aNvuaU0wmtulPU4JNbOUY0D3qg5v4moPWICUs84+VKt1uEuNrWkT1wbjjR0wrZ4evFBjUqiuvr/vrBDO2b6zl3TiDchb63huBJWkOW7f7fpSK56efx8vDeeER5qXMCzTblXe74BZzSjTw= X-Rspamd-Queue-Id: F3BF27395A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=default header.b=d4ucpI1f; dmarc=pass (policy=none) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-6.54 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; MX_GOOD(-0.01)[cached: aspmx1.migadu.com]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.55)[ip: (-9.85), ipnet: 91.121.0.0/16(-3.29), asn: 16276(0.43), country: FR(-0.02)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; FREEMAIL_CC(0.00)[yandex.com]; RCVD_TLS_ALL(0.00)[] 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: Thu, 27 Dec 2018 13:30:50 -0000 On Wed, Dec 26, 2018 at 10:15 PM, Pete Wright =20 wrote: >=20 >=20 > On 12/23/18 3:41 PM, Manish Jain wrote: >> Hi, >>=20 >> I have a port mkdesktop which simplifies the task of FreeBSD desktop=20 >> =7Fconfiguration. I was looking to enhance the port in its=20 >> capabilities =7Fand it would help me if I could know the various pkg's=20 >> and kld's =7Fneeded by the various chipsets. >>=20 >> As per my (incomplete) knowledge, the following are usually needed: >>=20 >> Chipset | | >>=20 >> 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 | >>=20 >> (** : Radeon appears to need radeon.ko and radeonkms.ko under=20 >> FreeBSD =7F11.x, and only radeonkms.ko in 12.0) >>=20 >> 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=20 >> =7Fenhance my port (mkdesktop). >>=20 >=20 > We've been trying to get the wiki in better shape in regards to AMD=20 > GPU and Intel i915 graphics. Here are two tables which should be=20 > pretty up to date (although I suspect some of the newer CPU's need to=20 > be added): >=20 > https://wiki.freebsd.org/Graphics/AMD-GPU-Matrix > https://wiki.freebsd.org/Graphics/Intel-GPU-Matrix Hi, The AMD matrix is the opposite of up to date, it shows support ending=20 at Sea Islands, while actually everything up to and including Polaris=20 works perfectly with drm-kmod, even Vega works. Some other things that are really important and should be mentioned on=20 the wiki: - radeonkms/amdgpu currently conflicts with the EFI framebuffer, have=20 to use 'hw.syscons.disable=3D1' to disable it (and lose graphics output=20 until the driver loads) as a workaround =E2=80=94=20 https://github.com/FreeBSDDesktop/DEPRECATED-freebsd-base-graphics/issues/1= 70 - amdgpu currently requires the following patch to unbreak OpenCL,=20 Vulkan and Xwayland:=20 https://github.com/FreeBSDDesktop/kms-drm/issues/33#issuecomment-422793245 =