[英]Google Chrome Full Black Screen
I'm facing a weird problem.我正面临一个奇怪的问题。
If a webpage includes jquery graphs or libraries the page loads with a full black screen.如果网页包含 jquery 图形或库,则页面加载时会显示全黑屏幕。 I can see the source code and the mouse pointer finds the buttons or links.
我可以看到源代码,鼠标指针找到按钮或链接。 I uninstalled and reinstall chrome with the latest version but still no chance.
我用最新版本卸载并重新安装了 chrome,但仍然没有机会。
Same thing just happened to me on Google Chrome v22.0.1221.1 (Nvidia GPU).我在 Google Chrome v22.0.1221.1 (Nvidia GPU) 上也发生了同样的事情。 The workaround was to disable GPU compositing on all pages (setting available on
chrome://flags/
)解决方法是在所有页面上禁用GPU 合成(设置在
chrome://flags/
上可用)
If it happens in Chrome version > 45.x, See answer https://stackoverflow.com/a/32955808/293023 by @detale.如果它发生在 Chrome 版本 > 45.x 中,请参阅@detale 的回答https://stackoverflow.com/a/32955808/293023 。
Use google-chrome -disable-gpu
from the command line to temporary disable gpu. google-chrome -disable-gpu
使用google-chrome -disable-gpu
临时禁用 gpu。
If it happens in Chrome version > 45.x,如果它发生在 Chrome 版本 > 45.x,
(1) try: System | (1)尝试:系统| Settings |
设置 | Advanced settings
高级设置
uncheck "Use hardware acceleration when available", restart chrome.取消选中“可用时使用硬件加速”,重新启动chrome。
(2) If (1) doesn't help, restart your computer (2) 如果 (1) 没有帮助,请重新启动计算机
(3) If the black screen still occurs, try Chrome Cleanup Tool to reset your chrome. (3) 如果仍然出现黑屏,请尝试使用 Chrome Cleanup Tool 重置您的 chrome。
https://www.google.com/chrome/cleanup-tool/ https://www.google.com/chrome/cleanup-tool/
You can turn off GPU usage by Chrome without Windows restart in safe mode.您可以关闭 Chrome 对 GPU 的使用,而无需在安全模式下重新启动 Windows。 Options:
选项:
1) by inserting section in Chrome config file "%USERPROFILE%\\AppData\\Local\\Google\\Chrome\\User Data\\Local State": 1) 通过在 Chrome 配置文件“%USERPROFILE%\\AppData\\Local\\Google\\Chrome\\User Data\\Local State”中插入部分:
"hardware_acceleration_mode": { "enabled": false },
2) chrome.exe --disable-gpu 2) chrome.exe --disable-gpu
if you can't see the chrome://flags
because everything is black, and you don't want to revert your graphic driver as @wilfo did, then you can run google-chrome --disable-gpu
from the console.如果您看不到
chrome://flags
因为一切都是黑色的,并且您不想像 @wilfo 那样恢复图形驱动程序,那么您可以从控制台运行google-chrome --disable-gpu
。
http://www.linuxquestions.org/questions/debian-26/chromium-doesn%27t-work-after-update-4175522748/ http://www.linuxquestions.org/questions/debian-26/chromium-doesn%27t-work-after-update-4175522748/
i have resolved this by following steps.我已经通过以下步骤解决了这个问题。
1) Go to customise icon in the top right corner chrome. 1)转到右上角chrome中的自定义图标。
2) click on more tools option. 2) 点击更多工具选项。
3) Click task manager. 3) 单击任务管理器。
4) Kill/end process GPU process 4)kill/end process GPU进程
This has resolved my issue of black screen in chrome.这解决了我的 chrome 黑屏问题。
If you have the Adblock extension, make sure you add the domain into the exception list.如果您有 Adblock 扩展,请确保将该域添加到例外列表中。 I had that problem with Google Analytics
我在使用 Google Analytics 时遇到了这个问题
禁用Nvidia 的nView 桌面管理器,问题应该可以解决。
Here is what worked for me: (I got this answer from https://productforums.google.com/forum/#!topic/chrome/MJjuK65Exkg )这对我有用:(我从https://productforums.google.com/forum/#!topic/chrome/MJjuK65Exkg得到了这个答案)
You are probably using an AMD/ATI graphics card.您可能使用的是 AMD/ATI 显卡。 If so go to Catalyst Control Centre and switch Chrome to use only the Intel HD graphics (power saving).
如果是这样,请转到 Catalyst Control Center 并将 Chrome 切换为仅使用 Intel HD 显卡(省电)。 It is a problem with Chrome 18 and it is being fixed shortly (as advised by google six hours before this post)
这是 Chrome 18 的一个问题,很快就会修复(正如谷歌在这篇文章前六小时提供的建议)
It fixed after switched the graphics card in Catalyst, then restarted the computer.在 Catalyst 中切换显卡后修复,然后重新启动计算机。
I had the same problem, on Ubuntu though, started just over a month ago.我在 Ubuntu 上遇到了同样的问题,一个多月前就开始了。 What did it for me was to revert my Nvidia driver back to its stable version (I've been using the alleged unstable version for a couple of months now).
对我来说是将我的 Nvidia 驱动程序恢复到稳定版本(我已经使用所谓的不稳定版本几个月了)。
Anyway, it's worth a shot: Open "System Settings" and under the "Hardware Tab" go to "Additional Drivers".无论如何,值得一试:打开“系统设置”并在“硬件选项卡”下转到“其他驱动程序”。 You should see on the list a driver called: "Nvidia Binary Xorg Driver..." - activate it.
您应该在列表中看到一个名为:“Nvidia Binary Xorg Driver...”的驱动程序 - 激活它。
Hope this helps to Ubuntu users out there..希望这对那里的 Ubuntu 用户有所帮助..
All google chrome extensios crashed and then black screen on the window for my case.. tried uninstall and installed.. but no use..所有谷歌浏览器扩展程序都崩溃了,然后在我的情况下窗口上出现黑屏..尝试卸载并安装..但没有用..
Finally I restarted the computer.. It worked for me.. And i disabled adblock on google homepage.最后我重新启动了计算机..它对我有用..我在谷歌主页上禁用了adblock。 works pretty cool.
工作很酷。
For Ubuntu users - Instead of changing the settings within the Chrome browser, which risks propagating them to other machines that do not have that issue, it is best to just edit the .desktop launcher:对于 Ubuntu 用户 - 不要更改 Chrome 浏览器中的设置,以免将它们传播到其他没有该问题的机器,最好只编辑 .desktop 启动器:
Open the appropriate file for your situation.根据您的情况打开相应的文件。
/usr/share/applications/google-chrome.desktop
/usr/share/applications/chromium-browser.desktop
Just append the flag (-disable-gpu) to the end of the three Exec= lines in your file.只需将标志 (-disable-gpu) 附加到文件中三个 Exec= 行的末尾。
...
Exec=/usr/bin/google-chrome-stable %U -disable-gpu
...
Exec=/usr/bin/google-chrome-stable -disable-gpu
...
Exec=/usr/bin/google-chrome-stable --incognito -disable-gpu
...
You didn't mention anything about the environment you're running.您没有提及有关您正在运行的环境的任何信息。 This problem occurs on VirtualBox when running on Windows 10. One thing you can try is disabling 3D Acceleration on your VM, this is a known issue.
在 Windows 10 上运行时,VirtualBox 会出现此问题。您可以尝试的一件事是禁用 VM 上的 3D 加速,这是一个已知问题。
https://www.virtualbox.org/ticket/14985 https://www.virtualbox.org/ticket/14985
I still experience occasional black screens with latest Chrome 60 with GPU acceleration enabled by default (probably caused by lack of free memory for numerous tabs).使用默认启用 GPU 加速的最新 Chrome 60 时,我仍然偶尔会遇到黑屏(可能是由于许多选项卡缺乏可用内存造成的)。
Sometimes it helps to kill GPU process in builtin Task manager ( Shift + Esc ) as @amit suggests.有时,正如@amit 建议的那样,它有助于在内置任务管理器( Shift + Esc )中杀死 GPU 进程。 But sometimes this forces more Chrome windows to become black while some others may remain normal.
但有时这会迫使更多 Chrome 窗口变黑,而其他一些窗口可能保持正常。
I've noticed that tabs headers and address bar of black windows remain funtional and tabs can be fully repaired just by dragging them out of black windows.我注意到黑色窗口的选项卡标题和地址栏仍然可以使用,只需将它们拖出黑色窗口即可完全修复选项卡。 But it's too tedious to do this one by one when their number is huge.
但是在数量庞大的情况下,一个一个地做这件事太乏味了。
So here is quick completely restartless solution inspired by Merging windows of Google Chrome :所以这里是受Google Chrome 合并窗口启发的快速完全无需重启的解决方案:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.