From owner-freebsd-x11@freebsd.org Fri Dec 27 11:12:47 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D24C51EA7D3 for ; Fri, 27 Dec 2019 11:12:47 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47kkgz5Fbcz40NZ; Fri, 27 Dec 2019 11:12:47 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 94A081FC1F; Fri, 27 Dec 2019 11:12:47 +0000 (UTC) From: Jan Beich To: Hans Petter Selasky Cc: freebsd-x11@FreeBSD.org Subject: Re: X11 + i915kms References: Date: Fri, 27 Dec 2019 12:12:45 +0100 In-Reply-To: (Hans Petter Selasky's message of "Fri, 27 Dec 2019 10:11:09 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Dec 2019 11:12:47 -0000 Hans Petter Selasky writes: > Hi, > > Just did a fresh install of X11 and stuff. I noticed the > xf86-video-intel is very sluggish unless SNA acceleration mode is > selected. Do you know anything about this? Maybe make it the default? > Or should I have used another driver? FreeBSD disabled SNA by default for compatibility with pre-SandyBridge on drm-legacy-kmod (previously, in-base drm2), see bug 214593. SNA is also unstable due to I915_USERPTR_UNSYNCHRONIZED, so you may need the patch in bug 236003. While modesetting DDX (part of xorg-server) is recommended over xf86-video-intel the version in ports/ is very old (may lack some PCI IDs) and may have bugs with LIBGL_DRI3_ENABLE=1 (upstream default). So try both.