Re: Nvidia Optimus Crash When Starting Xorg

Pete Wright <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
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
[email protected]
@nomadlogicLA
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.