* bug#64200: Netsurf very frequently freezes when editing text (Harfbuzz issue?) @ 2023-06-21 2:47 Csepp 2023-06-21 9:08 ` Josselin Poiret via Bug reports for GNU Guix 0 siblings, 1 reply; 7+ messages in thread From: Csepp @ 2023-06-21 2:47 UTC (permalink / raw) To: 64200 Like the title says. It never happens when just browsing, but happens very frequently (like a minute after starting to type) when editing text, at least on Brutaldon, but maybe on other sites too. I noticed that our Harfbuzz package is two entire major releases behind. Maybe there are bugfixes in the latest one that we could use? I tried building it but it froze up my laptop for some reason (rather strange, even if it runs out of memory it should just be killed by earlyoom) so I haven't attempted to test this theory yet. Is there any particular reason Harfbuzz wasn't covered by the last core-updates? If it turns out to be a bug in it, what would be the best way to proceed? ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64200: Netsurf very frequently freezes when editing text (Harfbuzz issue?) 2023-06-21 2:47 bug#64200: Netsurf very frequently freezes when editing text (Harfbuzz issue?) Csepp @ 2023-06-21 9:08 ` Josselin Poiret via Bug reports for GNU Guix 2023-06-21 14:46 ` John Kehayias via Bug reports for GNU Guix 0 siblings, 1 reply; 7+ messages in thread From: Josselin Poiret via Bug reports for GNU Guix @ 2023-06-21 9:08 UTC (permalink / raw) To: Csepp, 64200; +Cc: John Kehayias [-- Attachment #1: Type: text/plain, Size: 1020 bytes --] Hi Csepp, Csepp <raingloom@riseup.net> writes: > Like the title says. It never happens when just browsing, but happens > very frequently (like a minute after starting to type) when editing > text, at least on Brutaldon, but maybe on other sites too. > > I noticed that our Harfbuzz package is two entire major releases behind. > Maybe there are bugfixes in the latest one that we could use? > > I tried building it but it froze up my laptop for some reason (rather > strange, even if it runs out of memory it should just be killed by > earlyoom) so I haven't attempted to test this theory yet. > > Is there any particular reason Harfbuzz wasn't covered by the last > core-updates? If it turns out to be a bug in it, what would be the best > way to proceed? core-updates was lagging behind, and while merging you don't want to introduce potential sources of issues. This could maybe go into the graphics updates along with mesa, if John thinks it's appropriate. Best, -- Josselin Poiret [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 682 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64200: Netsurf very frequently freezes when editing text (Harfbuzz issue?) 2023-06-21 9:08 ` Josselin Poiret via Bug reports for GNU Guix @ 2023-06-21 14:46 ` John Kehayias via Bug reports for GNU Guix 2023-06-21 22:00 ` Csepp 0 siblings, 1 reply; 7+ messages in thread From: John Kehayias via Bug reports for GNU Guix @ 2023-06-21 14:46 UTC (permalink / raw) To: Josselin Poiret; +Cc: Csepp, 64200 Hi Josselin and Csepp, On Wed, Jun 21, 2023 at 11:08 AM, Josselin Poiret wrote: > Hi Csepp, > > Csepp <raingloom@riseup.net> writes: > >> Like the title says. It never happens when just browsing, but happens >> very frequently (like a minute after starting to type) when editing >> text, at least on Brutaldon, but maybe on other sites too. >> >> I noticed that our Harfbuzz package is two entire major releases behind. >> Maybe there are bugfixes in the latest one that we could use? >> >> I tried building it but it froze up my laptop for some reason (rather >> strange, even if it runs out of memory it should just be killed by >> earlyoom) so I haven't attempted to test this theory yet. >> >> Is there any particular reason Harfbuzz wasn't covered by the last >> core-updates? If it turns out to be a bug in it, what would be the best >> way to proceed? > > core-updates was lagging behind, and while merging you don't want to > introduce potential sources of issues. This could maybe go into the > graphics updates along with mesa, if John thinks it's appropriate. > Likely that it was just overlooked, these things happen. Despite being two major releases behind, our version is less than a year old at least, so it wasn't completely forgotten :) I just tried a guix build harfbuzz --with-latest=harfbuzz and it worked, but I only built once and didn't try dependents. A quick look at the changelog shows mostly fixes and new API, doesn't look like anything immediately obvious as breaking, but this will affect ~9000 packages. I do think this could be a more impactful change than the Mesa update but I say we put them all on a feature branch and see how the builds work out. If harfbuzz needs more work than it seems, we can just hold off on it and group it with the inevitable next Mesa update or some other related packages. How does that sound? I'll give it some days for comments on my previous message about a Mesa branch but the patches here are all trivial (so far...) so it would be nice to get builds started soon. My thoughts for Mesa were hopefully just a few days of checking builds and then merging, to keep it simple and straightforward. But we should group builds together rather than wasting resources. John PS: Csepp if you can reproduce the build failure and attach a log somewhere, that would be helpful. If newer harfbuzz is helpful but too drastic of a change everywhere, we could have a 'harfbuzz-next' to ease the transition. PPS: I'll bring this up elsewhere, but on a similar vein I noticed our freetype package is built without brotli support (anyone know why?). It is needed for the update to Godot 4. I'll raise the details on a forthcoming Godot patch. ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64200: Netsurf very frequently freezes when editing text (Harfbuzz issue?) 2023-06-21 14:46 ` John Kehayias via Bug reports for GNU Guix @ 2023-06-21 22:00 ` Csepp 2023-06-22 1:08 ` John Kehayias via Bug reports for GNU Guix 0 siblings, 1 reply; 7+ messages in thread From: Csepp @ 2023-06-21 22:00 UTC (permalink / raw) To: John Kehayias; +Cc: Josselin Poiret, Csepp, 64200 John Kehayias <john.kehayias@protonmail.com> writes: > Hi Josselin and Csepp, > > On Wed, Jun 21, 2023 at 11:08 AM, Josselin Poiret wrote: > >> Hi Csepp, >> >> Csepp <raingloom@riseup.net> writes: >> >>> Like the title says. It never happens when just browsing, but happens >>> very frequently (like a minute after starting to type) when editing >>> text, at least on Brutaldon, but maybe on other sites too. >>> >>> I noticed that our Harfbuzz package is two entire major releases behind. >>> Maybe there are bugfixes in the latest one that we could use? >>> >>> I tried building it but it froze up my laptop for some reason (rather >>> strange, even if it runs out of memory it should just be killed by >>> earlyoom) so I haven't attempted to test this theory yet. >>> >>> Is there any particular reason Harfbuzz wasn't covered by the last >>> core-updates? If it turns out to be a bug in it, what would be the best >>> way to proceed? >> >> core-updates was lagging behind, and while merging you don't want to >> introduce potential sources of issues. This could maybe go into the >> graphics updates along with mesa, if John thinks it's appropriate. >> > > Likely that it was just overlooked, these things happen. Despite being > two major releases behind, our version is less than a year old at > least, so it wasn't completely forgotten :) > > I just tried a guix build harfbuzz --with-latest=harfbuzz and it > worked, but I only built once and didn't try dependents. A quick look > at the changelog shows mostly fixes and new API, doesn't look like > anything immediately obvious as breaking, but this will affect ~9000 > packages. > > I do think this could be a more impactful change than the Mesa update > but I say we put them all on a feature branch and see how the builds > work out. If harfbuzz needs more work than it seems, we can just hold > off on it and group it with the inevitable next Mesa update or some > other related packages. > > How does that sound? I'll give it some days for comments on my > previous message about a Mesa branch but the patches here are all > trivial (so far...) so it would be nice to get builds started soon. My > thoughts for Mesa were hopefully just a few days of checking builds > and then merging, to keep it simple and straightforward. But we should > group builds together rather than wasting resources. > > John > > PS: Csepp if you can reproduce the build failure and attach a log > somewhere, that would be helpful. If newer harfbuzz is helpful but too > drastic of a change everywhere, we could have a 'harfbuzz-next' to > ease the transition. > > PPS: I'll bring this up elsewhere, but on a similar vein I noticed our > freetype package is built without brotli support (anyone know why?). > It is needed for the update to Godot 4. I'll raise the details on a > forthcoming Godot patch. So, I built Netsurf with --with-latest=harfbuzz, which also affected GTK+ and a bunch of other packages along the way, and it worked on my first attempt, just needed a stronger machine. I copied over the resulting Netsurf to my laptop and have been using it all day today, it seems to have shooed that bug away. (Don't squash bugs, bugs are good for the ecosystem. They are only a problem when they get inside your mainframe and cause a short. UwU) BTW there was no log when it caused my system to hang. I had to reboot it with sysrq. Probably a kernel bug? So it looks like Harfbuzz can be updated without any problem. ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64200: Netsurf very frequently freezes when editing text (Harfbuzz issue?) 2023-06-21 22:00 ` Csepp @ 2023-06-22 1:08 ` John Kehayias via Bug reports for GNU Guix 2023-06-26 2:16 ` Csepp 0 siblings, 1 reply; 7+ messages in thread From: John Kehayias via Bug reports for GNU Guix @ 2023-06-22 1:08 UTC (permalink / raw) To: Csepp; +Cc: Josselin Poiret, 64200 Dear Csepp, On Thu, Jun 22, 2023 at 12:00 AM, Csepp wrote: > > So, I built Netsurf with --with-latest=harfbuzz, which also affected > GTK+ and a bunch of other packages along the way, and it worked on my > first attempt, just needed a stronger machine. > I copied over the resulting Netsurf to my laptop and have been using it > all day today, it seems to have shooed that bug away. > (Don't squash bugs, bugs are good for the ecosystem. They are only a > problem when they get inside your mainframe and cause a short. UwU) > BTW there was no log when it caused my system to hang. I had to reboot > it with sysrq. Probably a kernel bug? > > So it looks like Harfbuzz can be updated without any problem. Great, that's good to hear and a nontrivial test too! I'll await comments on this mesa+friends update branch and plan on including the harfbuzz update there. Stay tuned... John ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64200: Netsurf very frequently freezes when editing text (Harfbuzz issue?) 2023-06-22 1:08 ` John Kehayias via Bug reports for GNU Guix @ 2023-06-26 2:16 ` Csepp 2023-06-29 15:06 ` John Kehayias via Bug reports for GNU Guix 0 siblings, 1 reply; 7+ messages in thread From: Csepp @ 2023-06-26 2:16 UTC (permalink / raw) To: John Kehayias; +Cc: Josselin Poiret, Csepp, 64200 John Kehayias <john.kehayias@protonmail.com> writes: > Dear Csepp, > > On Thu, Jun 22, 2023 at 12:00 AM, Csepp wrote: > >> >> So, I built Netsurf with --with-latest=harfbuzz, which also affected >> GTK+ and a bunch of other packages along the way, and it worked on my >> first attempt, just needed a stronger machine. >> I copied over the resulting Netsurf to my laptop and have been using it >> all day today, it seems to have shooed that bug away. >> (Don't squash bugs, bugs are good for the ecosystem. They are only a >> problem when they get inside your mainframe and cause a short. UwU) >> BTW there was no log when it caused my system to hang. I had to reboot >> it with sysrq. Probably a kernel bug? >> >> So it looks like Harfbuzz can be updated without any problem. > > Great, that's good to hear and a nontrivial test too! I'll await > comments on this mesa+friends update branch and plan on including the > harfbuzz update there. Stay tuned... > > John Well, now the bug is back somehow??? I haven't updated anything since then. Didn't change fonts either. Still happens in a Harfbuzz call. ^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64200: Netsurf very frequently freezes when editing text (Harfbuzz issue?) 2023-06-26 2:16 ` Csepp @ 2023-06-29 15:06 ` John Kehayias via Bug reports for GNU Guix 0 siblings, 0 replies; 7+ messages in thread From: John Kehayias via Bug reports for GNU Guix @ 2023-06-29 15:06 UTC (permalink / raw) To: Csepp; +Cc: Josselin Poiret, 64200 On Mon, Jun 26, 2023 at 04:16 AM, Csepp wrote: > John Kehayias <john.kehayias@protonmail.com> writes: > >> Dear Csepp, >> >> On Thu, Jun 22, 2023 at 12:00 AM, Csepp wrote: >> >>> So, I built Netsurf with --with-latest=harfbuzz, which also affected >>> GTK+ and a bunch of other packages along the way, and it worked on my >>> first attempt, just needed a stronger machine. >>> I copied over the resulting Netsurf to my laptop and have been using it >>> all day today, it seems to have shooed that bug away. >>> (Don't squash bugs, bugs are good for the ecosystem. They are only a >>> problem when they get inside your mainframe and cause a short. UwU) >>> BTW there was no log when it caused my system to hang. I had to reboot >>> it with sysrq. Probably a kernel bug? >>> >>> So it looks like Harfbuzz can be updated without any problem. >> >> Great, that's good to hear and a nontrivial test too! I'll await >> comments on this mesa+friends update branch and plan on including the >> harfbuzz update there. Stay tuned... >> >> John > > Well, now the bug is back somehow??? I haven't updated anything since > then. Didn't change fonts either. > Still happens in a Harfbuzz call. Ah, sorry to hear that, that's annoying! I'll be making the mesa branch today, but not sure if I'll include harfbuzz. I have another font related big change, so maybe best to have a separate branch for those. In either case, guess this doesn't help your bug, sorry! John ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-06-29 15:07 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-06-21 2:47 bug#64200: Netsurf very frequently freezes when editing text (Harfbuzz issue?) Csepp 2023-06-21 9:08 ` Josselin Poiret via Bug reports for GNU Guix 2023-06-21 14:46 ` John Kehayias via Bug reports for GNU Guix 2023-06-21 22:00 ` Csepp 2023-06-22 1:08 ` John Kehayias via Bug reports for GNU Guix 2023-06-26 2:16 ` Csepp 2023-06-29 15:06 ` John Kehayias via Bug reports for GNU Guix
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).