[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, 10 Jan 2024 19:55:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267606

Lena <Lena@lena.kiev.ua> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Lena@lena.kiev.ua

--- Comment #37 from Lena <Lena@lena.kiev.ua> ---
Latest versions from packages, currently
xf86-video-nv-2.1.22
xorg-server-21.1.10,1
worked for me under 12.4 and work now under 13.2 amd64,
CRT monitor HP P1120 attached to VGA socket of M2NPV-MX motherboard,
with /etc/X11/xorg.conf :

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "AllowEmptyInput" "off"
EndSection

Section "Files"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/usr/local/share/fonts/cyr-rfx-koi8-o/"
    FontPath        "/usr/local/share/fonts/webfonts/"
    FontPath        "/usr/local/share/fonts/cyrillic/"
    FontPath        "/usr/local/lib/X11/fonts/local/"
    FontPath        "/usr/local/share/fonts/misc/"
    FontPath        "/usr/local/share/fonts/dejavu/"
    FontPath        "/usr/local/share/fonts/TTF/"
    FontPath        "/usr/local/share/fonts/OTF"
    FontPath        "/usr/local/share/fonts/Type1/"
    FontPath        "/usr/local/share/fonts/75dpi/:unscaled"
    FontPath        "/usr/local/share/fonts/100dpi/:unscaled"
    FontPath        "/usr/local/lib/X11/fonts/CID/"
    FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath        "/usr/local/lib/X11/fonts/75dpi/"
    FontPath        "/usr/local/lib/X11/fonts/100dpi/"
    FontPath        "/usr/local/share/fonts/bitstream-vera/"
    FontPath        "/usr/local/share/ghostscript/fonts/"
    FontPath        "/usr/local/share/fonts/freefont-ttf"
    FontPath        "/usr/local/share/fonts/terminus-font/"
EndSection

Section "Module"
    Load           "extmod"
        Load  "record"
    Load           "dbe"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc101"
    Option         "XkbLayout" "us,ru"
    Option         "XkbVariant" ",legacy"
    Option        "XkbOptions" "grp:caps_toggle,grp_led:caps,shift:breaks_caps"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "ZAxisMapping" "4 5"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nv"
    VendorName     "nVidia Corporation"
    BoardName      "C51PV [GeForce 6150]"
       Option "UseEdidDpi"      "false"
       Option     "SWcursor" "on"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       1
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "800x600"
    EndSubSection
    SubSection     "Display"

        Viewport    0 0
        Depth       24
        Modes   "1024x768"
    EndSubSection
EndSection

Section "ServerFlags"
       Option "BlankTime"    "9999"
       Option "StandbyTime"  "9999"
       Option "SuspendTime"  "9999"
       Option "OffTime"      "9999"
       Option "UseEdidDpi"      "false"
       Option "AutoAddDevices" "off"
EndSection

pkg info -o xorg* xf*

xorg-7.7_3                     x11/xorg
xorg-apps-7.7_4                x11/xorg-apps
xorg-docs-1.7.2,1              x11/xorg-docs
xorg-drivers-7.7_7             x11-drivers/xorg-drivers
xorg-fonts-7.7_1               x11-fonts/xorg-fonts
xorg-fonts-100dpi-7.7          x11-fonts/xorg-fonts-100dpi
xorg-fonts-75dpi-7.7           x11-fonts/xorg-fonts-75dpi
xorg-fonts-cyrillic-7.7        x11-fonts/xorg-fonts-cyrillic
xorg-fonts-miscbitmaps-7.7     x11-fonts/xorg-fonts-miscbitmaps
xorg-fonts-truetype-7.7_1      x11-fonts/xorg-fonts-truetype
xorg-fonts-type1-7.7           x11-fonts/xorg-fonts-type1
xorg-libraries-7.7_5           x11/xorg-libraries
xorg-server-21.1.10,1          x11-servers/xorg-server
xorgproto-2023.2               x11/xorgproto
xf86-input-keyboard-1.9.0_5    x11-drivers/xf86-input-keyboard
xf86-input-libinput-1.3.0      x11-drivers/xf86-input-libinput
xf86-input-mouse-1.9.3_4       x11-drivers/xf86-input-mouse
xf86-video-ati-19.1.0_6,1      x11-drivers/xf86-video-ati
xf86-video-nv-2.1.22           x11-drivers/xf86-video-nv
xf86-video-scfb-0.0.7_1        x11-drivers/xf86-video-scfb
xf86-video-vesa-2.5.0_2        x11-drivers/xf86-video-vesa
xf86dga-1.0.3_1                x11/xf86dga

`xgamma -gamma 2` works with nv but doesn't work with vesa.

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