Discussion:
X11 pauses on FreeBSD 14 that are "fixed" by moving the mouse.
(too old to reply)
Zaphod Beeblebrox
2024-09-16 20:01:32 UTC
Permalink
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.
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
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.
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.
Poul-Henning Kamp
2024-09-16 20:22:39 UTC
Permalink
Zaphod Beeblebrox writes:

What kind of mouse ?

On my T14s there is a bug with the touchpad which sometimes gets the datastream
out of whack and causes a short interrupt storm until thing settles down.

(According to Lenovo forums the problem also exist under Windows and the "it
shouldn't but it works" fix is to close the lid and open it again.)

PS: I think Lenovo's thinkpads have become increasingly suck over the last
decade, how's running FreeBSD native on Apple M[1234] CPU's coming ?
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
***@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Zaphod Beeblebrox
2024-09-16 21:08:32 UTC
Permalink
It's a Lightspeed G903 from Logitec. It has special features in Winblows,
but it also has a "feature" that it remembers it's settings when not in
winblows. It shows up as a USB mouse and a USB keyboard (because you can
remap the buttons). It is wireless, but it's wireless to USB. It also
charges by sitting on the mousemat ... virtually never needing to be
plugged in.

Anyways... things stop when the mouse stops and go when the mouse is used
--- so it doesn't seem like an interrupt storm. AFAICR, it's set to 1000
samples / second.

I'm not a fan of Apple anything. I'm kinda interested in the Risc-V
ecosystem, but it's taking awhile to get there. Until then, this
threadripper is pretty good.
Post by Poul-Henning Kamp
What kind of mouse ?
On my T14s there is a bug with the touchpad which sometimes gets the datastream
out of whack and causes a short interrupt storm until thing settles down.
(According to Lenovo forums the problem also exist under Windows and the "it
shouldn't but it works" fix is to close the lid and open it again.)
PS: I think Lenovo's thinkpads have become increasingly suck over the last
decade, how's running FreeBSD native on Apple M[1234] CPU's coming ?
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Loading...