xf86-input-evdev
and xf86-input-synaptics
need removed to use libinput
for full System Settings configurationThis is an old revision of the document!
Identifier
will need changed for different display connections and drivers99-graphics.conf
sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
Identifier
expects modesetting
sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
Section "Monitor" Identifier "HDMI-1" Modeline "1920x1080_75" 167.85 1920 1928 1960 2000 1080 1105 1113 1119 +hsync -vsync Option "PreferredMode" "1920x1080_75" EndSection
Section "Monitor" Identifier "S271HL-75Hz" Modeline "1920x1080_75" 167.85 1920 1928 1960 2000 1080 1105 1113 1119 +hsync -vsync EndSection Section "Screen" Identifier "Screen0" Option "ModeValidation" "HDMI-0: NoMaxPClkCheck,NoEdidMaxPClkCheck,NoHorizSyncCheck,NoVertRefreshCheck,AllowNonEdidModes" Monitor "S271HL-75Hz" EndSection
30
is intentional and required syntaxsudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
Section "Screen" Identifier "Deep Color Screen" DefaultDepth 30 EndSection
1
instead for some distroscat ~/'.local/share/xorg/Xorg.0.log' | grep 'Pixel depth'
cat ~/'.local/share/xorg/Xorg.0.log.old' | grep 'Pixel depth'
sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
Section "OutputClass" Identifier "AMD Graphics" MatchDriver "amdgpu" Driver "amdgpu" Option "EnablePageFlip" "0" Option "TearFree" "0" EndSection
sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
Section "OutputClass" Identifier "AMD Graphics" MatchDriver "amdgpu" Driver "amdgpu" Option "TearFree" "1" EndSection
DRI
has to be either 3
or iris
?sudo zypper install -y 'xf86-video-intel' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
Section "OutputClass" Identifier "Intel Graphics" MatchDriver "i915" Driver "intel" Option "TearFree" "0" EndSection
DRI
to iris
was required on FedoraOption "DRI" "iris" Option "AccelMethod" "sna"
Coolbits
at 28
unlocks all available overclocking settingssudo -e '/etc/X11/xorg.conf.d/nvidia.conf'
Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Option "Coolbits" "28" Option "AllowUnofficialGLXProtocol" "1" EndSection
evdev
causes System Settings to not show configuration options, and an Alps touchpad doesn't function without xf86-input-synaptics
with evdev
1)sudo zypper install -y 'xf86-input-evdev' && sudo -e '/etc/X11/xorg.conf.d/99-evdev.conf'
sudo zypper install -y 'xf86-input-synaptics'
Section "InputClass" Identifier "evdev pointer catchall" MatchIsPointer "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "AccelerationProfile" "-1" Option "AccelerationScheme" "none" EndSection Section "InputClass" Identifier "evdev keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "AccelerationProfile" "-1" Option "AccelerationScheme" "none" EndSection Section "InputClass" Identifier "evdev touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "AccelerationProfile" "-1" Option "AccelerationScheme" "none" EndSection Section "InputClass" Identifier "evdev tablet catchall" MatchIsTablet "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "AccelerationProfile" "-1" Option "AccelerationScheme" "none" EndSection Section "InputClass" Identifier "evdev touchscreen catchall" MatchIsTouchscreen "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "AccelerationProfile" "-1" Option "AccelerationScheme" "none" EndSection
sudo -e '/etc/X11/xorg.conf.d/99-libinput.conf'
Section "InputClass" Identifier "libinput pointer custom catchall" MatchIsPointer "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "AccelProfile" "flat" EndSection Section "InputClass" Identifier "libinput keyboard custom catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "AccelProfile" "flat" EndSection Section "InputClass" Identifier "libinput touchpad custom catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "AccelProfile" "flat" Option "ClickMethod" "buttonareas" Option "DisableWhileTyping" "off" Option "NaturalScrolling" "off" Option "SendEventsMode" "disabled-on-external-mouse" Option "Tapping" "off" EndSection
xf86-input-evdev
and xf86-input-synaptics
need removed to use libinput
for full System Settings configuration