Open Bug 1701318 Opened 3 years ago Updated 3 years ago

Mozregression GUI: Fontconfig and other issues

Categories

(Testing :: mozregression, defect)

defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: elsandosgrande, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

I just ran the regression tool's GUI from the terminal after downloading and extracting it in a folder in /opt. I'm running Ubuntu Groovy.

Sorry for the relatively bad title/summary 😅, but I don't even know where to begin with this.

Actual results:

I got a series of Fontconfig warnings and errors alongside a few others (the others are far fewer and somewhat different between the X11 and Wayland sessions, but the Fontconfig ones are always present). When the window appeared, the text looked off, like the size and/or font was different than the system-wide default.

Expected results:

There shouldn't have been any warnings, let alone errors, and the text shouldn't look any different that what it does across the rest of the system.

I'll share the terminal output on X11 when I get around to logging into the X11 session. The glibc warning, which is only present in the Wayland session, seems to crash Firefox builds downloaded and run through the GUI (I haven't tried the command-line version yet), as they run in the X11 session. The client-side decorations are kind of corrupted in the X11 session though, not to mention that the same UI issues persist (the text looking off and such), so that's not really consolation here. Since I have literally zero prior experience with this tool, I'll wait and see how this ticket works out before opening new ones for the Firefox builds running through the tools in the Wayland and X11 sessions.

Attached image GUI — Wayland

In this case, that is in the Wayland session, the difference feels subtle, probably just a difference in text size, but the text is aliased in the X11 session as well as being oversized.

mozregression is a weird application for a lot of reasons and (as the maintainer) I am sometimes surprised that it works at all. :)

I just uploaded a pre-release version which upgrades some dependencies, which may help a bit:

https://github.com/mozilla/mozregression/releases/tag/4.0.16-pre10

In general the most important thing with the GUI is that it enables people to create regression ranges to post on bugs like this. Were you able to do that?

On Wayland, the downloaded builds straight up crash with those glibc warnings, while on X11 they're… unreliable. Since going into detail about those specific issues may or may not be outside of the scope of this ticket, I'll just link to another bug where I already detailed what was wrong (and shared the log): bug 1701047, comment number four onwards. I know that it's not all that proper to reference things in other tickets as opposed to just sharing them again here, but I sadly don't have the time right now to assemble everything again 😅.

I'll report back once I've tried the pre-release version.

So, there are no more glibc warnings with the pre-release version! I still have to try it out on X11, but this is a big improvement nonetheless. However, Mesa errors have appeared, at least in the Wayland session; they weren't there before:

libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: