From owner-freebsd-questions@freebsd.org Fri Nov 8 21:55:56 2019 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 165111621AE for ; Fri, 8 Nov 2019 21:55:56 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 478vGf2jjwz3ysY for ; Fri, 8 Nov 2019 21:55:53 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x32e.google.com with SMTP id v24so6503329otp.5 for ; Fri, 08 Nov 2019 13:55:53 -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=VyXQIzbO6Eht+ESQU+POmTUSPtSJFeJTiHlKYnY842s=; b=Q4mdWbjDYWqCgBSeR36YJCRkYPDFgO23g8BIbZhv4vAVYF25WLmlsS0Dq6z70hSLg/ MlGQzH3pB97XGejaVNSsBcg1jRx6MoS5NIzIIRUchGIa2o6EyvmiLOSJdckWqxdE8dM6 DhcpG/3l8Z+6AGWmvJsJQXbsAZSoqYAmyQ911apjQFm262lwhU28aNZU0OVQRUCr2l0A PJF9rcw04orOeMXjsh/W1eJ4QhshVSlztQsJHj89NqylEey/1+1uzE1m3lFw8uPq646V Ao86F2gIeRE0S8IRX5h3eDtBzSPGSOLcy2RWOavG7cf1bFqsiz21d5uiQfgOe97Eg0C/ 3WSA== 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=VyXQIzbO6Eht+ESQU+POmTUSPtSJFeJTiHlKYnY842s=; b=iumBazT/XDqOe3ENLfO1VAJdd1P5YdYgp/mGhjTZq+xNtJIt70Gxtbd6PTyEXg688S fp2njWbse3OOaxoZGLQT1WIK79YLSpgcd1oM6bb6xwrWbtYAPCEEQuQBXEfQEMT9sOrq PhdHT2xQGQuPSku7vfcTGpInWMcn8sJXA45eE6sadzdry6UqDkmW+g4YqmTKpWgzQU8+ Y5JfLaPwHT+rfqvbv4y35HbPLgJwyKed1g0hKhQzPbLqvADeecTZ3+nrCEGWt4eDfzKv 85TALb019gKKO+/aiS1X0yqOa109glpg5tXwk8uR7ZLly3lO+ZeeU8UEyrzN73e9WByI lcnQ== X-Gm-Message-State: APjAAAXPAcRKrHbbjqhns1bSxCh9jXFm9ZqUR9J39EQnn+wS32Pbj2lI oYIZGZXVQstYnjLTbSHjvhZK6rD2yAc= X-Google-Smtp-Source: APXvYqwYVA6FM9zU0Tcb96oeSYAL7OiZQVhhSNxRXxQ2Yyr6K+CMVT579psw1/qVRapO3cYV946OjQ== X-Received: by 2002:a9d:77c6:: with SMTP id w6mr315696otl.339.1573250152214; Fri, 08 Nov 2019 13:55:52 -0800 (PST) Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com. [209.85.167.172]) by smtp.gmail.com with ESMTPSA id d132sm2260051oif.2.2019.11.08.13.55.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Nov 2019 13:55:51 -0800 (PST) Received: by mail-oi1-f172.google.com with SMTP id n16so6618105oig.2 for ; Fri, 08 Nov 2019 13:55:51 -0800 (PST) X-Received: by 2002:aca:c6d0:: with SMTP id w199mr11458449oif.78.1573250150786; Fri, 08 Nov 2019 13:55:50 -0800 (PST) MIME-Version: 1.0 References: <20191108194652.50c4f8e7c87ec76b9abc6e19@sohara.org> <20191108200005.21a9cdac18587cc36bd7cb01@sohara.org> In-Reply-To: <20191108200005.21a9cdac18587cc36bd7cb01@sohara.org> From: Tomasz CEDRO Date: Fri, 8 Nov 2019 22:55:39 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: 12.1 on Thinkpad - problem making graphics work To: "Steve O'Hara-Smith" , FreeBSD Questions Mailing List Cc: "James E. Pace" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 478vGf2jjwz3ysY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=Q4mdWbjD; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::32e) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-4.80 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[e.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.50)[ip: (-8.09), ipnet: 2607:f8b0::/32(-2.34), asn: 15169(-2.01), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Nov 2019 21:55:56 -0000 On Fri, Nov 8, 2019 at 9:00 PM Steve O'Hara-Smith wrote: > Yes the one in pkg is the latest - but it's built on 12.0 not 12.1 > and that causes a problem. It's mentioned in the 12.1 Errata that you need > to build the port, however if that doesn't do the job I'm stumped. Sorry, I got angry, did a mistake somewhere. Did read the GitHub thread and with the hints I fixed my machine. Still I am surprised that this situation happened.. luckily I did not update my client machines ;-) Rebuilding latest graphics/drm-fbsd12.0-kmod DID SOLVE the problem for 12.1-RELEASE :-) # portsnap fetch update # cd /usr/ports/graphics/drm-fbsd12.0-kmod # make deinstall # make clean # make install Also make sure that rc.conf contains: kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko" Using the "default" drm.ko and i915.ko does not provide acceleration. Why are they bundled then? Also note that packages provided by PKG will not solve the problem because they are built on 12.0 and 12.1 allows loading them leading to crash (and there was some kernel API change between 12.0 and 12.1). Thank you! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info