[pve-devel] applied: [PATCH pve-xtermjs] xtermjs: try to detect hardware support for webgl2

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Oct 25 19:02:39 CEST 2023


Am 25/10/2023 um 11:08 schrieb Dominik Csapak:
> with the new webgl renderer, chrome/chromium has buggy software support for
> emulating this (see [0]), so we have to detect that manually and prevent
> loading the addon. This fixes the issue that on chrome without hw
> support, it would not always render every character.
> 
> Firefox does not have support for a software renderer and the
> loading/detection throws an exception, falling back to the default
> renderer.
> 
> 0: https://github.com/xtermjs/xterm.js/issues/4574
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> tested with and without webgl hardware support on firefox/chrome/chromium
> 
>  xterm.js/src/main.js | 22 ++++++++++++++++++++--
>  1 file changed, 20 insertions(+), 2 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list