Sluggish/laggy browser behaviour

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Sluggish/laggy browser behaviour

Nathan Van Ymeren-2
Hi,

I'm running the 19 July snapshot and am experiencing laggy tab
behaviour in both Chromium and Firefox.  Specifically, when opening and
closing tabs I regularly experience noticeable and irritating pauses.

The system is a thinkpad X220T with an i7 and 8 GB of memory, and under
different operating systems tabbing performance is acceptable.

Has anyone experienced similar?

dmesg follows:

OpenBSD 5.8-beta (GENERIC.MP) #1171: Sun Jul 19 19:03:27 MDT 2015
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8451125248 (8059MB)
avail mem = 8191111168 (7811MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (66 entries)
bios0: vendor LENOVO version "8DET69WW (1.39 )" date 07/18/2013
bios0: LENOVO 4298W2E
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF!
TCPA SSDT SSDT UEFI UEFI UEFI acpi0: wakeup devices LID_(S3) SLPB(S3)
IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) EHC2(S3) HDEF(S4) acpitimer0 at
acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.61 MHz
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
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 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.26 MHz
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.26 MHz
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.26 MHz
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus -1 (EXP7)
acpicpu0 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu1 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu2 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu3 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4879" serial 14468 type LION oem
"SANYO" acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2691 MHz: speeds: 2701, 2700, 2400, 2200,
2000, 1800, 1600, 1400, 1200, 1000, 800 MHz pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1
com com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msiem0:
Hardware Initialization Failedem0: Unable to initialize the hardware
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2
int 16 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root
hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 6
Series HD Audio" rev 0x04: msi azalia0: codecs: Conexant/0x506e,
Intel/0x2805, using Conexant/0x506e audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev
0x34: msi, MIMO 2T2R, MoW, address 10:0b:a9:bf:0c:ec ppb2 at pci0 dev
28 function 3 "Intel 6 Series PCIE" rev 0xb4: msi pci3 at ppb2 bus 5
ppb3 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb4: msi
pci4 at ppb3 bus 13
sdhc0 at pci4 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2
int 16 sdmmc0 at sdhc0
ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 2
int 23 usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel QM67 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x04: msi,
AHCI 1.3 ahci0: port 0: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, ST320LT020-9YG14, 0003> SCSI3
0/direct fixed naa.5000c50048c3b5a6 sd0: 305245MB, 512 bytes/sector,
625142448 sectors ichiic0 at pci0 dev 31 function 3 "Intel 6 Series
SMBus" rev 0x04: apic 2 int 18 iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
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, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
wsmouse1 at pms0 mux 0
pms0: Synaptics clickpad, firmware 8.0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "UPEK Biometric Coprocessor" rev 1.01/0.02 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp Broadcom Bluetooth Device" rev
2.00/7.48 addr 4 uvideo0 at uhub2 port 6 configuration 1 interface 0
"Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/8.54 addr 5
video0 at uvideo0 uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev
2.00/0.00 addr 2 vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (b52260ed12b12c2d.a) swap on sd0b dump on sd0b

Xorg.0.log just in case:

