DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th May 2022
pseudostem pseudostem is offline
Port Guard
 
Join Date: Jun 2021
Posts: 24
Default Mouse freeze on XFCE

Hello,

My dmesg
Code:
OpenBSD 7.1 (GENERIC.MP) #1: Tue May  3 09:11:23 MDT 2022
    root@syspatch-71-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8434532352 (8043MB)
avail mem = 8161628160 (7783MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0x9b8b0000 (98 entries)
bios0: vendor LENOVO version "M1UKT5DA" date 10/20/2020
bios0: LENOVO M 10T8-S6HL00
acpi0 at bios0: ACPI 6.1
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SLIC SSDT HPET SSDT SSDT UEFI LPIT SSDT SSDT DBGP DBG2 SSDT DMAR SSDT NHLT TPM2 LUFT WSMT BGRT
acpi0: wakeup devices SIO1(S3) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) PXSX(S4) RP08(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i3-9100T CPU @ 3.10GHz, 2993.03 MHz, 06-9e-0b
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-9100T CPU @ 3.10GHz, 2993.03 MHz, 06-9e-0b
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i3-9100T CPU @ 3.10GHz, 2993.03 MHz, 06-9e-0b
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i3-9100T CPU @ 3.10GHz, 2993.04 MHz, 06-9e-0b
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SRBDS_CTRL,MD_CLEAR,TSXFA,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf0000000, bus 0-127
acpihpet0 at acpi0: 23999999 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus -1 (RP01)
acpiprt5 at acpi0: bus -1 (RP02)
acpiprt6 at acpi0: bus -1 (RP03)
acpiprt7 at acpi0: bus -1 (RP04)
acpiprt8 at acpi0: bus -1 (RP05)
acpiprt9 at acpi0: bus 1 (RP06)
acpiprt10 at acpi0: bus -1 (RP07)
acpiprt11 at acpi0: bus -1 (RP08)
acpiprt12 at acpi0: bus -1 (RP09)
acpiprt13 at acpi0: bus -1 (RP10)
acpiprt14 at acpi0: bus -1 (RP11)
acpiprt15 at acpi0: bus -1 (RP12)
acpiprt16 at acpi0: bus -1 (RP13)
acpiprt17 at acpi0: bus -1 (RP14)
acpiprt18 at acpi0: bus -1 (RP15)
acpiprt19 at acpi0: bus -1 (RP16)
acpiprt20 at acpi0: bus -1 (RP17)
acpiprt21 at acpi0: bus -1 (RP18)
acpiprt22 at acpi0: bus -1 (RP19)
acpiprt23 at acpi0: bus -1 (RP20)
acpiprt24 at acpi0: bus -1 (RP21)
acpiprt25 at acpi0: bus -1 (RP22)
acpiprt26 at acpi0: bus -1 (RP23)
acpiprt27 at acpi0: bus -1 (RP24)
acpiec0 at acpi0: not present
acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
"ACPI000E" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpibtn0 at acpi0: SLPB
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"INT33A1" at acpi0 not configured
acpibtn1 at acpi0: PWRB
tpm0 at acpi0 TPM_ 2.0 (CRB) addr 0xfed40000/0x5000, device 0x00000000 rev 0x0
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C14" at acpi0 not configured
"LEN4001" at acpi0 not configured
acpipwrres0 at acpi0: USBC, resource for XDCI
acpipwrres1 at acpi0: V0PR
acpipwrres2 at acpi0: V1PR
acpipwrres3 at acpi0: V2PR
acpipwrres4 at acpi0: PXTC
acpipwrres5 at acpi0: WRST
acpipwrres6 at acpi0: PAUD, resource for HDAS
acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpipwrres7 at acpi0: FN00, resource for FAN0
acpipwrres8 at acpi0: FN01, resource for FAN1
acpipwrres9 at acpi0: FN02, resource for FAN2
acpipwrres10 at acpi0: FN03, resource for FAN3
acpipwrres11 at acpi0: FN04, resource for FAN4
acpitz0 at acpi0: critical temperature is 119 degC
acpipwrres12 at acpi0: PIN_
acpipwrres13 at acpi0: SPR0, resource for PRT0
acpipwrres14 at acpi0: SPR1
acpipwrres15 at acpi0: SPR2
acpipwrres16 at acpi0: SPR3
acpipwrres17 at acpi0: SPR5
acpipwrres18 at acpi0: ZPDR
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 2993 MHz: speeds: 3001, 3000, 2900, 2800, 2600, 2400, 2300, 2100, 1900, 1800, 1600, 1500, 1300, 1100, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 8G Host" rev 0x08
inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics 630" rev 0x00
drm0 at inteldrm0
inteldrm0: msi, COFFEELAKE, gen 9
"Intel Core GMM" rev 0x00 at pci0 dev 8 function 0 not configured
xhci0 at pci0 dev 20 function 0 "Intel 300 Series xHCI" rev 0x10: msi, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 addr 1
"Intel 300 Series Shared SRAM" rev 0x10 at pci0 dev 20 function 2 not configured
"Intel 300 Series HECI" rev 0x10 at pci0 dev 22 function 0 not configured
ahci0 at pci0 dev 23 function 0 "Intel 300 Series AHCI" rev 0x10: msi, AHCI 1.3.1
ahci0: port 0: 6.0Gb/s
ahci0: PHY offline on port 1
ahci0: PHY offline on port 2
ahci0: PHY offline on port 3
ahci0: PHY offline on port 4
ahci0: PHY offline on port 5
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WDS240G2G0A-, UF22> naa.5001b444a8d73bb0
sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
ppb0 at pci0 dev 28 function 0 "Intel 300 Series PCIE" rev 0xf0: msi
pci1 at ppb0 bus 1
iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless-AC 8265" rev 0x78, msi
pcib0 at pci0 dev 31 function 0 "Intel B360 LPC" rev 0x10
azalia0 at pci0 dev 31 function 3 "Intel 300 Series cAVS" rev 0x10: msi
azalia0: codecs: Realtek ALC233, Intel/0x280b, using Realtek ALC233
audio0 at azalia0
ichiic0 at pci0 dev 31 function 4 "Intel 300 Series SMBus" rev 0x10: apic 2 int 16
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 4GB DDR4 SDRAM PC4-21300 SO-DIMM
spdmem1 at iic0 addr 0x52: 4GB DDR4 SDRAM PC4-21300 SO-DIMM
"Intel 300 Series SPI" rev 0x10 at pci0 dev 31 function 5 not configured
em0 at pci0 dev 31 function 6 "Intel I219-V" rev 0x10: msi, address 00:2b:67:3d:bc:94
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
uhub1 at uhub0 port 6 configuration 1 interface 0 "Generic 4-Port USB 2.0 Hub" rev 2.10/1.36 addr 2
uhidev0 at uhub0 port 7 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/29.01 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev1 at uhub0 port 7 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/29.01 addr 3
uhidev1: iclass 3/1, 17 report ids
uhidpp0 at uhidev1 device 2 mouse "Wireless Mouse" serial 3f-80-76-40
ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir
wsmouse0 at ums0 mux 0
ucc0 at uhidev1 reportid 3: 652 usages, 18 keys, array
wskbd2 at ucc0 mux 1
uhid0 at uhidev1 reportid 4: input=1, output=0, feature=0
uhidev2 at uhub0 port 8 configuration 1 interface 0 "Holtek product 0x1203" rev 2.00/2.80 addr 4
uhidev2: iclass 3/1
ukbd1 at uhidev2: 8 variable keys, 6 key codes
wskbd3 at ukbd1 mux 1
uhidev3 at uhub0 port 8 configuration 1 interface 1 "Holtek product 0x1203" rev 2.00/2.80 addr 4
uhidev3: iclass 3/0, 2 report ids
uhid1 at uhidev3 reportid 1: input=1, output=0, feature=0
ucc1 at uhidev3 reportid 2: 4 usages, 4 keys, array
wskbd4 at ucc1 mux 1
ugen0 at uhub0 port 14 "Intel Bluetooth" rev 2.00/0.10 addr 5
uhub2 at uhub0 port 19 configuration 1 interface 0 "Generic 4-Port USB 3.0 Hub" rev 3.10/1.36 addr 6
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (87b7ad4bd3c5e47a.a) swap on sd0b dump on sd0b
drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] [ENCODER:109:DDI \M-J/PHY p] is disabled/in DSI mode with an ungated DDI clock, gate it
drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] [ENCODER:113:DDI \M-J/PHY p] is disabled/in DSI mode with an ungated DDI clock, gate it
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wskbd2: connecting to wsdisplay0
wskbd3: connecting to wsdisplay0
wskbd4: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
iwm0: hw rev 0x230, fw ver 36.ca7b901d.0, address 4c:1d:96:ff:d9:80
My mouse microfreezes for a few microseconds. This happens every few seconds, sometimes after 30 seconds, sometimes within 5 seconds. Even changing window size by drag and drop borders has become a challenge. This wasn't happening earlier. I have some new software installed, but even when I have nothing running, this happens.
What I have figured out is that while using certain software like firefox and chrome it happens. While using intellij idea it happens a lot. Regardless, this happens even when xfce-terminal is running.

