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

From: Zaphod Beeblebrox <zbeeble_at_gmail.com>
Date: Mon, 16 Sep 2024 20:01:32 UTC
Well... video from utube is fine.  I didn't play anything 4k --- heck the
display isn't 4k, even.  One fun demonstration of what's happening is a
list that scrolls.  Using the mousewheel --- chunky.  Using the scrollbar
--- smooth.

I don't really know how to play with versions, much.  On the nvidia side,
going to older versions of the driver don't support this card.

Performance, on the whole is fine.  Even without moving the mouse, GLXGears
seems fine.  So it may be something the xscreensaver does --- and/or almost
anything in kde (like the filebrowser scrolling) does.

On Mon, Sep 16, 2024 at 3:36 PM Alex Protasenko <alex@protasenko.com> wrote:

> 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.
> >
>
>