[    20.986] (--) checkDevMem: using aperture driver /dev/xf86
[    20.994] (--) Using wscons driver on /dev/ttyC4 in pcvt
compatibility mode (version 3.32) [    21.060]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[    21.060] X Protocol Version 11, Revision 0
[    21.060] Build Operating System: OpenBSD 5.8 amd64
[    21.060] Current Operating System: OpenBSD thinknate.my.domain 5.8
GENERIC.MP#1171 amd64 [    21.061] Build Date: 19 July 2015  06:34:59PM
[    21.061]  
[    21.061] Current version of pixman: 0.32.6
[    21.061] Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    21.061] Markers: (--) probed, (**) from config file, (==) default
setting, (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    21.061] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 24
08:52:58 2015 [    21.099] (==) Using system config directory
"/usr/X11R6/share/X11/xorg.conf.d" [    21.116] (==) No Layout
section.  Using the first Screen section. [    21.120] (==) No screen
section available. Using defaults. [    21.121] (**) |-->Screen
"Default Screen Section" (0) [    21.121] (**) |   |-->Monitor
"<default monitor>" [    21.121] (==) No monitor specified for screen
"Default Screen Section". Using a default monitor configuration.
[    21.121] (==) Disabling SIGIO handlers for input devices
[    21.122] (==) Automatically adding devices
[    21.122] (==) Automatically enabling devices
[    21.122] (==) Not automatically adding GPU devices
[    21.265] (==) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF/,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
[    21.265] (==) ModulePath set to "/usr/X11R6/lib/modules"
[    21.265] (II) The server relies on wscons to provide the list of
input devices. If no devices become available, reconfigure wscons or
disable AutoAddDevices. [    21.274] (II) Loader magic: 0x1778e09356a0
[    21.274] (II) Module ABI versions:
[    21.274] X.Org ANSI C Emulation: 0.4
[    21.274] X.Org Video Driver: 18.0
[    21.274] X.Org XInput driver : 21.0
[    21.274] X.Org Server Extension : 8.0
[    21.278] (--) PCI:*(0:0:2:0) 8086:0126:17aa:21db rev 9, Mem @
0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00005000/64
[    21.279] (II) LoadModule: "glx" [    21.321] (II)
Loading /usr/X11R6/lib/modules/extensions/libglx.so [    21.604] (II)
Module glx: vendor="X.Org Foundation" [    21.604] compiled for
1.16.4, module version = 1.0.0 [    21.604] ABI class: X.Org
Server Extension, version 8.0 [    21.604] (==) AIGLX enabled
[    21.604] (==) Matched intel as autoconfigured driver 0
[    21.604] (==) Matched vesa as autoconfigured driver 1
[    21.604] (==) Assigned the driver to the xf86ConfigLayout
[    21.604] (II) LoadModule: "intel"
[    21.604] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[    21.667] (II) Module intel: vendor="X.Org Foundation"
[    21.667] compiled for 1.16.4, module version = 2.99.916
[    21.667] Module class: X.Org Video Driver
[    21.667] ABI class: X.Org Video Driver, version 18.0
[    21.667] (II) LoadModule: "vesa"
[    21.667] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
[    21.669] (II) Module vesa: vendor="X.Org Foundation"
[    21.669] compiled for 1.16.4, module version = 2.3.3
[    21.669] Module class: X.Org Video Driver
[    21.669] ABI class: X.Org Video Driver, version 18.0
[    21.669] (II) intel: Driver for Intel(R) Integrated Graphics
Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM,
865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33,
Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    21.669] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    21.669] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100,
6100 [    21.669] (II) intel: Driver for Intel(R) Iris(TM) Pro
Graphics: 5200, 6200, P6300 [    21.669] (II) VESA: driver for VESA
chipsets: vesa [    21.733] (II) intel(0): Using Kernel Mode Setting
driver: i915, version 1.6.0 20080730 [    21.734] (WW) Falling back to
old probe method for vesa [    21.784] (--) intel(0): Integrated
Graphics Chipset: Intel(R) HD Graphics 3000 [    21.784] (--) intel(0):
CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx [    21.784] (II)
intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32 [    21.784] (==)
intel(0): Depth 24, (--) framebuffer bpp 32 [    21.784] (==) intel(0):
RGB weight 888 [    21.784] (==) intel(0): Default visual is TrueColor
[    21.789] (II) intel(0): Output LVDS1 has no monitor section
[    21.798] (--) intel(0): Found backlight control interface wscons
(type 'platform') for output LVDS1 [    21.798] (II) intel(0): Enabled
output LVDS1 [    21.798] (II) intel(0): Output VGA1 has no monitor
section [    21.798] (II) intel(0): Enabled output VGA1
[    21.798] (II) intel(0): Output HDMI1 has no monitor section
[    21.798] (II) intel(0): Enabled output HDMI1
[    21.798] (II) intel(0): Output DP1 has no monitor section
[    21.798] (II) intel(0): Enabled output DP1
[    21.798] (II) intel(0): Output HDMI2 has no monitor section
[    21.798] (II) intel(0): Enabled output HDMI2
[    21.798] (II) intel(0): Output HDMI3 has no monitor section
[    21.798] (II) intel(0): Enabled output HDMI3
[    21.798] (II) intel(0): Output DP2 has no monitor section
[    21.798] (II) intel(0): Enabled output DP2
[    21.798] (II) intel(0): Output DP3 has no monitor section
[    21.798] (II) intel(0): Enabled output DP3
[    21.798] (--) intel(0): Using a maximum size of 64x64 for hardware
cursors [    21.798] (II) intel(0): Output VIRTUAL1 has no monitor
section [    21.798] (II) intel(0): Enabled output VIRTUAL1
[    21.798] (--) intel(0): Output LVDS1 using initial mode 1366x768 on
pipe 0 [    21.799] (==) intel(0): TearFree disabled
[    21.799] (==) intel(0): DPI set to (96, 96)
[    21.799] (II) Loading sub module "dri2"
[    21.799] (II) LoadModule: "dri2"
[    21.799] (II) Module "dri2" already built-in
[    21.799] (II) Loading sub module "present"
[    21.799] (II) LoadModule: "present"
[    21.799] (II) Module "present" already built-in
[    21.799] (II) UnloadModule: "vesa"
[    21.799] (II) Unloading vesa
[    21.799] (==) Depth 24 pixmap format is 32 bpp
[    21.868] (II) intel(0): SNA initialized with Sandybridge (gen6,
gt2) backend [    21.868] (==) intel(0): Backing store enabled
[    21.868] (==) intel(0): Silken mouse disabled
[    21.879] (II) intel(0): HW Cursor enabled
[    21.879] (II) intel(0): RandR 1.2 enabled, ignore the following
RandR disabled message. [    21.893] (==) intel(0): DPMS enabled
[    21.896] (II) intel(0): [DRI2] Setup complete
[    21.896] (II) intel(0): [DRI2]   DRI driver: i965
[    21.896] (II) intel(0): [DRI2]   VDPAU driver: i965
[    21.896] (II) intel(0): direct rendering: DRI2 enabled
[    21.896] (II) intel(0): hardware support for Present enabled
[    21.897] (--) RandR disabled
[    22.146] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    22.147] (II) AIGLX: enabled GLX_ARB_create_context
[    22.147] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    22.147] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    22.147] (II) AIGLX: enabled GLX_INTEL_swap_event
[    22.147] (II) AIGLX: enabled GLX_SGI_swap_control and
GLX_MESA_swap_control [    22.147] (II) AIGLX: enabled
GLX_EXT_framebuffer_sRGB [    22.147] (II) AIGLX: enabled
GLX_ARB_fbconfig_float [    22.147] (II) AIGLX:
GLX_EXT_texture_from_pixmap backed by buffer objects [    22.147] (II)
AIGLX: Loaded and initialized i965 [    22.147] (II) GLX: Initialized
DRI2 GL provider for screen 0 [    22.171] (II) intel(0): switch to
mode 1366x768@60.0 on LVDS1 using pipe 0, position (0, 0), rotation
normal, reflection none [    22.183] (II) intel(0): Setting screen
physical size to 361 x 203 [    22.771] (II) config/wscons: checking
input device /dev/wskbd [    22.771] (II) wskbd: using layout us
[    22.783] (II) LoadModule: "kbd" [    22.808] (II)
Loading /usr/X11R6/lib/modules/input/kbd_drv.so [    22.816] (II)
Module kbd: vendor="X.Org Foundation" [    22.816] compiled for
1.16.4, module version = 1.8.0 [    22.816] Module class: X.Org
XInput Driver [    22.816] ABI class: X.Org XInput driver,
version 21.0 [    22.816] (II) Using input driver 'kbd' for '/dev/wskbd'
[    22.816] (**) /dev/wskbd: always reports core events
[    22.816] (**) /dev/wskbd: always reports core events
[    22.816] (**) Option "Protocol" "standard"
[    22.816] (**) Option "XkbRules" "base"
[    22.816] (**) Option "XkbModel" "pc105"
[    22.816] (**) Option "XkbLayout" "us"
[    22.816] (II) XINPUT: Adding extended input device
"/dev/wskbd" (type: KEYBOARD, id 6) [    23.302] (II) config/wscons:
checking input device /dev/wsmouse0 [    23.302] (**) /dev/wsmouse0:
Applying InputClass "touchpad catchall" [    23.302]
(**) /dev/wsmouse0: Applying InputClass "Default clickpad
buttons" [    23.302] (II) LoadModule: "synaptics" [    23.303] (II)
Loading /usr/X11R6/lib/modules/input/synaptics_drv.so [    23.304] (II)
Module synaptics: vendor="X.Org Foundation" [    23.304]
compiled for 1.16.4, module version = 1.8.2 [    23.304] Module
class: X.Org XInput Driver [    23.304] ABI class: X.Org XInput
driver, version 21.0 [    23.304] (II) Using input driver 'synaptics'
for '/dev/wsmouse0' [    23.304] (**) /dev/wsmouse0: always reports
core events [    23.305] (**) Option "Device" "/dev/wsmouse0"
[    24.249] (--) synaptics: /dev/wsmouse0: x-axis range 1472 - 5472
resolution 75 [    24.249] (--) synaptics: /dev/wsmouse0: y-axis range
1408 - 4448 resolution 129 [    24.249] (**) /dev/wsmouse0: always
reports core events [    24.256] (II) XINPUT: Adding extended input
device "/dev/wsmouse0" (type: TOUCHPAD, id 7) [    24.256] (**)
synaptics: /dev/wsmouse0: (accel) MinSpeed is now constant deceleration
2.5 [    24.256] (**) synaptics: /dev/wsmouse0: (accel) MaxSpeed is now
1.75 [    24.256] (**) synaptics: /dev/wsmouse0: (accel) AccelFactor is
now 0.040 [    24.257] (**) /dev/wsmouse0: (accel) keeping acceleration
scheme 1 [    24.257] (**) /dev/wsmouse0: (accel) acceleration profile
1 [    24.257] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000
[    24.257] (**) /dev/wsmouse0: (accel) acceleration threshold: 4
[    24.725] (II) config/wscons: checking input device /dev/wsmouse
[    24.725] (II) LoadModule: "ws" [    24.726] (II)
Loading /usr/X11R6/lib/modules/input/ws_drv.so [    24.727] (II) Module
ws: vendor="X.Org Foundation" [    24.727] compiled for 1.16.4,
module version = 1.3.0 [    24.727] Module class: X.Org XInput
Driver [    24.727] ABI class: X.Org XInput driver, version 21.0
[    24.727] (II) Using input driver 'ws' for '/dev/wsmouse'
[    24.727] (**) /dev/wsmouse: always reports core events
[    24.727] (II) ws: /dev/wsmouse: debuglevel 0
[    24.727] (**) Option "Device" "/dev/wsmouse"
[    24.727] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[    24.727] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[    24.727] (**) ws: /dev/wsmouse: associated screen: 0
[    24.727] (II) ws: /dev/wsmouse: minimum x position: 0
[    24.727] (II) ws: /dev/wsmouse: maximum x position: 1365
[    24.727] (II) ws: /dev/wsmouse: minimum y position: 0
[    24.727] (II) ws: /dev/wsmouse: maximum y position: 767
[    24.727] (==) ws: /dev/wsmouse: Buttons: 7
[    24.727] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[    24.727] (II) XINPUT: Adding extended input device
"/dev/wsmouse" (type: MOUSE, id 8) [    24.727] (**) /dev/wsmouse:
(accel) keeping acceleration scheme 1 [    24.727] (**) /dev/wsmouse:
(accel) acceleration profile 0 [    24.727] (**) /dev/wsmouse: (accel)
acceleration factor: 2.000 [    24.727] (**) /dev/wsmouse: (accel)
acceleration threshold: 4 [    95.090] (II) intel(0): EDID vendor
"LGD", prod id 728 [    95.090] (II) intel(0): Printing DDC gathered
Modelines: [    95.090] (II) intel(0): Modeline "1366x768"x0.0   75.20
1366 1414 1478 1582  768 772 779 792 +hsync -vsync (47.5 kHz eP)

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Marc Espie-2
On Fri, Jul 24, 2015 at 10:22:14AM -0700, Nathan Van Ymeren wrote:

