Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2023 15:23:24 +0000
From:      Jonathan Vasquez <jon@xyinn.org>
To:        "stable@freebsd.org" <stable@freebsd.org>
Subject:   Periodic lag spike on FreeBSD 13.2-RELEASE (intel graphics / wayland)
Message-ID:  <UtGJpC7wAD19GFTMtXANcdwhMGHWYA1XyE2XxadBOehy77aoqTlj77oUH12yEcxIGK0vEKKjcowP7Ho05oJ1EYDv2rqRF09r4DknNZGpUwU=@xyinn.org>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hello all,

I'm not sure if anyone is experiencing this, but on my framework laptop running this graphic card:

vgapci0@pci0:0:2:0: class=0x030000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x9a49 subvendor=0xf111 subdevice=0x0001
vendor = 'Intel Corporation'
device = 'TigerLake-LP GT2 [Iris Xe Graphics]'
class = display
subclass = VGA

I get periodic lag spikes. The lag spikes last about 2-3 seconds, almost as if there is some sort of garbage collection running. Wayland/sway continue to function properly, it's just annoying. 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'm running drm-510-kmod as listed below:

jon@leslie:~ $ pkg info drm-510-kmod
drm-510-kmod-5.10.163_7
Name : drm-510-kmod
Version : 5.10.163_7
Installed on : Tue May 16 16:37:56 2023 EDT
Origin : graphics/drm-510-kmod
Architecture : FreeBSD:13:amd64
Prefix : /usr/local
Categories : kld graphics
Licenses : MIT and GPLv2 and BSD2CLAUSE
Maintainer : x11@FreeBSD.org
WWW : https://github.com/freebsd/drm-kmod/
Comment : DRM drivers modules
Annotations :
FreeBSD_version: 1301000
repo_type : binary
repository : FreeBSD
Flat size : 12.6MiB
Description :
amdgpu, i915, and radeon DRM drivers modules.
Currently corresponding to Linux 5.10 DRM.
This version is for FreeBSD 13.1 and above.

WWW: https://github.com/freebsd/drm-kmod/

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

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

Jonathan Vasquez
PGP: 34DA 858C 1447 509E C77A D49F FB85 90B7 C4CA 5279
Sent with ProtonMail Secure Email
[-- Attachment #2 --]
<div style="font-family: Arial, sans-serif; font-size: 14px;">Hello all,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I'm not sure if anyone is experiencing this, but on my framework laptop running this graphic card:<br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>vgapci0@pci0:0:2:0:	class=0x030000 rev=0x01 hdr=0x00 vendor=0x8086 device=0x9a49 subvendor=0xf111 subdevice=0x0001</span><div><span>&nbsp; &nbsp; vendor &nbsp; &nbsp; = 'Intel Corporation'</span></div><div><span>&nbsp; &nbsp; device &nbsp; &nbsp; = 'TigerLake-LP GT2 [Iris Xe Graphics]'</span></div><div><span>&nbsp; &nbsp; class &nbsp; &nbsp; &nbsp;= display</span></div><div><span>&nbsp; &nbsp; subclass &nbsp; = VGA</span></div><span></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I get periodic lag spikes. The lag spikes last about 2-3 seconds, almost as if there is some sort of garbage collection running. Wayland/sway continue to function properly, it's just annoying. I do notice these messages in my dmesg and I think they may be related:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>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</span><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I'm running drm-510-kmod as listed below:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>jon@leslie:~ $ pkg info drm-510-kmod</span><div><span>drm-510-kmod-5.10.163_7</span></div><div><span>Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : drm-510-kmod</span></div><div><span>Version &nbsp; &nbsp; &nbsp; &nbsp;: 5.10.163_7</span></div><div><span>Installed on &nbsp; : Tue May 16 16:37:56 2023 EDT</span></div><div><span>Origin &nbsp; &nbsp; &nbsp; &nbsp; : graphics/drm-510-kmod</span></div><div><span>Architecture &nbsp; : FreeBSD:13:amd64</span></div><div><span>Prefix &nbsp; &nbsp; &nbsp; &nbsp; : /usr/local</span></div><div><span>Categories &nbsp; &nbsp; : kld graphics</span></div><div><span>Licenses &nbsp; &nbsp; &nbsp; : MIT and GPLv2 and BSD2CLAUSE</span></div><div><span>Maintainer &nbsp; &nbsp; : <a target="_blank" rel="noreferrer nofollow noopener" href="mailto:x11@FreeBSD.org">x11@FreeBSD.org</a></span></div><div><span>WWW &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: <a target="_blank" rel="noreferrer nofollow noopener" href="https://github.com/freebsd/drm-kmod/">https://github.com/freebsd/drm-kmod/</a></span></div><div><span>Comment &nbsp; &nbsp; &nbsp; &nbsp;: DRM drivers modules</span></div><div><span>Annotations &nbsp; &nbsp;:</span></div><div><span>	FreeBSD_version: 1301000</span></div><div><span>	repo_type &nbsp; &nbsp; &nbsp;: binary</span></div><div><span>	repository &nbsp; &nbsp; : FreeBSD</span></div><div><span>Flat size &nbsp; &nbsp; &nbsp;: 12.6MiB</span></div><div><span>Description &nbsp; &nbsp;:</span></div><div><span>amdgpu, i915, and radeon DRM drivers modules.</span></div><div><span>Currently corresponding to Linux 5.10 DRM.</span></div><div><span>This version is for FreeBSD 13.1 and above.</span></div><div><br></div><div><span>WWW: <a target="_blank" rel="noreferrer nofollow noopener" href="https://github.com/freebsd/drm-kmod/">https://github.com/freebsd/drm-kmod/</a></span></div><span></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I can't remember at the moment if it also happened with X11, but it may have. <br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Please let me know if there is anything else I can provide to narrow down the root cause. Thank you!</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
    <div class="protonmail_signature_block-user">
        <div>Jonathan Vasquez<br></div><div>PGP: 34DA 858C 1447 509E C77A  D49F FB85 90B7 C4CA 5279<br></div><div>Sent with ProtonMail Secure Email<br></div><div><br></div>
    </div>
    
            <div class="protonmail_signature_block-proton protonmail_signature_block-empty">
        
            </div>
</div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?UtGJpC7wAD19GFTMtXANcdwhMGHWYA1XyE2XxadBOehy77aoqTlj77oUH12yEcxIGK0vEKKjcowP7Ho05oJ1EYDv2rqRF09r4DknNZGpUwU=>