From nobody Tue Jun 7 14:42:49 2022 X-Original-To: freebsd-x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A70807F138E for ; Tue, 7 Jun 2022 14:42:59 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LHY4L3Lwyz4SYC; Tue, 7 Jun 2022 14:42:57 +0000 (UTC) (envelope-from pete@nomadlogic.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1654612971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jFEvX3yTQ4dr94RcyScYF7FfbzJHEqmzuHSrtsGAE1c=; b=tcnqvBatCkdlLfFei/4HmpKtshfcTq+8hUV/S42wk+bgMKDcQgIbrNB2txW9IgEiIgNRQq ISCKuajoeccfDaHD0uUn6V5KzLxVNZ8K3jsM+Glm13hZeh4iQa+QztTaNL7Z1kbRTDkorS GhAo+9QfbRIoPViMcBRcFrb8lCXnEr4= Received: from topanga (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 5e907c21 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 7 Jun 2022 14:42:50 +0000 (UTC) Date: Tue, 7 Jun 2022 07:42:49 -0700 From: Pete Wright To: Gleb Popov Cc: "freebsd-x11@freebsd.org" Subject: Re: Nvidia Optimus Crash When Starting Xorg Message-ID: <20220607144249.beknikii3x3j34ol@topanga> References: <20220604231525.ybdydr4edglnnsb4@topanga.nomadlogic.org> <20220604234552.lomrfz4sngtkxxpu@colony.nomadlogic.org> List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4LHY4L3Lwyz4SYC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=tcnqvBat; dmarc=pass (policy=quarantine) header.from=nomadlogic.org; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[nomadlogic.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-x11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, Jun 07, 2022 at 09:04:33AM +0300, Gleb Popov wrote: > On Sun, Jun 5, 2022 at 2:51 AM Pete Wright wrote: > > > <...> > > > > I am rebuilding xorg-server now with debug symbols to see if that helps > > narrow down what's happening. > > > > -pete > > > > -- > > Pete Wright > > pete@nomadlogic.org > > @nomadlogicLA > > > > > > > > > > > Hi Pete, I also have this problem. Did you manage to debug this further? hey there, Theron and I had a chat privately and the workaround seems to be to use the older Nvidia 470 driver. I think what happened is that support to my Optimus card was dropped in the 5xx series, as once I loaded this older driver dmesg reported the card as detected and Xorg-headless no longer crashes. i can share pkg's if you'd like, i'm hoping today, time permitting to submit a bug report with diff to add a 470 flavor to nvidia-hybrid-graphics along with a nvidia-secondary-driver-470 pkg. cheers, -pete -- Pete Wright pete@nomadlogic.org