Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1021961imm; Fri, 22 Jun 2018 09:02:51 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIqVkg+bp6LhX8ISU7xfYmVtCizhCpvbeYS6MGOEtv80g+kC7jVERf2OdAN348T2XlYtt1E X-Received: by 2002:a63:6d0:: with SMTP id 199-v6mr1922789pgg.338.1529683371391; Fri, 22 Jun 2018 09:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529683371; cv=none; d=google.com; s=arc-20160816; b=VuTNckURudkvP3n7AXOTOpKJJUNhVE0C/fKhwaASy7og9hu4lXyadQAZHQicca4ouc W7FTaYDBoacOqen3c0WILWyZ9HCDTePVavNFedB1b4/4DiptrGK00XvU/1PPArTRC6uR A/nct9JYN8Y/I0EDCcYKTehpSy3Ov9pgej623q8nONfSI8GOiNHJuWO3s0OvssxH5JPm SI1TtNSoJ5dRVbjHm9VWKQgiMctslr5PZ2vV+ZtZRjJmI3MkZt0nSEUUNu2IObCoQ6p9 x2qsBbWW3hkt5XuWnjZC3jQxw/qM8nMqfU5Hx1tNCMRdNgaqsPlfwdDlr6znIlTlxhXO aFUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=c0mbySA6HjapUMPN11mrQmmkuLtv9seLT8Rf+wtqFV8=; b=sJQZ/rf97PEFsHw5u/6RtBXpLfxcPmjNtyHVzqZwou06pGxqBBMMLFfqRPO+JzE+k/ y+Kots39QREKQzkj87BEJE0EdNI+Jg7mvo9mH18IWgJZq8P+WbbgPkyy3QQo/0k2n+5r YfXNIwK+7khs2qnKCUcIXOGRWBGaJ/xbMy4UUoxjKrFTCM5OX0/yjBxbYTKne83jt80T 9yUXLwtx1nwxwH/cLPdK0poXf6X8OIHyJK3CkT1TI5MtZKJVEQnKXN0lsqC49HbTRJWf l+cLG4Rq2dgPUU/KGl//TlMSprT0eeAKvoqgG4uWaCDiqXl10g+wfQcuh0QznzBqwBwp zULw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p2-v6si7673051plr.494.2018.06.22.09.02.36; Fri, 22 Jun 2018 09:02:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934057AbeFVP7u (ORCPT + 99 others); Fri, 22 Jun 2018 11:59:50 -0400 Received: from www.llwyncelyn.cymru ([82.70.14.225]:60328 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933853AbeFVP7s (ORCPT ); Fri, 22 Jun 2018 11:59:48 -0400 Received: from alans-desktop (82-70-14-226.dsl.in-addr.zen.co.uk [82.70.14.226]) by fuzix.org (8.15.2/8.15.2) with ESMTP id w5MFxSrn000784; Fri, 22 Jun 2018 16:59:28 +0100 Date: Fri, 22 Jun 2018 16:59:27 +0100 From: Alan Cox To: Adam Borowski Cc: Dave Mielke , Nicolas Pitre , Greg Kroah-Hartman , Samuel Thibault , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/4] have the vt console preserve unicode characters Message-ID: <20180622165927.68679862@alans-desktop> In-Reply-To: <20180622015445.7r5u5nn6ofhd4k57@angband.pl> References: <20180617190706.14614-1-nicolas.pitre@linaro.org> <20180619130953.bxil552igfkckjmr@angband.pl> <20180621014317.ebslk3gwvpq3k6sq@angband.pl> <20180621022137.GB18453@beta.private.mielke.cc> <20180622015445.7r5u5nn6ofhd4k57@angband.pl> Organization: Intel Corporation X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The other point is a quite pointless assumption that existing scrollback is > "optimized". Even vgacon mostly uses software scrollback these days, as the > amount of VGA display memory is really small. All of our console driver code is horribly unoptimized for most of todays hardware. Long ago I did look at what was needed but it's a seriously non-trivial change. In particular - Console I/O occurs under enough locks to keep fort knox safe. That means it's very very hard to accelerate - The logic is plain wrong for a lot of modern video. We shouldn't be scrolling, we should be rendering the current backing text buffer at video refresh rate or similar and if the source of the updates outruns us it doesn't matter - we don't have to draw all the glyphs as if we were fast enough they would have been a blur anyway. > I don't know much about console display drivers in general, though, and it > looks like most of them are unmaintained (just noticed that sisusb for > example hasn't seen a maintainer action for 13 years, and that person's > domain expired in 2006). There has been some work on them but they are not in a good state, and as a result we have problems like these as well as the inability to nicely support multi-console systems except in Wayland/X. Alan