Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904072 - media-libs/mesa-23.0.2: breaks www-client/firefox on wayland (similar issue with gui-libs/egl-wayland?)
Summary: media-libs/mesa-23.0.2: breaks www-client/firefox on wayland (similar issue w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-04-09 14:09 UTC by ston jia
Modified: 2023-05-11 10:49 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 ston jia 2023-04-09 14:10:20 UTC
applying these patches fix it
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-09 18:43:32 UTC
(In reply to ston jia from comment #1)
> applying these patches fix it

Patch or patches?

It's unclear from the various bugs I've linked whether or not the patch you linked is enough.
Comment 3 Joonas Niilola gentoo-dev 2023-04-09 18:59:16 UTC
https://bugzilla.mozilla.org/show_bug.cgi?id=1826583 this was queued for 112, hope it's enough for firefox.
Comment 4 Ionen Wolkens gentoo-dev 2023-04-09 19:02:45 UTC
wrt egl-wayland, PR looks harmless but I'll give time to upstream to review/merge it then I could do a new snapshot unless it feels urgent (I don't really use/test wayland much, so unsure how big of a problem it is)
Comment 5 Larry the Git Cow gentoo-dev 2023-04-11 05:14:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8483d1122b4c093c8a8886de70774332c81b626a

commit 8483d1122b4c093c8a8886de70774332c81b626a
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-04-11 05:11:03 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-04-11 05:12:58 +0000

    www-client/firefox: add 112.0
    
     - include dont-crash-on-wayland-log-handler.patch from upstream bug #1826583,
     - remove "accessibility.typeaheadfind" from our default prefs.
    
    Bug: https://bugs.gentoo.org/902149
    Bug: https://bugs.gentoo.org/903710
    Bug: https://bugs.gentoo.org/901353
    Bug: https://bugs.gentoo.org/904072
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest                      |  101 ++
 www-client/firefox/files/gentoo-default-prefs.js |    1 -
 www-client/firefox/firefox-112.0.ebuild          | 1379 ++++++++++++++++++++++
 3 files changed, 1480 insertions(+), 1 deletion(-)
Comment 6 Larry the Git Cow gentoo-dev 2023-04-11 11:43:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92459213cc61a389bea58f400db82395dd91db90

commit 92459213cc61a389bea58f400db82395dd91db90
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-04-11 11:22:18 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-04-11 11:43:17 +0000

    gui-libs/egl-wayland: fix warning w/ wayland-1.22
    
    Hardly tested, but patch is very simple and will likely get merged.
    
    Unsure if it'd be also necessary for non-GBM egl-wayland-1.1.7, but
    realistically nvidia:0/470 will lose its USE=wayland in time as
    it's barely usable anymore (afaik still can't use 1.1.11 due to GBM
    changes, and just keeps getting worse, e.g. gnome flickers).
    
    Bug: https://bugs.gentoo.org/904072
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../egl-wayland-1.1.11_p20230202-r1.ebuild         | 47 ++++++++++++++++++++++
 ...ayland-1.1.11_p20230202-destruction-order.patch | 25 ++++++++++++
 2 files changed, 72 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2023-04-11 19:04:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d79f611e3930455eafc5b80cf9b2fb71aeb20b0

commit 9d79f611e3930455eafc5b80cf9b2fb71aeb20b0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-11 18:15:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-11 19:04:15 +0000

    media-libs/mesa: fix Wayland runtime warnings
    
    These cause Firefox to crash because it isn't handling warnings correctly
    either (it aborts immediately).
    
    Closes: https://bugs.gentoo.org/904072
    Signed-off-by: Sam James <sam@gentoo.org>

 .../mesa-23.0.2-wayland-crash-warnings-2.patch     |  49 +++
 .../files/mesa-23.0.2-wayland-crash-warnings.patch |  37 ++
 media-libs/mesa/mesa-23.0.2-r1.ebuild              | 461 +++++++++++++++++++++
 3 files changed, 547 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2023-04-27 06:20:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f794d735103f871e077a6e645eb387513e6ef79

commit 0f794d735103f871e077a6e645eb387513e6ef79
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-11 18:15:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-27 06:19:21 +0000

    media-libs/mesa: backport wayland warning patches again
    
    See 9d79f611e3930455eafc5b80cf9b2fb71aeb20b0.
    
    Closes: https://bugs.gentoo.org/905146
    Bug: https://bugs.gentoo.org/904072
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/mesa/Manifest                           |   1 +
 .../mesa-23.0.2-wayland-crash-warnings-2.patch     |  49 +++
 .../files/mesa-23.0.2-wayland-crash-warnings.patch |  37 ++
 .../{mesa-23.0.3.ebuild => mesa-23.0.2-r1.ebuild}  |   6 +-
 media-libs/mesa/mesa-23.0.3-r1.ebuild              | 462 +++++++++++++++++++++
 5 files changed, 554 insertions(+), 1 deletion(-)