Re: [dev] [st] libxft-bgra X Error

From: Страхиња Радић <>
Date: Mon, 19 Apr 2021 19:06:53 +0200

On 21/04/19 11:59, Luuk van Baal wrote:
> I was looking for pointers in regards to this error I'm receiving when
> using libxft-bgra( I explained the issue in (
> "This patch (installed through this AUR package) leads to
> X Error of failed request: RenderBadPicture (invalid Picture parameter)
> Major opcode of failed request: 139 (RENDER)
> Minor opcode of failed request: 8 (RenderComposite)
> Picture id in failed request: 0x3b84
> Serial number of failed request: 15315
> Current serial number in output stream: 15327
> when scrolling through this file( in suckless' simple terminal using a patched nerd font. Very peculiar I know but this is the only way I've been able to reproduce this error.
> This sequence crashes the terminal every time:
> open st -> open iconlookup in vim -> press 160gg to go to line 160(full size terminal showing 47 lines centered around line 160).
> The same error does not happen when using different terminals but also does not happen in st when using the standard libxft from the arch repositories.
> I'm interested in figuring this out but I'm not sure how to debug the
> error. Would appreciate any pointers or thoughts regarding this."
> I'm curious to know your thoughts on this as like I said the problem
> does not occur with mainline libxft and st, does occur with libxft-bgra
> and st, but does not occur with libxft-bgra and other terminals(tried
> xterm/kitty/alacritty). Might this issue be fixed on st's side?

Interesting, I'm not getting this error. I use Artix Linux, libxft-bgra
2.3.3.r7.7808631e-1 from AUR, vim 8.2.2653-1 and my modified st which I
regularly update from suckless repo[1]. Also ttf-nerd-fonts-symbols, *not*
ttf-nerd-fonts-symbols-mono, as the latter package has a bug with the uppercase
"E".[2] (Maybe related?)

Side note: I prefer :160 in vim to go to a particular line.


Received on Mon Apr 19 2021 - 19:06:53 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 19 2021 - 19:12:09 CEST