> Hi,
>
> I'm running the 19 July snapshot and am experiencing laggy tab
> behaviour in both Chromium and Firefox.  Specifically, when opening and
> closing tabs I regularly experience noticeable and irritating pauses.
>
> The system is a thinkpad X220T with an i7 and 8 GB of memory, and under
> different operating systems tabbing performance is acceptable.
>
> Has anyone experienced similar?

Do you have tabs that use sounds ? There was a bug where sndiod could hang.
I did notice it precisely because tabs were behaving strangely.
Said bug has been fixed. Newer snapshot will be fine.

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Nathan Van Ymeren-2
On Sat, 25 Jul 2015 12:54:39 +0200
Marc Espie <[hidden email]> wrote:

> On Fri, Jul 24, 2015 at 10:22:14AM -0700, Nathan Van Ymeren wrote:
> > Hi,
> >
> > I'm running the 19 July snapshot and am experiencing laggy tab
> > behaviour in both Chromium and Firefox.  Specifically, when opening
> > and closing tabs I regularly experience noticeable and irritating
> > pauses.
> >
> > The system is a thinkpad X220T with an i7 and 8 GB of memory, and
> > under different operating systems tabbing performance is acceptable.
> >
> > Has anyone experienced similar?
>
> Do you have tabs that use sounds ? There was a bug where sndiod could
> hang. I did notice it precisely because tabs were behaving strangely.
> Said bug has been fixed. Newer snapshot will be fine.

