From owner-freebsd-current@freebsd.org Mon Nov 5 05:50:47 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 120EF10F8D2D for ; Mon, 5 Nov 2018 05:50:47 +0000 (UTC) (envelope-from kob6558@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 7AFCC705E1 for ; Mon, 5 Nov 2018 05:50:46 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 3FC8610F8D2C; Mon, 5 Nov 2018 05:50:46 +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 1DB4E10F8D2B for ; Mon, 5 Nov 2018 05:50:46 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (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 6CC5D705DE; Mon, 5 Nov 2018 05:50:45 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x235.google.com with SMTP id 192-v6so5697552oii.6; Sun, 04 Nov 2018 21:50:45 -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=5FriRHhR0rc8zjPXsleoKggrknuIR0RwkW0Q2v715Sk=; b=WfSpPnXx3SulOjFgqG+P2DHjmrtYcpbi0bTHIYV2wgnco+qBDnuBCZ6jAMuOzWh5wk vWm9d2Hihe/BUDv6d0k3sYlCgUSfMeUVYnNH5OXk2nm3oH3/0ns0jXWOum8adB/pRufc iC0eFcbsjL63i6+qgJifg7qqjKgGceDh50vP7PNqk64OlOPzP2TdWjLqPvksIugUlgzP 9o9v/3VxbfGNAq6F+GDP4+Be+Z7I5SFRBKiojOGC/DJtLpVsdoqhtMPyyZTiKiiGtSnb Zi76SGDzFZJVYrH3QAZAzmzhs4/KtQmxw4fGZJ1vWIngcDNbBNcQICTOWtO5HTCdJTdK kjiA== 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=5FriRHhR0rc8zjPXsleoKggrknuIR0RwkW0Q2v715Sk=; b=dSvX1UTMffOv7SHa9hAQ2F3tbrkWODfwqz16uFzrBe6jqJF8y+rnGdhryRWtujG55+ G0aHJvRSNRnI12NwogD/w5s9m44m8KV7hB4QGi15uhOiTjI6FErJBQYS4L/+HGDOD3+1 f2uh7XmoJtFtKDodtL8vR56DGrad7vuP7o+3GqGl1ZPaw5j1uvdpQ/68oaTLIp6RMceq hKNaye+jhlJslTj2xSEfKrqLsSGb+zN7CZ5hPAgV9w2wlnkgZzsFgoZLkdKcoc6jVve1 dXB8JluLG5CmfHhf8h5ueAZZqwQB/SsyZgstILLJRJtVdO5qecVwltBIs5TZZD2VvMOw pYng== X-Gm-Message-State: AGRZ1gLdoqRmbjymcFlCKtYOs60xwSaZTc6GXn0PPDt/syQIevOg3AOE /8esG4dctyf+8jUSFvQIPT3GTzvLCFJ+55cnV34/XWyg X-Google-Smtp-Source: AJdET5dGUyhf3FIJkbkBdQFEBfbQvbo/EJWdRh2+9BZAd1Ft3wgCv+VMC/n//kbRjvNu8hTnA6tEz1mzbVN03HhQ0CQ= X-Received: by 2002:aca:75ce:: with SMTP id q197-v6mr12704357oic.176.1541397044167; Sun, 04 Nov 2018 21:50:44 -0800 (PST) MIME-Version: 1.0 References: <23519.18601.670359.184297@jerusalem.litteratus.org> In-Reply-To: From: Kevin Oberman Date: Sun, 4 Nov 2018 21:50:26 -0800 Message-ID: Subject: Re: drm changes and updating to 12.0 To: Niclas Zeising Cc: Robert Huff , current X-Rspamd-Queue-Id: 7AFCC705E1 X-Spamd-Result: default: False [-6.24 / 200.00]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; FORWARDED(0.00)[current@mailman.ysv.freebsd.org]; FREEMAIL_FROM(0.00)[gmail.com]; SPF_FAIL_FORWARDING(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_SOFTFAIL(0.00)[~all]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; 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)[]; FORGED_SENDER(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; IP_SCORE(-2.87)[ip: (-9.06), ipnet: 2001:1900:2254::/48(-3.06), asn: 10310(-2.18), country: US(-0.06)]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; FORGED_RECIPIENTS(0.00)[zeising@freebsd.org ..,freebsd-current@freebsd.org]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FORGED_SENDER_FORWARDING(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_SHORT(-0.96)[-0.956,0] 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 05:50:47 -0000 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. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683