[Bug 287894] x11/nvidia-driver: panic on exit from Xorg

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287894

Tomoaki AOKI <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Tomoaki AOKI <[email protected]> ---
How do you loading nvidia driver kmods?
If you're loading them via /boot/loader.conf, stop doing so and try loading via
kld_list variable in /etc/rc.conf[.local] as seen in pkg-message.

This is because of the limitations of memory area to load kernel and kmods
listed in /boot/loader.conf and its poor error checking, making possibilities
that loaded driver kmods are actually truncated (nvidia-modeset.ko auto-loads
nvidia-ko) and access to the truncated area surely causes undefined behavior
including yours.

If you're loading via /etc/rc.conf[.local], the above does not matter, as
enough memory is (if not really short in physical memory) allocated on loading
each modules.

In this case, try enabling GSP firmware with

hw.nvidia.registry.EnableGpuFirmware=1

in your /boot/loader.conf, as GTX1650 should be Turing generation and has GSP
in it.
Why needed to be in /boot/loader.conf is that it must be set BEFORE nvidia.ko
is loaded into memory, thus, other way like setting in /etc/sysctl.conf could
be too late.


Enabling it should stop suspend/resume to work (thus, disabling by default on
ports side), but possibly make some differences.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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.