From owner-freebsd-current@freebsd.org Mon Nov 5 18:57:39 2018 Return-Path: Delivered-To: freebsd-current@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 5C0441108F73 for ; Mon, 5 Nov 2018 18:57:39 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C0FBE6DD31 for ; Mon, 5 Nov 2018 18:57:38 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 802D51108F72; Mon, 5 Nov 2018 18:57:38 +0000 (UTC) Delivered-To: current@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 5CFC91108F71 for ; Mon, 5 Nov 2018 18:57:38 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EC426DD2E; Mon, 5 Nov 2018 18:57:37 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x42c.google.com with SMTP id z13-v6so8340399wrs.3; Mon, 05 Nov 2018 10:57:37 -0800 (PST) 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=UWyEoU9/gBCFK87Oz6/4W3M1A/mrLj0mBcrVO7CUHpo=; b=gsd06kjoWj0iBiTHYlXNXR52pEcO5tJFjMdUJ3nOqw5ODwlyav9TQIZgeYyIHzRkNt 6PqCRGsrRQjXd3QMEsGebz+uZZYmEprhHG7jUoKfuPctbc/O57Z/JdDkbkWDEPsa5yHL jetpUU1EA6L4cPh2kXtGZzEupgbWQxDeadXb21EmWpU0vkDWHMml7Ai/llmuR/USTEF2 gQiiBOfMavsCX4AJg3sG2FqWXkRSXhD2FE6PWuqIrLyWSaVgLkMQsZnnPqfIeWGJcU7W 5hQ/8tEFUQIZ3Xjk7CfqjyjfBTRJPnV5WoB6KXUEBRTA/1ykjO9tdiiYOIZgvLjwg7h9 M0gg== 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=UWyEoU9/gBCFK87Oz6/4W3M1A/mrLj0mBcrVO7CUHpo=; b=jLomdp0+ChoUwT3bKpXonTeVPEGajC1Mt4K1IipcqU3/UWrAHfPgCtk1+M10dyHgRe R8T3+PaiQcSwQiLYreXezx6qNfNbnx1sR8Rb+7UQOBvtx1NuT6J2HgxwdEDY5vQNrEFa oDQjdLQgnwiaO2Fs/v63eiq+mlaAUVr8bZzaoJ4DwL46R7FYjaIfOK2pKcjR6FN8SDQc NSCBgGz6WdyZEIQqTrmmzqT3Zf0CTmaudPuJW/xZmMreS2ZSO+pK8QSgqDlT6qmIj5jy pcJPnyq7p1v/PEXauivJbUa9aiDzzN4irxT8ioPXHu0StAwiWnv0Sv1ztLR8tIdZ6xQh 0tsw== X-Gm-Message-State: AGRZ1gLNYZ1NzhrflXqqgfTFzOxMRDfewf/X+zJh7qxExVawvKt95uO2 aCt1IxRWws2lz3wMGvgKDpEZjomlYF3i1pkwLuQ= X-Google-Smtp-Source: AJdET5f3LSVJjQAgBNxJOhLaaku2xYs/JDTga0URddQNdcFpovumEpLgjJsA4TbLF9bLwYzwXgFW2h6/HRblcL83qn4= X-Received: by 2002:adf:9bd6:: with SMTP id e22-v6mr8875707wrc.295.1541444255447; Mon, 05 Nov 2018 10:57:35 -0800 (PST) MIME-Version: 1.0 References: <23519.18601.670359.184297@jerusalem.litteratus.org> <23520.31868.775969.324314@jerusalem.litteratus.org> In-Reply-To: <23520.31868.775969.324314@jerusalem.litteratus.org> From: Johannes Lundberg Date: Mon, 5 Nov 2018 18:56:57 +0000 Message-ID: Subject: Re: drm changes and updating to 12.0 To: roberthuff@rcn.com Cc: Warner Losh , Kevin Oberman , Niclas Zeising , current@freebsd.org X-Rspamd-Queue-Id: C0FBE6DD31 X-Spamd-Result: default: False [-6.11 / 200.00]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; FORWARDED(0.00)[current@mailman.ysv.freebsd.org]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; SPF_FAIL_FORWARDING(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_FIVE(0.00)[5]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(0.00)[gmail.com,none]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.71)[ip: (-8.72), ipnet: 2001:1900:2254::/48(-2.79), asn: 10310(-1.96), country: US(-0.06)]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[roberthuff@rcn.com ..,freebsd-current@freebsd.org]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.996,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2018 18:57:39 -0000 On Mon, Nov 5, 2018 at 5:27 PM Robert Huff wrote: > > Warner Losh writes: > > > I'm curious where 2013 comes from. I know that Intel Sandy Bridge > graphics > > is supported with VAAPI acceleration by drm-stable-kmod, since it i > working > > on the system I am using to send this message. I bought it in 2011, > the > > year Sandy Bridge was introduced to production products. > > > > 2013 is "five year old hardware or newer". It's a number I pulled out > of the > > air when trying to nail down the group in describing who should use > what. > > Giving code names would also work. Sandy Bridge and newer, though, is > confusing > > to people. I'd use 2011 as the release date for Sandy Bridge, but then > what > > about the AMD other GPUs? > > > > If there's a better way to message what's supported, I'm all ears. > > Lacking a better plan: is there a list of which card/gpu is > currently known to work with which drm(-kmod) version, perhaps > gathered from those involved with development? (Is this based on work > from Linux? If so, do they have a list?) > Hi Updating the wiki graphics pages is long overdue and we hope to have it refreshed before the 12.0 release. Everything will be explained there in detail together with some compatibility matrix. This has probably been said many times on the mailing list but I feel obligated to try to inform the best I can until we have updated the wiki. The short version is that drm2 in base (/sys/dev/drm2/) have support for hw up to 2013 (maybe 2014), that's why drm-legacy-kmod is said to support hw up to that year. Now, the linuxkpi based ones, drm-stable-kmod and drm-devel-kmod (I'm not including drm-next-kmod because that will go away), potentially could work on hw older than 2013. Initially they didn't but they have been patched to potentially work on same hw as base drm2 but this is barely tested yet. Recently, drm-devel-kmod was patched to work on i386 but this is also not fully tested yet. So, theoretically, if you're running current, drm-devel-kmod could run your 10 years old 32 bit computer's gpu but it's too early to make any guarantees. Please feel free to test. Usually the meta-port, drm-kmod, will choose the best (safest bet) for your system. Which Linux version is tracked is listed in the port info. drm-stable-kmod is currently at Linux 4.9 drm-devel-kmod is currently at Linux 4.16 The best way is lookup what is supported by the Linux version (if anyone know a good site, please share the link). If the hw is supported there, and it's driven by i915, amdgpu or radeon, it should work on FreeBSD as well. If you have any of the _really_ old cards supported by drm1 (what's in /sys/dev/drm/), you'll always need drm-legacy-kmod. We know this transition has been messy and confusing but we're working hard to improve this. /Johannes > > > Respectfully, > > > Robert Huff > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >