From owner-freebsd-current@freebsd.org Thu Jun 30 14:21:10 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6648B86839 for ; Thu, 30 Jun 2016 14:21:10 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7561829E8 for ; Thu, 30 Jun 2016 14:21:10 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: by mail-io0-x22a.google.com with SMTP id f30so72896409ioj.2 for ; Thu, 30 Jun 2016 07:21:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sippysoft-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=UbOZXRx/FnfmuDritbylMo2j3QgWDnDRWyFFB8krXR0=; b=gH91vBV3lifiOO/rKiYb+26xIJoqx4n1GkwYsGAZoUj8wTgndIlPAZGhHZ4SqSwLk/ 4ug8/OHK81sc7weobcYl/ROMWXjZNSGxTyFMj+qoHvomBlvvW2X9AepITK/ihNsOjERt VdNKVI3PRkSm3NVAN2TcxrU5ft5nywH+4fc+ms0HPxmcn54P5ybygcypMFS8H1tvScb8 g9YQoUIX81G4/sEL0xPr8/aftj1jtW3odxGbaqLOlm4JoTcMD5m1nflvS/xZ+tjp0FWV hEZlJm+te/NqkNxyWBUBrXY5Ndjex0ZFluUZIYmS+DjthMBUwXFT33nG7c/3DvgaYLvu XIhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=UbOZXRx/FnfmuDritbylMo2j3QgWDnDRWyFFB8krXR0=; b=CQMve7s/wuu5/cCyxiyIBvTCzvVE8fIPSFhedIUr/bJnWbzXYMrnpnwOb1kln2j7zf 9bqHmlNyxf3Pg45suGMPehRYnJZgmtX4bxquJ3FtT2gaF4Rca6p8olk5tZDnM0Q+7ALv ciSS/aVAzqVKIXK3pR4P00RQdUpX0fRc/Oy3UzzY0CNzsFYGHgwd0hC9Lk5ti6gp3cDS hrzgM+FeLbX4Pk/snHeZmS5cxdrwLhx7FnfMZDqmt2JzI3oKZ9oKZa/VFpbIW9F/VXTP MMOqy7219HN7lfonCoSC12geHkazoCvFuALkV6EuzidbFhxTWpwomCLuywP2qYog+0+b CdHw== X-Gm-Message-State: ALyK8tLfw7zbTfssKYkXJx0nGCZH6ew/4aD693OFzjQ+xcLIaaQff4/KdWIj2X4UgrU0dzKS/56cUnIrVDnfvLqk X-Received: by 10.107.16.164 with SMTP id 36mr16557736ioq.124.1467296469394; Thu, 30 Jun 2016 07:21:09 -0700 (PDT) MIME-Version: 1.0 Sender: sobomax@sippysoft.com Received: by 10.36.125.197 with HTTP; Thu, 30 Jun 2016 07:21:08 -0700 (PDT) In-Reply-To: References: <57680D69.7030309@gmail.com> <20160622090149.GD19494@home.opsec.eu> <576A74D0.2020704@gmail.com> From: Maxim Sobolev Date: Thu, 30 Jun 2016 07:21:08 -0700 X-Google-Sender-Auth: OemkXrC_usSkX_Ag2dxZfLmV90c Message-ID: Subject: Re: console in 11.0-ALPHA4 To: Ed Schouten Cc: Ernie Luzar , Kurt Jaeger , =?UTF-8?Q?Trond_Endrest=C3=B8l?= , FreeBSD current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2016 14:21:10 -0000 Ed, I think this is bug, not a feature. People expect scrolling and updates to be smooth these days, the fact that we deliberately break it just signifies very weird preferences somebody made while developing the code. The fact that it "looks fine when scrolling stops" is no execuse IMHO. -Max On Thu, Jun 30, 2016 at 6:42 AM, Ed Schouten wrote: > Hi Maxim, > > 2016-06-28 21:14 GMT+02:00 Maxim Sobolev : > > P.S. Just if somebody is interested in fixing those "fast scrolling text > > turns into garbage" display issues, here is some screenshots of one of my > > 11-alpha3 systems captured with a camera at 120fps. As you can see text > > tears down quite badly. > > What happens is that rendering of vt(4) is done asynchronously. In > addition to the screen contents, vt(4) keeps track of a rectangular > area of the screen that needs to be updated. During every refresh, the > rendering thread extracts and resets the coordinates of the > rectangular area and redraws that area. It only holds a lock while > extracting the rectangle's coordinates; not when redrawing. > > This means that if you have a lot of updates and redrawing is slow, > you will get 'random' garbage on screen. Once output stops, the screen > contents get refreshed one final time, making everything look all > right again. > > -- > Ed Schouten > Nuxi, 's-Hertogenbosch, the Netherlands > KvK-nr.: 62051717 > >