From nobody Sat Jun 26 07:12:37 2021 X-Original-To: freebsd-hackers@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 3D51411CA50E for ; Sat, 26 Jun 2021 07:12:45 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (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 4GBlSX1BFQz3kB2 for ; Sat, 26 Jun 2021 07:12:43 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm1-x335.google.com with SMTP id a5-20020a7bc1c50000b02901e3bbe0939bso7286520wmj.0 for ; Sat, 26 Jun 2021 00:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=u4Ih/5c+9otv0TfnW1JTWdjvCKOtTuDByfvmePUymfA=; b=Lqhs6AwydSsGbMBv+BwmLXOKS6QcNHDicULCLK48FIGiSKdISLGQ41X5H1rp4p5Qu6 MyADjYe2zfxsA7GJjNOkOjN2gLEjbN3En0v6zAshB0Cg5b6QMqn/oXI67NCPtNSYj08F fbJqsXVEWX3weYJRrtCjVDY/8gimhyw4sBemJPvLPq/kjLNvSL5NkGgf7rzbm3lFNTJd nOt5rY2TmqWuefZpaUamgMPITlJxIckKSMgEaN59ZuuoZrrDbC3ATqD631jBSz56F3sU 50dHkOWUaT9ICHp3q4UdPpdkzrAqWKi1xVYFlZS8R73uS4GNE5IGkb41EW8qF9c4c+wz zicA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=u4Ih/5c+9otv0TfnW1JTWdjvCKOtTuDByfvmePUymfA=; b=pEVSGCf5MIdYqQdaQFPLAixmCX43gsz791/nJEfpDY2mLOJh/jsK8FzipUv5Y2tOAG fXQU0yg/dEQe+XUzyLGSKk/3f9aFvpE8leRVisxlD2cNRu8O/NT7gF2AaeqkzeVAmYYT 77zIqZC1tU/raRFovCNF39UutVhzHHPK7IZFFqcVIxcgUT92nBS+DjiDm0zjeJG2OnL0 nZ+SHZyhluVoTcFK0WBwvzbIhZFOKrT6b43zP7A4n5jlSi0abnrxMFrykeIj/vIEJKf4 wi9MvvYpvN8mqNZMzgb/Llx4wpiEGyXKpS/RxzoVzPIT/k26c5TVRiSwORIrr2v3fe/A VSsw== X-Gm-Message-State: AOAM531ataBodiYg+PoF5WaRtzEsAHRQzrxsOtQBtsFQvxAlLDAhjBot VbtzgARFbuo2vt1iuFj5beqqvmlRlKA= X-Google-Smtp-Source: ABdhPJw85XT5J9aQg7FcVsRh1wwL0I7ZZTNKv8Vfj8SygQZA72lp5k6fNUSt6d0Fg3JNyd6w6+zpCA== X-Received: by 2002:a1c:1f49:: with SMTP id f70mr14886486wmf.57.1624691562226; Sat, 26 Jun 2021 00:12:42 -0700 (PDT) Received: from ernst.home (pd9e2360f.dip0.t-ipconnect.de. [217.226.54.15]) by smtp.gmail.com with ESMTPSA id d4sm7628374wmd.42.2021.06.26.00.12.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Jun 2021 00:12:41 -0700 (PDT) Date: Sat, 26 Jun 2021 09:12:37 +0200 From: Gary Jennejohn To: FreeBSD Hackers Subject: Re: nvidia_drv.so/Xorg crashes Message-ID: <20210626071237.70eb320c@ernst.home> In-Reply-To: <1891eb32-87fa-6ae0-b351-b01eb77652d9@freebsd.org> References: <1891eb32-87fa-6ae0-b351-b01eb77652d9@freebsd.org> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4GBlSX1BFQz3kB2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Lqhs6Awy; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-3.99 / 15.00]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.991]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::335:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[217.226.54.15:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::335:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::335:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-hackers] X-ThisMailContainsUnwantedMimeParts: N On Fri, 25 Jun 2021 17:53:39 -0700 Craig Leres wrote: > On 6/24/21 5:45 PM, Stefan Blachmann wrote: > > I'd suggest to ditch the packaged drivers (nvidia-driver-...) and try > > using the nvidia driver from the nvidia driver site. > > You have to build and install them according the README in the archive. > > > > The packaged drivers have some changes that are not approved by nvidia. > > This can cause problems, for example with suspend/resume. > > Good idea. I downloaded/built/installed 460.84... and was able to crash Xorg within 60 seconds of launching it. And looking at what the nvidia-driver port patches, they seem mostly related to allowing use without having the linux framework present. > > On 6/24/21 8:54 PM, Fernando Apestegu__a wrote: > > Long shot, but libglvnd update affected x11/nvidia-driver. Have a look > > at UPDATING 20210617 > > I noticed the switch from the bundled libglvnd to the port version but I was having crashes well before that change (June 16th). Looking for Xid errors in /var/log/messages I think I started having this problem on May 25th. > This raises a question for me. I have nvidia-driver 460.67 built Thu Mar 11 00:03:14 UTC 2021 installed and working without any problem. I disabled Linux support in the port config. On my system libglvnd is not to be found anywhere outside the ports tree, i.e. the shared library was never installed under /usr/local. So, why is this library suddenly being required for nividia-driver? -- Gary Jennejohn