Bug#885920: [firefox] Firefox window doesn't show under wayland

Sylvestre Ledru sylvestre at mozilla.com
Thu Feb 1 09:40:46 UTC 2018


Wayland support for Firefox is considered as basic from fx59:

https://bugzilla.mozilla.org/show_bug.cgi?id=635134#c86

S


Le 01/02/2018 à 10:27, Patrik Flykt a écrit :
> I think I see the very same issue that affects also firefox 58.0.1-1.
>
> To make matters more complex, Firefox starts with GNOME/wayland on an
> laptop with an integrated Intel graphics chip just fine, but fails to
> show a window on an desktop with AMD graphics card (Oland, Radeon R7
> 240/340) just as described in this bug. Poking with gdb on the second
> process/thread on the desktop where the firefox window is not shown
> gives the following output:
>
> $ gdb -p 3414
> GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
> Copyright (C) 2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word".
> Attaching to process 3414
> [New LWP 3429]
> [New LWP 3430]
> [New LWP 3431]
> [New LWP 3432]
> [New LWP 3433]
> [New LWP 3434]
> [New LWP 3435]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
> 38	../sysdeps/unix/sysv/linux/x86_64/syscall.S: No such file or directory.
> (gdb) where
> #0  0x00007f551369ce19 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
> #1  0x00007f54fec7ebca in xshmfence_await () at /usr/lib/x86_64-linux-gnu/libxshmfence.so.1
> #2  0x00007f54ff6e522b in dri3_fence_await (buffer=0x7f54f619d4c0, draw=0x7f54fe103e98, c=<optimized out>)
>     at ../../../src/loader/loader_dri3_helper.c:187
> #3  0x00007f54ff6e522b in dri3_get_buffer (format=format at entry=4098, buffer_type=buffer_type at entry=
>     loader_dri3_buffer_front, draw=draw at entry=0x7f54fe103e98, driDrawable=<optimized out>)
>     at ../../../src/loader/loader_dri3_helper.c:1463
> #4  0x00007f54ff6e5f3d in loader_dri3_get_buffers (driDrawable=<optimized out>, format=4098, stamp=0x7f551308b800, loaderPrivate=0x7f54fe103e98, buffer_mask=2, buffers=0x7ffe3932ccb0) at ../../../src/loader/loader_dri3_helper.c:1578
> #5  0x00007f54fd61e976 in dri_image_drawable_get_buffers (statts_count=<optimized out>, statts=<optimized out>, images=<optimized out>, drawable=<optimized out>) at ../../../../../src/gallium/state_trackers/dri/dri2.c:466
> #6  0x00007f54fd61e976 in dri2_allocate_textures (ctx=0x7f54fe11ce20, drawable=0x7f551308b800, statts=
>     0x7f54fe144c60, statts_count=1) at ../../../../../src/gallium/state_trackers/dri/dri2.c:590
> #7  0x00007f54fd619e5c in dri_st_framebuffer_validate (stctx=<optimized out>, stfbi=<optimized out>, statts=
>     0x7f54fe144c60, count=1, out=0x7ffe3932ce50) at ../../../../../src/gallium/state_trackers/dri/dri_drawable.c:85
> #8  0x00007f54fd4c03c9 in st_framebuffer_validate (stfb=0x7f54fe144800, st=st at entry=0x7f54f61c0000)
>     at ../../../src/mesa/state_tracker/st_manager.c:197
> #9  0x00007f54fd4c18a0 in st_api_make_current (stapi=<optimized out>, stctxi=0x7f54f61c0000, stdrawi=0x7f551308b800, streadi=0x7f551308b800) at ../../../src/mesa/state_tracker/st_manager.c:995
> #10 0x00007f54fd6198f6 in dri_make_current (cPriv=<optimized out>, driDrawPriv=0x7f54f61ae840, driReadPriv=0x7f54f61ae840)
>     at ../../../../../src/gallium/state_trackers/dri/dri_context.c:280
> #11 0x00007f54fd618786 in driBindContext (pcp=<optimized out>, pdp=<optimized out>, prp=<optimized out>)
>     at ../../../../../../src/mesa/drivers/dri/common/dri_util.c:564
> #12 0x00007f54ff6df346 in dri3_bind_context (context=0x7f54fe103b40, old=<optimized out>, draw=35651586, read=35651586)
>     at ../../../src/glx/dri3_glx.c:199
> #13 0x00007f54ff6b21d9 in MakeContextCurrent (dpy=0x7f55130ca000, draw=35651586, read=35651586, gc_user=0x7f54fe103b40)
>     at ../../../src/glx/glxcurrent.c:228
> #14 0x00007f54ffbc21dd in  () at /usr/lib/x86_64-linux-gnu/libGLX.so.0
> #15 0x00007f54ffbc2bd5 in  () at /usr/lib/x86_64-linux-gnu/libGLX.so.0
> #16 0x00007f54ffbc41d6 in  () at /usr/lib/x86_64-linux-gnu/libGLX.so.0
> #17 0x00007f550752715c in  () at /usr/lib/firefox/libxul.so
> #18 0x00007f5507527377 in  () at /usr/lib/firefox/libxul.so
> #19 0x00007f550751ccee in  () at /usr/lib/firefox/libxul.so
> #20 0x00007f550752233f in  () at /usr/lib/firefox/libxul.so
> #21 0x00007f5507522b32 in  () at /usr/lib/firefox/libxul.so
> #22 0x0000564ce39fb72c in  ()
> #23 0x0000564ce39fae99 in  ()
> #24 0x00007f55135cdf2a in __libc_start_main (main=
>     0x564ce39fae30, argc=1, argv=0x7ffe3932eb28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe3932eb18) at ../csu/libc-start.c:310
> #25 0x0000564ce39fb1aa in _start ()
>
> Hope this helps a bit.
>



More information about the pkg-mozilla-maintainers mailing list