From nobody Sat Jan 20 17:54:08 2024 X-Original-To: freebsd-x11@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 4THPHq2dsZz56NXt for ; Sat, 20 Jan 2024 17:54:15 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4THPHq27D5z4Q5M; Sat, 20 Jan 2024 17:54:15 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705773255; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MqPg6u1oR4XwqtT087XMYT/72sDZdb1mbCoAnG5OJn4=; b=ClkkjTxp4xtNc2yckiqzvHoDwMd/VC37bhFUHNOnJtexxcYZDseLsiLt/V8fAP/Z5FdpR7 e2I64AcFjqaY5IfthIn76pSBHTgHkHrhgnSivhRRNKIzbmTdi6KnvXYuc64ZE02vS5+iVR pvJhAnb1AApLTV5MaUZrzNDxP2u6zKXrWMbbTX9R1+ZU923f5nnyD9NXJSmbO8tRco+kbR Imys9zY5YHYcEDhelVydUOXYrin0oTiTp0KdQKLVBWUEJO1+lwIyiqMuce5pxwNzA64Rm7 l720J4f7yhQVI8/PHig4+JSbDiao5db2wk7PJnubK012FeDrzt235ThB4yvlqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705773255; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=MqPg6u1oR4XwqtT087XMYT/72sDZdb1mbCoAnG5OJn4=; b=kJrnNMGcTqFjJfHh1wPzQuZIjRjDeRHmsoIbM+CZHcEui/fydOSxAE6TxcTsWYV/Xx24GD I4rrMHzXMfsowvr7a1bA8nqlmxKsbYCzGoLqnSGzUhn5NY99hy1Sxz8Nw54VZetC+81jmR GR/hAUdG5OvbXNWOpBGwajuXHnwMeafht0raD+FMYggVcSw1ZXTO7BhcXrLPxFS1jXp73M XhFMmOdbu0BPOmb8/Qx/NsJEqDV00iK0E9Xo1nQZ1acXvmlhmc7LUKl7mVs0Nb6q4P/sXc Yc5KqgcMx8BxW9ZCeS+FM6U33dsORy5ZQsnHo6kO3V79dtSHuxumPD+YFtBaAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705773255; a=rsa-sha256; cv=none; b=HqQWc2vUkx7XJhpGN6LSjL2kOHPc6kz1RRmNwGnd54vc+ul6JN0yVDNH/3TMJjGPnGXiRS Mp3qm15q0XWqC00pFVEGdHUlTL4aMuhqwWJPkvgbb6g2X1M/q4ZJbz6yKrXA7X7Seim8Rw QCt6QyddkB1jD5h9n09RcdO16YUPfrm7fHlA6nRi9iU5c7VOdwFQA0q55WAqbgdkF3af9r Y5YmUmYuV6cycWHs70IhES229XsN4Db9x3uXedw8O3jIx/98vgzogRgMbslwDo0M9K3vAx wSlmib6kjDc4OZ3GJQFDSBV0Gpqdl/NC254e07qTD7kcfP5SWOTx3PZ4p7Z2Yw== Received: by freefall.freebsd.org (Postfix, from userid 1354) id 0553A12463; Sat, 20 Jan 2024 17:54:14 +0000 (UTC) From: Jan Beich To: Harry Schmalzbauer Cc: freebsd-x11@freebsd.org Subject: Re: SOLVED Re: Sloow blender on FreeBSD (vs Ubuntu) In-Reply-To: <04cfd508-1f1e-4dab-ad7a-3ae94f7871a9@omnilan.de> (Harry Schmalzbauer's message of "Sat, 20 Jan 2024 17:53:40 +0100") References: <86mtxk8xb8.fsf@virtual-earth.de> <86lfd4tvc4.fsf@virtual-earth.de> <86bldsd7dw.fsf@virtual-earth.de> <86bldowdkk.fsf@virtual-earth.de> <04cfd508-1f1e-4dab-ad7a-3ae94f7871a9@omnilan.de> Date: Sat, 20 Jan 2024 18:54:08 +0100 Message-ID: List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Harry Schmalzbauer writes: > And regarding performance, I'd like to share that > using x11-drivers/xf86-video-intel slows down XFCE4 by some orders of > magnitude compared to the 'modesetting' (xorg builtin component) > driver. This is a known issue with xf86-video-intel defaults: - upstream disables DRI3 by default, requiring downstream to pass --with-default-dri=3 - FreeBSD port disables SNA by default (see comment about --with-default-accel=uxa) I have the following in xorg.conf(5) from >4 years ago (no longer dogfood Xorg): Section "Device" Identifier "integrated_card" Driver "intel" Option "AccelMethod" "SNA" Option "DRI" "3" Option "TearFree" "false" # redundant with x11-wm/picom Option "TripleBuffer" "false" # lower latency and maybe unnecessary with x11-wm/picom BusID "pci:0:2:0" # hint for multi-GPU setups EndSection See also https://lists.freebsd.org/pipermail/freebsd-x11/2021-May/028125.html which affects both modesetting and xf86-video-intel but so far no one reproduced. Nowadays, modesetting causes stutters for me unless LIBGL_DRI3_DISABLE=1. Xorg perf regressions likely come from mesa-dri and drm-kmod updates but the latter is non-trivial to bisect as LinuxKPI is a moving target.