Open Bug 1850195 Opened 1 year ago Updated 1 year ago

Firefox taking 10 seconds to start up after More than 1 GPU from same vendor detected via PCI, cannot deduce device

Categories

(Core :: Graphics, defect)

Firefox 102
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: andrewhughes408, Unassigned, NeedInfo)

References

(Depends on 1 open bug)

Details

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

Steps to reproduce:

I am running Mozilla Firefox 102.14.0esr with X on gentoo. The laptop has both an AMD 6700s and 6900hs with an igpu. This may be what is causing the error. I haven't found a way to specify the GPU at launch time or afterwards.

Actual results:

After 10 or so seconds the following is outputted and firefox starts:

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: More than 1 GPU from same vendor detected via PCI, cannot deduce device (t=10.3379) [GFX1-]: More than 1 GPU from same vendor detected via PCI, cannot deduce device

It seems that firefox works correctly afterwards.

Expected results:

Ideally it would not take 10 seconds to start.

I could not find a mention of this error on other bug reports or help pages, it seems that it may be good to have a way to specify the GPU. If this is a non-issue with the code and I should be fixing things elsewhere please let me know. Thank you!

I'd like to apologize for not adding this in the original report: the gpu driver in use is amdgpu.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics
Product: Firefox → Core

Thank you for the bug report, Andrew.

Could you please navigate to about:support, click "copy text to clipboard" and attach the contents to this bug?

Could you also test whether this works correctly in the current release or nightly version of firefox?

It would also be very helpful if you could capture a performance profile of firefox starting. To do this, close any open instances of firefox. Then launch firefox from the command line with the following environment variable set:

MOZ_PROFILER_STARTUP=1 firefox

When the firefox window opens, there should be a blue speed dial icon in the toolbar. Click on this to stop the profiler. This should open up the profiler UI in a new tab. At the top right there will be a button labeled "Upload local profile". Click on that, then copy and paste the URL it gives you here.

Let me know if you need any help with any of that. Thanks!

Flags: needinfo?(andrewhughes408)

From the log message it seems probable glxtest is taking a long time

Severity: -- → S3
Depends on: glxtest
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
You need to log in before you can comment on or make changes to this bug.