My keyboard works fine. Tested by tapping random keys and moving mouse at same time in xfce-terminal.

I am using XFCE on OpenBSD 7.1

I don't even know where to start looking or what to look for
Reply With Quote
  #2   (View Single Post)  
Old 19th May 2022
pseudostem pseudostem is offline
Port Guard
 
Join Date: Jun 2021
Posts: 24
Default

1) disabled xfce-screensaver according to some random linux distro forum. I was disabling using GUI, the forum suggested some CLI option which either wasn't available on my system or I didn't try hard enough. GUI option used was Applications > Settings > Enable Screensaver (clicked the disable toggle)
2) issue persisted
3) Applications > Settings > Session & Startup > Application Autostart > Screensaver (Launch Screensaver & Locker Program) - I unticked this option

Problem solved. At least for now. Will monitor for next 1 week and update
Reply With Quote
  #3   (View Single Post)  
Old 19th May 2022
pseudostem pseudostem is offline
Port Guard
 
Join Date: Jun 2021
Posts: 24
Default

Issue persists, but now it is very sparsely repeated. This is manageable for me, still any help would be appreciated.
Reply With Quote
  #4   (View Single Post)  
Old 20th May 2022
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,405
Default

The default OpenBSD install has restrictive memory limits - perhaps you're bumping into those. I found that increasing limits helped with brower lockup/crashes.

