From owner-freebsd-current@freebsd.org Mon Nov 5 15:45:40 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 38B731104C7B for ; Mon, 5 Nov 2018 15:45:40 +0000 (UTC) (envelope-from wlosh@bsdimp.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 928FC84110 for ; Mon, 5 Nov 2018 15:45:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 575111104C7A; Mon, 5 Nov 2018 15:45:39 +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 354921104C79 for ; Mon, 5 Nov 2018 15:45:39 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x129.google.com (mail-it1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) (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 366858410D for ; Mon, 5 Nov 2018 15:45:38 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x129.google.com with SMTP id r12-v6so10489194ita.3 for ; Mon, 05 Nov 2018 07:45:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MWyDJdMKRWXlY0Cq3AI+TbcYwJz2AkeqCeqNPfegV38=; b=Aw7lxqyyEEZhBGvKGa3NsBY51pPRD9MIiPYY387fzNywzgt7MfhzPLzPH79urrsU3L sC2GFRo5DWXxU7twRJ6fWJqeJWIfj4rch3yIKDQ6q53dlIaLgD/FtNEY/dNNCMVWoP/V 6vM0fDyQboQBV3yMHrgxTzEcjahPZpx/Zn4KiQtIzZb7Qubt4hJFmE2LpHVLfFoUv8Do l7ILrOXdAGHxlxNDD8zp8VRRhDRypJDDej141hf4L/OEGK/7wUyYZaXNBgKYp0fy6NV+ SsYikhmCiGGfMaQ5CR00wPbjQtkLnR2AHt4O0R0mBYKV4NoNGHtLa4rCMrljkey0pDih ilzA== 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=MWyDJdMKRWXlY0Cq3AI+TbcYwJz2AkeqCeqNPfegV38=; b=TGl5qdB6i4z7Kxjs5GRWz0Ip4ZdYkn27ZdnpQ5yjeqF2hfOIpd9wBhGFMSFTcyRimX yzSZoIA+6W/1CszYuXGakVVsSinDmqhKJXYgmfLKjW4Q3+90ZDcoei1OppTcWZdlPF44 kMADC7F/8Qzc1IfHrJ9ektoA317rdF+0vkh8BCAdTOJTYXQLAkWYBFd/B8eTrp3gRCvW jF0kA/FHSP2Dg0YLkOSe86+jhBLCml26lkla+74wJzwuyeffvryU3ah0vMPVKtV3jW0r hmtsv/wkdd5R2gzbbwMgsKbICn8F5Im/NdrWXohaDfizkJn5zSUTqcYjODDOYOZ0KCu5 574w== X-Gm-Message-State: AGRZ1gIjQWfkjWzEcyUhPoOhCpWMDbN6pwuV4dk8Nho2CFniotDiM5Er jm2Rk7IeISZeNIW6+BTZaXbzaA8xNVA7pbNGC87P9g== X-Google-Smtp-Source: AJdET5f/asCHX5JwR1sq2jtRqaacm77IeIi54XCEk/ez/2UliGcW17QU60CN960mpYqMeWm+YrAPcvW6uTh+Nl1Iwh4= X-Received: by 2002:a24:d4c1:: with SMTP id x184-v6mr7111714itg.79.1541432737310; Mon, 05 Nov 2018 07:45:37 -0800 (PST) MIME-Version: 1.0 References: <23519.18601.670359.184297@jerusalem.litteratus.org> In-Reply-To: From: Warner Losh Date: Mon, 5 Nov 2018 08:45:22 -0700 Message-ID: Subject: Re: drm changes and updating to 12.0 To: Kevin Oberman Cc: Niclas Zeising , Robert Huff , FreeBSD Current X-Rspamd-Queue-Id: 928FC84110 X-Spamd-Result: default: False [-5.65 / 200.00]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; FORWARDED(0.00)[current@mailman.ysv.freebsd.org]; FORGED_SENDER_FORWARDING(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[bsdimp.com]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; 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]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; IP_SCORE(-2.77)[ip: (-8.87), ipnet: 2001:1900:2254::/48(-2.89), asn: 10310(-2.04), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FORGED_RECIPIENTS(0.00)[rkoberman@gmail.com ..,freebsd-current@freebsd.org] 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 15:45:40 -0000 On Sun, Nov 4, 2018 at 10:52 PM Kevin Oberman wrote: > On Sun, Nov 4, 2018 at 12:15 PM Niclas Zeising > wrote: > > > On 11/4/18 8:29 PM, Robert Huff wrote: > > > > > > I have a set of older machines (e.g. AMD Phenom II, Radeon HD3300 > > > gpu) which will be updated from 11. to 12.0 once 12 is out > > > and the initial round of bugs are squashed. > > > One system is being done now, to allow time to catch any major > > > problems and then plan the update process. > > > Looking at src/UPDATING, the only thing I don't understand is the > > > whole drm-kmod change. Is there an authoritative write-up on what's > > > going on, how to choose the right drivers for my hardware, and how to > > > do this from source without forcing a fresh install? > > > > > > > We are working on better documentation for this, but the main highlights > > are: In most cases graphics/drm-kmod should suffice, especially on > > somewhat modern hardware. You can also install any of the drm-*-kmod > > ports directly, if you want a specific version. In general graphics > > hardware older than from 2013 requires drm-legacy-kmod instead. > > drm-kmod will also install drm-legacy-kmod on i386. > > > > The same drivers in drm-legacy-kmod is also available in base on 12, so > > you can use the base drivers. This is deprecated however, and not the > > case for 13-CURRENT. > > > > You can install the drivers either from pkg, if you are using the > > GENERIC kernel, or build from ports if you have a customized kernel or > > if you are tracking for instance 12-STABLE or 13-CURRENT. > > > > If you are using drm-legacy-kmod or the base driver with AMD graphics > > cards you might also need to install xf86-video-ati-legacy rather than > > xf86-video-ati. > > > > Regards > > -- > > Niclas Zeising > > > 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. > > In general, when in doubt, I'd try drm-stable-kmod for questionable devices > and fall back to drm-legacy-kmod it it fails. If y0ou use ports, I'd build > both paskages to make it easier to recover if drm-stable-kmod fails. Also, > be sure to make the proper adjustments to /etc/rc.conf as per the package > message. > 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. Warner