我的面板有时会随机闪烁,我已经尝试了所有方法。有人能帮我解决一下吗?我正在使用 nvidia 显卡,我的 PRIME 配置文件设置为 intel。
硬件信息:
$ inxi -Fxz
System: Host: neon Kernel: 4.8.0-36-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: KDE Plasma 5.9.2 (Qt 5.7.1) Distro: neon 16.04 xenial
Machine: System: HP (portable) product: HP Pavilion Notebook v: Type1ProductConfigId
Mobo: HP model: 80A4 v: 91.1D Bios: Insyde v: F.79 date: 04/14/2016
CPU: Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 10368
clock speeds: max: 3100 MHz 1: 500 MHz 2: 499 MHz 3: 500 MHz 4: 499 MHz
Graphics: Card-1: Intel Sky Lake Integrated Graphics bus-ID: 00:02.0
Card-2: NVIDIA GM108M [GeForce 940M] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: [email protected]
GLX Renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2)
GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio: Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
Sound: Advanced Linux Sound Architecture v: k4.8.0-36-generic
Network: Card-1: Realtek RTL8723BE PCIe Wireless Network Adapter
driver: rtl8723be port: 4000 bus-ID: 03:00.0
IF: wlo1 state: up mac: <filter>
Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 04:00.0
IF: eno1 state: down mac: <filter>
Drives: HDD Total Size: 500.1GB (92.9% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 500.1GB temp: 0C
Partition: ID-1: / size: 443G used: 418G (100%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 17.01GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 45.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 269 Uptime: 31 min Memory: 4297.3/15885.8MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (fish) inxi: 2.2.35
$ dpkg -l | grep nvidia
ii nvidia-367 367.57-0ubuntu0.16.04.1+gpu16.04.1 amd64 NVIDIA binary driver - version 367.57
ii nvidia-opencl-icd-367 367.57-0ubuntu0.16.04.1+gpu16.04.1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.8.2 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 378.09-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver
答案1
这实际上是在 Nvidia PRIME 设置为“Intel”时使用的 Skylake HD 显卡的一个常见问题。在此(Ubuntu 16.04 Skylake 第六代屏幕闪烁) 问答中得票最多的答案是:
以 root 身份创建或编辑该文件,/usr/share/X11/xorg.conf.d/20-intel.conf
命令如下:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
Option "DRI" "3"
EndSection
那个问答中还有其他建议,但这是最佳起点。如果这还不够,这里还有其他问答:
- Intel Skylake 显卡问题(损坏/闪烁/伪影)
- IntelHD 5500 屏幕闪烁其中一个建议是安装 4.9.2 内核(现在是 4.9.10),您可以按照以下说明进行操作:(如何将内核更新到最新的主线版本?)