From nobody Sun Oct 30 22:18:46 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N0rKL6v2mz4gmHV for ; Sun, 30 Oct 2022 22:18:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N0rKK6rVRz43Xm for ; Sun, 30 Oct 2022 22:18:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N0rKK5qxgz1CD5 for ; Sun, 30 Oct 2022 22:18:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29UMIjXG034436 for ; Sun, 30 Oct 2022 22:18:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29UMIjpd034435 for ports-bugs@FreeBSD.org; Sun, 30 Oct 2022 22:18:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266259] www/firefox 104: high CPU usage Date: Sun, 30 Oct 2022 22:18:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: riccardo@torrini.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667168326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jnq7INrTe4d64qky9FolBPcUNF79nXCWG+8ah+uygKE=; b=yuwKw9Nw0fzmVzdZ3PcS7N//1rqbCDvbIZVGihRKa2oJCyKM8E1hsWT9VOP2P8zmnaLfLT iVBRyqcoutdfTCACMXJ4bLl4SIKiSB7TOGpJuQZ4WJpT/ppD3CCEITPgCz1z37k6I1Vpvx V4epo/+66j0f0W3dX4kqkyoCj6L6qKENfUqhJfgwQzdYgOlQ7qq/qWXovB/bkzMQy3FFoG 1icgDHHEsrMSGv6vJZiUJF5VhWmN2hLNHeRch9wYCYu/AoNIykL8Q6EJg+x9p4mc4iZ3Yb XgxzCoUku7iW0mgt/Lrbo81s6/Hv/4O4qd7T89qB1x67askUYP0gxCf1VOTTWw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667168326; a=rsa-sha256; cv=none; b=Ik4RVpg5poDZ79/YMZxJ6bjgj3mSAUbTDGA0M9LfjO7mvLrZYvojD4o2EZIMS0iQTdja3q VlbVL+adjOcyo+ZgKad4kfYUnVzvJCsoR7bhkE2jOri86Okt0OIxbFNT6zWlcXzqzPXVWL wfI8cxFNKsgma3KsIWq+wTcHyRDRlgyv8VGNKgwAuGqom3G2G3tY6BYLHjvRcWUq3jz1Eh hiF8ppV+G0/4rjKL5/YpDXAbtaVvMesbwxsF5DvZrB8EdGDwZNrzVRcSaAjmRlPIxKri7B n9mSBvrS27/5CofhnnCL1YikhQ5wRJ3uDnomE3UsfSrG1UsaFoqGJo9AkXlpNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266259 --- Comment #9 from Riccardo Torrini --- Used some hints from here: https://wiki.archlinux.org/title/intel_graphics#DRI3_issues This is my current xorg.conf (very minimalistic): Section "Device" Identifier "Device0" Driver "intel" EndSection Added some options: - "dri" "3" - "AccelMethod" "sna" - "TearFree" "true" - "TripleBuffer" "true" but no differences. Changed driver from "intel" to "modesetting": [ 4874.032] (II) Initializing extension DRI2 [ 5857.446] (II) Initializing extension DRI3 [ 5857.448] (II) AIGLX: Screen 0 is not DRI2 capable running /usr/local/bin/xscreensaver-hacks/glhanoi fullscreen I got ~30 fps Back to intel: [ 6117.810] (II) intel(0): [DRI2] Setup complete [ 6117.810] (II) intel(0): [DRI2] DRI driver: iris [ 6117.810] (II) intel(0): [DRI2] VDPAU driver: va_gl [ 6117.810] (II) intel(0): DRI2: Enabled [ 6117.810] (II) intel(0): DRI3: Disabled [ 6117.849] (II) Initializing extension DRI3 [ 6117.882] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 6117.882] (II) Initializing extension DRI2 running /usr/local/bin/xscreensaver-hacks/glhanoi fullscreen I got ~54 fps I also noticed a random screen freeze (several seconds) not only using Fire= fox but also changing focus on xterm (or typing this message) >From dmesg.boot: drmn0: 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 0xc4000000, size 0x4000000 drmn0: successfully loaded firmware image 'i915/kbl_dmc_ver1_04.bin' drmn0: [drm] Finished loading DMC firmware i915/kbl_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 Grafana still not working on firefox (on any test) What should be the "right" X.org configuration for an i5-7600 (KabyLake)? I'm not sure that all problems are from firefox, maybe some drm issue. I'm really out of ideas for more test :-( --=20 You are receiving this mail because: You are the assignee for the bug.=