Open Bug 1300533 Opened 8 years ago Updated 2 years ago

Running mochitest with xvfb does not work anymore

Categories

(Core :: Graphics, defect, P3)

All
Linux
defect

Tracking

()

Tracking Status
firefox51 --- affected

People

(Reporter: padenot, Unassigned)

Details

(Whiteboard: tpi:-, gfx-noted)

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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.