[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2022-01-17 Thread Olivier Tilloy
Andreas, please file a new bug to track this separately. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2022-01-02 Thread Andreas
Not sure if related, but googling led me here  ...
Slightly different on a laptop with intel/nvidia dGpu (optimus...) and property 
nvidia 470 drivers:

I assume its an issue with finding or selecting the right egl library

```
MOZ_DISABLE_CONTENT_SANDBOX=1 snap run firefox 
https://webglsamples.org/aquarium/aquarium.html 
[GFX1-]: glxtest: libEGL missing
[GFX1-]: glxtest: EGL test failed
[GFX1-]: More than 1 GPU vendor detected via PCI, cannot deduce vendor
[GFX1-]: PCI candidate 0x8086/0x0a16
[GFX1-]: PCI candidate 0x10de/0x1290
glxtest
^C
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.

```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-11-28 Thread Mathew Hodson
Fixed in Firefox 94

** Changed in: firefox (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-20 Thread MV
Every thing works fine with the deb firefox : webgl and gnome extensions

NVIDIA Corporation -- NVIDIA GeForce GTX 960/PCIe/SSE2
Pilote WebGL 1 - Version4.6.0 NVIDIA 470.74

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-20 Thread Olivier Tilloy
This is relevant:

  Pilote WebGL 1 - RenduWebGL creation failed: 
  * WebglAllowWindowsNativeGl:false restricts context creation on this system. 
()
  * Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)

What graphics card do you have, and which drivers? Does WebGL work in
the firefox deb?


You need to make sure that ~/snap/firefox/common/.mozilla doesn't exist before 
running the snap, otherwise it won't attempt to do the profile import.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-20 Thread MV
I tried to remove and then reinstall firefox beta. "snap remove firefox"
removed all my firefox data. The "Snap run firefox" command did not
allow me to retrieve this data from the ~/.mozilla directory.

I deleted the firefox snap and installed the deb version 93.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-19 Thread MV
here the ugly raw about


** Attachment added: "about.txt"
   
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1946599/+attachment/5534339/+files/about.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-19 Thread Olivier Tilloy
Can you please browse to about:support, copy the raw contents of the
page and attach them here as a text file? Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-14 Thread MV
Yes for the extension problem.

Same error when launching firefox from terminal :
mv@i56400:~$ firefox
[GFX1-]: glxtest: libEGL missing
[GFX1-]: glxtest: EGL test failed


Aquarium page write :
It does not appear your computer supports WebGL.
Click here for more information.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-14 Thread MV
** Attachment added: "journalctl when launching firefox from term"
   
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1946599/+attachment/5532866/+files/journal1.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-14 Thread Olivier Tilloy
I assume by "extensions problem" you mean
https://bugzilla.mozilla.org/1661935 ? That's an entirely separate
issue.

Regarding WebGL, that's unexpected. Can you share the contents of
about:support, and the error message you get when you browse to e.g.
http://webglsamples.org/aquarium/aquarium.html ?

** Changed in: firefox (Ubuntu)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-14 Thread MV
snap firefox  94 beta solve the problem when coming back from console
but nor the webgl problem neither the extensions problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-12 Thread Olivier Tilloy
Thanks for the feedback Robie. I agree this makes the problem even worse
from a user perspective.

Fortunately the fix has been approved for the upcoming firefox 94.0, and
uplifting to the ESR91 branch has been requested too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-11 Thread Robie Basak
I can reproduce this issue with this snap:

installed:  93.0-1  (631) 157MB -

In my case, it's standby/resume that triggers it. However Ctrl+Alt+F3
then Ctrl+Alt+F2 does also. I suggest that the broken standby/resume use
case makes this issue much more significant from a user impact
perspective.

Olivier's security.sandbox.content.read_path_whitelist workaround works
perfectly. Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-11 Thread Bug Watch Updater
Launchpad has imported 27 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1732580.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2021-09-26T22:07:53+00:00 W-jan-k wrote:

Created attachment 9242948
aboutsupport.txt

Gnome Wayland, Debian Testing, Intel

(Darkspirit from bug 1726510 comment 36)
> $ sudo snap remove firefox
> $ sudo snap install firefox
> $ snap run firefox

> WebGL and WebRender work according to about:support, but 
> https://webglsamples.org/aquarium/aquarium.html does not work.
> > It does not appear your computer supports WebGL.
> > Click here for more information.
> > Status: WebGL creation failed: * tryNativeGL (FEATURE_FAILURE_NO_DISPLAY) * 
> > Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)
> 
> No word on about:support about this FEATURE_FAILURE_NO_DISPLAY thing.
> 
> $ sudo cat /var/log/syslog | grep denied
> > Sep 26 23:36:58 darkspirit-laptop kernel: [41105.417113] audit: type=1400 
> > audit(1632692218.808:14756): apparmor="DENIED" operation="open" 
> > profile="snap.firefox.firefox" 
> > name="/proc/sys/dev/i915/perf_stream_paranoid" pid=49327 comm="firefox" 
> > requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
> > Sep 26 23:36:59 darkspirit-laptop kernel: [41105.850276] audit: type=1400 
> > audit(1632692219.240:14757): apparmor="DENIED" operation="open" 
> > profile="snap.firefox.firefox" 
> > name="/proc/sys/dev/i915/perf_stream_paranoid" pid=49258 comm="Renderer" 
> > requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

