From nobody Mon Feb 19 21:52:14 2024 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tdx8b4L4pz59Yxx for ; Mon, 19 Feb 2024 21:52:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tdx8b2Z6xz4Ssw for ; Mon, 19 Feb 2024 21:52:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708379535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b/q6QosB/J0+KJ6TUZzdLfFoMzTwIMzSMtn+v1xEr84=; b=xyi4xm1Wvpok8kd0kDx+BHPpLEsgSqM++yjNNjWwZFGX6zg94ki2oM/jKL7IAgWBcXMEIK KkzutOAnH9n5lHvdWK+31ZZKU4amofkXagrrOiGc7v+bvIfTDK1Y7s45ko3COGCDK295Hz ekxWbRTecm03rX0cliEC3/Yc7OgIHNsPlFisThtzghZZa0PinFKgLofbOSeQJqHhcR+ypT dbVa9tr+Z0H/jd9/QZ7a/6iFF5Pfmxco6R7Kt7smG3cDw9LVEJpy+O2k/cfdNhIMx9pQ6N 7b3Y0EE+ylwk59MEIiBPqqjU3GAQUc9WMR4Q9YAU5eDA/M+CCx0SAv0G4+2/yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708379535; a=rsa-sha256; cv=none; b=fwqT+uWesdOI2QHnjW5IH+J2gFnsFf+J9RwWH8K8Z+pMttcDl05VVGn0zUrjLNo9XtuBT8 J4493aMqKEVzpN6WrfTrNvUbE1do5Mnhp6qAJRZLDLecDx1SYXHaAf7MuYj4M7LCSzwtUg Ah8HPVchmtEc1/RZPRL4bhVqadzAKJi+biSTZCqA2qRpl0mFAkoeGcXUhzdCiQPETI2qzK 7Kk2Tjy1pIok0LKXLnKT58LfHkxnxRuq9nP5qO1n9lR9n/II2wJBbi9yjYckkz8tRSCDpw g+LTlMt4DfPJ0EpT145OMIBbRdw3OcoP9fO+/6S1I+ppp01WkNRZOaXImZomPw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tdx8b1gTlzs9t for ; Mon, 19 Feb 2024 21:52:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41JLqFST002769 for ; Mon, 19 Feb 2024 21:52:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41JLqFvn002768 for x11@FreeBSD.org; Mon, 19 Feb 2024 21:52:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Mon, 19 Feb 2024 21:52:14 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Black_N@ukr.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267606 --- Comment #52 from Sergiy --- (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.=