XPS13 9310、Ubuntu 20.04、Intel TigerLake-LP GT2 [Iris Xe] 上的屏幕撕裂

Bac*_*ach 5 xorg dell intel screen 20.04

我知道关于这个问题有很多问题,但到目前为止我找到的解决方案似乎没有帮助我解决这个问题。

这是一台全新的 Dell XPS 9310,配备 Intel 显卡和 Ubuntu 20.04。我时不时就会出现画面撕裂的情况。以下解决方案不起作用:

  1. 切换到韦兰。这有助于一切看起来更流畅,但过了一会儿我注意到屏幕撕裂仍然发生。

  2. 添加各种潜在的内容到/etc/X11/xorg.conf.d/20-intel.conf或 中/etc/X11/xorg.conf.d/20-intel-graphics.conf。例如,我尝试了https://askubuntu.com/a/1237079/221347中提出的解决方案、https ://askubuntu.com/a/1237079/221347中提出的解决方案以及我在网络上找到的其他一些解决方案。有些没有任何区别,有些确实破坏了整个可视化。

  3. 我尝试使用compton. 它没有任何区别(或者也许我没有正确使用它)。

  4. 我禁用了动画gnome-tweaks

  5. 我从 Ubuntu 切换到 gnome、gnome-classic 和 gnome-xorg。


这是我的系统上的一些潜在的相关信息。

bach@pita::~$ inxi -G
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel 
  Display: x11 server: X.Org 1.20.13 driver: fbdev 
  unloaded: modesetting,vesa resolution: 1920x1200~60Hz 
  OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.0.3 
Run Code Online (Sandbox Code Playgroud)

bach@pita::~$ sudo lshw | grep display -A12
        *-display
             description: VGA compatible controller
             product: TigerLake-LP GT2 [Iris Xe Graphics]
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             logical name: /dev/fb0
             version: 01
             width: 64 bits
             clock: 33MHz
             capabilities: pciexpress msi pm vga_controller bus_master cap_list fb
             configuration: depth=32 driver=i915 latency=0 mode=1920x1200 visual=truecolor xres=1920 yres=1200
             resources: iomemory:600-5ff iomemory:400-3ff irq:146 memory:6052000000-6052ffffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
Run Code Online (Sandbox Code Playgroud)

我正在使用 Ubuntu 20.04.3 LTS。

bach@pita::~$ uname -a
Linux pita 5.13.0-25-generic #26~20.04.1-Ubuntu SMP Fri Jan 7 16:27:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

更新

我编辑/etc/X11/xorg.conf.d/20-intel.conf如下:

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "i915"
   Option "AccelMethod" "sna"
   Option "DRI" "3"
   Option "TearFree" "true"
EndSection 
Run Code Online (Sandbox Code Playgroud)

这几乎停止了屏幕撕裂,但滚动仍然不稳定,并且每隔一段时间就会发生撕裂。

截屏视频

这是一个快速截屏视频,显示了此配置中发生的非常轻微的撕裂。

快速更新

Wayland 并没有修复屏幕撕裂问题,但确实改变了其行为。例如,在这个视频中,我不再看到撕裂。我确实注意到,当滚动(例如 Firefox)、alt-tab 等时,窗口的一部分似乎绘制得太晚了。

我还觉得当我在 Wayland 时,粉丝们的工作量会减少。

更新:ubuntu 驱动程序

当我尝试时,sudo ubuntu-drivers install我得到了No drivers found for installation.

更新:xser​​ver-xorg-video-intel

当前未安装此软件包。的输出dpkg -l | grep xserver-xorg-video-intel为空。

ken*_*enn 0

将以下行添加到 nano ~/.drirc

<device screen="0" driver="dri2">
    <application name="Default">
        <option name="vblank_mode" value="0"/>
    </application>
</device>
Run Code Online (Sandbox Code Playgroud)

并替换Option "DRI" "3"Option "DRI" "2"/etc/X11/xorg.conf.d/20-intel.conf

更多信息: https: //wiki.archlinux.org/title/Intel_graphics#Troubleshooting