Hi Mark, thanks for your reply.  I've updated to the latest snapshot.

Unfortunately my problem persists even when tabs are not using sounds.
Scrolling e.g. the front page of Reddit is choppy and stuttery.  Using
apmd -A and hw.perfpolicy=auto helps a little with the tabbing issue
but not scrolling.

Both my browsers report that they are hardware-accelerated, so it at
least appears my graphics drivers are working.

I'm at a loss here.

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Henrik Friedrichsen
Hey,

On Sun, Jul 26, 2015 at 12:56:53PM -0700, Nathan Van Ymeren wrote:
> Unfortunately my problem persists even when tabs are not using sounds.
> Scrolling e.g. the front page of Reddit is choppy and stuttery.  Using
> apmd -A and hw.perfpolicy=auto helps a little with the tabbing issue
> but not scrolling.

I can pretty much confirm this on an X220i, I have sort of come to terms
with it, but it is definitely noticeable (in chromium and firefox).

Also, when I play clips on YouTube, playback sometimes hangs for half a
second. That is with a snapshot from today. To be safe, I also
recompiled sndio from CVS to make sure I didn't miss the previously
mentioned patch. While it does seem to have improved the situation, it's
not entirely fixed.

My guess is that this is due to missing SMP features/support, but I'm
not entirely sure.

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Dimitris Papastamos
On Sun, Jul 26, 2015 at 11:34:04PM +0200, Henrik Friedrichsen wrote:

> Hey,
>
> On Sun, Jul 26, 2015 at 12:56:53PM -0700, Nathan Van Ymeren wrote:
> > Unfortunately my problem persists even when tabs are not using sounds.
> > Scrolling e.g. the front page of Reddit is choppy and stuttery.  Using
> > apmd -A and hw.perfpolicy=auto helps a little with the tabbing issue
> > but not scrolling.
>
> I can pretty much confirm this on an X220i, I have sort of come to terms
> with it, but it is definitely noticeable (in chromium and firefox).
>
> Also, when I play clips on YouTube, playback sometimes hangs for half a
> second. That is with a snapshot from today. To be safe, I also
> recompiled sndio from CVS to make sure I didn't miss the previously
> mentioned patch. While it does seem to have improved the situation, it's
> not entirely fixed.

Try viewtube[0] and gecko-mediaplayer instead.  No hangs on my system
at all.

[0] http://isebaro.com/viewtube/?ln=en

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Henrik Friedrichsen
Hey

On Sun, Jul 26, 2015 at 10:46:30PM +0100, Dimitris Papastamos wrote:
> Try viewtube[0] and gecko-mediaplayer instead.  No hangs on my system
> at all.

Yeah, that is a workaround. Sometimes I use youtube_dl with mpv. That
was just one example, though ;p

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Benjamin Baier
In reply to this post by Henrik Friedrichsen
> I can pretty much confirm this on an X220i, I have sort of come to terms
> with it, but it is definitely noticeable (in chromium and firefox).
X220 here.

> Also, when I play clips on YouTube, playback sometimes hangs for half a
> second. That is with a snapshot from today. To be safe, I also
> recompiled sndio from CVS to make sure I didn't miss the previously
> mentioned patch. While it does seem to have improved the situation, it's
> not entirely fixed.
Noticed this, too. Running with hw.perfpolicy=high solves it for me,
unless there is heavy disk I/O then it starts stuttering again.

