Re: [dev] st stutter and freeze during window resize via mouse drag

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat, 05 Apr 2014 20:35:59 +0200

Greetings.

On Sat, 05 Apr 2014 20:35:59 +0200 Toaster Toaster <toaster23456_AT_gmail.com> wrote:
> On Thu, Apr 3, 2014 at 10:34 PM, Toaster Toaster <toaster23456_AT_gmail.com> wrote:
> > On Thu, Apr 3, 2014 at 9:34 PM, Christoph Lohmann <20h_AT_r-36.net> wrote:
> >> Greetings.
> >>
> >> On Fri, 04 Apr 2014 06:34:55 +0200 Toaster Toaster <toaster23456_AT_gmail.com> wrote:
> >>> Updated to git, still freezes. Spamming "ls" also makes Xorg consume
> >>> crazy amounts of CPU. Do you think they are related? Something to do
> >>> with how St redraws the screen?
> >>
> >> You are the programmer. Please find it out. Debugging such a case is not
> >> possible via e‐mail. My humble guess is that it’s related to your graph‐
> >> ics driver. But that’s just a vague guess.
> >>
> >>
> >> Sincerely,
> >>
> >> Christoph Lohmann
> >>
> >>
> >
> > I don't think it's driver related. It only happens when using St;
> > urxvt and xterm work fine.
>
> Removing tfulldirt() from redraw() seems to fix the problem.
>
>

The patch has been applied. Thanks for reporting.

According to sysprof st is spending on my system most of the time in de‐
coding utf8. But that’s not what’s hogging the system when running cma‐
trix(1). The Intel DRM driver is too slow, as it seems. I have the same
hogging with urxvt and xterm; coming from Intel DRM.


Sincerely,

Christoph Lohmann
Received on Sat Apr 05 2014 - 20:35:59 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 05 2014 - 20:48:06 CEST