Всем доброго Суть: На p9/branch и выше, на графике Интел Broadwell GT2 (gen8),с драйвером intel_drv, акселерация необратимо сваливается в UXA с серьёзным падением производительности. Вместо SNA, которая должна использоваться по-умолчанию. p9/branch: $ grep 'model name' /proc/cpuinfo | sort -u model name : Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz # cat /etc/X11/xorg.conf.d/10-monitor.conf # Generated by xsetup Section "Monitor" Identifier "Monitor0" EndSection Section "Device" Identifier "Card0" # Driver "modesetting" Driver "intel" Option "AccelMethod" "SNA" EndSection # glxinfo | sed -n '59,61p' OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) x86/MMX/SSE2 OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.4 # grep 'SNA\|UXA\|oad' /var/log/Xorg.0.log [ 28.466] (II) Loader magic: 0x82ac6c0 [ 28.482] (II) LoadModule: "glx" [ 28.488] (II) Loading /usr/lib/X11/modules/extensions/libglx.so [ 28.598] (II) LoadModule: "intel" [ 28.599] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so [ 28.635] (**) intel(0): Option "AccelMethod" "SNA" [ 28.648] (II) Loading sub module "fb" [ 28.648] (II) LoadModule: "fb" [ 28.651] (II) Loading /usr/lib/X11/modules/libfb.so [ 28.667] (II) Loading sub module "dri2" [ 28.667] (II) LoadModule: "dri2" [ 28.718] (II) UXA(0): Driver registered support for the following operations: [ 30.261] (II) AIGLX: Loaded and initialized i965 [ 30.583] (II) LoadModule: "evdev" [ 30.583] (II) Loading /usr/lib/X11/modules/input/evdev_drv.so [ 30.605] (II) LoadModule: "libinput" [ 30.606] (II) Loading /usr/lib/X11/modules/input/libinput_drv.so [ 30.840] (II) LoadModule: "synaptics" [ 30.841] (II) Loading /usr/lib/X11/modules/input/synaptics_drv.so Субмодуль dri3 не загружается. Вместо SNA используется UXA акселерация. $ man intel | col -bfx | sed -n '131,144p' Option "AccelMethod" "string" Select acceleration method. There are a couple of backends available for accelerating the DDX. "UXA" (Unified Acceleration Architecture) is the mature backend that was introduced to sup‐ port the GEM driver model. It is in the process of being super‐ seded by "SNA" (Sandybridge's New Acceleration). Until that process is complete, the ability to choose which backend to use remains for backwards compatibility. In addition, there are a pair of sub-options to limit the acceleration for debugging use. Specify "off" or "none" to disable all acceleration, or "blt" to disable render acceleration and only use the BLT engine. Default: use SNA (render acceleration)
Сизиф: Так же воспроизводится на regular-kde5-20190515-i586 (tested) # cat /etc/os-release NAME="Sisyphus" VERSION="20190303/unstable" ID=altlinux VERSION_ID=20190303 PRETTY_NAME="ALT Regular" ANSI_COLOR="1;33" CPE_NAME="cpe:/o:alt:sisyphus:20190303" HOME_URL="http://en.altlinux.org" BUG_REPORT_URL="https://bugs.altlinux.org/" # glxinfo | sed -n '59,61p' OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) x86/MMX/SSE2 OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.4 # kdeinit5 --version Qt: 5.12.3 KDE: 5.57.0 # grep 'SNA\|UXA\|oad' /var/log/Xorg.0.log [ 42.850] (II) Loader magic: 0x82ac6c0 [ 42.864] (II) LoadModule: "glx" [ 42.868] (II) Loading /usr/lib/X11/modules/extensions/libglx.so [ 42.889] (II) LoadModule: "intel" [ 42.889] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so [ 42.923] (II) LoadModule: "modesetting" [ 42.923] (II) Loading /usr/lib/X11/modules/drivers/modesetting_drv.so [ 42.934] (II) LoadModule: "fbdev" [ 42.934] (II) Loading /usr/lib/X11/modules/drivers/fbdev_drv.so [ 42.936] (II) LoadModule: "vesa" [ 42.936] (II) Loading /usr/lib/X11/modules/drivers/vesa_drv.so [ 42.947] (II) Loading sub module "fbdevhw" [ 42.947] (II) LoadModule: "fbdevhw" [ 42.947] (II) Loading /usr/lib/X11/modules/libfbdevhw.so [ 42.970] (II) Loading sub module "fb" [ 42.970] (II) LoadModule: "fb" [ 42.970] (II) Loading /usr/lib/X11/modules/libfb.so [ 42.971] (II) Loading sub module "dri2" [ 42.971] (II) LoadModule: "dri2" [ 42.971] (II) UnloadModule: "modesetting" [ 42.971] (II) Unloading modesetting [ 42.971] (II) UnloadModule: "fbdev" [ 42.971] (II) Unloading fbdev [ 42.971] (II) UnloadSubModule: "fbdevhw" [ 42.971] (II) Unloading fbdevhw [ 42.971] (II) UnloadModule: "vesa" [ 42.971] (II) Unloading vesa [ 43.007] (II) UXA(0): Driver registered support for the following operations: [ 43.372] (II) AIGLX: Loaded and initialized i965 [ 43.543] (II) LoadModule: "evdev" [ 43.545] (II) Loading /usr/lib/X11/modules/input/evdev_drv.so [ 43.557] (II) LoadModule: "libinput" [ 43.557] (II) Loading /usr/lib/X11/modules/input/libinput_drv.so [ 43.743] (II) LoadModule: "synaptics" [ 43.743] (II) Loading /usr/lib/X11/modules/input/synaptics_drv.so
Created attachment 8149 [details] Изменение размера окна при акселерации UXA Изменение размера окна при акселерации UXA на Broadwell GT2 (gen8) Сизиф и p9/branch
На p8/branch с акселерацией всё в норме: p8 $ grep 'SNA\|UXA\|oad' /var/log/Xorg.0.log [ 24.969] (II) Loader magic: 0x829e6a0 [ 25.016] (II) LoadModule: "glx" [ 25.017] (II) Loading /usr/lib/X11/modules/extensions/libglx.so [ 25.113] (II) LoadModule: "intel" [ 25.114] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so [ 25.229] (II) Loading sub module "dri3" [ 25.229] (II) LoadModule: "dri3" [ 25.229] (II) Loading sub module "dri2" [ 25.229] (II) LoadModule: "dri2" [ 25.229] (II) Loading sub module "present" [ 25.229] (II) LoadModule: "present" [ 25.242] (II) intel(0): SNA initialized with Broadwell (gen8) backend [ 25.451] (II) AIGLX: Loaded and initialized i965 [ 25.838] (II) LoadModule: "evdev" [ 25.858] (II) Loading /usr/lib/X11/modules/input/evdev_drv.so [ 25.886] (II) LoadModule: "libinput" [ 25.887] (II) Loading /usr/lib/X11/modules/input/libinput_drv.so [ 26.088] (II) LoadModule: "synaptics" [ 26.089] (II) Loading /usr/lib/X11/modules/input/synaptics_drv.so
Ошибка не наблюдается в Slackware: slackware-current (нестабильный Slackware, пост-14.2) С драйвером intel_drv используется SNA по-умолчанию. $ cat slackware-current-1.3.2.1.txt root@darkstar:~# grep ^PRETTY /etc/os-release PRETTY_NAME="Slackware 14.2 i586 (post 14.2 -current)" root@darkstar:~# slackpkg search intel Looking for intel in package list. Please wait... DONE The list below shows all packages with name matching "intel". [ installed ] - intel-vaapi-driver-2.3.0-i586-1 [ installed ] - xf86-video-intel-20190301_6afed33b-i686-1 You can search specific files using "slackpkg file-search file". root@darkstar:~# slackpkg search mesa Looking for mesa in package list. Please wait... DONE The list below shows all packages with name matching "mesa". [ installed ] - mesa-19.0.4-i586-1 You can search specific files using "slackpkg file-search file". root@darkstar:~# grep 'SNA\|UXA\|oad' /var/log/Xorg.0.log [ 82.227] Kernel command line: initrd=/boot/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=ru_win tz=Europe/Moscow locale=ru_RU.utf8 xkb= toram BOOT_IMAGE=/boot/generic [ 82.316] (II) Loader magic: 0x8291660 [ 82.326] (II) LoadModule: "glx" [ 82.328] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 82.418] (II) LoadModule: "intel" [ 82.418] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so [ 82.595] (II) LoadModule: "modesetting" [ 82.595] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 82.676] (II) LoadModule: "fbdev" [ 82.677] (EE) Failed to load module "fbdev" (module does not exist, 0) [ 82.677] (II) LoadModule: "vesa" [ 82.677] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 82.771] (II) Loading sub module "dri3" [ 82.771] (II) LoadModule: "dri3" [ 82.771] (II) Loading sub module "dri2" [ 82.771] (II) LoadModule: "dri2" [ 82.771] (II) Loading sub module "present" [ 82.771] (II) LoadModule: "present" [ 82.771] (II) UnloadModule: "modesetting" [ 82.771] (II) Unloading modesetting [ 82.771] (II) UnloadModule: "vesa" [ 82.772] (II) Unloading vesa [ 82.772] (II) intel(0): SNA initialized with Broadwell (gen8) backend [ 83.720] (II) AIGLX: Loaded and initialized i965 [ 84.240] (II) LoadModule: "evdev" [ 84.241] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 84.384] (II) LoadModule: "libinput" [ 84.384] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so [ 84.455] (II) LoadModule: "synaptics" [ 84.456] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so root@darkstar:~# root@darkstar:~# uname -r 4.19.42
Также ошибка не наблюдается в Arch Linux: Субмодуль dri3 на месте SNA на месте # grep . /etc/os-release ... PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ... # grep 'model.name' /proc/cpuinfo | sort -u model name : Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz # uname -r 5.1.2-arch1-1-ARCH # grep 'SNA\|UXA\|oad' /var/log/Xorg.0.log [ 57.182] (II) LoadModule: "glx" [ 57.185] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 57.214] (II) LoadModule: "intel" [ 57.214] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so [ 57.253] (II) LoadModule: "modesetting" [ 57.253] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 57.260] (II) LoadModule: "fbdev" [ 57.260] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 57.268] (II) LoadModule: "vesa" [ 57.268] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 57.303] (II) intel(0): SNA compiled from 2.99.917-863-g6afed33b [ 57.325] (II) Loading sub module "fbdevhw" [ 57.325] (II) LoadModule: "fbdevhw" [ 57.325] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 57.360] (II) Loading sub module "dri3" [ 57.360] (II) LoadModule: "dri3" [ 57.360] (II) Loading sub module "dri2" [ 57.360] (II) LoadModule: "dri2" [ 57.360] (II) Loading sub module "present" [ 57.360] (II) LoadModule: "present" [ 57.360] (II) UnloadModule: "modesetting" [ 57.360] (II) Unloading modesetting [ 57.360] (II) UnloadModule: "fbdev" [ 57.360] (II) Unloading fbdev [ 57.360] (II) UnloadSubModule: "fbdevhw" [ 57.360] (II) Unloading fbdevhw [ 57.360] (II) UnloadModule: "vesa" [ 57.360] (II) Unloading vesa [ 57.391] (II) intel(0): SNA initialized with Broadwell (gen8) backend [ 57.731] (II) AIGLX: Loaded and initialized i965 [ 57.936] (II) LoadModule: "libinput" [ 57.937] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
Зачем сделали disabled sna for i586? https://packages.altlinux.org/ru/sisyphus/srpms/xorg-drv-intel Которая работает в текущей Слаке 32 бит (post 14.2) по-умолчанию, но сейчас не работает в альтах 32 бит на p9.
xorg-drv-intel-7:2.99.917-alt10 -> sisyphus: Tue Jun 18 2019 Valery Inozemtsev <shrek@altlinux.ru> 7:2.99.917-alt10 - git snapshot master.6afed33 - reenabled sna for i586 (closes: #36817)