> My guess is that this is due to missing SMP features/support, but I'm
> not entirely sure.
My guess is that disk I/O takes precedence, and cpu C-state transitions
should be avoided while audio/video playback...

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Yass Amed
In reply to this post by Henrik Friedrichsen
QUOTE:"""

> I can pretty much confirm this on an X220i, I have sort of come to terms
> with it, but it is definitely noticeable (in chromium and firefox).

X220 here.
"""

This problem is NOT specific to this model or any other machine (as far as I experienced).
This issue was present on a few towers and still is on an Intel/Asus{1} based machine.
You can try debugging FireFox or Chromium with gdb(1).

{1} No dmesg, not on this machine at the moment.

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Stefan Sperling-5
On Mon, Jul 27, 2015 at 08:58:54PM -0500, Yass Amed wrote:
> This problem is NOT specific to this model or any other machine (as far as I experienced).
> This issue was present on a few towers and still is on an Intel/Asus{1} based machine.
> You can try debugging FireFox or Chromium with gdb(1).
>
> {1} No dmesg, not on this machine at the moment.

I have never seen fluent browser HTML5 video on any OpenBSD machine.
Generally, videos at a fair resolution on OpenBSD played back without
use of xvideo extensions or OpenGL are not watchable.

My theory is that browsers rely on fast multi-core CPUs and multihreading in
the kernel to show video smoothly. OpenBSD doesn't have multihreading in
the kernel and is tuned for correctness rather than performance.

Did anyone try playing HTML5 video in a browser on a slow (<= 1Ghz) single
core machine running Linux? Would you expect that to work?

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Maurice McCarthy
On Tue, Jul 28, 2015 at 02:48:41PM +0200 or thereabouts, Stefan Sperling wrote:
> On Mon, Jul 27, 2015 at 08:58:54PM -0500, Yass Amed wrote:
> > This problem is NOT specific to this model or any other machine (as far as I experienced).
> > This issue was present on a few towers and still is on an Intel/Asus{1} based machine.
> > You can try debugging FireFox or Chromium with gdb(1).
> >
> > {1} No dmesg, not on this machine at the moment.
>
> I have never seen fluent browser HTML5 video on any OpenBSD machine.

Same here. I always download any video content first and play it in vlc or
mplayer. The chaps at Jondo reckon it is a little safer too.
https://anonymous-proxy-servers.net/en/faq-jondofox.html#1c 

> Generally, videos at a fair resolution on OpenBSD played back without
> use of xvideo extensions or OpenGL are not watchable.
>
> My theory is that browsers rely on fast multi-core CPUs and multihreading in
> the kernel to show video smoothly. OpenBSD doesn't have multihreading in
> the kernel and is tuned for correctness rather than performance.
>
> Did anyone try playing HTML5 video in a browser on a slow (<= 1Ghz) single
> core machine running Linux? Would you expect that to work?

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Benjamin Baier
In reply to this post by Stefan Sperling-5
On Tue, 28 Jul 2015 14:48:41 +0200
Stefan Sperling <[hidden email]> wrote:

> On Mon, Jul 27, 2015 at 08:58:54PM -0500, Yass Amed wrote:
> > This problem is NOT specific to this model or any other machine (as far as I experienced).
> > This issue was present on a few towers and still is on an Intel/Asus{1} based machine.
> > You can try debugging FireFox or Chromium with gdb(1).
> >
> > {1} No dmesg, not on this machine at the moment.
>
> I have never seen fluent browser HTML5 video on any OpenBSD machine.
> Generally, videos at a fair resolution on OpenBSD played back without
> use of xvideo extensions or OpenGL are not watchable.
I might have gotten luky but this Thinkpad X220 plays 720p Youtube HTML5
video in Chromium without glitches, even on fullscreen.
As long as there is no other system load.

> My theory is that browsers rely on fast multi-core CPUs and multihreading in
> the kernel to show video smoothly. OpenBSD doesn't have multihreading in
> the kernel and is tuned for correctness rather than performance.
>
> Did anyone try playing HTML5 video in a browser on a slow (<= 1Ghz) single
> core machine running Linux? Would you expect that to work?
>

OpenBSD 5.8 (GENERIC.MP) #2: Mon Jul 27 21:42:02 CEST 2015
    [hidden email]:/git/hellfish/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8451125248 (8059MB)
