From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: macOS metal rendering engine in mac port Date: Mon, 27 Sep 2021 11:07:57 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24166"; mail-complaints-to="usenet@ciao.gmane.io" To: "Y. E." , Illia Ostapyshyn , aaronjensen@gmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 27 12:18:31 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUniR-00061S-2c for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 12:18:31 +0200 Original-Received: from localhost ([::1]:44426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUniQ-0004Lv-2f for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 06:18:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUnYy-0007GN-It for emacs-devel@gnu.org; Mon, 27 Sep 2021 06:08:44 -0400 Original-Received: from outbound.soverin.net ([2a01:4f8:fff0:65::8:228]:59775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUnYw-0008Oe-Iz for emacs-devel@gnu.org; Mon, 27 Sep 2021 06:08:44 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 0773C51; Mon, 27 Sep 2021 10:08:34 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1632737306; bh=0Iu1ywyZ8CJXuFoBS5o5f32SP3MiFnGTJEcnUSEGodk=; h=Date:From:To:Subject:References:In-Reply-To:From; b=kOGgdsFOxZukP/xFhg+Tt1pKqQOFrrpUJbMxXfBzRKhKV5sdmtut/SSqcAgcT/uoo /ImIQzM6VeELf/w9w3kDOde8pyP8wZX/7SuBT5/5jZvF1LeeiJ6VIBgaTY6w6wxPrb 8NwliQgU4bPGoCYMswhZ0fqfTblpI4uk9FlqSEICUaAvUEU2BvCvdxwRSf5DgUOPsM Wn7M8xIrXoP+TMoMWj56JUoEupFdCbkZUYM+ECCOEZDSaJTSlm8pVG2cswQlP7YnTE GwkSYchrKJrKRc4p8lEd4Xa3iKglMMVZlTZ55cEaeNhm6X0BvAuer2Y3GtL1+rsLvj oJYQE7NgWiZig== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mUnYD-000LGt-Mh; Mon, 27 Sep 2021 11:07:57 +0100 Mail-Followup-To: Alan Third , "Y. E." , Illia Ostapyshyn , aaronjensen@gmail.com, emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a01:4f8:fff0:65::8:228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275564 Archived-At: On Tue, Sep 21, 2021 at 07:48:50PM +0100, Alan Third wrote: > On Tue, Sep 21, 2021 at 10:22:38AM +0300, Y. E. wrote: > > > > > I just had this happen to me as well, screenshots attached. > > > > I confirm these screenshots correspond exactly to the issue I saw. > > [I had no new cases so far.] > > Both of these look rather like copyRect is playing up but I can't see > what's wrong with it. There are only two callers of copyRect and I > can't see anything wrong with them either (and if it was THEIR callers > playing up we'd see similar problems outside of the NS port). > > Aaron's actually looks like it could be copying FAR larger areas than > it's supposed to be (for example, wrapping off the right of the screen > and back on the left). > > Illia's looks just like what happens when scrolling goes wrong. Bits > of lines end up on the wrong lines and then they get repeated as Emacs > copies bits of the frame around. I've pushed a small change to master that *may* fix this, although I doubt it, and adds a pile of logging if it detects the situation that I suspect is causing this. If you run from the terminal it will print the logging to it, otherwise it'll appear in the system log, so if you see the glitch please check the logs to see if there's anything in there. Thanks! -- Alan Third