Be easy to loosen the limits to test and revert if that is not the problem. I used this as a guide - the section on /etc/login.conf and /etc/sysctl.conf

https://www.c0ffee.net/blog/openbsd-on-a-laptop/

A word of caution - memory limits are one of many barriers to poor coding and illlict programs running. It is up to you to balance your memory needs with security/privacy
Reply With Quote
  #5   (View Single Post)  
Old 24th May 2022
pseudostem pseudostem is offline
Port Guard
 
Join Date: Jun 2021
Posts: 24
Default

Quote:
Originally Posted by shep View Post
I used this as a guide - the section on /etc/login.conf and /etc/sysctl.conf

https://www.c0ffee.net/blog/openbsd-on-a-laptop/
I have a problem following guides blindly. I did find an error in the captioned link.

Code:
usermod -G staff YOUR_USERNAME
/etc/login.conf follows user class attribute (is this the correct word?). usermod -G will have no effect. If at all some settings have to be played around with, then usermod -L will have to be invoked.

Which now makes me doubt if the rest of this guide is as informative or not.

Will wait for resident experts to weigh in.
Reply With Quote
  #6   (View Single Post)  
Old 24th May 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,638
Default

Browsers require massive resources. Browser users should be in the "staff" login group. If the user is already in "staff", try a different -- and very simple -- window manager, such as fluxbox. This is to try to determine if the problem is related to X Windows or if there is something in your XFCE environment which may be the cause of the issue. If the problem continues while using fluxbox and your userid is in the "staff" group, then the problem may be X Windows related, and if so, post a copy of /var/log/Xorg.0.log here for review.
Reply With Quote
  #7   (View Single Post)  
Old 4 Weeks Ago
pseudostem pseudostem is offline
Port Guard
 
Join Date: Jun 2021
Posts: 24
Default

Thank you! I increased some limits in login.conf under "staff". I also set my machdep.allowapperture=2 in /etc/sysctl.conf

I have not noticed any mouse freezes so far.
Reply With Quote
  #8   (View Single Post)  
Old 4 Weeks Ago
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,638
Default

The aperture(4) driver isn't used with your Intel graphics hardware, so that sysctl(2) setting won't have any effect.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
x250 laptop complete freeze husveltarn OpenBSD General 16 5th January 2016 07:20 PM
5.7 system freeze - reproducible hanzer OpenBSD Packages and Ports 9 12th July 2015 07:55 PM
Tool causes Apache web server to freeze J65nko News 1 25th August 2011 12:00 AM
HOWTO: Lightest XFCE - Making XFCE lighter and faster vermaden Guides 27 2nd September 2010 12:24 PM
Xorg freeze? xfel OpenBSD Installation and Upgrading 2 6th November 2008 09:37 PM


All times are GMT. The time now is 08:51 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick