From nobody Sun Feb 4 15:41:41 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 4TSYdy2jKlz5B07t for ; Sun, 4 Feb 2024 15:41:42 +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 4TSYdy1dLvz4hJ9 for ; Sun, 4 Feb 2024 15:41:42 +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=1707061302; 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=kTqFQejb/OxrW5wExHZ8huUt1hsPzQg0NWmcbYdQICg=; b=BDLxv9PEzwoZpJhSDmGKJMZta7sBOz+tOEBKFSRZTnHA7FBq/gTUCXFro7FoAzIwmMFa5u nS7oSQJX2m0bnnMNjXDYONB9g/KlZQAFJzm/haNjViaSw+kVUzLQL0Ozxc2O/+rG1+gDOt DMBOnVDDRZkFQM9aXp05/f9rw0Q7R1OXHTJaHSpU/shYyejInRgSYX9pdLOOd3oiLsn5dY IMDll1qFuXd5B1uNM6Z15wc9EaP99vU/9M/Y9Gdp5mGOqI78Cn3fj/daLcn9CT0R9IWc86 KyeCuq47+4VBqA/eQ3t6PhydaetI3fBitE4Fryq1v5j8YdesA7Kg3u6WDmY6WA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707061302; a=rsa-sha256; cv=none; b=bok9Br48erfdPFi2njD6l0lg7ZwCKwHPYJjZBIAwlMlgRjWUwqSwu1dxJemndP3ggOIz0G fOQPxpB/ACHMH6ySJWhtd15GAa6tPAco8llOB/xMdIKn0U9gdPnCBkrgxJDTBnx7+UUq4T fRCvKyFm+S/kD92o8hONPjqDGYwJCZ+v4tqW14J0jAKYSnm6D6DGJafGd03Yu7/4FdZboK T0ibCEgGCUoe4+qIFWAbDVzgTywVC0eWfXu2dQUKRPuUpPdCJOtsBCpMJSvM46B6ZGGxtZ A8yIuPxG8Cp5QhC+v67mICVNcS9XtYC8/n6AOE0cdkQN/hVEmY6rakhbKeYy+g== 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 4TSYdy0hkRz12pQ for ; Sun, 4 Feb 2024 15:41:42 +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 414FfgW0097776 for ; Sun, 4 Feb 2024 15:41:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 414FfgWc097775 for x11@FreeBSD.org; Sun, 4 Feb 2024 15:41:42 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: Sun, 04 Feb 2024 15:41:41 +0000 X-Bugzilla-Reason: AssignedTo CC 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 #50 from Sergiy --- Thank you all! I am not giving up on further attempts to understand what happened to my Toshiba Satellite A200-1GS after the update (2022.10.10): ... xorg-server: 1.20.14,1 -> 21.1.4_1,1 ... xf86-video-nv: 2.1.21_4 -> 2.1.21_5 but it was at this stage that something happened. The source code of xf86-video-nv has hardly changed significantly since the= n. The open source nv Xenocara module also almost matches xf86-video-nv-2.1.22, but it works on OpenBSD with this laptop.=20 As well as xf86Mode.c in xorg-servers and Xenocara did not change. There were no hardware changes, it's the same Toshiba Satellite A200-1GS... I see (from my notes) that my attempts to find something, I don't know what, are going in more than one circle. Yes, I lack knowledge.... Sorry. Given the fact that the xf86-video-nv driver still works fine for many and = is the driver of last resort for some PCs, I'm aware of the implications of changing it. --- Surprisingly, I tried to change the hardware of my Toshiba Satellite A200-1= GS to some extent - I connected a Dell SP2208WFP monitor through the laptop's = VGA connector. And startx without any configuration files in xorg.conf.d and I got native = for this monitor - 1680x1050 in TWM: xrandr: Failed to get size of gamma for output default=20 Screen 0: minimum 320 x 240, current 1680 x 1050, maximum 1680 x 1050=20 default connected 1680x1050+0+0 0mm x 0mm=20 1680x1050 60.00*=20 1400x1050 75.00 60.00=20=20=20 1600x900 60.00=20=20=20 1280x1024 75.00 60.00=20=20=20 1400x900 60.00=20=20=20 1280x960 60.00=20=20=20 1368x768 60.00=20=20=20 1280x800 60.00=20=20=20 1152x864 75.00=20=20=20 1280x720 60.00=20=20=20 1024x768 75.00 70.00 60.00=20=20=20 896x672 60.00=20=20=20 1024x576 60.00=20=20=20 960x600 60.00=20=20=20 832x624 75.00=20=20=20 960x540 60.00=20=20=20 800x600 75.00 72.00 65.00 60.00 56.00=20=20=20 840x525 60.00=20=20=20 864x486 60.00=20=20=20 700x525 75.00 60.00=20=20=20 800x450 60.00=20=20=20 640x512 75.00 60.00=20=20=20 700x450 60.00=20=20=20 640x480 75.00 73.00 60.00=20=20=20 720x400 70.00=20=20=20 684x384 60.00=20=20=20 640x400 60.00=20=20=20 576x432 75.00=20=20=20 640x360 60.00=20=20=20 512x384 75.00 70.00 60.00=20=20=20 512x288 60.00=20=20=20 416x312 75.00=20=20=20 480x270 60.00=20=20=20 400x300 75.00 72.00 60.00 56.00=20=20=20 432x243 60.00=20=20=20 320x240 75.00 73.00 60.00=20 So the driver xf86-video-nv-2.1.22 works without problems on this laptop but with a different monitor.=20 Why with native monitor I get: ... [ 34.107] (II) NV(0): Not using default mode "1280x800" (bad mode clock/interlace/doublescan)=20 [ 34.107] xf86InitialCheckModeForDriver(0x83413aa00, 0x834186280 (null), 0x8340a07e0, 0x1, 4080, 0, 0)=20 [ 34.107] xf86CheckModeForMonitor(0x834186280 (null), 0x83412c1c0 )=20 [ 34.107] (EE) Segmentation fault at address 0x0=20 [ 34.107] (EE)=20 Fatal server error:=20 [ 34.107] (EE) Caught signal 11 (Segmentation fault). Server aborting ... Whereas on OpenBSD the same monitor: ... [ 22.555] (II) NV(0): Not using default mode "1280x800" (bad mode clock/interlace/doublescan)=20 [ 22.555] (II) NV(0): Virtual size is 1280x800 (pitch 1280) ... And the same driver with a Dell monitor: ... [ 37.869] (II) NV(0): Virtual size is 1680x1050 (pitch 1680) ... I can not understand... --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=