Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2023 11:02:35 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        Jonathan Vasquez <jon@xyinn.org>
Cc:        "stable@freebsd.org" <stable@freebsd.org>
Subject:   Re: Periodic lag spike on FreeBSD 13.2-RELEASE (intel graphics / wayland)
Message-ID:  <28e13090-c943-1bad-6200-cf322bd74c50@netfence.it>
In-Reply-To: <UtGJpC7wAD19GFTMtXANcdwhMGHWYA1XyE2XxadBOehy77aoqTlj77oUH12yEcxIGK0vEKKjcowP7Ho05oJ1EYDv2rqRF09r4DknNZGpUwU=@xyinn.org>
References:  <UtGJpC7wAD19GFTMtXANcdwhMGHWYA1XyE2XxadBOehy77aoqTlj77oUH12yEcxIGK0vEKKjcowP7Ho05oJ1EYDv2rqRF09r4DknNZGpUwU=@xyinn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/29/23 17:23, Jonathan Vasquez wrote:
> Hello all,

Hello.



> I'm not sure if anyone is experiencing this, but on my framework laptop 
> running this graphic card...
> I get periodic lag spikes. The lag spikes last about 2-3 seconds, almost 

Me too, on a Starlite laptop.
vgapci0@pci0:0:2:0:     class=0x030vgapci0@pci0:0:2:0: 
class=0x030000 rev=0x06 hdr=0x00 vendor=0x8086 device=0x3184 
subvendor=0x0000 subdevice=0x0000
     vendor     = 'Intel Corporation'
     device     = 'GeminiLake [UHD Graphics 605]'
     class      = display
     subclass   = VGA



> I do notice these 
> messages in my dmesg and I think they may be related:
> 
> drmn0: [drm] *ERROR* Atomic update failure on pipe D (start=20288 
> end=20289) time 0 us, min 1073, max 1079, scanline start 1050, end 1081

I've got similar messages:

drmn0: [drm] *ERROR* Atomic update failure on pipe A (start=293599 
end=293600) time 0 us, min 1073, max 1079, scanline start 1070, end 1081
drmn0: [drm] *ERROR* Atomic update failure on pipe A (start=352658 
end=352659) time 0 us, min 1073, max 1079, scanline start 1057, end 1058
drmn0: [drm] *ERROR* Atomic update failure on pipe A (start=401363 
end=401364) time 1625 us, min 1073, max 1079, scanline start 1040, end 1147
drmn0: [drm] *ERROR* Atomic update failure on pipe A (start=875524 
end=875525) time 1566 us, min 1073, max 1079, scanline start 997, end 997

So far I've been unable to correlate them with those lags.
(Waiting for them to happen with an open windows with tail running, but, 
of course, it won't happen today :)



> jon@leslie:~ $ pkg info drm-510-kmod
> drm-510-kmod-5.10.163_7
> Name           : drm-510-kmod

Same here.
Further details differ, as I compile it myself.



> I can't remember at the moment if it also happened with X11, but it may 
> have.

I'not 100% sure, but I believe this started when I upgraded from 13.1 to 
13.2 (with no other relevant change).



> Please let me know if there is anything else I can provide to narrow 
> down the root cause. Thank you!

No idea, really.
If you want me to try something, collect other data, etc... I'll gladly 
comply.
Perhaps a bug report should be opened?

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28e13090-c943-1bad-6200-cf322bd74c50>