From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#38497: 27.0.50; Frame is not rendered when frame-resize-pixelwise it 't Date: Mon, 16 Dec 2019 11:10:41 +0800 Message-ID: <87immhnexa.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> References: <87wobbjlm0.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <7caf72bb-1dc0-6e6d-430a-5c28295fb80c@gmx.at> <87tv6fjco6.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <20b3b02b-8018-49cd-4ab3-702ccf9e1c28@gmx.at> <87d0d0i7hk.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <25861c90-bdb5-e873-7da7-22a8d997f4b6@gmx.at> <871rtghy2v.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <2975a018-4c5c-4da4-f236-8eb4338a9829@gmx.at> <878sngvhaf.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <13a1e840-7ca3-fb70-e773-de12089bd97e@gmx.at> <8736domoza.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <94dc09f8-6ef4-f493-db7b-52b0d218f715@gmx.at> <87zhfwkwb5.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <647006dc-42e1-a242-4fda-2f129943fc98@gmx.at> <87v9qjl00x.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <83a77v6spt.fsf@gnu.org> <87blsbcd1o.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <831rt76nbo.fsf@gnu.org> <877e2x66wp.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <83y2vd62d6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="57319"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38497@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 16 04:13:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iggos-000EnV-O5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Dec 2019 04:13:14 +0100 Original-Received: from localhost ([::1]:45706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iggoq-0003pR-He for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Dec 2019 22:13:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45190) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iggoh-0003o6-7c for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2019 22:13:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iggog-0000hU-3m for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2019 22:13:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iggog-0000hJ-11 for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2019 22:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iggof-0001jU-Su for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2019 22:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2019 03:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38497 X-GNU-PR-Package: emacs Original-Received: via spool by 38497-submit@debbugs.gnu.org id=B38497.15764659726641 (code B ref 38497); Mon, 16 Dec 2019 03:13:01 +0000 Original-Received: (at 38497) by debbugs.gnu.org; 16 Dec 2019 03:12:52 +0000 Original-Received: from localhost ([127.0.0.1]:37569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iggoW-0001j3-32 for submit@debbugs.gnu.org; Sun, 15 Dec 2019 22:12:52 -0500 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:44401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iggoU-0001io-1b for 38497@debbugs.gnu.org; Sun, 15 Dec 2019 22:12:50 -0500 Original-Received: by mail-wr1-f48.google.com with SMTP id q10so5418122wrm.11 for <38497@debbugs.gnu.org>; Sun, 15 Dec 2019 19:12:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=EG1Eao0j7K6CnDMjQbMhNlTKCAH3MmqZjpd6KZL8Ymo=; b=UBaEk7T6aqjHB6SFON2iDmareH8qo0iePFwjecP4zxofbRnEdC9OtJX7tZ2G7gdYUE c++BDbCt1utQfWsV2oDyDO62g4kutOMFhzgnXpLrtiYhR//mt6L4rpx9wQ5R6isC3HqP BgjQfDqoZdaVYcGEdHbJWaSkPg8uSNcANzl+Ztb7laj3T/b4qnWfhZ2aLUMqXH/TCI/Y efTZzliPsOmP/KFN/tyhfv+F0bsHEiGq0HIVjajRrVzge0MciRP1Q/NZWHeCRrugRSKQ ps+PRgvV/TaSXygmHge0CFPsLlLudAClWDk5lFVu9ZoCqyQbgrj2ma79Xyj2z82XcPdT P9hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=EG1Eao0j7K6CnDMjQbMhNlTKCAH3MmqZjpd6KZL8Ymo=; b=dz5IZPPF/IbqwytXZG3Mv/UKroz5KBV4V6cXyIp0oWhGHODH4nu0T9GRZx2qlxWzxf 51OhaKRxYrW1cTavcna7nTfwtcfF/H3DyaQjLu2ty5pR+GiC9YqgFqS7QHxlLloEmbOX 3EZYx5J/3dVl/In//LMD8RemVaqHTt+JGPsoBknkEi2+jQHOVci/hn+kEsVp/3stZaDd LT4E4CZquc5oSviJR+9IeccwOe0kSpXqW55cfTKZYn7p6kpb7dUJHdQLkzoLVcOuZ58n Ai+V+qAOCkhHDxdUaaSeUD1I5GTy7kidYrlcFiaFq2UwjXKq2a5KFB04W6eALfcwFsxh T6nA== X-Gm-Message-State: APjAAAX8qKK1ZcZsB4o9NcjVN3d7kfIQpr0QNxIobUcqV/R4IO26esuD N6W4jmBb/o7nzMIkVjJqmbI= X-Google-Smtp-Source: APXvYqyPGLYeYOXK+MtyDDw7nwCOjZBuEt0v8NQUz5i7L8oaUJLjGJZOSLpj+ErnEoByb86d3TI3Ow== X-Received: by 2002:adf:ebc1:: with SMTP id v1mr26366878wrn.351.1576465964263; Sun, 15 Dec 2019 19:12:44 -0800 (PST) Original-Received: from localhost ([5.226.137.4]) by smtp.gmail.com with ESMTPSA id d8sm19627448wrx.71.2019.12.15.19.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2019 19:12:43 -0800 (PST) In-Reply-To: <83y2vd62d6.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173411 Archived-At: > One possible reason for not clearing the frame is that you have > double-buffering enabled. Can you disable it and try again? (If you > don't know how, search for "double buffering" in etc/NEWS.26.) I tried to disable double buffering. Running emacs -Q --eval "(add-to-list 'default-frame-alist '(inhibit-double-buffering . t))", the redrawing works without any issues. Now, I am wondering if the issue I reported is just specific to my system or others can also reproduce it with emacs compiled with xft, cairo, and lucid enabled. If so, would it make sense to disable double buffering by default for this combination of build options? Best, Ihor Eli Zaretskii writes: >> From: Ihor Radchenko >> Cc: rudalics@gmx.at, 38497@debbugs.gnu.org >> Date: Sun, 15 Dec 2019 21:43:34 +0800 >> >> > That's unheard of. Does redraw-display at least blank the entire >> > frame? >> >> Nope. I don't see anything changing. > > That's impossible. When you invoke redraw-display, Emacs on X calls > the function x_clear_frame, which calls x_clear_window, which calls > XClearWindow. Do you see this sequence of calls if you step through > the code with a derbugger? > > One possible reason for not clearing the frame is that you have > double-buffering enabled. Can you disable it and try again? (If you > don't know how, search for "double buffering" in etc/NEWS.26.) > > Failing that, the only way I can explain this is that you have some > "optimization" feature in your video hardware and/or driver, and that > is the cause of all the problems you report in this thread. Please > review the settings of your video driver software, and turn off any > "optimization" or "advanced" feature you find there. If that doesn't > help, maybe upgrading to a newer version of the video driver will > help.