From owner-svn-ports-all@freebsd.org Sun Feb 14 02:44:22 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9E11354644A; Sun, 14 Feb 2021 02:44:22 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DdWlp44knz3vqS; Sun, 14 Feb 2021 02:44:22 +0000 (UTC) (envelope-from leres@freebsd.org) Received: from ice.alameda.xse.com (unknown [IPv6:2600:1700:a570:e20:f2ad:4eff:fe0b:a065]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: leres) by smtp.freebsd.org (Postfix) with ESMTPSA id ED67423F7D; Sun, 14 Feb 2021 02:44:21 +0000 (UTC) (envelope-from leres@freebsd.org) Subject: Re: svn commit: r564088 - in head/x11: linux-nvidia-libs nvidia-driver nvidia-driver/files nvidia-settings nvidia-xconfig From: Craig Leres To: Alexey Dokuchaev Cc: Guido Falsi , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <202102050727.1157RtXv030475@repo.freebsd.org> <02fc41c6-d2dc-2dac-af0c-67a597f85eb4@FreeBSD.org> <20210206085720.GC98421@FreeBSD.org> <20210208013811.GA91311@FreeBSD.org> Message-ID: <66320c0e-022c-3302-0201-5151ad228c18@freebsd.org> Date: Sat, 13 Feb 2021 18:44:20 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2021 02:44:22 -0000 On 2/8/21 11:22 AM, Craig Leres wrote: > However, ever since booting with nvidia-driver-460.39 I've been seeing > intermittent xterm glitches related to running firefox and kicad. It > looks like some kind of hardware buffer swapping... Like something is > switching between slightly different versions of a window, sometimes > once every 5 seconds and sometimes very fast. And sometimes xterm > scrolling results in the line doubling that doesn't really exist. I see now this is a known problem with 460.39: https://www.nvidia.com/Download/driverResults.aspx/170134/en-us Vulkan with flipping enabled on Quadro cards can lead to graphic corruption. If you think you have run into it you can do either of the following as a workaround: - Disable flipping in nvidia-settings (uncheck "Allow Flipping" in the "OpenGL Settings" panel) - Disable UBB (run 'nvidia-xconfig --no-ubb') - Use a composited desktop This is the "additional information" for the linux x64 flavor that is missing from the FreeBSD flavor. And looking around Vulkan might not be supported for FreeBSD but the bug appears to be present. For FreeBSD I see that nvidia-settings can disable flipping but it's rare enough that I can usually close the window that causes the glitches. For reference all of my FreeBSD desktops use the Quadro 410. Craig