From owner-freebsd-x11@freebsd.org Mon Jun 18 07:59:22 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 66789101B27B for ; Mon, 18 Jun 2018 07:59:22 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BADC873535 for ; Mon, 18 Jun 2018 07:59:18 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id z6-v6so13959571wma.0; Mon, 18 Jun 2018 00:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KKwuPBjt6k9P30p81R/Yyb+DrQRXxaZg4sCvbud2oK0=; b=PeTFR4N1KcpAhOiBaz6xSDlKXFkEAfPkgSNJssyDkArDeWZUZ0OkAlpHCSeaKjHps1 BLDJ3bl4mgF7/Rn0Pzyc4DIuawmEhAv3bC2l2KtWKYiMGL09wUfFxRy5Kif1xLtOAHII +vUW2exr+OmpWsheyfmEO57RC8AJNtZhizksT9zoriRTdtI1DTYbgvT5Tj7LsYQYA1Cx KvEveLwfojZr4Rvbbx+46q3s4flCuUyAo9zUrT1gJLvNc0oK9w+JxhqyzGH6zKrV/ugA nD5cAtEp1IpXFv7L/bkFXNPtB9JCBulIAuhsffUnU5Dcj9tikWqtpleSUknZeO3Y3oBi JWPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KKwuPBjt6k9P30p81R/Yyb+DrQRXxaZg4sCvbud2oK0=; b=RkKmLJQxNfD+H54/PxoVu+46TVh0Iwgy5Ru9q4iMevO31EFZrS6LJbRgFJCg57E0V0 fZuxUZb05YOhHDHW2rvCC4Qe3Yo8Yd1iXlUk+xyI10vCXY3DiURy/wQhhDDABgEwpvk7 lXedMoNZGCQoCWHMR4uJB4XP1AcKQ259zC8XKxWKgSzvYiEIQ4YnnAC/R3eKv8AVUiZ9 PdJV9wfVMeu0CcysyWJUd2vnblYa7w++U7BCrSUO1un8V9aCrmM7t/Gk71lw/FRlXKA9 ct/kSkalrf9aiUtw++/y2t1+X9jpLgUl61gmKeuFy/LUQLPTHwI6cgnDl4jxk6dSaDxw SqlQ== X-Gm-Message-State: APt69E1i2PbWL8VL7v19IBcolXteu1v6O9AT7JncQNeuP5Fj1HsYDsuX XumHx4GabLN28hN6dNBMIRj3i1BXEZ+Vr1TWD9Q= X-Google-Smtp-Source: ADUXVKK/LC818nCUJ5YouPkE4f3CcY3rbDCI3QvIWHGR6om/6XM6C52dU/nr8cgHzBtU0FA3WiQHJdK/K54TGVCdZ3A= X-Received: by 2002:a1c:e48a:: with SMTP id b132-v6mr7705584wmh.129.1529308756956; Mon, 18 Jun 2018 00:59:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Johannes Lundberg Date: Mon, 18 Jun 2018 09:59:06 +0200 Message-ID: Subject: Re: Is Radeon RX Vega 64 supported by drm-next? To: Grzegorz Junka Cc: "hps@freebsd.org" , x11-list freebsd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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:59:22 -0000 On Mon, Jun 18, 2018 at 09:40 Grzegorz Junka wrote: > Did you mean 12-STABLE? > No, 11-STABLE. 4.15 support will be merged in 11 source tree soon but won= =E2=80=99t make it into a release until 11.3. You can checkout a snapshot of 11-STABLE until then. > > Let me reiterate to check if I've got it right. To support Vega I need to > compile kernel >=3D1200066 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 ne= ed > to update to FreeBSD 12? > You=E2=80=99ll need a recent 12-CURRENT world with recent 12-CURRENT kernel= . If you want to stay with 11, check with hps@ (cc:d) when he plan to backport 4.15 support into 11-STABLE. > > 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-STABL= E > 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 marke= d >>> > 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 els= e >>> > 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 suppor= t >>> 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 no= w >> with stock kernel (>=3D1200066). >> 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 port= s? >> I don't quite know how the support for linuxkpi drivers is split between >> the kernel and userland. >> >> Thanks >> GrzegorzJ >> > >