[Bug 267606] x11-drivers/xf86-video-nv: Segmentation Fault post update from 1.20.14,1 to 21.1.4

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 18 Jan 2023 13:20:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267606

--- Comment #21 from Gary Jennejohn <gljennjohn@gmail.com> ---
(In reply to Sergiy from comment #19)
Well, looking at the latest Xorg.log it seems that the nv driver works as
intended.  The basic problem is that the driver can't find a suitable value for
hsync and vrefresh and, as a result, has to abort.
Looking at the values in stack 12 in post 20 it's obvious that the hsync and
vrefresh values are ridiculously small.
Apparently you don't have a xorg.conf with a Monitor section and the driver is
making a wild guess about the suitable clocks.
If you have the hsync and vrefresh information for your screen then you should
definitely add a Monitor section!
As an example, this is what I have in my xorg.conf:

Section "Monitor"
Identifier      "BenQ"
HorizSync       31.5 - 82.0
VertRefresh     50.0 - 90.0
EndSection

Section "Device"
    Identifier     "GeForce1050Ti"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Screen 1"
    Device         "GeForce1050Ti"
    Monitor        "BenQ"
    DefaultDepth    24
EndSection

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.