广告

本站里的文章大部分经过自行整理与测试

2017年4月13日星期四

Linux - Firefox 强制 GPU 加速

about:support

Graphics

Features

Compositing OpenGL
Asynchronous Pan/Zoom none
WebGL Renderer NVIDIA Corporation -- GeForce GT 640M/PCIe/SSE2
WebGL2 Renderer NVIDIA Corporation -- GeForce GT 640M/PCIe/SSE2
Hardware H264 Decoding No
Audio Backend pulse

GPU #1

Active Yes
Description NVIDIA Corporation -- GeForce GT 640M/PCIe/SSE2
Vendor ID NVIDIA Corporation
Device ID GeForce GT 640M/PCIe/SSE2
Driver Version 4.5.0 NVIDIA 375.39

Diagnostics

AzureCanvasAccelerated 0
AzureCanvasBackend skia
AzureContentBackend skia
AzureFallbackCanvasBackend none
CairoUseXRender 0

1) 将打开 Firefox 连接添加系数

$ gedit /home/username/.local/share/applications/firefox.desktop

Exec=env MOZ_USE_OMTC=1 firefox

2) 其它设置

about:config

gfx.xrender.enabled=false
layers.acceleration.disabled=false

layers.acceleration.force-enabled=true
layers.async-video.enabled=true
layers.offmainthreadcomposition.async-animations=true
layers.offmainthreadcomposition.enabled=true
layers.offmainthreadcomposition.testing.enabled=true
webgl.force-enabled=true

没有评论:

发表评论