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 Fltcow 12034 total
1 21 12K1 2063 13K 1291984.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 freeatkbd0
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 0xf800ce7d8bc0 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 AddressSize Name
> > 1 21 0x8020 1ad5398 kernel
> > 21 0x81cd6000 c808 ehci.ko
> > 31 0x81ce3000 ce90 xhci.ko
> > 42 0x81cf 120e0dm.ko
> > 51 0x81d03000 1be98dm_target_crypt.ko
> > 61 0x82b1f000 1d990if_iwm.ko
> > 71 0x82b3d000 2068e8 iwm8000Cfw.ko
> > 81 0x82d44000 1bb260 iwm8265fw.ko
> > 91 0x8380 118000 i915.ko
> > 101 0x83918000 7drm.ko
> > 111 0x83988000 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: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz",
### : "%"
### [arg]: arg optional
#Option "SWcursor" # []
#Option "kmsdev"#
#Option "ShadowFB" # []
#Option "AccelMethod" #
#Option "PageFlip" # []
#Option "ZaphodHeads" #
#Option "DoubleShadow" # []
#Option "Atomic"# []
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