本文共 3888 字,大约阅读时间需要 12 分钟。
chrome gpu加速
If you’re running Google Dev channel version of Chrome, you might have noticed that the latest update really broke—the problem is the GPU accelerated canvas option, but you can’t get in there to change it since it keeps crashing. Here’s how to fix it.
如果您运行的是Google Dev通道版本的Chrome,那么您可能已经注意到最新的更新确实失效了-问题在于GPU加速画布选项,但由于它一直崩溃,因此您无法进入那里进行更改。 解决方法如下。
This problem isn’t affecting everybody, but hopefully there’s enough other people having the same problem that it’ll help somebody. And it’ll probably help out in the future if any other bugs crop up.
这个问题并没有影响到每个人,但是希望有足够多的其他人也遇到同样的问题,它将对某人有所帮助。 如果将来出现其他任何错误,可能会有所帮助。
It’s also worth noting that running development versions of any application is a bad idea if you want stability—some of us prefer all the extra features that come out almost daily, so we choose to risk it. That’s the price we pay for being geeks.
还要指出的是,如果您想要稳定性,则运行任何应用程序的开发版本都是一个坏主意-我们中的一些人喜欢几乎每天都会出现的所有额外功能,因此我们选择冒险。 那就是我们为成为极客而付出的代价。
Yeah, this solution is pretty obvious, but it’s also the best one. Any time the Dev channel is acting too unstable, you should simply uninstall it, and then and install the Beta version instead.
是的,这种解决方案很明显,但也是最好的解决方案。 任何时候开发通道的运行情况都非常不稳定,您只需将其卸载,然后并安装Beta版本即可。
Or you could always install the stable release if you really wanted to.
或者,如果您确实愿意,也可以始终安装稳定版本。
As suggested by Ben in the comments, there’s a simple method you can do, which makes more sense: just use a command line argument to disable GPU acceleration temporarily. Simply tack this on to the end of the command, either through the command prompt, or in the shortcut.
正如Ben在评论中建议的那样,您可以执行一个简单的方法,该方法更有意义:只需使用命令行参数临时禁用GPU加速即可。 只需通过命令提示符或快捷方式将其添加到命令末尾即可。
--disable-accelerated-compositing
--disable-accelerated-compositing
You’d want to head into about:flags, remove the experiment, and then you won’t need the command line anymore.
您想要进入about:flags,删除实验,然后就不再需要命令行了。
Head into the following folder by pasting this into an open Explorer window—of course, if you’ve installed Chrome elsewhere, you’ll need to head there instead.
将其粘贴到打开的资源管理器窗口中,进入以下文件夹-当然,如果您在其他位置安装了Chrome,则需要转到该文件夹。
%localappdata%\Google\Chrome\Application
%localappdata%\ Google \ Chrome \ Application
Once you’re there, you should see two folders with numeric names, like this:
到达之后,您应该会看到两个带有数字名称的文件夹,如下所示:
Rename the newer one with something else (or move it out of the directory), and then rename the older one to match the version number of the newer one.
用其他名称重命名较新的版本(或将其移出目录),然后重命名较旧的版本以匹配较新版本的版本号。
Open up chrome, head to about:flags and then turn off GPU Accelerated Canvas.
打开chrome,转到about:flags ,然后关闭GPU Accelerated Canvas。
Close Chrome, then head back into the folder, rename them back to normal, and Chrome should be working fine again.
关闭Chrome,然后回到该文件夹,将其重命名为正常状态,然后Chrome应该又能正常工作了。
You can head to the following folder to delete your preferences file, which contains all the settings, including the option to have GPU acceleration enabled or disabled.
您可以转到以下文件夹删除首选项文件,该文件包含所有设置,包括启用或禁用GPU加速的选项。
%localappdata%\Google\Chrome\User Data\Default\
%localappdata%\ Google \ Chrome \ User Data \ Default \
Once you’re there, find the Preferences file, and kill it.
在那里,找到“首选项”文件,然后将其杀死。
Update: alternatively, as tahlyn points out in the comments, you can open up the Preferences file in Notepad and remove this bit of text:
更新:或者,正如tahlyn在评论中指出的那样,您可以在记事本中打开“首选项”文件并删除以下文本:
“gpu-canvas-2d”
“ gpu-canvas-2d”
If you were using Google Sync, you’ll need to enter those details again, along with any other settings.
如果您使用的是Google Sync,则需要再次输入这些详细信息以及其他任何设置。
翻译自:
chrome gpu加速
转载地址:http://wjzwd.baihongyu.com/