Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2022 16:45:52 -0700
From:      Pete Wright <pete@nomadlogic.org>
To:        "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org>
Subject:   Re: Nvidia Optimus Crash When Starting Xorg
Message-ID:  <20220604234552.lomrfz4sngtkxxpu@colony.nomadlogic.org>
In-Reply-To: <20220604231525.ybdydr4edglnnsb4@topanga.nomadlogic.org>
References:  <20220604231525.ybdydr4edglnnsb4@topanga.nomadlogic.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 04, 2022 at 04:15:25PM -0700, Pete Wright wrote:
> hello,
> I've noticed recently that the I am getting a segfault when trying to
> start the secondary Nvidia Headless Xorg binary on my Optimus system.  I
> have verified that I am loading the nvidia.ko (but get same results with
> the nvidia-modeset.ko as well).  Here's a snippet from my Xorg.8.log
> when i run "/usr/local/bin/Xorg-nvidia-headless":
> 

interestingly enough i also get a panic from xorg when resuming from sleep:

[  5476.399] (II) AIGLX: Suspending AIGLX clients for VT switch
[  5485.988] (EE)
[  5485.988] (EE) Backtrace:
[  5485.994] (EE) 0: /usr/local/bin/Xorg (?+0x0) [0x41853a]
[  5486.000] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  5486.000] (EE) 1: /lib/libthr.so.3 (?+0x0) [0x8280ad9de]
[  5486.008] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  5486.008] (EE) 2: /lib/libthr.so.3 (?+0x0) [0x8280acf8f]
[  5486.021] (EE) 3: ? (?+0x0) [0x7ffffffff8a3]
[  5486.034] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  5486.034] (EE) 4: /lib/libc.so.7 (?+0x0) [0x82b34409a]
[  5486.039] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  5486.039] (EE) 5: /lib/libthr.so.3 (?+0x0) [0x8280ace50]
[  5486.046] (EE) unw_get_proc_name failed: no unwind info found [-10]
[  5486.046] (EE) 6: /lib/libc.so.7 (?+0x0) [0x82b36df09]
[  5486.052] (EE) 7: /usr/local/lib/dri/iris_dri.so (?+0x0) [0x84234fc56]
[  5486.056] (EE) 8: /usr/local/lib/dri/iris_dri.so (?+0x0) [0x84234d624]
[  5486.060] (EE) 9: /usr/local/lib/dri/iris_dri.so (?+0x0) [0x8418a9800]
[  5486.064] (EE) 10: /usr/local/lib/xorg/modules/libglamoregl.so (?+0x0) [0x83b91a8c9]
[  5486.068] (EE) 11: /usr/local/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) [0x83922104b]
[  5486.071] (EE) 12: /usr/local/bin/Xorg (?+0x0) [0x2a481e]
[  5486.074] (EE) 13: /usr/local/bin/Xorg (?+0x0) [0x410cba]
[  5486.076] (EE) 14: /usr/local/bin/Xorg (?+0x0) [0x29927c]
[  5486.077] (EE) 15: /usr/local/bin/Xorg (?+0x0) [0x2a3cac]
[  5486.079] (EE) 16: /usr/local/bin/Xorg (?+0x0) [0x28c690]
[  5486.081] (EE) 17: ? (?+0x0) [0x821ebd008]

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
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220604234552.lomrfz4sngtkxxpu>