From owner-freebsd-questions@freebsd.org Sun Jan 24 19:30:43 2021 Return-Path: Delivered-To: freebsd-questions@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 366DF4D77C5 for ; Sun, 24 Jan 2021 19:30:43 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DP34f2CnZz4TQs for ; Sun, 24 Jan 2021 19:30:42 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from fews1.riseup.net (unknown [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DP33y5YjTzFghG; Sun, 24 Jan 2021 11:30:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1611516635; bh=gQQU2fBnVZeMVJSTpsKMJ+7m3lCJYZ+wwpVs17+88Pc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PtM3cf0SwD7zZ0zAxl0x0moNfPfUNCZQM3+zdNNKZPwIt0E7aqToHUQb02L+cG9gN 7CxQTnaWGuxfZaXoQcZc4hDhJOcXRfkXI6Z7Iy35ecUzA3GQAFi+TOqE+GDCD6urfD wxS3q/qNwPaNHoYe0mFq06lh3H0sr5AV1SSWk4gQ= X-Riseup-User-ID: 96BEFBC461B528CAFA579AC869A90B76D8435694A7EC4DD5AE98996722E94352 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4DP33w0KPrz5vSS; Sun, 24 Jan 2021 11:30:03 -0800 (PST) Date: Sun, 24 Jan 2021 20:29:58 +0100 From: Ralf Mardorf To: freebsd-questions@freebsd.org Cc: Polytropon Subject: Re: Xorg crashes several times a day Message-ID: <20210124202958.1984ba6a@archlinux> In-Reply-To: <20210124191123.e14e770a.freebsd@edvax.de> References: <8e371d97-a723-92f9-a884-087cc240ff96@cedro.info> <20210124191123.e14e770a.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DP34f2CnZz4TQs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=PtM3cf0S; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net X-Spamd-Result: default: False [-4.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[riseup.net:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.252.153.129:from]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[198.252.153.129:from:127.0.2.255]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2021 19:30:43 -0000 On Sun, 24 Jan 2021 19:11:23 +0100, Polytropon wrote: >Only older hardware might need manual intervention. Hi, I didn't read the complete thread, so I don't know if this was already mentioned. Relatively "modern" Intel GPUs need hardcore intervention on Linux machines. If FreeBSD isn't affect, it's nice. Latest Linux kernels suffer from a regression, you either need to migrate from the "intel" to the "modesetting" driver or you need to downgrade to an older, still supported LTS kernel. However, soon or later even LTS kernel support will be dropped by kernel.org. My machine is affected, my relatively "modern" GPU is actually very old, but I won't get rid of issues with the latest and greatest Intel GPU, so I switched to the "modesetting" driver, but using it is a PITA. Firfox suffers from short hangs, Chrome can't be used at all, even not by following a recommended workaround, to use the "disable GPU" feature. I'm back to the "intel" driver... [rocketmouse@archlinux ~]$ grep Driver /etc/X11/xorg.conf Driver "intel" #Driver "vesa" #Driver "modesetting" ...and build old LTS kernels. JFTR those halfway modern desktop environments or Linux window managers work very good when using the "modesetting" driver. Just important software doesn't work properly. Maybe FreeBSD is affected, too? A few links are provided by https://wiki.archlinux.org/index.php/intel_graphics#Installation . "Note: Some (Debian & Ubuntu, Fedora, KDE) recommend not installing the xf86-video-intel driver, and instead falling back on the modesetting driver for Gen4 and newer GPUs (GMA 3000 from 2006 and newer). See [1], [2], Xorg#Installation, and modesetting(4). However, the modesetting driver can cause problems such as Chromium Issue 370022 and vsync jitter/video stutter in mpv." Regards, Ralf