From nobody Mon Sep 16 19:35:38 2024 X-Original-To: freebsd-hackers@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 4X6wBG4xdPz5WnRx for ; Mon, 16 Sep 2024 19:35:50 +0000 (UTC) (envelope-from alex@protasenko.com) Received: from mail.bkmks.com (mail.bkmks.com [IPv6:2600:3c05::f03c:93ff:fe4a:5395]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4X6wBF4rNbz4pJ4 for ; Mon, 16 Sep 2024 19:35:49 +0000 (UTC) (envelope-from alex@protasenko.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bkmks.com header.s=mail header.b=PsOHUEta; dmarc=none; spf=pass (mx1.freebsd.org: domain of alex@protasenko.com designates 2600:3c05::f03c:93ff:fe4a:5395 as permitted sender) smtp.mailfrom=alex@protasenko.com Received: from [IPV6:2600:4040:a62f:3c00:aaa1:59ff:fee4:9880] (unknown [IPv6:2600:4040:a62f:3c00:aaa1:59ff:fee4:9880]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) (Authenticated sender: aprotasenko@bkmks.com) by mail.bkmks.com (Postfix) with ESMTPSA id 8E3C5273ED for ; Mon, 16 Sep 2024 15:35:42 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.bkmks.com 8E3C5273ED DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bkmks.com; s=mail; t=1726515342; bh=3TTfRv6xCmc61RNH6cCuwdm8XJ7rJu2/4aIdNxn58B0=; h=Date:Subject:To:References:From:In-Reply-To:From; b=PsOHUEtaUKsTaXvM0t0FcdxXVr8H090ql0FeT8rTQjO8E2t+RVX8ExkFqpyf/K1TS k6Ejz8TSY8itsfK+eNbew7Waq5RNEzPDNO7ePw+5XTBaZWhnhq3lltvVXyH/9cqggQ yBvhqE1MH29kNts/KrY8xhylGcSQKyIyBgSXpYa4= Message-ID: <4022cbe2-312b-4b47-9d3a-b02c588f47b2@protasenko.com> Date: Mon, 16 Sep 2024 15:35:38 -0400 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: X11 pauses on FreeBSD 14 that are "fixed" by moving the mouse. To: freebsd-hackers@freebsd.org References: Content-Language: en-US From: Alex Protasenko In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.49 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[bkmks.com:s=mail]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; FREEFALL_USER(0.00)[alex]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:63949, ipnet:2600:3c05::/32, country:SG]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[protasenko.com]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[bkmks.com:+] X-Rspamd-Queue-Id: 4X6wBF4rNbz4pJ4 How about video performance in general, does it play 4K video smoothly or any 3d game, or just firefox autoscroll, is it smooth or jerky? Could have something to do with the scheduler even though you have no efficiency cores. Try setting different timer source in kern.eventtimer.timer or lower kern.sched.steal_thresh. I have no experience with nvidia driver as such, but maybe try a different version. E.g. i'm using radeon builtit graphics and drm-kmod 5.15 works pretty much flawless, but 6.1 has freezing/stuttering issues which appear after some uptime, -Alex On 9/16/24 14:47, Zaphod Beeblebrox wrote: > There may be a rather simple fix to this problem, but I've followed > any advice that I can find and it's still easily replicable. > > So... X is running.  Plasma is running.  Let's, for a second, start > xscreensaver which will, in turn, when we access the config, start one > of it's hacks for us.  Something with 3d, perhaps.  It's just running > in the little window inside the xscreensaver-config app. > > Then we'll sit back to watch it.  Very chunky.  lots of pauses.  Then > we watch it while moving the mouse in lazy circles.  Very smooth... > almost perfect. > > This is what I'm seeing. > > Config: > > Threadripper 2950; 64G RAM, 2x 1T Nvme (zfs), nVidia 2080 RTX, 2 > monitors (3440x1440 and 2560x1440). > FreeBSD 14p4, nvidia binary driver, nvidia binary dri bit. > > I've attached a few logs and configs that seem pertinent, and I accept > that this is, in all likelihood a misconfiguration of sorts, I need > help seeing it. >