On Tue, Jan 18, 2022 at 10:28:56AM +0100, Michael Neumann wrote: > On Mon, Jan 17, 2022 at 09:37:47PM +0100, Fritjof wrote: > > Hi, > > Hi, > > > I have installed DragonflyBSD 6.2.1 on my Thinkpad T460 with Hammer2. > > But I discoverd the following problem: > > - browsing with Firefox is incredibly slow, even moving the browser window > > jerks > > Have you tried chrome? >
It feels like it's faster, but Youtube is still slow and jumpy. > > - htop(1) shows that one of four CPU cores is also always at 100% > > Is it at 100% when firefox is running? X11 is running? On the console? > Jep, even though I check using htop(1) bevor I start X. Red bar at 100% for CPU 0, but there is process consuming more than 0.1% CPU time. > You might have an interrupt storm! Run `systat -v` and look at the right > side for "Interrupts". The numbers should not be too high. > % systat -v Interrupts r p d s Csw Trp Sys Int Sof Flt cow 12034 total 1 21 12K 1 2063 13K 129 1 984.45M wire 12032 acpi0 947.85M act psm0 23.0%Sys 1.7%Intr 0.0%User 0.0%Nice 75.3%Idle 456.42M inact xhci0 | | | | | | | | | | 926.96M cache vgapci0 ===========+ 4.599G free atkbd0 daefr ahci0 Path-lookups hits % Components Execs prcfr swi_mp_tas 10 10 100 2.80 react 2 iwm0 pdwake swi_cambio You might be right, 12000 seems a bit too much. > > - I found the following message in via dmesg: > > % dmesg | grep error > > dm_target_error: Successfully initialized > > WARN_ON(domain->wake_count == 0)<4>WARN_ON(domain->wake_count == > > 0)<4>WARN_ON(domain->wake_count == 0)error: [drm:pid233:gen8_gmch_probe] > > *ERROR* Can't set DMA mask/consistent mask (-5) > > i915/skl_dmc_ver1_26.bin: could not load firmware image, error 2 > > error: [drm:pid922:intel_dp_aux_wait_done] *ERROR* dp aux hw did not > > signal timeout (has irq: 1)! > > error: [drm:pid922:intel_dp_aux_wait_done] *ERROR* dp aux hw did not > > signal timeout (has irq: 1)! > > error: [drm:pid922:intel_dp_aux_wait_done] *ERROR* dp aux hw did not > > signal timeout (has irq: 1)! > > - % dmesg | grep i915 > > i915/skl_dmc_ver1_26.bin: could not load firmware image, error 2 > > drm0: Failed to load DMC firmware i915/skl_dmc_ver1_26.bin. Disabling > > runtime power management. > > [drm] Initialized i915 1.6.0 20171023 for dev_name on minor 0 > > i915: warning, request 0xfffff800ce7d8bc0 not completed > > This is "normal". I get the same output. Though I wonder whether we can > improve here! > > > The i915 module is loaded: > > % kldstat > > Id Refs Address Size Name > > 1 21 0xffffffff80200000 1ad5398 kernel > > 2 1 0xffffffff81cd6000 c808 ehci.ko > > 3 1 0xffffffff81ce3000 ce90 xhci.ko > > 4 2 0xffffffff81cf0000 120e0 dm.ko > > 5 1 0xffffffff81d03000 1be98 dm_target_crypt.ko > > 6 1 0xffffffff82b1f000 1d990 if_iwm.ko > > 7 1 0xffffffff82b3d000 2068e8 iwm8000Cfw.ko > > 8 1 0xffffffff82d44000 1bb260 iwm8265fw.ko > > 9 1 0xffffffff83800000 118000 i915.ko > > 10 1 0xffffffff83918000 70000 drm.ko > > 11 1 0xffffffff83988000 1000 iicbus.ko > > > > > > I use the standard kernel and just load the iwm and i915 modules via > > /boot/loader.conf and /etc/rc.conf. > > Does anyone has an answer or hint how to fix this? > > Did you configure the intel driver in /etc/X11/xorg.conf? Can you show > your "Device" section? It should look like this: > > Section "Device" > Identifier "Card0" > # Option "AccelMethod" "XAA" > Driver "intel" > BusID "PCI:0:2:0" > EndSection > Here is my "Device" section: Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz", ### <percent>: "<f>%" ### [arg]: arg optional #Option "SWcursor" # [<bool>] #Option "kmsdev" # <str> #Option "ShadowFB" # [<bool>] #Option "AccelMethod" # <str> #Option "PageFlip" # [<bool>] #Option "ZaphodHeads" # <str> #Option "DoubleShadow" # [<bool>] #Option "Atomic" # [<bool>] Identifier "Card0" Driver "modesetting" BusID "PCI:0:2:0" EndSection I changed the Driver to "intel". But I don't realy see any difference. > Do you see any Warnings (WW) or Error (EE) in /var/log/Xorg.0.log when > you start X? There are some AccelMethod's that you can try if things > don't work out of the box. > Nope, I don't see any errors. I will try a few of the acceleration methods. > Regards, > > Michael > Best, Fritjof