From owner-freebsd-questions@freebsd.org Thu Jan 21 02:29:20 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AF8A04E3770 for ; Thu, 21 Jan 2021 02:29:20 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DLmYX3Vysz4gxX for ; Thu, 21 Jan 2021 02:29:20 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mailman.nyi.freebsd.org (Postfix) id 7850D4E391E; Thu, 21 Jan 2021 02:29:20 +0000 (UTC) Delivered-To: questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 781594E376F for ; Thu, 21 Jan 2021 02:29:20 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DLmYW3l0lz4gkd for ; Thu, 21 Jan 2021 02:29:19 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ej1-x62a.google.com with SMTP id hs11so526411ejc.1 for ; Wed, 20 Jan 2021 18:29:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xj3Dy8yvakNSuFkyrMI9T8chllGg7IxX2KzTUkhbpuo=; b=Rq+PB0iIk16iaUf7+77vF0xCVIsw8yoth1ALaCUnBfT0BYqcjsbxa10DV1CtFxi+Tr AVzl+mAn+gLdWxStOCL0PhKrh5baUNqVXQztwM5TD1M0gP6tWbgnyHnvWkeuEU6DhQwM rWI8H5xs0OyERM4eqZq8+aBDTsQHLFZ/B98Ac3faZmEZdFLH2HUN4qTHObmpLByt4EU5 i2MPffyd8XRkRn7QKMDKGt1ty+mW4VkVhlArvhkRIWlXvsoOZswCq6jz6xyV9FILN3ZK lNfAAIpziiD7vudowj/qA4g3fu5IrgTSPqU+ycBtSqghaiGA+2PzA6cML0OvkMGYBWex cKhQ== 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=xj3Dy8yvakNSuFkyrMI9T8chllGg7IxX2KzTUkhbpuo=; b=BEf8bifbD4z4qQB8E3gaZSYFICah+NuxTF9vUMiiA/NSAaiz654ZH/+h2V5yXV6I5y 2ek3bBHM4356eElZTdCJXQ2f8t9lpVNaGWmnv/ztaOJqYiyTWKyBoN+rdZ9jMxivSy4I UOgf9IhlN581HjuDFFTawfpTydYC564OPPDuA3/AAzN8jiPgmpAaQ5UaKw0ztxxC/nqg 7v+xslpeFtDsBz9I1T65hgahHm7JiDF0a3nIi7koA0PnC1K4AEVT6+D6yHxFIpF+ULX5 1vPhv4IbGSXqfeT3M1aIZawIP78RUv5IJxsM7L1HmTEWkO+smfvhqsnA5C/ZjYgZxQmD 4Uzg== X-Gm-Message-State: AOAM5311VHPEu5udeHnpzRCz70q5m70A3wAmDIn8vrYa6wxCwFee9QW6 IFXl7LS/7E1DUeV+nCy1wyPgWulw40+gZDjC22FmXMdyWYeKVQ== X-Google-Smtp-Source: ABdhPJzj5O+9KBIRUyX4wtHc+dUaj0n/9DEiOJVvSI+0rNTS4ENYn2OGYSbDby+3uJJl4pBit5TGSB0dc8b3JbhnRYk= X-Received: by 2002:a17:906:1987:: with SMTP id g7mr8451627ejd.316.1611196157866; Wed, 20 Jan 2021 18:29:17 -0800 (PST) MIME-Version: 1.0 References: <20210121030321.9817c075.freebsd@edvax.de> In-Reply-To: <20210121030321.9817c075.freebsd@edvax.de> From: Tomasz CEDRO Date: Thu, 21 Jan 2021 03:29:06 +0100 Message-ID: Subject: Re: drm-kmod kills FreeBSD To: Polytropon Cc: Chris Hill , FreeBSD Questions List , "Steve O'Hara-Smith" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4DLmYW3l0lz4gkd X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=Rq+PB0iI; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::62a) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-2.33 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-0.08)[-0.081]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::62a:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; NEURAL_HAM_SHORT(-0.95)[-0.952]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62a:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::62a:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2021 02:29:20 -0000 On Thu, Jan 21, 2021 at 3:03 AM Polytropon wrote: > On Wed, 20 Jan 2021 20:09:49 -0500 (EST), Chris Hill wrote: > > On Thu, 21 Jan 2021, Tomasz CEDRO wrote: > > > > > You need to build and reinstall drm-kmod-g20190710 and > > > drm-fbsd12.0-kmod-4.16.g20201016 manually from ports, so module gets > > > 12.2 stuff in it, pkg installs binary that is built on 12.1 and will > > > not work on 12.2 properly. This is a known issue and fix :-) > > > > Really! That's extremely helpful to know. Do I actually need both of > > those? I'm not sure what the difference is. Yes you need to rebuild and reinstall both of them (make clean deinstall reinstall). > do not mention drm-fbsd-kmod at all. Maybe this was a thing > specific to 12.0? Also the "legacy" / "old" differentiation has been > removed (which is good - drm-kmod metaport containing the whole KMS > driver collection - one package to rule them all). This drm-fbsd-kmod I would love to finally see evolved into drm-fbsd12-kmod (not 12.0) if its about to run on all 12 versions not 12.0 only ;-) This drm-kmod "metaport" did not re-work underlying fbsd12 port that I had to reinstall manually ;-) And yes I agree with previous Steve's statement that this port at this point should be blacklisted from pkg build farm I even proposed this solution once. Imagine you rebuild this port on 12.2 by hand and then perform pkg update upgrade and it gets replaced with 12.1 binaries over and over. It was also Steve (AFAIR) who pointed me pkg lock that will prevent those two packages from being updated. To be honest working on laptop got hard and slow and ugly enough to move to a desktop, but there I have AMDGPU that randomly crashed my whole system two or three times in a row and I stopped using it with a monitor. All this Linux DRM feels like a one big 20 years back regression but hey we have a bleeding edge development wow. > Also check this list: > https://wiki.freebsd.org/Graphics/Intel-GPU-Matrix > FreeBSD 11 - 13 should use drm-kmod. But none of the two pages says > if it is okay to use the precompiled version, or if building it > yourself with from your (current?) ports tree is required... I have just requested account on wiki - admin @ freebsd.org this clearly needs an update in several areas. I also plan to create electronics engineering (EDA), embedded development, and ham radio section :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info