Re: X11 pauses on FreeBSD 14 that are "fixed" by moving the mouse.

From: Alex Protasenko <alex_at_protasenko.com>
Date: Mon, 16 Sep 2024 19:35:38 UTC
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.
>