Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2024 18:54:08 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Harry Schmalzbauer <freebsd@omnilan.de>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: SOLVED Re: Sloow blender on FreeBSD (vs Ubuntu)
Message-ID:  <le8j-dh6n-wny@FreeBSD.org>
In-Reply-To: <04cfd508-1f1e-4dab-ad7a-3ae94f7871a9@omnilan.de> (Harry Schmalzbauer's message of "Sat, 20 Jan 2024 17:53:40 %2B0100")
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Harry Schmalzbauer <freebsd@omnilan.de> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?le8j-dh6n-wny>