If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Running mochitest with xvfb does not work anymore

NEW
Unassigned

Status

()

Core
Graphics
P3
normal
a year ago
2 months ago

People

(Reporter: padenot, Unassigned)

Tracking

Trunk
All
Linux
Points:
---

Firefox Tracking Flags

(firefox51 affected)

Details

(Whiteboard: tpi:-, gfx-noted)

(Reporter)

Description

a year 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
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.