英特尔屏幕撕裂 - Ubuntu 18.04

Sco*_*son 10 graphics tearing intel drivers 18.04

我在 18.04 中出现了严重的屏幕撕裂问题。配置贴在下面。我不知道如何解决这个问题,因为我已经用谷歌搜索了好几次,似乎没有太多关于 18.04 的信息。预先感谢您的回答。

ubuntu@ubuntu:/etc$ inxi -F
System:    Host: ubuntu Kernel: 4.15.0-20-generic x86_64 bits: 64 Desktop: Gnome 3.28.1 Distro: Ubuntu 18.04 LTS
Machine:   Device: laptop System: HP product: HP ProBook 640 G2 serial: N/A
           Mobo: HP model: 80FD v: KBC Version 22.64 serial: N/A UEFI: HP v: N76 Ver. 01.06 date: 11/01/2016
Battery    BAT0: charge: 17.9 Wh 42.8% condition: 41.9/41.9 Wh (100%)
CPU:       Dual core Intel Core i5-6200U (-MT-MCP-) cache: 3072 KB
           clock speeds: max: 2800 MHz 1: 1292 MHz 2: 1131 MHz 3: 1061 MHz 4: 1070 MHz
Graphics:  Card: Intel HD Graphics 520
           Display Server: x11 (X.Org 1.19.6 ) driver: i915 Resolution: 1920x1080@60.01hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 520 (Skylake GT2) version: 4.5 Mesa 18.0.0-rc5
Audio:     Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel Sound: ALSA v: k4.15.0-20-generic
Network:   Card-1: Intel Ethernet Connection I219-V driver: e1000e
           IF: enp0s31f6 state: down mac: 40:b0:34:13:1c:f0
           Card-2: Intel Wireless 8260 driver: iwlwifi
           IF: wlp2s0 state: up mac: 34:f3:9a:dd:f7:02
Drives:    HDD Total Size: 515.8GB (1.2% used)
           ID-1: /dev/sda model: HGST_HTS725050A7 size: 500.1GB
           ID-2: USB /dev/sdb model: Cruzer_Switch size: 15.7GB
Partition: ID-1: / size: 3.8G used: 1.3G (37%) fs: overlay dev: N/A
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 38.5C mobo: 0.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 220 Uptime: 1:04 Memory: 2131.1/7636.1MB Client: Shell (bash) inxi: 2.3.56 
Run Code Online (Sandbox Code Playgroud)

小智 16

sudo mkdir -p /etc/X11/xorg.conf.d/
sudo vim /etc/X11/xorg.conf.d/20-intel.conf
Run Code Online (Sandbox Code Playgroud)

然后将其粘贴到文件中

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "TearFree"    "true"
EndSection
Run Code Online (Sandbox Code Playgroud)

重启

来源


Jos*_*tte 0

首先运行所有更新并查看是否修复了该问题:

sudo apt update && sudo apt upgrade
Run Code Online (Sandbox Code Playgroud)

然后重新启动。

如果重启后仍然存在问题,请尝试使用 PPA:

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt update && sudo apt upgrade
Run Code Online (Sandbox Code Playgroud)

并重新启动。如果问题仍然存在,请告诉我。

  • 从随机 PPA 安装驱动程序应该是最后的手段。至少在你的答案中提及它是什么以及它的作用。很多人会不假思索地复制粘贴。 (2认同)