avail mem = 8191107072 (7811MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (64 entries)
bios0: vendor LENOVO version "8DET69WW (1.39 )" date 07/18/2013
bios0: LENOVO 4287CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT SSDT DMAR UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.29 MHz
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
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 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus -1 (EXP7)
acpicpu0 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu1 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu2 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu3 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4861" serial 12675 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK docked (15)
cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2200, 2000, 1800, 1600, 1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x09
vga1 at pci0 dev 2 function 0 "Intel HD Graphics 3000" rev 0x09
intagp at vga1 not configured
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address f0:de:f1:cd:a7:0f
ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 6 Series HD Audio" rev 0x04: msi
azalia0: codecs: Conexant/0x506e, Intel/0x2805, using Conexant/0x506e
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb4: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb4: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x34: msi, MIMO 2T2R, MoW, address 10:0b:a9:9e:65:34
ppb2 at pci0 dev 28 function 3 "Intel 6 Series PCIE" rev 0xb4: msi
pci3 at ppb2 bus 5
ppb3 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb4: msi
pci4 at ppb3 bus 13
sdhc0 at pci4 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x07: apic 2 int 16
sdmmc0 at sdhc0
ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x04: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel QM67 LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 0: 6.0Gb/s
ahci0: port 1: 1.5Gb/s
ahci0: port 2: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, SanDisk SD6SB1M1, X230> SCSI3 0/direct fixed naa.5001b449c700768f
sd0: 122104MB, 512 bytes/sector, 250069680 sectors, thin
cd0 at scsibus1 targ 1 lun 0: <Optiarc, DVD RW AD-7930H, 1.D1> ATAPI 5/cdrom removable
sd1 at scsibus1 targ 2 lun 0: <ATA, TOSHIBA THNSNH25, HTGA> SCSI3 0/direct fixed naa.500080db000064dc
sd1: 244198MB, 512 bytes/sector, 500118192 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 6 Series SMBus" rev 0x04: apic 2 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-10600 SO-DIMM
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, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
wsmouse1 at pms0 mux 0
pms0: Synaptics clickpad, firmware 8.0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub2 port 1 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 3
uhidev0 at uhub3 port 1 configuration 1 interface 0 "TypeMatrix.com USB Keyboard" rev 1.10/1.50 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 1 configuration 1 interface 1 "TypeMatrix.com USB Keyboard" rev 1.10/1.50 addr 4
uhidev1: iclass 3/1, 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=2, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=2, output=1, feature=0
uhidev2 at uhub3 port 2 configuration 1 interface 0 "SteelSeries Kinzu V2 Gaming Mouse" rev 1.10/0.96 addr 5
uhidev2: iclass 3/0
uhid3 at uhidev2: input=32, output=32, feature=255
uhidev3 at uhub3 port 2 configuration 1 interface 1 "SteelSeries Kinzu V2 Gaming Mouse" rev 1.10/0.96 addr 5
uhidev3: iclass 3/1
ums0 at uhidev3: 8 buttons, Z dir
wsmouse2 at ums0 mux 0
ugen0 at uhub3 port 4 "samsung GT-N7100" rev 2.00/2.26 addr 6
ugen1 at uhub2 port 4 "Broadcom Corp Broadcom Bluetooth Device" rev 2.00/7.48 addr 7
uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/8.54 addr 8
video0 at uvideo0
uhub4 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 0, 005> SCSI2 0/direct fixed
sd2: 223732MB, 512 bytes/sector, 458204672 sectors
softraid0: volume sd2 is roaming, it used to be sd3, updating metadata
root on sd1a (cb2b25d2bc04572e.a) swap on sd1b dump on sd1b
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev0 detached
uhid0 detached
uhid1 detached
uhid2 detached
uhidev1 detached
uhid3 detached
uhidev2 detached
wsmouse2 detached
ums0 detached
uhidev3 detached
ugen0 detached
uhub3 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub4 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub2 port 1 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 3
uhidev0 at uhub3 port 1 configuration 1 interface 0 "TypeMatrix.com USB Keyboard" rev 1.10/1.50 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 1 configuration 1 interface 1 "TypeMatrix.com USB Keyboard" rev 1.10/1.50 addr 4
uhidev1: iclass 3/1, 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=2, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=2, output=1, feature=0
uhidev2 at uhub3 port 2 configuration 1 interface 0 "SteelSeries Kinzu V2 Gaming Mouse" rev 1.10/0.96 addr 5
uhidev2: iclass 3/0
uhid3 at uhidev2: input=32, output=32, feature=255
uhidev3 at uhub3 port 2 configuration 1 interface 1 "SteelSeries Kinzu V2 Gaming Mouse" rev 1.10/0.96 addr 5
uhidev3: iclass 3/1
ums0 at uhidev3: 8 buttons, Z dir
wsmouse2 at ums0 mux 0
ugen0 at uhub3 port 4 "samsung GT-N7100" rev 2.00/2.26 addr 6
ugen1 at uhub2 port 4 "Broadcom Corp Broadcom Bluetooth Device" rev 2.00/7.48 addr 7
uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/8.54 addr 8
video0 at uvideo0
uhub4 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev0 detached
uhid0 detached
uhid1 detached
uhid2 detached
uhidev1 detached
uhid3 detached
uhidev2 detached
wsmouse2 detached
ums0 detached
uhidev3 detached
ugen0 detached
uhub3 detached
ugen1 detached
video0 detached
uvideo0 detached
uhub2 detached
uhub0 detached
uhub4 detached
uhub1 detached
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub2 port 1 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 3
uhidev0 at uhub3 port 1 configuration 1 interface 0 "TypeMatrix.com USB Keyboard" rev 1.10/1.50 addr 4
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 1 configuration 1 interface 1 "TypeMatrix.com USB Keyboard" rev 1.10/1.50 addr 4
uhidev1: iclass 3/1, 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=2, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=2, output=1, feature=0
uhidev2 at uhub3 port 2 configuration 1 interface 0 "SteelSeries Kinzu V2 Gaming Mouse" rev 1.10/0.96 addr 5
uhidev2: iclass 3/0
uhid3 at uhidev2: input=32, output=32, feature=255
uhidev3 at uhub3 port 2 configuration 1 interface 1 "SteelSeries Kinzu V2 Gaming Mouse" rev 1.10/0.96 addr 5
uhidev3: iclass 3/1
ums0 at uhidev3: 8 buttons, Z dir
wsmouse2 at ums0 mux 0
ugen0 at uhub3 port 4 "samsung GT-N7100" rev 2.00/2.26 addr 6
ugen1 at uhub2 port 4 "Broadcom Corp Broadcom Bluetooth Device" rev 2.00/7.48 addr 7
uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics Co., Ltd. Integrated Camera" rev 2.00/8.54 addr 8
video0 at uvideo0
uhub4 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2


hw.machine=amd64
hw.model=Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
hw.ncpu=4
hw.byteorder=1234
hw.pagesize=4096
hw.diskcount=4
hw.sensors.cpu0.temp0=54.00 degC
hw.sensors.acpitz0.temp0=54.00 degC (zone temperature)
hw.sensors.acpibtn0.indicator0=On (lid open)
hw.sensors.acpibat0.volt0=11.10 VDC (voltage)
hw.sensors.acpibat0.volt1=12.81 VDC (current voltage)
hw.sensors.acpibat0.power0=0.00 W (rate)
hw.sensors.acpibat0.watthour0=23.58 Wh (last full capacity)
hw.sensors.acpibat0.watthour1=1.18 Wh (warning capacity)
hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity)
hw.sensors.acpibat0.watthour3=23.32 Wh (remaining capacity), OK
hw.sensors.acpibat0.watthour4=62.16 Wh (design capacity)
hw.sensors.acpibat0.raw0=0 (battery idle), OK
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpithinkpad0.fan0=3120 RPM
hw.sensors.acpidock0.indicator0=On (docked), OK
hw.sensors.aps0.temp0=40.00 degC
hw.sensors.aps0.temp1=40.00 degC
hw.sensors.aps0.indicator0=Off (Keyboard Active)
hw.sensors.aps0.indicator1=Off (Mouse Active)
hw.sensors.aps0.indicator2=On (Lid Open)
hw.sensors.aps0.raw0=517 (X_ACCEL)
hw.sensors.aps0.raw1=534 (Y_ACCEL)
hw.sensors.aps0.raw2=517 (X_VAR)
hw.sensors.aps0.raw3=534 (Y_VAR)
hw.sensors.softraid0.drive0=online (sd2), OK
hw.cpuspeed=2500
hw.setperf=0
hw.vendor=LENOVO
hw.product=4287CTO
hw.version=ThinkPad X220
hw.physmem=8451125248
hw.usermem=8383320064
hw.ncpufound=4
hw.allowpowerdown=1
hw.perfpolicy=high

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Christian Weisgerber
In reply to this post by Maurice McCarthy
On 2015-07-28, Maurice McCarthy <[hidden email]> wrote:

