Running mochitest with xvfb does not work anymore

NEW
Unassigned

Status

()

P3
normal
3 years ago
2 years ago

People

(Reporter: padenot, Unassigned)

Tracking

Trunk
All
Linux
Points:
---

Firefox Tracking Flags

(firefox51 affected)

Details

(Whiteboard: tpi:-, gfx-noted)

(Reporter)

Description

3 years ago
STR:
- Run `xvfb-run mach mochitest --flavor=plain --disable-e10s  dom/media/webaudio/test/` (same result in e10s)

Expected:
- it works, we can run mochitest with xvfb

Actual result:
- Assertion failure: mFormat != gfx::SurfaceFormat::UNKNOWN (Could not find SurfaceFormat for visual!), at /home/padenot/src/trees/mozilla-central/widget/gtk/WindowSurfaceX11.cpp:26
You need to force it to 24-bit color like this:

  xvfb-run -a -s '-screen 0 640x480x24' ./mach mochitest

I think someone on the gfx team knows about this, but not sure if there is another bug on file.
Whiteboard: tpi:-
Graphics, even though the code is under widget/gtk.
Component: Widget: Gtk → Graphics
Whiteboard: tpi:- → tpi:-, gfx-noted
You need to log in before you can comment on or make changes to this bug.