> ---
> Manually installed firefox - without dangerous, but with acking - works the 
> same as official firefox:
> $ sudo snap remove firefox
> $ sudo snap ack firefox_595.assert
> $ sudo snap install firefox_595.snap
> $ snap run firefox

> https://webglsamples.org/aquarium/aquarium.html
> > It does not appear your computer supports WebGL.
> Click here for more information.
> Status: WebGL creation failed: * tryNativeGL (FEATURE_FAILURE_NO_DISPLAY) * 
> Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXHAUSTED_DRIVERS)
> 
> /var/log/syslog:
> Same two errors as above and this one is new:
> > Sep 26 23:21:31 darkspirit-laptop kernel: [40177.949121] audit: type=1400 
> > audit(1632691291.299:14602): apparmor="DENIED" operation="open" 
> > profile="snap.firefox.firefox" name="/proc/46373/environ" pid=46215 
> > comm=427265616B70616420536572766572 requested_mask="r" denied_mask="r" 
> > fsuid=1000 ouid=1000

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1946599/comments/0


On 2021-09-26T23:43:34+00:00 W-jan-k wrote:

$ snap info firefox
> channels:
>  latest/stable:92.0-3   2021-09-09 (595) 159MB -
>  latest/candidate: 92.0.1-1 2021-09-23 (625) 159MB -
>  latest/beta:  93.0b9-1 2021-09-24 (628) 155MB -
>  latest/edge:  ↑   
>  esr/stable:   78.14.0esr-1 2021-09-07 (591) 148MB -
>  esr/candidate:91.1.0esr-1  2021-09-10 (603) 158MB -
>  esr/beta: ↑   
>  esr/edge: ↑

$ sudo snap remove firefox --purge; sudo snap install firefox 
--channel=esr/stable; snap run firefox 
https://webglsamples.org/aquarium/aquarium.html
> firefox (esr/stable) 78.14.0esr-1 from Mozilla✓ installed

works
Edit: because it uses the official Mozilla config (GLX/Xwayland)

$ sudo snap remove firefox; sudo snap install firefox --channel=esr/candidate; 
snap run firefox https://webglsamples.org/aquarium/aquarium.html
> firefox (esr/candidate) 91.1.0esr-1 from Mozilla✓ installed

broken

$ sudo snap remove firefox; sudo snap install firefox 
--channel=latest/candidate; snap run firefox 
https://webglsamples.org/aquarium/aquarium.html
> firefox (candidate) 92.0.1-1 from Mozilla✓ installed

broken

$ sudo snap remove firefox; sudo snap install firefox --channel=latest/beta; 
snap run firefox https://webglsamples.org/aquarium/aquarium.html
> firefox (beta) 93.0b9-1 from Mozilla✓ installed

broken

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1946599/comments/1


On 2021-09-27T00:39:13+00:00 W-jan-k wrote:

93.0b9: Problem does not occur with GLX/Xwayland. Problem also occurs with 
EGL/Xwayland.
$ DISABLE_WAYLAND=1 MOZ_X11_EGL=1 snap run firefox 
https://webglsamples.org/aquarium/aquarium.html

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1946599/comments/2


On 2021-09-28T17:42:23+00:00 W-jan-k wrote:

Tested:
* GLX is used on Gnome X11/Nvidia: fine
* EGL is used on Wayland because MOZ_ENABLE_WAYLAND is 

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-11 Thread Olivier Tilloy
And interestingly, the patch for
https://bugzilla.mozilla.org/show_bug.cgi?id=1732580 appears to fix the
problem (actually, I tested the workaround, which is to set
`security.sandbox.content.read_path_whitelist` in `about:config` to the
value of $SNAP for that revision of firefox, e.g. "/snap/firefox/631/"
(the trailing slash matters)).

** Changed in: firefox (Ubuntu)
   Status: Confirmed => In Progress

** Also affects: firefox via
   https://bugzilla.mozilla.org/show_bug.cgi?id=1732580
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1946599] Re: Firefox break when returning from console with wayland (nvidia) on ubuntu 21.10 beta

2021-10-11 Thread Olivier Tilloy
I can confirm the problem:
 - Ubuntu 21.10 (to be released this week), Wayland session (the default), 
firefox snap (the default)
 - Open tabs and browse to any website in firefox (e.g. http://example.org)
 - Press Ctrl+Alt+F3 to switch to a VT
 - Press Ctrl+Alt+F2 to switch back to your desktop session

Expected result: firefox behaves normally

Actual result: the current tab in firefox crashes and offers to report
to crash to Mozilla

** Changed in: firefox (Ubuntu)
   Status: New => Confirmed

** Changed in: firefox (Ubuntu)
 Assignee: (unassigned) => Olivier Tilloy (osomon)

** Changed in: firefox (Ubuntu)
   Importance: Undecided => High

** Bug watch added: Mozilla Bugzilla #1732580
   https://bugzilla.mozilla.org/show_bug.cgi?id=1732580

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946599

Title:
  Firefox break when returning from console with wayland (nvidia) on
  ubuntu 21.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1946599/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs