Всем, привет. Использую встроенную intel видео карту с драйверами xf86-video-intel:
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
У меня как-то странно рвется картинка в видео в picom, поэтому по рекомендациям контрибьютеров на гитхабе решил попробовать modesetting драйвер.
Я не очень понял как его подключать из wiki, поэтому столкнулся с некоторыми трудностями. Из того, что прочитал - достаточно удалить основной драйвер xf86-video-intel и modesetting драйвера сами подцепятся. Но у меня это не так. Иксы пытались все время догрузить модуль intel почему-то.
Затем я нашел пост здесь на форуме, где я наконец нашел как подключить modesetting драйвера. Для этого создал файл /etc/X11/xorg.conf.d/20-intel.conf:
Section "Device"
Identifier "Intel Graphics"
Driver "modesetting"
EndSection
Но у меня возникли проблемы с ошибкой
EE no devices detected
EE no screens found
при старте иксов, полный лог:
[ 63.177] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 63.177]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 63.177] Build Operating System: Linux Archlinux
[ 63.177] Current Operating System: Linux f31 5.11.16-arch1-1 #1 SMP PREEMPT Wed, 21 Apr 2021 17:22:13 +0000 x86_64
[ 63.177] Kernel command line: initrd=\initramfs-linux.img root=PARTUUID=b045fe47-c5b8-404a-9e14-e362f82cc832 rootfstype=ext4 add_efi_memmap
[ 63.177] Build Date: 13 April 2021 03:12:10PM
[ 63.177]
[ 63.177] Current version of pixman: 0.40.0
[ 63.178] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 63.178] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 63.178] (==) Log file: "/home/wh75er/.local/share/xorg/Xorg.0.log", Time: Sun Aug 15 19:45:24 2021
[ 63.178] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 63.178] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 63.178] (==) No Layout section. Using the first Screen section.
[ 63.178] (==) No screen section available. Using defaults.
[ 63.178] (**) |-->Screen "Default Screen Section" (0)
[ 63.178] (**) | |-->Monitor "<default monitor>"
[ 63.179] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 63.179] (**) | |-->Device "Intel Graphics"
[ 63.179] (**) | |-->GPUDevice "Intel Graphics"
[ 63.179] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 63.179] (==) Automatically adding devices
[ 63.179] (==) Automatically enabling devices
[ 63.179] (==) Automatically adding GPU devices
[ 63.179] (==) Automatically binding GPU devices
[ 63.179] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 63.179] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 63.179] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 63.179] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 63.179] (II) Module ABI versions:
[ 63.179] X.Org ANSI C Emulation: 0.4
[ 63.179] X.Org Video Driver: 24.1
[ 63.179] X.Org XInput driver : 24.1
[ 63.179] X.Org Server Extension : 10.0
[ 63.179] (++) using VT number 1
[ 63.181] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[ 63.182] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 63.182] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[ 63.184] (--) PCI:*(0@0:2:0) 8086:5917:17aa:506c rev 7, Mem @ 0xf0000000/16777216, 0xe0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[ 63.184] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 63.184] (II) LoadModule: "glx"
[ 63.185] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 63.186] (II) Module glx: vendor="X.Org Foundation"
[ 63.186] compiled for 1.20.11, module version = 1.0.0
[ 63.186] ABI class: X.Org Server Extension, version 10.0
[ 63.186] (II) LoadModule: "intel"
[ 63.186] (WW) Warning, couldn't open module intel
[ 63.186] (EE) Failed to load module "intel" (module does not exist, 0)
[ 63.186] (II) LoadModule: "modesetting"
[ 63.186] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 63.187] (II) Module modesetting: vendor="X.Org Foundation"
[ 63.187] compiled for 1.20.11, module version = 1.20.11
[ 63.187] Module class: X.Org Video Driver
[ 63.187] ABI class: X.Org Video Driver, version 24.1
[ 63.187] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 63.187] (II) modeset(G0): using drv /dev/dri/card0
[ 63.187] (WW) Falling back to old probe method for modesetting
[ 63.187] (EE) No devices detected.
[ 63.187] (EE)
Fatal server error:
[ 63.187] (EE) no screens found(EE)
[ 63.187] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 63.187] (EE) Please also check the log file at "/home/wh75er/.local/share/xorg/Xorg.0.log" for additional information.
[ 63.187] (EE)
[ 63.193] (EE) Server terminated with error (1). Closing log file.
Конфигом xorg не пользуюсь за исключеним двух файлов 20-intel.conf и 90-monitor.conf в директории xorg.conf.d/
90-monitor.conf:
Section "Monitor"
Identifier "Laptop monitor"
DisplaySize 286 179
EndSection