Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2024 18:22:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 267606] x11-drivers/xf86-video-nv: Segmentation Fault post update from 1.20.14,1 to 21.1.4
Message-ID:  <bug-267606-7141-41wVp9hMfe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267606-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267606-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267606

--- Comment #43 from Sergiy <Black_N@ukr.net> ---
(In reply to Yusuf Khan from comment #42)
Thank you!

I tried but maybe I did something wrong...
I did it like this:
I downloaded the port tree to the virtual machine:
# git clone https://git.FreeBSD.org/ports.git -b 2024Q1 /usr/ports=20

I also downloaded
https://xorg.freedesktop.org/archive/individual/drive
r/xf86-video-nv-2.1.22.tar.xz
And unpacked the archive and made the appropriate changes to the file
nv_driver.c (22 insertions) in the appropriate places.

I created xf86-video-nv-2.1.22.tar.xz archive and copied it to
/usr/ports/distfiles/xorg/driver

In the /usr/ports/x11-drivers/xf86-video-nv directory, made changes to the
distinfo file according to the received archive (changed): SHA256.., SIZE...

.. I tried to build the pkg by running:
/usr/ports/x11-drivers/xf86-video-nv # make package
and got xf86-video-nv-2.1.22.pkg

Then transferred it to the laptop.
On the laptop, I deleted the original package xf86-video-nv-2.1.22.pkg, cle=
ared
the cache.
Copied the modified file xf86-video-nv-2.1.22.pkg to /var/cache/pkg and
installed it
root@T0SHA:/var/cache/pkg # pkg add xf86-video-nv-2.1.22.pkg
Accordingly received
/usr/local/lib/xorg/modules/drivers/nv_drv.so

Rebooted.... And...

..
[    52.689] (II) NV(0): Panel is LVDS
[    52.689] (--) NV(0): VideoRAM: 262144 kBytes
[    52.689] (=3D=3D) NV(0): Using gamma correction (1.0, 1.0, 1.0)
[    52.689] (EE) Segmentation fault at address 0x4c
[    52.689] (EE)=20
Fatal server error:
[    52.690] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    52.690] (EE)=20

Perhaps this is the result of my activity.
Maybe I'm doing something completely wrong.=20
Sorry.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267606-7141-41wVp9hMfe>