>> I have never seen fluent browser HTML5 video on any OpenBSD machine.
>
> Same here. I always download any video content first and play it in vlc or
> mplayer. The chaps at Jondo reckon it is a little safer too.
> https://anonymous-proxy-servers.net/en/faq-jondofox.html#1c 

Their remark is specifically about Flash and not at all about HTML5.

Both VLC and MPlayer are kitchen-sink applications full of dubious
code.  VLC gets regular security advertisements; MPlayer doesn't,
but that probably just means that nobody can be bothered to write
them.

--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Stefan Sperling-5
In reply to this post by Benjamin Baier
On Tue, Jul 28, 2015 at 04:17:16PM +0200, Benjamin Baier wrote:
> I might have gotten luky but this Thinkpad X220 plays 720p Youtube HTML5
> video in Chromium without glitches, even on fullscreen.
> As long as there is no other system load.

I've only tried firefox.

AFAIK chromium makes some use of OpenGL.
Perhaps that's why it works for you.

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

David Coppa
Il 28/lug/2015 19:06, "Stefan Sperling" <[hidden email]> ha scritto:

>
> On Tue, Jul 28, 2015 at 04:17:16PM +0200, Benjamin Baier wrote:
> > I might have gotten luky but this Thinkpad X220 plays 720p Youtube HTML5
> > video in Chromium without glitches, even on fullscreen.
> > As long as there is no other system load.
>
> I've only tried firefox.
>
> AFAIK chromium makes some use of OpenGL.
> Perhaps that's why it works for you.

something is fscked up wrt gstreamer playback (Firefox uses gstreamer) .
Chromium and Iridium work fine for me on a T420.

Cheers,
David

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Stuart Henderson
In reply to this post by Stefan Sperling-5
On 2015-07-28, Stefan Sperling <[hidden email]> wrote:

> On Mon, Jul 27, 2015 at 08:58:54PM -0500, Yass Amed wrote:
>> This problem is NOT specific to this model or any other machine (as far as I experienced).
>> This issue was present on a few towers and still is on an Intel/Asus{1} based machine.
>> You can try debugging FireFox or Chromium with gdb(1).
>>
>> {1} No dmesg, not on this machine at the moment.
>
> I have never seen fluent browser HTML5 video on any OpenBSD machine.
> Generally, videos at a fair resolution on OpenBSD played back without
> use of xvideo extensions or OpenGL are not watchable.
>
> My theory is that browsers rely on fast multi-core CPUs and multihreading in
> the kernel to show video smoothly. OpenBSD doesn't have multihreading in
> the kernel and is tuned for correctness rather than performance.
>
> Did anyone try playing HTML5 video in a browser on a slow (<= 1Ghz) single
> core machine running Linux? Would you expect that to work?
>
>

