From owner-freebsd-x11@freebsd.org Wed Apr 13 23:22:33 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD04FB0EF63 for ; Wed, 13 Apr 2016 23:22:33 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 704A31E60 for ; Wed, 13 Apr 2016 23:22:33 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from 91-159-15-56.elisa-laajakaista.fi ([91.159.15.56] helo=[192.168.255.143]) by mail.kapsi.fi with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1aqU7D-0004rG-QG; Thu, 14 Apr 2016 02:22:31 +0300 Subject: Re: x11/nvidia-driver versions 358.16 and above - lockup when X server starts To: Bengt Ahlgren References: Cc: freebsd-x11@freebsd.org From: Arto Pekkanen Message-ID: <570ED4B7.6050703@kapsi.fi> Date: Thu, 14 Apr 2016 02:22:31 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Oqxi85csVgM6UGNF9ruqsUI4OuobOQJj1" X-SA-Exim-Connect-IP: 91.159.15.56 X-SA-Exim-Mail-From: isoa@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2016 23:22:33 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Oqxi85csVgM6UGNF9ruqsUI4OuobOQJj1 Content-Type: multipart/mixed; boundary="UlLS7wQW7gVBlhs5c9JHCJ2aaJuAgThRj" From: Arto Pekkanen To: Bengt Ahlgren Cc: freebsd-x11@freebsd.org Message-ID: <570ED4B7.6050703@kapsi.fi> Subject: Re: x11/nvidia-driver versions 358.16 and above - lockup when X server starts References: In-Reply-To: --UlLS7wQW7gVBlhs5c9JHCJ2aaJuAgThRj Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable At this point I'd just follow the mentioned bugzilla link and wait for answer from nVidia. If you get a reply from nVidia, posting it to bugzilla might help. You could also discuss this in the nVidia forums, but I am not sure that helps. On 08.04.2016 22:18, Bengt Ahlgren wrote: > There seems to be a locking problem in the newer nvidia drivers (358.16= > and above that have the new nvidia-modeset.ko module). These are not i= n > the ports tree, but a port patch is being worked on to update it: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201340 >=20 > With a WITNESS kernel, my system always locks up when the X server > starts after printing this: >=20 > Apr 8 19:44:11 ivy kernel: acquiring duplicate lock of same type: "os.= lock_sx" > Apr 8 19:44:11 ivy kernel: 1st os.lock_sx @ nvidia_os.c:593 > Apr 8 19:44:11 ivy kernel: 2nd os.lock_sx @ nvidia_os.c:593 > Apr 8 19:44:11 ivy kernel: KDB: stack backtrace: > Apr 8 19:44:11 ivy kernel: db_trace_self_wrapper() at db_trace_self_wr= apper+0x2b/frame 0xfffffe06651c7410 > Apr 8 19:44:11 ivy kernel: kdb_backtrace() at kdb_backtrace+0x39/frame= 0xfffffe06651c74c0 > Apr 8 19:44:11 ivy kernel: witness_checkorder() at witness_checkorder+= 0xe24/frame 0xfffffe06651c7550 > Apr 8 19:44:11 ivy kernel: _sx_xlock() at _sx_xlock+0x75/frame 0xfffff= e06651c7590 > Apr 8 19:44:11 ivy kernel: os_acquire_mutex() at os_acquire_mutex+0x32= /frame 0xfffffe06651c75b0 > Apr 8 19:44:11 ivy kernel: _nv014117rm() at _nv014117rm+0x18/frame 0xf= ffffe000a188e60 > Apr 8 19:44:11 ivy kernel: dmapbase() at 0xfffff80011527800 >=20 > The X server gets at least this far: >=20 > [ 164.014] (=3D=3D) NVIDIA(0): Depth 24, (=3D=3D) framebuffer bpp 32 > [ 164.014] (=3D=3D) NVIDIA(0): RGB weight 888 > [ 164.014] (=3D=3D) NVIDIA(0): Default visual is TrueColor > [ 164.014] (=3D=3D) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)= > [ 164.015] (**) NVIDIA(0): Enabling 2D acceleration >=20 > Without WITNESS, it locks up perhaps 1/3 of the time, and works fine > afterways if it didn't. I run FreeBSD 10.3-PRERELEASE amd64 r296673 on= > a desktop with a Z77 motherboard and a GeForce GTX 550 Ti. >=20 > Is there anything that the FreeBSD community can do with this info? I > have submitted a problem report to NVIDIA. >=20 > Bengt > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >=20 --UlLS7wQW7gVBlhs5c9JHCJ2aaJuAgThRj-- --Oqxi85csVgM6UGNF9ruqsUI4OuobOQJj1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlcO1LcACgkQTBivhqtJa27vegD9HGMcQtMksK3nOrNT+5WXDh6e vbsKRXNDcZ2v18//+1kBAIBIL6bmlAG7N+pHFVcrGytakpsQSjGIC/uEq+ipYa1D =PY/c -----END PGP SIGNATURE----- --Oqxi85csVgM6UGNF9ruqsUI4OuobOQJj1--