#32 DBE (double buffer extension) support

closed
marha
DBE (1)
5
2018-09-13
2018-08-11
emss
No

Hi,

Could DBE be included in vcsrv builds please ?

Emacs 26, as stated in release notes, now uses double buffering :
https://github.com/emacs-mirror/emacs/blob/master/etc/NEWS.26
" Emacs now uses double buffering to reduce flicker when editing and
resizing graphical Emacs frames on the X Window System. This support
requires the DOUBLE-BUFFER extension, which major X servers have
supported for many years. If your system has this extension, but an
Emacs built with double buffering misbehaves on some displays you use,
you can disable the feature by adding

'(inhibit-double-buffering . t)

to default-frame-alist. Or inject this parameter into the selected
frame by evaluating this form:

(modify-frame-parameters nil '((inhibit-double-buffering . t)))"

It would be really handy to get DBE support and thus have a working Emacs 26/vcsxrv out of the box.

Thanks in advance.

Discussion

  • marha

    marha - 2018-08-12

    DBE is enabled in the build of vcxsrv. Could you explain in more detail what is not working?

     
  • emss

    emss - 2018-08-15

    Hi,

    When I run Emacs from a ssh session with X forwarding enabled without disabling double buffering in emacs, I get an empty frame

    If I disable double buffering in init.el I get a populated frame

    Code to disable double buffering

    ;; Disable double buffering
    ;; See https://emacs.stackexchange.com/questions/41021/emacs-26-1-rc1-display-issues-over-ssh-x11-with-xming-vcxsrv
    (setq default-frame-alist
             (append default-frame-alist '((inhibit-double-buffering . t))))
    

    Regards

     
    Last edit: emss 2018-08-15
  • marha

    marha - 2018-08-17

    The reason it is not working is not because DBE is disabled, but due to a bug in vcxsrv. Will be solved in next release.

     
  • marha

    marha - 2018-08-18
    • status: open --> closed
     
  • emss

    emss - 2018-09-13

    Sorry for being so late.
    It does work with 1.20.1.2 release.
    Thanks for your answer and time.
    Regards

     
    Last edit: emss 2018-09-13

Log in to post a comment.