Firefox (Flatpak) randomly fails to launch [Wayland: Resource temporarily unavailable]
Categories
(Core :: Widget: Gtk, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: fernandommuniz, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0
Steps to reproduce:
Repeatedly open and close Firefox successfully (or just had bad luck on the first launching attempt)... Until
Actual results:
A massive compositor error happened.
https://bugs.kde.org/show_bug.cgi?id=495767
jan 04 05:24:13 archlinux systemd[752]: Started Firefox - Navegador web.
jan 04 05:24:13 archlinux systemd[752]: Started app-flatpak-org.mozilla.firefox-2213.scope.
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Warning: ConnectToCompositor() try again : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Error: ConnectToCompositor() connect() failed repeatedly : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Error: ProxiedConnection::Process(): Failed to connect to compositor
jan 04 05:24:13 archlinux flatpak[2224]: : Recurso temporariamente indisponível
jan 04 05:24:13 archlinux flatpak[2224]: Error: we don't have any display, WAYLAND_DISPLAY='wayland-0' DISPLAY='(null)'
jan 04 05:24:13 archlinux systemd[752]: app-org.mozilla.firefox@869d1978373842438fd31d4a99e60355.service: Main process exited, code=exited, status=1/FAILURE
jan 04 05:24:13 archlinux systemd[752]: app-org.mozilla.firefox@869d1978373842438fd31d4a99e60355.service: Failed with result 'exit-code'.
jan 04 05:24:14 archlinux systemd[1]: systemd-localed.service: Deactivated successfully.
Expected results:
It should just launch normally.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Third Party Packaging' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:gerard-majax, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•1 year ago
|
||
Martin, this may be indicative of a leak in the wayland proxy?
Comment 4•1 year ago
|
||
Repeatedly open and close Firefox successfully (or just had bad luck on the first launching attempt)... Until
Can you document more here? Is it random and it may happens at first launch, or is it after several (how many) successful runs ?
Can you share more details about the system ? OS ? about:support ? I see you use KDE, it may also be a leak on their side
| Reporter | ||
Comment 5•1 year ago
|
||
(In reply to :gerard-majax from comment #4)
Repeatedly open and close Firefox successfully (or just had bad luck on the first launching attempt)... Until
Can you document more here? Is it random and it may happens at first launch, or is it after several (how many) successful runs ?
Can you share more details about the system ? OS ?
about:support? I see you use KDE, it may also be a leak on their side
It's random and can happen at first launch. And private windows can fail to launch while having a normal window opened.
What part of about:support do I have to copy? It's a massive text.
Operating System: Arch Linux
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 8.1 GB of RAM
Graphics Processor: Mesa Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
GPU 1: NVIDIA GeForce GTX 1650 Mobile / Max-Q [Discrete]
GPU 2: Intel Iris Xe Graphics @ 1.30 GHz [Integrated]
Comment 6•1 year ago
|
||
From https://github.com/Floorp-Projects/Floorp/issues/1452 it's not a new thing. Have you ever experience it or could you identify a range of versions it started ? The error shared suggest it's on the flatpak side. I think martin may have more ideas.
| Assignee | ||
Comment 7•1 year ago
|
||
Please try to run flatpak on terminal with
--env MOZ_DISABLE_WAYLAND_PROXY=1
argument and check output. That disables wayland proxy. Also please try to run with proxy enabled and logging, i.e.:
--env WAYLAND_PROXY_LOG=1
and attach output here. You may run it on terminal as:
flatpak run org.mozilla.Firefox --env WAYLAND_PROXY_LOG=1
where org.mozilla.Firefox is name of Firefox/flatpak. You can get list of all flatpak apps by
flatpak list
terminal command if org.mozilla.Firefox is not a correct name.
| Reporter | ||
Comment 8•1 year ago
|
||
| Reporter | ||
Comment 9•1 year ago
|
||
Should I keep trying both until it fails to launch?
| Assignee | ||
Comment 10•1 year ago
|
||
Looks like org.mozilla.Firefox is not installed. What does print flatpak list ?
| Reporter | ||
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
The severity field is not set for this bug.
:gerard-majax, could you have a look please?
For more information, please visit BugBot documentation.
Comment 13•1 year ago
|
||
org.mozilla.firefox is there, it's Fedora one right?
| Assignee | ||
Comment 14•1 year ago
|
||
Okay, please run as:
flatpak run org.mozilla.firefox --env WAYLAND_PROXY_LOG=1
Thanks.
| Reporter | ||
Comment 15•1 year ago
|
||
Couldn't manage to get it to fail to launch with that command, but I could get it to say the same error, the quantity of lines regarding that error varies, which makes me think this command keeps trying to launch Firefox until it succeeds.
Comment 16•1 year ago
|
||
I find this crash only happens when firefox is launched through krunner, has anyone been able to reproduce the crash when running it from the terminal?
Comment 17•1 year ago
|
||
I'm not sure how related this is but I am experiencing something quite similar.
Launching with "flatpak run org.mozilla.firefox" in terminal works fine, however, if I try to launch from desktop/KDE Start menu entry it created upon installation, it sometimes does nothing and I need to try it a few more times (like 2-6x).
Another problem that could be related to this, is that opening links from other flatpak apps in flatpak Firefox also sometimes fails (regardless of whether Firefox was already open or not) and I need to try it a few more times. Links from non-flatpak apps -> flatpak Firefox open without a problem.
Operating System: Fedora Linux 41 (Kinoite)
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.13-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10600K CPU @ 4.10GHz
Memory: 15.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3070/PCIe/SSE2
Manufacturer: ASUS
| Assignee | ||
Comment 18•1 year ago
|
||
Not sure about flatpak but for system-wide installed Firefox you can add logging to system launch script directly (on Fedora it's /usr/bin/firefox).
Comment 19•1 year ago
|
||
With MOZ_DISABLE_WAYLAND_PROXY=1, I no longer have any problems launching Firefox.
Without it, WAYLAND_PROXY_LOG=1 outputs this: https://gist.githubusercontent.com/lostdharma/a3e511cc3ee0ff7ebbc6dabb7e6bea41/raw/500c97324b3a240202f4ae5f2c82f987bb09f8c4/firefoxlauncherror.txt
| Assignee | ||
Comment 20•1 year ago
|
||
(In reply to lostdharmai from comment #19)
With
MOZ_DISABLE_WAYLAND_PROXY=1, I no longer have any problems launching Firefox.
Without it,WAYLAND_PROXY_LOG=1outputs this: https://gist.githubusercontent.com/lostdharma/a3e511cc3ee0ff7ebbc6dabb7e6bea41/raw/500c97324b3a240202f4ae5f2c82f987bb09f8c4/firefoxlauncherror.txt
Is that flatpak or plain Firefox binary?
Thanks.
| Assignee | ||
Comment 21•1 year ago
|
||
I wonder if we may extend the proxy timeout to wait a bit longer - Resource temporarily unavailable is not a fatal error and we may wait for it.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 22•1 year ago
|
||
If you run with MOZ_DISABLE_WAYLAND_PROXY=1 how long does it take Firefox to start?
Thanks.
Comment 23•1 year ago
|
||
That was on flatpak Firefox and from my limited testing, I don't think I had any of this happen on non-flatpak Firefox.
About the startup time... It's like half a second and I can't really see any difference between having that env variable on or off - when it launches, that is.
| Assignee | ||
Updated•1 year ago
|
Comment 24•6 months ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #21)
I wonder if we may extend the proxy timeout to wait a bit longer - Resource temporarily unavailable is not a fatal error and we may wait for it.
I also think that would probably work.
(Coming here because I reproduce this with the fedora package ( firefox-146.0-3.fc43.x86_64 ) being run in firejail (didn't try without firejail); sometimes it works, sometimes it prints the try again message a couple of times)
To me it looks like a simple synchronization issue (the client tries to connect to the proxy before the proxy is ready) and waiting a bit longer ought to do the trick.
I'd go as far as saying the try again message debug level should be lowered, or rate limited, unless proper synchronization is in place.
Comment 25•5 months ago
|
||
I'm experiencing this issue on Bazzite 43.
I have to disable Wayland on Flatseal for Firefox to open.
Is there anyway I can help to fix this?
| Assignee | ||
Comment 26•4 months ago
|
||
(In reply to eliaspoveda from comment #25)
I'm experiencing this issue on Bazzite 43.
I have to disable Wayland on Flatseal for Firefox to open.
Is there anyway I can help to fix this?
Can you run with WAYLAND_PROXY_LOG=1 env variable and attach the log here?
Thanks.
Comment 27•4 months ago
|
||
I am now using Fedora KDE and I have the same issue.
(In reply to Martin Stránský [:stransky] (ni? me) from comment #26)
(In reply to eliaspoveda from comment #25)
I'm experiencing this issue on Bazzite 43.
I have to disable Wayland on Flatseal for Firefox to open.
Is there anyway I can help to fix this?
Can you run with WAYLAND_PROXY_LOG=1 env variable and attach the log here?
Thanks.
Could you tell me how to add that variable and generate the log, please?
| Reporter | ||
Comment 28•4 months ago
|
||
flatpak run org.mozilla.Firefox --env WAYLAND_PROXY_LOG=1
Comment 29•4 months ago
|
||
Comment 30•4 months ago
|
||
I am using the Zen flatpak now (based on Firefox), but I said I still have the same issue.
I hope the log helps.
Sometimes it opens sometimes it doesn't. It's random.
| Assignee | ||
Comment 31•4 months ago
|
||
Warning: ConnectToCompositor() try again : Resource temporarily unavailable
Error: ConnectToCompositor() connect() failed repeatedly : Resource temporarily unavailable
Error: ProxiedConnection::Process(): Failed to connect to compositor
: Resource temporarily unavailable
Error: we don't have any display, WAYLAND_DISPLAY='wayland-0' DISPLAY='(null)'
I wonder why we see it. We'd need to use strace but I' not sure how it integrates with flatpak.
| Assignee | ||
Updated•4 months ago
|
Comment 32•4 months ago
|
||
FWIW I ran with strace a while back and you won't get much more info (at least with a basic strace) -- firefox repeatedly calls connect() on the proxy socket and gets EAGAIN until it gives up.
This happens even when firefox successfully launches, there's just no synchronization so if it's a bit slower it'll timeout.
I assume the proper solution would be to add some synchronization between starting the proxy and trying to connect to it, but a stopgap increasing the timeout would probably be enough for most use cases...
(I was just getting annoyed and cloned the firefox repo to look into it, but I upgraded to fedora 44 beta and it's not been happening since so I won't be of any more help here :/)
| Assignee | ||
Comment 33•4 months ago
|
||
I think we just can threat 'try again' as non-fatal error and just try again and don't fail. Or use a bigger timeout or so.
| Assignee | ||
Comment 34•4 months ago
|
||
Checked how Gtk3 works and it calls just wl_display_connect() which calls connect() to wayland socket only once and returns nullptr on any failure.
| Assignee | ||
Comment 35•4 months ago
|
||
Let's create the compositor socket blocking - there's no point to start the proxy without wayland compositor anyway.
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 36•4 months ago
|
||
Updated•4 months ago
|
Comment 37•4 months ago
|
||
Comment 38•4 months ago
|
||
| bugherder | ||
Updated•3 months ago
|
Description
•