From owner-freebsd-x11@freebsd.org Mon Jun 18 07:40:01 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 BF5B0101A950 for ; Mon, 18 Jun 2018 07:40:00 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A2FC72C25 for ; Mon, 18 Jun 2018 07:40:00 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from [10.70.7.20] (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id w5I7dwnd095992 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 18 Jun 2018 07:39:59 GMT (envelope-from list1@gjunka.com) X-Authentication-Warning: msa1.earth.yoonka.com: Host crayon2.yoonka.com [10.70.7.20] claimed to be [10.70.7.20] Subject: Re: Is Radeon RX Vega 64 supported by drm-next? To: Johannes Lundberg Cc: x11-list freebsd References: From: Grzegorz Junka Message-ID: Date: Mon, 18 Jun 2018 07:39:54 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2018 07:40:01 -0000 Did you mean 12-STABLE? Let me reiterate to check if I've got it right. To support Vega I need to compile kernel >=1200066 from sources + kms-drm from drm-v4.15 branch. If that's correct, will kernel 12x work with 11.1/11.2 userland or I will need to update to FreeBSD 12? Thanks again for help GrzegorzJ On 18/06/2018 07:23, Johannes Lundberg wrote: > Support for 4.15 wont be in until 11.3-RELEASE but it will be in > 11-STABLE soon though. > > 11.2 supports up to 4.11. > > On Mon, Jun 18, 2018 at 09:20 Grzegorz Junka > wrote: > > On 18/06/2018 07:04, Johannes Lundberg wrote: >> >> >> On Mon, Jun 18, 2018 at 8:56 AM Grzegorz Junka > > wrote: >> >> On 17/06/2018 17:29, Grzegorz Junka wrote: >> > Hello All >> > >> > According to various sources (including posts to freebsd-x11) >> > drm-stable-kmod supports Polaris (RX 4xx/5xx). Does it mean >> that >> > drm-next-kmod supports RX Vega? >> > >> > According to Wikipedia Radeon RX 580 is GCN 4th gen: >> > https://en.wikipedia.org/wiki/AMD_Radeon_500_series >> > >> > Which is the last generation before Vega, which in >> Wikipedia is marked >> > as GCN 5th gen: >> > >> https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units >> > >> > So there is no other GPU left between them. There is also >> nothing else >> > beyond Vega, which suggests that the only difference between >> > drm-stable and drm-next is the additional support for the >> latest GPU - >> > Vega. Or I am missing something? >> >> Answering my own question, looks like preliminary Radeon RX >> Vega support >> landed in Linux 4.12 with full support in 4.14/15. So it >> seems there is >> no additional Radeon GPU supported in drm-next-kmod (Linux >> 4.11) that >> isn't already supported in drm-stable-kmod (Linux 4.9). The >> differences >> seem to be down to improvements in VM drivers and power >> management. >> Please let me know if you have other information. >> >> Another question, is it possible to estimate work/time before >> Wayland/drm-kmod on FreeBSD supports Linux 4.12/14/15 or >> NVidia cards? >> >> >> You can try building the drm-v4.15 branch from source. It should >> work now with stock kernel (>=1200066). >> https://github.com/FreeBSDDesktop/kms-drm >> >> I use it on my AMD Ryzen 3 2200G APU. >> >> We're getting ready to release 4.15 as a port, however it's not >> bug free yet so it will be a -devel port. > > Sounds great! Sorry for a n00bie question. Once support for > drm-kmod lands in the 11.2 kernel, will support for newer linuxkpi > KMS APIs (i.e. 4.15) also require kernel changes or they will be > supported through ports? I don't quite know how the support for > linuxkpi drivers is split between the kernel and userland. > > Thanks > GrzegorzJ >