From nobody Sun Mar 12 04:31:32 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 4PZ6Lh11w5z3xKq3 for ; Sun, 12 Mar 2023 04:31:40 +0000 (UTC) (envelope-from dpostolov@yandex.ru) Received: from forward500b.mail.yandex.net (forward500b.mail.yandex.net [IPv6:2a02:6b8:c02:900:1:45:d181:d500]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PZ6Lf61HWz3j6R for ; Sun, 12 Mar 2023 04:31:38 +0000 (UTC) (envelope-from dpostolov@yandex.ru) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.ru header.s=mail header.b=vuKsVOry; spf=pass (mx1.freebsd.org: domain of dpostolov@yandex.ru designates 2a02:6b8:c02:900:1:45:d181:d500 as permitted sender) smtp.mailfrom=dpostolov@yandex.ru; dmarc=pass (policy=none) header.from=yandex.ru Received: from myt6-fe378243d6ea.qloud-c.yandex.net (myt6-fe378243d6ea.qloud-c.yandex.net [IPv6:2a02:6b8:c12:488f:0:640:fe37:8243]) by forward500b.mail.yandex.net (Yandex) with ESMTP id 54C895ED19 for ; Sun, 12 Mar 2023 07:31:34 +0300 (MSK) Received: by myt6-fe378243d6ea.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id WVXlV4UbkuQ1-llojbyKQ; Sun, 12 Mar 2023 07:31:33 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1678595493; bh=9a4lGXNvMS7evb6tcSc6Xioe/EGNmdCq1qoivA//keQ=; h=In-Reply-To:From:Date:References:To:Subject:Message-ID; b=vuKsVOryYztkbyle4pLnSJQ7PrsrJKHDUGOAEZO+sBA47PSkI8lpY4a78xyUYc1SE X3MlSKBRMtOT0bzlwzdj4CYgGz6BdiTjKIzfkmmt9WVY6vsL6/LDbwCLjJGNSd32gh OCdrCUSlaNzoThvwk4xrGCaYYI+gSwFbaFf9EbjI= Message-ID: Date: Sun, 12 Mar 2023 09:31:32 +0500 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: FreeBSD 13.2-RC1 and RC2 FPS in screensaver drops after hours To: stable@freebsd.org References: Content-Language: en-US From: Dmitrii Postolov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[yandex.ru,none]; R_SPF_ALLOW(-0.20)[+ip6:2a02:6b8:c00::/40]; R_DKIM_ALLOW(-0.20)[yandex.ru:s=mail]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[stable@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVFROM(0.00)[yandex.ru]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:208722, ipnet:2a02:6b8::/32, country:FI]; DKIM_TRACE(0.00)[yandex.ru:+]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_FROM(0.00)[yandex.ru]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; DWL_DNSWL_NONE(0.00)[yandex.ru:dkim] X-Rspamd-Queue-Id: 4PZ6Lf61HWz3j6R X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hi to all! Sorry for my bad English... Intel NUC7PJYH (Intel J5005 Intel UHD Graphics 605) The problem persists in FreeBSD 13.2-RC2. FPS40: https://disk.yandex.ru/i/0cYL4oSDi1vAtQ FPS18: https://disk.yandex.ru/i/qYSVdda2YPnOaQ dmitrii@nuc7:~ % pkg info drm-510-kmod drm-510-kmod-5.10.163_2 Name           : drm-510-kmod Version        : 5.10.163_2 dmitrii@nuc7:~ % pkg info gpu-firmware-intel-kmod-geminilake gpu-firmware-intel-kmod-geminilake-20230210_1 Name           : gpu-firmware-intel-kmod-geminilake Version        : 20230210_1 dmesg FreeBSD-13.2-RC2 Copyright (c) 1992-2021 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994     The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.2-RC2 releng/13.2-n254580-5a905d8219bb GENERIC amd64 FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) VT(efifb): resolution 1920x1080 CPU: Intel(R) Pentium(R) Silver J5005 CPU @ 1.50GHz (1497.60-MHz K8-class CPU)   Origin="GenuineIntel"  Id=0x706a1  Family=0x6  Model=0x7a Stepping=1 Features=0xbfebfbff Features2=0x4ff8ebbf   AMD Features=0x2c100800   AMD Features2=0x101   Structured Extended Features=0x2294e287   Structured Extended Features2=0x40400004   Structured Extended Features3=0xac000400   XSAVE Features=0xf   IA32_ARCH_CAPS=0xc6a   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr   TSC: P-state invariant, performance statistics real memory  = 8589934592 (8192 MB) avail memory = 7801671680 (7440 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 irqs 0-119 Launching APs: 3 2 1 random: entropy device external interface kbd1 at kbdmux0 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s smbios0: at iomem 0x69f6d000-0x69f6d01e smbios0: Version: 3.2, BCD Revision: 3.2 aesni0: acpi0: unknown: I/O range not supported cpu0: on acpi0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x77 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff irq 8 on acpi0 Timecounter "HPET" frequency 19200000 Hz quality 950 Event timer "HPET" frequency 19200000 Hz quality 550 Event timer "HPET1" frequency 19200000 Hz quality 440 Event timer "HPET2" frequency 19200000 Hz quality 440 Event timer "HPET3" frequency 19200000 Hz quality 440 Event timer "HPET4" frequency 19200000 Hz quality 440 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xf000-0xf03f mem 0xa0000000-0xa0ffffff,0x90000000-0x9fffffff at device 2.0 on pci0 vgapci0: Boot video device hdac0: mem 0xa1310000-0xa1313fff,0xa1000000-0xa10fffff irq 25 at device 14.0 on pci0 pci0: at device 15.0 (no driver attached) ahci0: port 0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0xa1314000-0xa1315fff,0xa131a000-0xa131a0ff,0xa1319000-0xa13197ff at device 18.0 on pci0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 pcib1: at device 19.0 on pci0 pci1: on pcib1 rtsx0: <2.1g Realtek RTS5229 PCIe SD Card Reader> mem 0xa1200000-0xa1200fff at device 0.0 on pci1 rtsx0: No card is detected pcib2: at device 19.2 on pci0 pci2: on pcib2 re0: port 0xe000-0xe0ff mem 0xa1104000-0xa1104fff,0xa1100000-0xa1103fff at device 0.0 on pci2 re0: Using 1 MSI-X message re0: ASPM disabled re0: Chip rev. 0x54000000 re0: MAC rev. 0x00100000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Using defaults for TSO: 65518/35/2048 re0: Ethernet address: xx:xx:xx re0: netmap queues/slots: TX 1/256, RX 1/256 xhci0: mem 0xa1300000-0xa130ffff irq 17 at device 21.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 sdhci_pci0: mem 0xa1318000-0xa1318fff,0xa1317000-0xa1317fff irq 39 at device 28.0 on pci0 sdhci_pci0: 1 slot(s) allocated mmc0: on sdhci_pci0 isab0: at device 31.0 on pci0 isa0: on isab0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 14. uart0: at port 0x3f8 irq 4 flags 0x10 on isa0 uart0: non-PNP ISA device will be removed from GENERIC in FreeBSD 14. est0: on cpu0 Timecounter "TSC" frequency 1497600051 Hz quality 1000 Timecounters tick every 1.000 msec ZFS filesystem version: 5 ZFS storage pool version: features support (5000) hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 33 and 25 on hdaa0 pcm1: at nid 27 on hdaa0 pcm2: at nid 30 on hdaa0 hdacc1: at cad 2 on hdac0 hdaa1: at nid 1 on hdacc1 pcm3: at nid 3 on hdaa1 ugen0.1: at usbus0 uhub0 on usbus0 uhub0: on usbus0 mmc0: No compatible cards found on bus ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ACS-4 ATA SATA 3.x device ada0: Serial Number 200312A004C2 ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 238475MB (488397168 512 byte sectors) Trying to mount root from zfs:zroot/ROOT/default []... uhub0: 16 ports with 16 removable, self powered Root mount waiting for: usbus0 ugen0.2: at usbus0 ugen0.3: at usbus0 ukbd0 on uhub0 ukbd0: on usbus0 kbd2 at ukbd0 drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19). [drm] Got stolen memory base 0x7c000000, size 0x4000000 drmn0: [drm] couldn't get memory information drmn0: [drm] Applying Increase DDI Disabled quirk drmn0: successfully loaded firmware image 'i915/glk_dmc_ver1_04.bin' drmn0: [drm] Finished loading DMC firmware i915/glk_dmc_ver1_04.bin (v1.4) sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)! [drm] Initialized i915 1.6.0 20200917 for drmn0 on minor 0 VT: Replacing driver "efifb" with new "fb". start FB_INFO: type=11 height=1080 width=1920 depth=32 pbase=0x90000000 vbase=0xfffff80090000000 name=drmn0 flags=0x0 stride=7680 bpp=32 end FB_INFO acpi_wmi0: on acpi0 acpi_wmi0: Embedded MOF found ACPI: \134AMW0.WQBA: 1 arguments were passed to a non-method ACPI object (Buffer) (20201113/nsarguments-361) ichsmb0: port 0xf040-0xf05f mem 0xa1316000-0xa13160ff at device 31.1 on pci0 smbus0: on ichsmb0 lo0: link state changed to UP re0: link state changed to DOWN re0: link state changed to UP ums0 on uhub0 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 uhid0 on uhub0 uhid0: on usbus0 device_attach: uhid0 attach returned 12 uhid0 on uhub0 uhid0: on usbus0 uhid1 on uhub0 uhid1: on usbus0 device_attach: uhid1 attach returned 12 Security policy loaded: MAC/ntpd (mac_ntpd) 10.03.2023 23:12, Dmitrii Postolov пишет: > FreeBSD 13.2-RC1 FPS in screensaver drops after hours > > Hi all! Sorry for my bad English... > > I have access to several computers running FreeBSD 13.2-RC1 and Intel > (U)HD Graphics. For example, it is an Intel NUC7PJYH (Intel J5005) and > an Acer Revo Box RN86 (Intel Core i5-9400T). Additionally, I can > experiment with Intel NUC5PPYH (Intel N3700) and Acer Aspire XC-895 > (Intel Core i5-10400) if needed. > > I am using Xfce 4.18, drm-510-kmod video driver (installed from pkg or > built from ports). Xfce uses xscreensaver and Ant Inspect screensaver > with FPS counter and CPU Load counter enabled. > > Normally the FPS value is FPS 40 and CPU Load 15%, but if the > screensaver has been running for several hours the FPS can drop to > about FPS 18. The CPU Load value also increases. > > All serious applications were terminated before the screensaver was > turned on. > > Powerd is on by default on these computers, I can try to turn it off. > > I have not noticed this problem in previous releases of FreeBSD. > > Could this situation indicate a problem with FreeBSD's graphics > subsystem? > > P.S. FreeBSD 13.2-RC2 will be available soon and I will do more > detailed experiments with it, and bring stats and FPS screen shots. > >