Closed Bug 1607860 Opened 5 years ago Closed 4 years ago

Playing video on older intel driver causes WR crash or non wr player error on UHD Graphics 620

Categories

(Core :: Graphics, defect, P3)

72 Branch
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox72 --- affected
firefox73 --- affected
firefox74 --- affected

People

(Reporter: tur4ikkk, Unassigned)

References

Details

Attachments

(9 files, 1 obsolete file)

Attached image firefox.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

  1. have windows 10 1903 (didn't try other versions)
  2. have both built-in (intel HD Graphics) and discrete graphic cards (mine was of Nvidia)
  3. start firefox with Intel HD Graphics card as main graphics source
  4. visit site like this and watch stream for ~30 seconds. https://abcnews.go.com/live

Actual results:

  1. after this time passed firefox gui starts lagging and switches(? maybe it's done by windows video scheduler) graphics card from built-in to discrete. windows shows notification (see attached file and sorry for it's being in russian)

// it may be harmful because those sites can force firefox to switch graphics card
// if you didn't succeed in reproducing this bug, i was using ASUS VivoBook X570UD-E4384T (90NB0HS1-M05260) computer when encountered this. maybe hardware specs could help.

Expected results:

  1. firefox should use Intel HD Graphics card, which is specified on startup.
Group: firefox-core-security
Component: Untriaged → Graphics
Product: Firefox → Core

First of all, thanks for reporting!

I'm unable to reproduce the issue, so I have a couple of questions to try and get to the bottom of this:

  1. Can you attach your about:support information?
  1. Enter about:support into the address bar.
  2. Click the Copy text to clipboard button.
  3. Paste the clipboard contents into a text editor like Notepad, and save the file.
  4. Click the Attach New File button above the description here to upload the file.
  1. Could you see if you can reproduce the issue in our nightly builds? (https://www.mozilla.org/en-CA/firefox/channel/desktop/ -> nightly)
  2. When you start firefox with Intel as main graphics source, what are the steps you take and what is your windows default set to?

Thanks!

Flags: needinfo?(tur4ikkk)
Flags: needinfo?(tur4ikkk)

(In reply to Kris Taeleman (:kris/kris) from comment #1)

First of all, thanks for reporting!

I'm unable to reproduce the issue, so I have a couple of questions to try and get to the bottom of this:

  1. Can you attach your about:support information?
  1. Enter about:support into the address bar.
  2. Click the Copy text to clipboard button.
  3. Paste the clipboard contents into a text editor like Notepad, and save the file.
  4. Click the Attach New File button above the description here to upload the file.
  1. Could you see if you can reproduce the issue in our nightly builds? (https://www.mozilla.org/en-CA/firefox/channel/desktop/ -> nightly)
  2. When you start firefox with Intel as main graphics source, what are the steps you take and what is your windows default set to?

Thanks!

  1. I updated to beta and made snapshots of about:support both for it and stable version before graphics card switches and after (just in case, i don't know how logging works here, so maybe they are different).
  2. Yes, both stable and beta versions reproduce it. but since i always update stable as soon as it releases, it has now version 72.0.1. i can admit, that sometimes it behaves slightly different. it could, when i enter this broadcast first time, start lagging and then broadcast player shows playback error (to shame this is only a string with words like "something went wrong"). after i refresh the page, happens what i submitted in first message. in nightly build happens the same as in beta (sometimes it lags and causes that site player's error but doesn't switch graphics card instantly)
  3. When i start stable/beta firefox, it reopens all previous tabs. then i just open link i suggested. in nightly build i just open firefox and go to suggested site (didn't change defaults). i don't know what windows defaults do you want to see

Thanks for the quick response.

I see a couple of graphics errors in your log that might be related to the issue:

Failure Log
(#0): GP+[GFX1-]: [D3D11] 2 CreateTexture2D failure Size: Size(320,180)texture11: false Code: 0x8007000e
(#280): GP+[GFX1-]: RenderDXGITextureHostOGL Failed to open shared texture, hr=0x80070057
(#281): GP+[GFX1-]: RenderDXGITextureHostOGL Failed to open shared texture, hr=0x80070057
(#282): GP+[GFX1-]: RenderDXGITextureHostOGL Failed to open shared texture, hr=0x80070057

I also noticed your intel graphics drivers are quite old:

Description: Intel(R) UHD Graphics 620
Vendor ID: 0x8086
Device ID: 0x5917
Driver Version: 23.20.16.4973
Driver Date: 2-28-2018

Would you be able to upgrade your graphics drivers and see if that resolves the issue?
You can find the graphics drivers here: https://downloadcenter.intel.com/product/126789/Intel-UHD-Graphics-620

Flags: needinfo?(tur4ikkk)

(In reply to Kris Taeleman (:kris/kris) from comment #9)

Thanks for the quick response.

I see a couple of graphics errors in your log that might be related to the issue:

Failure Log
(#0): GP+[GFX1-]: [D3D11] 2 CreateTexture2D failure Size: Size(320,180)texture11: false Code: 0x8007000e
(#280): GP+[GFX1-]: RenderDXGITextureHostOGL Failed to open shared texture, hr=0x80070057
(#281): GP+[GFX1-]: RenderDXGITextureHostOGL Failed to open shared texture, hr=0x80070057
(#282): GP+[GFX1-]: RenderDXGITextureHostOGL Failed to open shared texture, hr=0x80070057

I also noticed your intel graphics drivers are quite old:

Description: Intel(R) UHD Graphics 620
Vendor ID: 0x8086
Device ID: 0x5917
Driver Version: 23.20.16.4973
Driver Date: 2-28-2018

Would you be able to upgrade your graphics drivers and see if that resolves the issue?
You can find the graphics drivers here: https://downloadcenter.intel.com/product/126789/Intel-UHD-Graphics-620

Well, no, i'm not able to upgrade this driver, because it's custom asus's build. by the way, i tried to visit suggested site via MS Edge and it works well with intel card. attached a screenshot with message (ye, very good feature to be able to save the full page)

Flags: needinfo?(tur4ikkk)

Ah, that's too bad you can't get a newer driver.. :/

I'll flag this bug for further investigation, in the meanwhile, could you see if your problem resolves by:

  1. Type about:config in address bar
  2. lookup gfx.webrender.force-disable and set value to true
  3. restart browser and see if issue still occurs

Can you let us know if that solves the issue for now?

Flags: needinfo?(tur4ikkk)
Blocks: wr-intel
Priority: -- → P3

(In reply to Kris Taeleman (:kris/kris) from comment #12)

Ah, that's too bad you can't get a newer driver.. :/

I'll flag this bug for further investigation, in the meanwhile, could you see if your problem resolves by:

  1. Type about:config in address bar
  2. lookup gfx.webrender.force-disable and set value to true
  3. restart browser and see if issue still occurs

Can you let us know if that solves the issue for now?

  1. Well, now it instantly causes player error (not after some time passes). maybe you are somewhere near the problem's root. will be waiting for patch if you find out what causes this
Flags: needinfo?(tur4ikkk)
Summary: firefox is disabled to access graphics card → Playing video on older intel driver causes WR crash or non wr player error.
Blocks: wr-74

tur4ikkk, do the crashes show up in about:crashes? If they do can you post a link to one of them?

Flags: needinfo?(tur4ikkk)

(In reply to Jeff Muizelaar [:jrmuizel] from comment #14)

tur4ikkk, do the crashes show up in about:crashes? If they do can you post a link to one of them?

no, afrer graphics card switch nothing added to about:crashes list

Flags: needinfo?(tur4ikkk)
Summary: Playing video on older intel driver causes WR crash or non wr player error. → Playing video on older intel driver causes WR crash or non wr player error on UHD Graphics 620

Can we get QA's help in testing this? You would need to test on similar hardware and the same graphics card/driver version as the reporter has.

I have an update. I suppose, this bug is reproducible only for driver software, preinstalled on ASUS laptops. i have now quite older one but with similar hardware setup and without ASUS graphics driver preinstalled (default intel build it has) and it works well with firefox on suggested site. Sorry for wasting your time.

Attached image another_laptop.png (obsolete) —
Attachment #9123060 - Attachment is obsolete: true

https://downloadcenter.intel.com/download/29335/Intel-Graphics-Windows-10-DCH-Drivers

Intel 26.20.100.7755 driver, if anyone can install it and want to test it.

Rares, can QA try and reproduce this? You'll likely need an UHD Graphics 620 with this driver: 26.20.100.7755

Flags: needinfo?(rares.doghi)

Hi, We tried to reproduce this issue but this is a very specific set-up to have, First you need the Intel HD GPU with the 26.20.100.7755 driver installed and a second GPU .. preferably an Nvidia one, one that is strong enough so the Windows machine jumps to when theres too much stress on the Intel GPU.

The only setup we have here is a Laptop with 16GB of RAM and an Intel UHD Graphics 630 (v. 24.20.100.6287) and a secondary Nvidia GTX 1050 GPU but we were unable to reproduce this issue at all, I opened a few tabs with live streams and I also opened the Sketchfab.com website in order to stress the GPU's a bit but it never switched or caused any noticeable lag.

We also tested this issue on a Desktop PC with 16GB RAM and an Intel HD Graphics 630 (v. 23.20.16.4973) but without a secondary GPU installed we couldn't reproduce any of the issues mentioned by the reporter.

I tested this issue with both WebRender ON and OFF and I couldnt reproduce it.

Flags: needinfo?(rares.doghi)

(In reply to Rares Doghi from comment #22)

Hi, We tried to reproduce this issue but this is a very specific set-up to have, First you need the Intel HD GPU with the 26.20.100.7755 driver installed and a second GPU .. preferably an Nvidia one, one that is strong enough so the Windows machine jumps to when theres too much stress on the Intel GPU.

The only setup we have here is a Laptop with 16GB of RAM and an Intel UHD Graphics 630 (v. 24.20.100.6287) and a secondary Nvidia GTX 1050 GPU but we were unable to reproduce this issue at all, I opened a few tabs with live streams and I also opened the Sketchfab.com website in order to stress the GPU's a bit but it never switched or caused any noticeable lag.

We also tested this issue on a Desktop PC with 16GB RAM and an Intel HD Graphics 630 (v. 23.20.16.4973) but without a secondary GPU installed we couldn't reproduce any of the issues mentioned by the reporter.

I tested this issue with both WebRender ON and OFF and I couldnt reproduce it.

well, actually it was reproducible on my first laptop with asus driver for Intel HD Graphics of version: 23.20.16.4973 (as in log i posted). but, as i said, i tried to use my old laptop with Intel build and it doesn't fail. so i managed to remove asus's driver at all and install Intel's of version x.x.x.7755, so it doesn't fail now. could it be used as workaround?

(In reply to Rares Doghi from comment #22)

The only setup we have here is a Laptop with 16GB of RAM and an Intel UHD Graphics 630 (v. 24.20.100.6287) and a secondary Nvidia GTX 1050 GPU but we were unable to reproduce this issue at all, I opened a few tabs with live streams and I also opened the Sketchfab.com website in order to stress the GPU's a bit but it never switched or caused any noticeable lag.

Did you try installing 26.20.100.7755 on the machine with the 630 when you were reproducing?

Flags: needinfo?(rares.doghi)

Andrew, can we block this driver for now?

Flags: needinfo?(aosmond)
See Also: → 1615421

Tracking the blocklist change via bug 1615421.

Flags: needinfo?(aosmond)

I tried to install that driver version on both machines but it seems it was not compatible with the hardware. I'm getting the "The driver being installed is not validated for this computer. Please obtain the appropriate driver from the computer manufacturer", I tried to find this specific version on other sites but it wouldnt let me install it.

First I tried to install it from Intel Support and I got the above error.

Flags: needinfo?(rares.doghi)
No longer blocks: wr-74

https://downloadcenter.intel.com/download/29426/Intel-Graphics-Windows-10-DCH-Drivers

Intel released 26.20.100.7870 driver and you need to uninstall the OEM vendor driver because Intel's installer will block installation if it detected OEM "customized" drivers install, which is pretty stupid because the OEMs never release updated drivers most of the time and only Intel has the Windows driver source code which means many bugfixes that Intel already included in the latest drivers don't get passed down to Intel GPU users.

Blocks: wr-76
Blocks: wr-intel-later
No longer blocks: wr-intel, wr-76

https://downloadcenter.intel.com/download/29530/Intel-Graphics-Windows-10-DCH-Drivers

"Unlocked drivers: We heard how much our users want the freedom to upgrade their systems to our regularly released generic graphics drivers and enable our latest game enhancements, feature updates, and fixes. As of this release, Intel Graphics DCH drivers are now unlocked to upgrade freely between Computer Manufacturer (OEM) drivers and the Intel generic graphics drivers on Download Center. Simply use the exe and enjoy the update on your 6th Generation Intel Processor platform or higher, and don’t worry about your OEM customizations--they remain intact with each upgrade and the OEMs can maintain customizations separately via Microsoft* Windows Update. Intel Drivers and Support Assistant drivers will also be unlocked starting April 28th, 2020. See the Release Notes section *4 for important information about this update."

Huge policy shift from Intel, finally everyone can install the latest Intel drivers and get all their latest bugfixes, no more stuck on obsolete OEM drivers nonsense previously.

Are you able to update your driver as per https://bugzilla.mozilla.org/show_bug.cgi?id=1607860#c29 and let us know if the issue still happens?

Flags: needinfo?(tur4ikkk)

(In reply to Jessie [:jbonisteel] pls NI from comment #30)

Are you able to update your driver as per https://bugzilla.mozilla.org/show_bug.cgi?id=1607860#c29 and let us know if the issue still happens?

I somehow managed to update OEM driver just after Rares wrote here about attempts to reproduce and for this case nothing was crashing already. So I tend to think, that I was really unlucky with preinstalled driver. But to be sure, everything is fine, I replaced it and with Intel's and wrote about that. As for now everything works good. And no i won't be removing it, because now this laptop is used for work and i'm not to change anything on it, sorry for that.

Flags: needinfo?(tur4ikkk)

Once we have bug 1547810 in place I'd like to turn off the blocking and see if we can get useful enough data to try to figure out what's going on.

Depends on: 1547810

(In reply to Jessie [:jbonisteel] pls NI from comment #30)

Are you able to update your driver as per https://bugzilla.mozilla.org/show_bug.cgi?id=1607860#c29 and let us know if the issue still happens?

Hi again. Eventually i have my laptop free from work purposes for a short time. Yes, i did what you proposed (this time no installation conflicts happened). The problem i described is not happening anymore (watched for about an hour, no video turnoffs no switching to another gpu, no video freezing). Thank everyone for your help

(In reply to tur4ikkk from comment #33)

(In reply to Jessie [:jbonisteel] pls NI from comment #30)

Are you able to update your driver as per https://bugzilla.mozilla.org/show_bug.cgi?id=1607860#c29 and let us know if the issue still happens?

Hi again. Eventually i have my laptop free from work purposes for a short time. Yes, i did what you proposed (this time no installation conflicts happened). The problem i described is not happening anymore (watched for about an hour, no video turnoffs no switching to another gpu, no video freezing). Thank everyone for your help

And by "anymore" i mean both with my update, done somehow, and with DCH driver you proposed.

Tur4ikkk, we re-enabled WebRender on this driver version for Nightly. Are you still seeing the crashes?

Flags: needinfo?(tur4ikkk)

(In reply to Jeff Muizelaar [:jrmuizel] from comment #35)

Tur4ikkk, we re-enabled WebRender on this driver version for Nightly. Are you still seeing the crashes?

As far as i see, everything now works fine. kept the stream turned on for about 10 minutes to be sure. no gpu switches or freezes in nightly firefox occured

Flags: needinfo?(tur4ikkk)

Ok, great.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: