Bug 270818

Summary: x11/nvidia-driver-340: GeForce GT 240/PCIe/SSE2: [panic: vm_fault_lookup: fault on nofault entry]: Random kernel panics upon opening OpenGL based windows
Product: Ports & Packages Reporter: gordon.zar
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: New ---    
Severity: Affects Only Me CC: gordon.zar, grahamperrin
Priority: --- Keywords: crash
Version: LatestFlags: bugzilla: maintainer-feedback? (danfe)
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Kernel panic crash dump from /var/crash/
none
another crashlog from a crash none

Description gordon.zar 2023-04-13 16:37:54 UTC
Created attachment 241459 [details]
Kernel panic crash dump from /var/crash/

Using the nvidia-340 driver

I experience frequent crashes that manifest whenever I try to run a OpenGL application.
This doesn't always happen but rather seemingly at random.
It does seem to happen more frequently when my CPU is under higher load.

The entire screen freezes, I can no longer interact with the system, mouse locks up
keyboard locks up (or at least I don't see it respond since my screen is frozen)
and then eventually my system just reboots.

I have to use the  -ignoreABI option when starting the X server due to my old hardware.

I am attaching a crash.txt file created upon the crash. I can also provide the vmcore if required (but its over 1.5GB in size).
Comment 1 gordon.zar 2023-04-13 16:43:04 UTC
FreeBSD blackbsd 13.1-RELEASE-p6 FreeBSD 13.1-RELEASE-p6 GENERIC amd64
Comment 2 gordon.zar 2023-04-14 20:57:59 UTC
Created attachment 241490 [details]
another crashlog from a crash

This is another crash i got just now.
Attaching a crashlog, this time it came from running xdg-open xxx.pdf
Seems to stem from the same nvidia.ko driver