From nobody Tue May 30 18:59:02 2023 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QW1sN6t93z4Y0LB for ; Tue, 30 May 2023 18:59:20 +0000 (UTC) (envelope-from jon@xyinn.org) Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QW1sN4ZsJz43vD for ; Tue, 30 May 2023 18:59:20 +0000 (UTC) (envelope-from jon@xyinn.org) Authentication-Results: mx1.freebsd.org; none Date: Tue, 30 May 2023 18:59:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xyinn.org; s=protonmail; t=1685473157; x=1685732357; bh=pG0eDUWhUrP5+Lm5k37zYemr85dA21c8ZwSb+0mw1hU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=sXjo9pS024yo07dgEz3HO2Op2npvh+NIdedAlyQbPygXOWOrBNGFbxKAlhoHEe5t6 cJMDnieQhfcQrnTi48MbesZ4uvOYrsABa1Y5j40oPTROmAfdTFaF1X4qnICjwbHw7n IObHGHgl3xatRIvKinxq09DDIE8UrDyo/Pj6jE4Aej3WVNC/zkikrwbbwjEzp5K5Il +pYFH30sHxh6ZQjPNdFu6Ne6i2xnYVSDUX3k92fES3QPLDxrbEEgrSEg2lXyYLPgyO 9PvFLPp30zeBwggLIGEPfA29ce2LQeMDNPOdYNZkkSwFRtxZZg6y11jRycgKIm7mAy qDpAiMwatLifA== To: henrichhartzer@tuta.io From: Jonathan Vasquez Cc: "stable@freebsd.org" Subject: Re: Periodic lag spike on FreeBSD 13.2-RELEASE (intel graphics / wayland) Message-ID: In-Reply-To: References: Feedback-ID: 12351801:user:proton List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4QW1sN4ZsJz43vD X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.43.0/24, country:CH] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Thanks for that Henrich. Hopefully we can narrow it down over time haha. Jonathan Vasquez PGP: 34DA 858C 1447 509E C77A D49F FB85 90B7 C4CA 5279 Sent with ProtonMail Secure Email ------- Original Message ------- On Tuesday, May 30th, 2023 at 11:57, henrichhartzer@tuta.io wrote: > Hi Jonathan, >=20 > I'm also using Wayland on 13.2, but I believe an older graphics card. I'm= not having the same issue. >=20 > I do, however, have some weird OOM-like behavior sporadically with Firefo= x. System will lock up pretty hard for a while, kill something (usually Fir= efox), and tends to say that the thread timed out waiting for a page. I gue= ss it's probably not the same thing, but thought I'd mention it. >=20 > -Henrich >=20 >=20 > May 29, 2023, 15:23 by jon@xyinn.org: >=20 > > Hello all, > >=20 > > I'm not sure if anyone is experiencing this, but on my framework laptop= running this graphic card: > >=20 > > vgapci0@pci0:0:2:0: class=3D0x030000 rev=3D0x01 hdr=3D0x00 vendor=3D0x8= 086 device=3D0x9a49 subvendor=3D0xf111 subdevice=3D0x0001 > > vendor =3D 'Intel Corporation' > > device =3D 'TigerLake-LP GT2 [Iris Xe Graphics]' > > class =3D display > > subclass =3D VGA > >=20 > > I get periodic lag spikes. The lag spikes last about 2-3 seconds, almos= t as if there is some sort of garbage collection running. Wayland/sway cont= inue to function properly, it's just annoying. I do notice these messages i= n my dmesg and I think they may be related: > >=20 > > drmn0: [drm] ERROR Atomic update failure on pipe D (start=3D20288 end= =3D20289) time 0 us, min 1073, max 1079, scanline start 1050, end 1081 > >=20 > > I'm running drm-510-kmod as listed below: > >=20 > > 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. > >=20 > > WWW: > https://github.com/freebsd/drm-kmod/ > >=20 > > I can't remember at the moment if it also happened with X11, but it may= have. > >=20 > > Please let me know if there is anything else I can provide to narrow do= wn the root cause. Thank you! > >=20 > > Jonathan Vasquez > > PGP: 34DA 858C 1447 509E C77A D49F FB85 90B7 C4CA 5279 > > Sent with ProtonMail Secure Email