Как улучшить дисплей относительно Ubuntu 18.04? Я попробовал много разных подходов, представленных на этом веб-сайте, и ни один из них не работал.
У меня есть Фантом MSI GS60 Pro с интегрированным Intel GPU и NVIDIA GTX 970M, и я имею отстающий эффект при прокрутке веб-страниц (на Chrome, Firefox) и очень значимый мерцающий эффект когда движущиеся окна.
Аппаратные средства и драйверы:
alex@alex-ubuntu:~$ lspci | egrep ' VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)
NVIDIA GPU:
alex@alex-ubuntu:~$ glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 970M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.77
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 390.77
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.77
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
alex@alex-ubuntu:~$ lsmod | grep drm_kms_helper
drm_kms_helper 172032 2 i915,nvidia_drm
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 401408 6 i915,nvidia_drm,drm_kms_helper
Intel GPU:
alex@alex-ubuntu:~$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.5
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.5
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.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
alex@alex-ubuntu:~$ lsmod | grep drm_kms_helper
drm_kms_helper 172032 2 nouveau,i915
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 401408 9 nouveau,i915,ttm,drm_kms_helper
Я протестировал следующие подходы:
Принятие Nvidia вызывает проблему, обходное решение должно работать на Intel IGD исключительно. Следующие шаги достигают этого в увеличивающемся порядке 'исключительности'. Вы могли проверить на улучшение после каждого шага.
1. Настройте Xorg для предпочтения Intel
Создайте файл /etc/X11/xorg.conf.d/10-intel.conf
(это может потребовать mkdir /etc/X11/xorg.conf.d
), содержа:
Section "OutputClass"
Identifier "Intel"
MatchDriver "i915"
Driver "intel"
EndSection
2. Отключите modeswitching из IGD
Править /etc/default/grub
и добавьте xdg.force_integrated=1
кому: GRUB_CMDLINE_LINUX
. При выполнении работать sudo update-grub
перед перезагрузкой.
3. Поместите в черный список nouveau
драйвер ядра
Править /etc/default/grub
и добавьте modprobe.blacklist=nouveau
кому: GRUB_CMDLINE_LINUX
. При выполнении работать sudo update-grub
перед перезагрузкой.
4. Удалите Xorg nouveau драйвер
sudo apt remove xserver-xorg-video-nouveau
Это инициирует удаление xserver-xorg-video-all
метапакет, который по умолчанию установлен. Все в порядке, пока xserver-xorg-video-intel
остается установленным. Быть уверенным:
sudo apt remove xserver-xorg-video-all
sudo apt install xserver-xorg-video-intel