我在 ubuntu 18.04.2 LST 上运行时遇到屏幕闪烁的问题。离开时屏幕闪烁,只有执行某些操作、书写或移动光标时屏幕才会停止。这是什么问题?
英特尔® 酷睿™ i5-5200U CPU @ 2.20GHz × 4
GeForce 940M/PCIe/SSE2
~$ mokutil --sb-state
SecureBoot disabled
~$ ls /sys/firmware/efi/
config_table fw_platform_size runtime systab
efivars fw_vendor runtime-map vars
~$ sudo lshw -c video
[sudo] password for mejdej:
*-display
description: VGA compatible controller
product: HD Graphics 5500
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:50 memory:f5000000-f5ffffff memory:d0000000-dfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GM108M [GeForce 940M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:04:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:49 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:d000(size=128) memory:f7000000-f707ffff
~$ lspci -k | grep -A 2 -i "VGA"
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
Subsystem: ASUSTeK Computer Inc. HD Graphics 5500
Kernel driver in use: i915
也尝试更新 nVidia 控制器但失败了。
~$ sudo apt-get install --yes nvidia-current
[sudo] password for mejdej:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-current is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'nvidia-current' has no installation candidate
更新专用于我的显卡的 nvidia controler 418 后:
~$ sudo lshw -c video
[sudo] password for mejdej:
*-display
description: VGA compatible controller
product: HD Graphics 5500
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:49 memory:f5000000-f5ffffff memory:d0000000-dfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: 3D controller
product: GM108M [GeForce 940M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:04:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:51 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:d000(size=128) memory:f7000000-f707ffff
~$ lsmod | grep nvidia
nvidia_uvm 798720 0
nvidia_drm 45056 9
nvidia_modeset 1085440 6 nvidia_drm
nvidia 17600512 480 nvidia_uvm,nvidia_modeset
drm_kms_helper 167936 2 nvidia_drm,i915
ipmi_msghandler 53248 2 ipmi_devintf,nvidia
drm 401408 13 drm_kms_helper,nvidia_drm,i91
=======
更换其他 GUI(在我的情况下从 gnome 到 cinnamon)没有帮助
更新内核至最新版本 4.19 也无济于事
答案1
还有许多人面临同样的问题,但有些人的情况更严重,有些人的情况更轻,但不用担心,有很多解决方案。我想问你 如果您正在使用最新的上游内核?
测试最新的上游内核?请参阅 https://wiki.ubuntu.com/KernelMainlineBuilds
请测试最新的v4.19内核[0]。
如果此错误在主线内核中已修复,请添加以下标签
‘内核固定上游’。
若主线内核没有修复此bug,请添加标签:
‘内核错误存在上游’。