jal*_*ir9 5 video graphics intel-graphics drivers 18.04
我正在运行带有集成 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: 3840x2160@60.00hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
version: 4.5 Mesa 18.0.0-rc5
Run Code Online (Sandbox Code Playgroud)
glxinfo |grep -Ei 'opengl|direct rendering' 说
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:
Run Code Online (Sandbox Code Playgroud)
小智 6
好的,通常您只需要创建一个xorg.conf并正确设置参数即可获得更不错的体验。在这种情况下,参数AccelMethod设置为sna和TearFreetotrue就是起作用的。以下是在终端中进行操作的方法:
第一步:
sudo mkdir /etc/X11/xorg.conf.d/
Run Code Online (Sandbox Code Playgroud)
第二步:
运行命令
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
Run Code Online (Sandbox Code Playgroud)
这将创建/etc/X11/xorg.conf.d/20-intel.conf包含以下内容的文件:
Section "Device"
Identifier "Intel Graphics"
Driver "Intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection
Run Code Online (Sandbox Code Playgroud)
之后只需重新启动即可。希望能帮助到你。