Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2022 03:12:46 -0400
From:      Theron <theron.tarigo@gmail.com>
To:        x11-list freebsd <freebsd-x11@freebsd.org>
Subject:   Re: Nvidia Optimus Crash When Starting Xorg
Message-ID:  <91047e63-ca61-0935-af88-7504b8620d2f@gmail.com>
In-Reply-To: <4b01d2a9-61b9-bd6b-143b-a19870e6127e@gmail.com>
References:  <20220604231525.ybdydr4edglnnsb4@topanga.nomadlogic.org> <20220604234552.lomrfz4sngtkxxpu@colony.nomadlogic.org> <CALH631nDDH9eunqgeOiwZeMiN12X__OrPyMmkupQNaF0xg3Psw@mail.gmail.com> <20220607144249.beknikii3x3j34ol@topanga> <4b01d2a9-61b9-bd6b-143b-a19870e6127e@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/7/22 23:15, Theron wrote:
>> I see roughly the same:
>>
>> nvidia-secondary-driver-510.60.02_1
>>
>> [   222.989] (EE) Backtrace:
>> [   222.990] (EE) 0: /usr/local/bin/Xorg (?+0x0) [0x41853a]
>> [   222.991] (EE) unw_get_proc_name failed: no unwind info found [-10]
>> [   222.991] (EE) 1: /lib/libthr.so.3 (?+0x0) [0x8273185be]
>> [   222.992] (EE) unw_get_proc_name failed: no unwind info found [-10]
>> [   222.992] (EE) 2: /lib/libthr.so.3 (?+0x0) [0x827317b6f]
>> [   222.992] (EE) 3: ? (?+0x0) [0x7ffffffff2d3]
>> [   222.993] (EE) 4: ? (?+0x0) [0x0]
>> [   222.994] (EE) 5: 
>> /usr/local/lib/xorg/modules/drivers/nvidia_drv.so (?+0x0) [0x83cca750f]
>> [   222.995] (EE) 6: ? (?+0x0) [0x0]
>> [   222.995] (EE) unw_step failed: unspecified (general) error [-1]
>> [   222.995] (EE)
>> [   222.995] (EE) Segmentation fault at address 0x0
>> [   222.995] (EE)
>> Fatal server error:
>> [   222.995] (EE) Caught signal 11 (Segmentation fault). Server aborting
>> [   222.995] (EE)
>> [   222.995] (EE)
>>
>> $ uname -a
>> FreeBSD theron-xps 14.0-CURRENT FreeBSD 14.0-CURRENT #44 main-809922b010
>
> Nvidia driver download website recommends 515.48.07 for my chip - I'll 
> try to update to that and test if the crash is fixed.

Version 515.48.07: Same crash, but slightly more forthcoming of 
information, note "nvidiaUnlock":

[219738.129] (EE) Backtrace:
[219738.134] (EE) 0: /usr/local/bin/Xorg (?+0x0) [0x41853a]
[219738.137] (EE) unw_get_proc_name failed: no unwind info found [-10]
[219738.137] (EE) 1: /lib/libthr.so.3 (?+0x0) [0x829f8a5be]
[219738.140] (EE) unw_get_proc_name failed: no unwind info found [-10]
[219738.140] (EE) 2: /lib/libthr.so.3 (?+0x0) [0x829f89b6f]
[219738.142] (EE) 3: ? (?+0x0) [0x7ffffffff2d3]
[219738.144] (EE) 4: ? (?+0x0) [0x0]
[219738.146] (EE) 5: /usr/local/lib/xorg/modules/drivers/nvidia_drv.so 
(nvidiaUnlock+0x4194f) [0x83caa854f]
[219738.148] (EE) 6: ? (?+0x0) [0x0]
[219738.148] (EE) unw_step failed: unspecified (general) error [-1]
[219738.148] (EE)
[219738.148] (EE) Segmentation fault at address 0x0
[219738.148] (EE)
Fatal server error:
[219738.148] (EE) Caught signal 11 (Segmentation fault). Server aborting


> If I recall correctly, everything's in place since there is already a 
> -390 flavor for the oldest Optimus systems, adding -470 should be 
> trivial.

$ cat nvidia-secondary-driver-470/Makefile

MASTERDIR=        ${.CURDIR}/../nvidia-driver-470
NVSDR_MASTERDIR=    ${.CURDIR}/../nvidia-secondary-driver

.include "${NVSDR_MASTERDIR}/Makefile"

nvidia-secondary-driver-470-470.103.01 - works.

I wonder whether the 5xx drivers work at all (even for non-Optimus 
configuration GPUs) on -CURRENT?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?91047e63-ca61-0935-af88-7504b8620d2f>