Date: Mon, 19 Feb 2024 21:52:14 +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-rsq6v2R0H1@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 #52 from Sergiy <Black_N@ukr.net> --- (In reply to Yusuf Khan from comment #51) Ok, I have some result. I followed the path of inspecting the source code of the hw directory chang= es: xorg-server-1.20.14 (which worked) xorg-server-21.1.4 (stopped working) xorg-server-21.1.11 (installed now) Xenocara (OpenBSD worked). I will not describe in detail, the process itself... And the differences made by the OpenBSD developers in the file hw/xfree86/modes/xf86Modes.c helped me: --- 2024_xorg-server-21.1.11/xorg-server-21.1.11/hw/xfree86/modes/xf86Modes= .c=20=20 2024-01-16 11:59:07.000000000 +0200 +++ 2024_Xenocara_xserver/hw/xfree86/modes/xf86Modes.c 2024-01-31 15:22:06.000000000 +0200 @@ -803,10 +803,14 @@ { struct libxcvt_mode_info *libxcvt_mode_info; DisplayModeRec *Mode =3D xnfcalloc(1, sizeof(DisplayModeRec)); + char *tmp; libxcvt_mode_info =3D libxcvt_gen_mode_info(HDisplay, VDisplay, VRefresh, Reduced, Interlaced); + XNFasprintf(&tmp, "%dx%d", HDisplay, VDisplay); + Mode->name =3D tmp; +=20=20=20=20 Mode->VDisplay =3D libxcvt_mode_info->vdisplay; Mode->HDisplay =3D libxcvt_mode_info->hdisplay; Mode->Clock =3D libxcvt_mode_info->dot_clock; I modified this file in the xorg-server-21.1.11 source code (or rather borr= owed it from Xenocara), created the xorg-server-21.1.11.tar.xz archive and downloaded it to /usr/ports/distfiles/ on my laptop. In the xorg-server directory of the port tree, made changes to the distinfo file according to the received archive (changed): SHA256.., SIZE... and:=20 # make install=20 ... # make clean (Having first removed the installed xorg-server.) As a result, when I enter startx, I get TWM on the laptop screen with a nat= ive extension of 1280x800. This worked for me. I will try to create a suitable package to replace xorg-server on a differe= nt, non-test disk. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267606-7141-rsq6v2R0H1>