英特尔模式设置驱动程序屏幕撕裂

英特尔模式设置驱动程序屏幕撕裂

当 XORG 使用 Intel 模式设置驱动程序时,我面临撕裂问题。还有其他人面临这个问题吗?如果有人有解决方案,请帮助我。

我也尝试过英特尔驱动程序

/etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
  Option "TearFree" "true"
EndSection 

但它最终崩溃了。

[141003.247] (EE) Backtrace:
[141003.248] (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x4d) [0x555cafab98fd]
[141003.248] (EE) 1: /usr/bin/Xorg (0x555caf8fc000+0x1c1a1a) [0x555cafabda1a]
[141003.248] (EE) 2: /lib/libpthread.so.0 (0x7fc07c202000+0x13340) [0x7fc07c215340]
[141003.248] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fc07ba02000+0x6d882) [0x7fc07ba6f882]
[141003.249] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fc07ba02000+0xb3f91) [0x7fc07bab5f91]
[141003.249] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fc07ba02000+0xb20cc) [0x7fc07bab40cc]
[141003.249] (EE) 6: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7fc07ba02000+0x7e45d) [0x7fc07ba8045d]
[141003.250] (EE) 7: /usr/bin/Xorg (AddScreen+0x8e) [0x555caf94b8fe]
[141003.250] (EE) 8: /usr/bin/Xorg (InitOutput+0x670) [0x555caf9904c0]
[141003.250] (EE) 9: /usr/bin/Xorg (0x555caf8fc000+0x53708) [0x555caf94f708]
[141003.251] (EE) 10: /lib/libc.so.6 (__libc_start_main+0xeb) [0x7fc07c068b5b]
[141003.251] (EE) 11: /usr/bin/Xorg (_start+0x2a) [0x555caf93893a]
[141003.251] (EE)
[141003.251] (EE) Segmentation fault at address 0x11

答案1

intel Xorg 驱动程序早已被弃用,不建议使用,对于正确的模式设置驱动程序,您应该具有以下配置:

Section "Device"
    Identifier "modesetting"
    Driver "modesetting"
    Option "TearFree" "True"
EndSection

虽然我不确定这个功能是否已进入官方 Xorg 版本。更多信息请点击这里:https://www.mupuf.org/blog/2018/09/24/teaching_x_modesetting_new_tricks/

但仍然不能发生碰撞。请在此处报告错误:https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs

相关内容