我运行的是集成 Intel HD Graphics 520 的 Core i7-6500U。在 GNOME 下,所有动画(例如转到活动屏幕、在 Firefox 中滚动等)都很不流畅。甚至视频在 VLC 中播放也不流畅。我的笔记本电脑有内置的 4K LCD 面板,但即使在 1920x1080 下也很不流畅。我可以做些什么让它更流畅,还是这只是 GPU 的限制?内核是 4.16.9。inxi -G 说
Graphics: Card: Intel HD Graphics 520
Display Server: x11 (X.Org 1.19.6 )
drivers: fbdev (unloaded: modesetting,vesa)
Resolution: [email protected]
OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
version: 4.5 Mesa 18.0.0-rc5
glxinfo |grep -Ei 'opengl|direct render' 说
direct rendering: Yes
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.0-rc5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.0.0-rc5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.0.0-rc5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
答案1
好的,通常你只需要创建一个xorg.conf
并正确设置参数,即可获得更不错的体验。在这种情况下,将参数AccelMethod
设置为sna
和TearFree
设置为true
就可以了。以下是在终端中执行的操作:
第一步:
sudo mkdir /etc/X11/xorg.conf.d/
第二步:
运行命令
echo -e 'Section "Device"\n Identifier "Intel Graphics"\n Driver "Intel"\n Option "AccelMethod" "sna"\n Option "TearFree" "true"\nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
这将创建/etc/X11/xorg.conf.d/20-intel.conf
内容为:
Section "Device"
Identifier "Intel Graphics"
Driver "Intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection
之后只需重新启动即可。希望有帮助。