x11/nvidia-driver versions 358.16 and above - lockup when X server starts

Arto Pekkanen isoa at kapsi.fi
Wed Apr 13 23:22:33 UTC 2016


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 in
> the ports tree, but a port patch is being worked on to update it:
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201340
> 
> With a WITNESS kernel, my system always locks up when the X server
> starts after printing this:
> 
> 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_wrapper+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 0xfffffe06651c7590
> 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 0xfffffe000a188e60
> Apr  8 19:44:11 ivy kernel: dmapbase() at 0xfffff80011527800
> 
> The X server gets at least this far:
> 
> [   164.014] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
> [   164.014] (==) NVIDIA(0): RGB weight 888
> [   164.014] (==) NVIDIA(0): Default visual is TrueColor
> [   164.014] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
> [   164.015] (**) NVIDIA(0): Enabling 2D acceleration
> 
> 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.
> 
> Is there anything that the FreeBSD community can do with this info?  I
> have submitted a problem report to NVIDIA.
> 
> Bengt
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20160414/a0828ffa/attachment.sig>


More information about the freebsd-x11 mailing list