Re: gtk+4 slow application startup

2023-02-22 Thread Solène Rapenne
Le Tue, 21 Feb 2023 12:15:31 +0100, Antoine Jacoutot a écrit : > On Tue, Feb 21, 2023 at 12:00:06AM +1100, Jonathan Gray wrote: > > On Mon, Feb 20, 2023 at 11:31:23AM +0100, Antoine Jacoutot wrote: > > > On Mon, Feb 20, 2023 at 02:06:34PM +1100, Jonathan Gray wrote: > > > > On Sun, Feb 19,

Re: gtk+4 slow application startup

2023-02-21 Thread Stuart Henderson
Looking for other ports using mesa and having a "uses pledge/unveil" comment in the port Makefile: - emulators/mgba and graphics/arcan use mesa and either pledge or pledge+unveil in some way. I don't use them but they could do with a quick check at some point to make sure they don't need tweaks

Re: gtk+4 slow application startup

2023-02-21 Thread Matthieu Herrb
On Tue, Feb 21, 2023 at 12:00:06AM +1100, Jonathan Gray wrote: > > Here is a xenocara diff to enable the shader cache. > It is created in ~/.cache/mesa_shader_cache/ > > On an Intel system (x250 with Broadwell) launching gtk4-demo results in > a 1.6M cache. The time to a window appearing is

Re: gtk+4 slow application startup

2023-02-21 Thread Antoine Jacoutot
On Tue, Feb 21, 2023 at 12:00:06AM +1100, Jonathan Gray wrote: > On Mon, Feb 20, 2023 at 11:31:23AM +0100, Antoine Jacoutot wrote: > > On Mon, Feb 20, 2023 at 02:06:34PM +1100, Jonathan Gray wrote: > > > On Sun, Feb 19, 2023 at 01:34:41PM +0100, Antoine Jacoutot wrote: > > > > Hi. > > > > > > > >

Re: gtk+4 slow application startup

2023-02-21 Thread Robert Nagy
the chromium bits are in

Re: gtk+4 slow application startup

2023-02-21 Thread Landry Breuil
Le Tue, Feb 21, 2023 at 09:08:34PM +1100, Jonathan Gray a écrit : > On Tue, Feb 21, 2023 at 10:07:08AM +0100, Landry Breuil wrote: > > Le Tue, Feb 21, 2023 at 07:47:59PM +1100, Jonathan Gray a écrit : > > > On Tue, Feb 21, 2023 at 09:09:49AM +0100, Landry Breuil wrote: > > > > Le Tue, Feb 21, 2023

Re: gtk+4 slow application startup

2023-02-21 Thread Jonathan Gray
On Tue, Feb 21, 2023 at 10:07:08AM +0100, Landry Breuil wrote: > Le Tue, Feb 21, 2023 at 07:47:59PM +1100, Jonathan Gray a écrit : > > On Tue, Feb 21, 2023 at 09:09:49AM +0100, Landry Breuil wrote: > > > Le Tue, Feb 21, 2023 at 01:28:45PM +1100, Jonathan Gray a écrit : > > > > On Mon, Feb 20, 2023

Re: gtk+4 slow application startup

2023-02-21 Thread Landry Breuil
Le Tue, Feb 21, 2023 at 07:47:59PM +1100, Jonathan Gray a écrit : > On Tue, Feb 21, 2023 at 09:09:49AM +0100, Landry Breuil wrote: > > Le Tue, Feb 21, 2023 at 01:28:45PM +1100, Jonathan Gray a écrit : > > > On Mon, Feb 20, 2023 at 08:17:35PM +0100, Robert Nagy wrote: > > > > On 20/02/23 14:56

Re: gtk+4 slow application startup

2023-02-21 Thread Jonathan Gray
On Tue, Feb 21, 2023 at 09:09:49AM +0100, Landry Breuil wrote: > Le Tue, Feb 21, 2023 at 01:28:45PM +1100, Jonathan Gray a écrit : > > On Mon, Feb 20, 2023 at 08:17:35PM +0100, Robert Nagy wrote: > > > On 20/02/23 14:56 +0100, Landry Breuil wrote: > > > > Le Tue, Feb 21, 2023 at 12:00:06AM +1100,

Re: gtk+4 slow application startup