IIRC it works better on GENERIC rather than GENERIC.MP. I haven't tried in
a while though.

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Matthew Martin-2
In reply to this post by Henrik Friedrichsen
On 7/26/15, Henrik Friedrichsen <[hidden email]> wrote:

> Hey
>
> On Sun, Jul 26, 2015 at 10:46:30PM +0100, Dimitris Papastamos wrote:
>> Try viewtube[0] and gecko-mediaplayer instead.  No hangs on my system
>> at all.
>
> Yeah, that is a workaround. Sometimes I use youtube_dl with mpv. That
> was just one example, though ;p
>
>

I've used essentially this[1] bound to a key in cwm ever since coming
across it to watch videos... I prefer browsers to just browse[2].

#!/bin/sh
# needs zenity, youtube-dl and vlc installed

URL=$(zenity --entry --text "Enter Video URL:")
if [ "$URL" = "" ]; then
    echo "You must enter a url."
    exit
fi
TMPFILE=$(mktemp /tmp/youtube-vid.XXXXXX)
youtube-dl --no-part -f 18/0/h264-sd -o $TMPFILE "$URL" &
DL_PID=$!
sleep 5
cvlc -f $TMPFILE vlc://quit
kill $DL_PID
rm $TMPFILE

---

[1] http://daemonforums.org/showpost.php?s=985087eedf0b6bd2d04482749e5fd726&p=50021&postcount=29

[2] I say as typing this into gmail...

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Kevin Chadwick-4
In reply to this post by Stefan Sperling-5
> Did anyone try playing HTML5 video in a browser on a slow (<= 1Ghz) single
> core machine running Linux? Would you expect that to work?

Can't be done, maybe with a new 1ghz with a newish intel gpu. It took me
a while with custom settings to get mythtv just to play DVB (480?) video
(mplayer worked) well on something like mythbuntu 7 or 9 and newer
versions of mythbuntu couldn't on the same hardware and settings.

I have a p4 3ghz with hd2400 pro that can play 1080p after some
twiddling in mythtv (vdpau which I thought was for nvidia) but low grade
iplayer HD (<720P) is pushing it towards the limits on google chrome
and I have another mythtv intel gpu 64 bit dual core (newer than duo)
machine where chrome can play browser video but firefox really
struggles.

I'll love the day I can ditch those linux boxes with html5 being one
step but I'm not sure I'll hold my breath for dvb/dvbs card support
but maybe tv will all come through the internet via html5 in the
future anyway :-)

Things like sky go and many others only work with Windows and mobiles
currently though. Pirate sites work of course and often have more
conetent in one place as long as you can navigate the forests of
javascript that OpenBSD is better suited to ;-)

--

KISSIS - Keep It Simple So It's Securable

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Nils Reuße-4
In reply to this post by Matthew Martin-2
On 07/28/2015 11:08 PM, Matthew Martin wrote:

> On 7/26/15, Henrik Friedrichsen <[hidden email]> wrote:
>> Hey
>>
>> On Sun, Jul 26, 2015 at 10:46:30PM +0100, Dimitris Papastamos wrote:
>>> Try viewtube[0] and gecko-mediaplayer instead.  No hangs on my system
>>> at all.
>>
>> Yeah, that is a workaround. Sometimes I use youtube_dl with mpv. That
>> was just one example, though ;p
>>
>>
>
> I've used essentially this[1] bound to a key in cwm ever since coming
> across it to watch videos... I prefer browsers to just browse[2].
>
> #!/bin/sh
> # needs zenity, youtube-dl and vlc installed
>
> URL=$(zenity --entry --text "Enter Video URL:")
> if [ "$URL" = "" ]; then
>      echo "You must enter a url."
>      exit
> fi
> TMPFILE=$(mktemp /tmp/youtube-vid.XXXXXX)
> youtube-dl --no-part -f 18/0/h264-sd -o $TMPFILE "$URL" &
> DL_PID=$!
> sleep 5
> cvlc -f $TMPFILE vlc://quit
> kill $DL_PID
> rm $TMPFILE
>
> ---
>
> [1] http://daemonforums.org/showpost.php?s=985087eedf0b6bd2d04482749e5fd726&p=50021&postcount=29
>
> [2] I say as typing this into gmail...
>

Ha, someone's using my script on the internet ;) Nowadays mpv uses
youtube-dl, so mpv <url> works with even less dependencies. Here's a
newer version of my script:

#!/bin/sh

URL="$(xclip -o)"
if [ "$URL" = "" ]; then
     echo "You must select a url."
     exit 1
fi
mpv -fs "$URL"

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Nathan Van Ymeren-2
In reply to this post by Nathan Van Ymeren-2
Well, video playback aside (least of my problems on this machine
tbqf)...

>OpenBSD doesn't have multithreading in the kernel and is tuned for
>correctness rather than performance.

I take from that I should not expect to see any movement on this
front...

Should I give up and go back to Linux then? Web usage is like a
solid 50-60% of my daily use on this machine; I can't handle how bad
scrolling and opening+closing tabs are if it's going to be my daily
driver OS.

Reply | Threaded
Open this post in threaded view
|

Re: Sluggish/laggy browser behaviour

Theo de Raadt
In reply to this post by Nathan Van Ymeren-2
> >OpenBSD doesn't have multithreading in the kernel and is tuned for
> >correctness rather than performance.
>
> I take from that I should not expect to see any movement on this
> front...

Nope.  A non-developer is trying to preach their point of view to
you.

12