Re: [Probably SOLVED] FreeBSD 13.2-RC2 FPS in screensaver drops after hours
- In reply to: Dmitrii Postolov : "Re: FreeBSD 13.2-RC1 and RC2 FPS in screensaver drops after hours"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Mar 2023 10:01:37 UTC
Hi to all! [Probably SOLVED]. With the setting in /etc/rc.conf 'powerd_enable="NONE"' the problem does not occur in FreeBSD 13.2-RC2. 12.03.2023 09:31, Dmitrii Postolov пишет: > 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > Features2=0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,RDRAND> > > AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> > AMD Features2=0x101<LAHF,Prefetch> > Structured Extended > Features=0x2294e287<FSGSBASE,TSCADJ,SGX,SMEP,ERMS,NFPUSG,MPX,PQE,RDSEED,SMAP,CLFLUSHOPT,PROCTRACE,SHA> > Structured Extended Features2=0x40400004<UMIP,RDPID,SGXLC> > Structured Extended > Features3=0xac000400<MD_CLEAR,IBPB,STIBP,ARCH_CAP,SSBD> > XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> > IA32_ARCH_CAPS=0xc6a<IBRS_ALL,SKIP_L1DFL_VME,MDS_NO> > 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: <INTEL NUC7CJYB> > 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 <Version 2.0> irqs 0-119 > Launching APs: 3 2 1 > random: entropy device external interface > kbd1 at kbdmux0 > efirtc0: <EFI Realtime Clock> > efirtc0: registered as a time-of-day clock, resolution 1.000000s > smbios0: <System Management BIOS> at iomem 0x69f6d000-0x69f6d01e > smbios0: Version: 3.2, BCD Revision: 3.2 > aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256> > acpi0: <INTEL> > unknown: I/O range not supported > cpu0: <ACPI CPU> on acpi0 > attimer0: <AT timer> 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: <AT realtime clock> 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: <High Precision Event Timer> 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: <Embedded Controller: GPE 0x22> port 0x62,0x66 on acpi0 > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > pci0: <ACPI PCI bus> on pcib0 > vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem > 0xa0000000-0xa0ffffff,0x90000000-0x9fffffff at device 2.0 on pci0 > vgapci0: Boot video device > hdac0: <Intel Gemini Lake HDA Controller> mem > 0xa1310000-0xa1313fff,0xa1000000-0xa10fffff irq 25 at device 14.0 on pci0 > pci0: <simple comms> at device 15.0 (no driver attached) > ahci0: <Intel Gemini Lake AHCI SATA controller> 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: <AHCI channel> at channel 0 on ahci0 > ahcich1: <AHCI channel> at channel 1 on ahci0 > pcib1: <ACPI PCI-PCI bridge> at device 19.0 on pci0 > pci1: <ACPI PCI bus> 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: <ACPI PCI-PCI bridge> at device 19.2 on pci0 > pci2: <ACPI PCI bus> on pcib2 > re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> 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: <MII bus> on re0 > rgephy0: <RTL8251/8153 1000BASE-T media interface> 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: <Intel Gemini Lake USB 3.0 controller> 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: <Generic SD HCI> mem > 0xa1318000-0xa1318fff,0xa1317000-0xa1317fff irq 39 at device 28.0 on pci0 > sdhci_pci0: 1 slot(s) allocated > mmc0: <MMC/SD bus> on sdhci_pci0 > isab0: <PCI-ISA bridge> at device 31.0 on pci0 > isa0: <ISA bus> on isab0 > acpi_button0: <Power Button> on acpi0 > acpi_button1: <Sleep Button> on acpi0 > acpi_tz0: <Thermal Zone> on acpi0 > atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 14. > uart0: <Non-standard ns8250 class UART with FIFOs> at port 0x3f8 irq 4 > flags 0x10 on isa0 > uart0: non-PNP ISA device will be removed from GENERIC in FreeBSD 14. > est0: <Enhanced SpeedStep Frequency Control> 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: <Realtek ALC235 HDA CODEC> at cad 0 on hdac0 > hdaa0: <Realtek ALC235 Audio Function Group> at nid 1 on hdacc0 > pcm0: <Realtek ALC235 (Front Analog)> at nid 33 and 25 on hdaa0 > pcm1: <Realtek ALC235 (Rear Analog Line-out)> at nid 27 on hdaa0 > pcm2: <Realtek ALC235 (Internal Digital)> at nid 30 on hdaa0 > hdacc1: <Intel Gemini Lake HDA CODEC> at cad 2 on hdac0 > hdaa1: <Intel Gemini Lake Audio Function Group> at nid 1 on hdacc1 > pcm3: <Intel Gemini Lake (HDMI/DP 8ch)> at nid 3 on hdaa1 > ugen0.1: <Intel XHCI root HUB> at usbus0 > uhub0 on usbus0 > uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 > mmc0: No compatible cards found on bus > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada0: <SanDisk SDSSDH3 250G 401120RL> 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: <KYE SYSTEMS CORP. Wired Mouse> at usbus0 > ugen0.3: <vendor 0x04d9 USB Keyboard> at usbus0 > ukbd0 on uhub0 > ukbd0: <vendor 0x04d9 USB Keyboard, class 0/0, rev 1.10/4.03, addr 2> > on usbus0 > kbd2 at ukbd0 > drmn0: <drmn> 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: <ACPI-WMI mapping> 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: <Intel Gemini Lake SMBus controller> port 0xf040-0xf05f mem > 0xa1316000-0xa13160ff at device 31.1 on pci0 > smbus0: <System Management Bus> on ichsmb0 > lo0: link state changed to UP > re0: link state changed to DOWN > re0: link state changed to UP > ums0 on uhub0 > ums0: <KYE SYSTEMS CORP. Wired Mouse, class 0/0, rev 1.10/24.58, addr > 1> on usbus0 > ums0: 3 buttons and [XYZ] coordinates ID=0 > uhid0 on uhub0 > uhid0: <KYE SYSTEMS CORP. Wired Mouse, class 0/0, rev 1.10/24.58, addr > 1> on usbus0 > device_attach: uhid0 attach returned 12 > uhid0 on uhub0 > uhid0: <vendor 0x04d9 USB Keyboard, class 0/0, rev 1.10/4.03, addr 2> > on usbus0 > uhid1 on uhub0 > uhid1: <KYE SYSTEMS CORP. Wired Mouse, class 0/0, rev 1.10/24.58, addr > 1> 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. >> >> >