2023-02-21 Thread Landry Breuil
Le Tue, Feb 21, 2023 at 01:28:45PM +1100, Jonathan Gray a écrit : > On Mon, Feb 20, 2023 at 08:17:35PM +0100, Robert Nagy wrote: > > On 20/02/23 14:56 +0100, Landry Breuil wrote: > > > Le Tue, Feb 21, 2023 at 12:00:06AM +1100, Jonathan Gray a écrit : > > > > On Mon, Feb 20, 2023 at 11:31:23AM

Re: gtk+4 slow application startup

2023-02-20 Thread Jonathan Gray
On Mon, Feb 20, 2023 at 08:17:35PM +0100, Robert Nagy wrote: > On 20/02/23 14:56 +0100, Landry Breuil wrote: > > Le Tue, Feb 21, 2023 at 12:00:06AM +1100, Jonathan Gray a écrit : > > > On Mon, Feb 20, 2023 at 11:31:23AM +0100, Antoine Jacoutot wrote: > > > > On Mon, Feb 20, 2023 at 02:06:34PM

Re: gtk+4 slow application startup

2023-02-20 Thread Robert Nagy
On 20/02/23 14:56 +0100, Landry Breuil wrote: > Le Tue, Feb 21, 2023 at 12:00:06AM +1100, Jonathan Gray a écrit : > > On Mon, Feb 20, 2023 at 11:31:23AM +0100, Antoine Jacoutot wrote: > > > On Mon, Feb 20, 2023 at 02:06:34PM +1100, Jonathan Gray wrote: > > > > On Sun, Feb 19, 2023 at 01:34:41PM

Re: gtk+4 slow application startup

2023-02-20 Thread Landry Breuil
Le Tue, Feb 21, 2023 at 12:00:06AM +1100, Jonathan Gray a écrit : > On Mon, Feb 20, 2023 at 11:31:23AM +0100, Antoine Jacoutot wrote: > > On Mon, Feb 20, 2023 at 02:06:34PM +1100, Jonathan Gray wrote: > > > On Sun, Feb 19, 2023 at 01:34:41PM +0100, Antoine Jacoutot wrote: > > > > Hi. > > > > > >

Re: gtk+4 slow application startup

2023-02-20 Thread Jonathan Gray
On Mon, Feb 20, 2023 at 11:31:23AM +0100, Antoine Jacoutot wrote: > On Mon, Feb 20, 2023 at 02:06:34PM +1100, Jonathan Gray wrote: > > On Sun, Feb 19, 2023 at 01:34:41PM +0100, Antoine Jacoutot wrote: > > > Hi. > > > > > > There seems to be a regression with mesa that makes gtk+4 application > >

Re: gtk+4 slow application startup

2023-02-20 Thread Antoine Jacoutot
On Mon, Feb 20, 2023 at 02:06:34PM +1100, Jonathan Gray wrote: > On Sun, Feb 19, 2023 at 01:34:41PM +0100, Antoine Jacoutot wrote: > > Hi. > > > > There seems to be a regression with mesa that makes gtk+4 application very > > slow > > to start. > > By default the GSK renderer uses OpenGL. > > As

Re: gtk+4 slow application startup

2023-02-20 Thread Landry Breuil
Le Mon, Feb 20, 2023 at 02:06:34PM +1100, Jonathan Gray a écrit : > On Sun, Feb 19, 2023 at 01:34:41PM +0100, Antoine Jacoutot wrote: > > Hi. > > > > There seems to be a regression with mesa that makes gtk+4 application very > > slow > > to start. > > By default the GSK renderer uses OpenGL. > >

Re: gtk+4 slow application startup

2023-02-19 Thread Jonathan Gray
On Sun, Feb 19, 2023 at 01:34:41PM +0100, Antoine Jacoutot wrote: > Hi. > > There seems to be a regression with mesa that makes gtk+4 application very > slow > to start. > By default the GSK renderer uses OpenGL. > As a workaround, you can temporarily use this to go back to the cairo renderer >

gtk+4 slow application startup

2023-02-19 Thread Antoine Jacoutot
Hi. There seems to be a regression with mesa that makes gtk+4 application very slow to start. By default the GSK renderer uses OpenGL. As a workaround, you can temporarily use this to go back to the cairo renderer which makes gtk+4 applications fast again: export GSK_RENDERER=cairo -- Antoine