Open Bug 1920664 Opened 1 year ago Updated 9 months ago

Firefox for Windows ARM64 randomly hangs and causing crash in QCDX Display Driver

Categories

(Core :: Graphics: WebRender, defect, P1)

Firefox 130
ARM64
Windows 11
defect

Tracking

()

UNCONFIRMED

People

(Reporter: zeroaurora233, Unassigned)

References

Details

Attachments

(3 files)

This is probably a dup of #1798465 but I an reopening an issue since the old one is closed.

Firefox randomly hangs the whole system while browsing, for around 10 seconds. Then pages recover without crashing. But looking into Windows event viewer, I found that the QCDX display driver stopped responding and recovered successfully.

Windows Error Reporting also collected the information. I will try to provide if needed (I'm figuring out how).

System spec: Xiaomi Boox S 12.4, Snapdragon 8cx Gen 2

typo: Xiaomi Book S 12.4 sorry

In general, try to update your graphics drivers to the latest version.

can you type "about:support" in your firefox browsers address bar, and copy-paste its contents here in the following two scenarios :

  1. Before you get the random freeze
  2. After you get the random freeze
Flags: needinfo?(zeroaurora233)

Driver is already the latest version. i.e. I couldn't find any updates in Windows Update.
I reproduced a freeze under some high load and can confirm driver crash in system event viewer. Posting support data as files.

Flags: needinfo?(zeroaurora233)
Attached file before-freeze.json
Attached file after-freeze.json

found a interesting diff:

    "failures": [
      "[GFX1-]: Detect DeviceReset DeviceResetReason::HUNG DeviceResetDetectPlace::WR_POST_UPDATE in GPU process",
      "GP+[GFX1-]: Failed to make render context current during destroying.",
      "GP+[GFX1-]: Error in eglMakeCurrent: 0x300e",
      "GP+[GFX1-]: Error in eglDestroySurface: 0x300e"
    ],
    "indices": [
      0,
      1,
      2,
      3
    ],
Attached file wer_dump.zip

I collected a copy of windows error report dump from Reliability Monitor (inside control panel), also uploading wishing it helps

Reading Windows crash dumps - > gsvelto and yjuglaret

Flags: needinfo?(yjuglaret)
Flags: needinfo?(gsvelto)

The dump file within attachment 9426761 [details] is a kernel crash dump file from what I can tell. We don't have tooling to analyze these, and a quick check with windbg yielded a short and not very interesting stack.

Flags: needinfo?(gsvelto)
Component: Graphics → Graphics: WebRender
See Also: → 1798465

ANGLE and WR are probably both under-tested on Windows+Qualcomm. (Maybe @gw knows more, ni'd)
I'm going to mark this S2, since I worry that people will just not use Firefox, and not try to tell us about it, running into this type of error.
Maybe it should be S3 since this isn't a super common config, but in that case it would be better so punt it to swgl, probably.
We should try very hard to Just Work.

Flags: needinfo?(gwatson)

Reporter: Do you still have this problem in Firefox's Safe Mode?

Flags: needinfo?(zeroaurora233)
Severity: -- → S2

Could we get the output of about:support, we can check what driver version is in use - perhaps there is an update available?

Flags: needinfo?(gwatson)

(In reply to Kelsey Gilbert [:jgilbert] from comment #11)

Reporter: Do you still have this problem in Firefox's Safe Mode?

I stressed Firefox in Safe Mode and while there are stucks sometimes, there are no crashes. Software rendering here seems to work.

(In reply to Glenn Watson [:gw] from comment #12)

Could we get the output of about:support, we can check what driver version is in use - perhaps there is an update available?

See file before-freeze.json and after-freeze.json. These are export files from about:support.

Flags: needinfo?(zeroaurora233)
See Also: → 1859184
Assignee: nobody → gwatson

We are thinking that it would be safest to blocklist here until we're more confident in it.
@ahale volunteers to help with adding things to blocklist.

(re)Assigning to Ashley, and setting to P1 for follow-up.

Assignee: gwatson → ahale
Priority: -- → P1

Ashley, based on comment 14, how quickly could we update the blocklist for this?

Flags: needinfo?(ahale)

Setting this to stalled until we have the personnel/cycles to focus on it again.

Assignee: ahale → nobody
Flags: needinfo?(ahale)
Keywords: stalled
Flags: needinfo?(yjuglaret)
Severity: S2 → S3
Keywords: stalled

FF ARM on Windows is still not stable playing YouTube videos.
FF v146
Windows 25H5 26200.7309
all available driver updates installed

I don't know if this is a general problem for ARM versions on Windows or specific to my Windows Dev Kit 2023 ARM Mini-PC.

No dumps etc. needed to repro. Simply watch some vids for a couple of minutes.

FYI I have the same issue on a Lenovo Yoga C630 (based on the Snapdragon 850). I get the exact same behavior as in comment 0. It feels like a problem in Qualcomm's drivers, but given they are not releasing updates for this particular device I doubt it will ever be fixed.

The driver may be the root cause. But other Browsers like Edge, can handle this problem.

@Gabriele
Does your affected Yoga also have the problem of YouTube audio and video increasingly getting out of sync while playing a video?

No, that doesn't happen to me. However when the graphics driver encounters an issue everything freezes - including the cursor.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: