| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| linux:notes:xorg.conf_snippets [2025/03/29 09:30] – Sean Rhone | linux:notes:xorg.conf_snippets [2025/11/09 20:31] (current) – Sean Rhone |
|---|
| |
| mousepad '/var/log/Xorg.0.log' | mousepad '/var/log/Xorg.0.log' |
| | |
| | cp '/var/log/Xorg.0.log' ~ && gio open ~/'Xorg.0.log' |
| |
| cat '/var/log/Xorg.0.log' | grep 'Using input driver' | cat '/var/log/Xorg.0.log' | grep 'Using input driver' |
| |
| cat '/var/log/Xorg.0.log' | grep 'intel:' | cat '/var/log/Xorg.0.log' | grep 'intel(' |
| | |
| | cat '/var/log/Xorg.0.log' | grep 'modeset(' |
| |
| cat '/var/log/Xorg.0.log' | grep 'DRI3' | cat '/var/log/Xorg.0.log' | grep 'DRI3' |
| cat '/var/log/Xorg.0.log' | grep 'iris' | cat '/var/log/Xorg.0.log' | grep 'iris' |
| |
| gnome-text-editor ~/'.local/share/xorg/Xorg.1.log' | ====== Graphics ====== |
| |
| ====== Specific Screens ====== | ===== intel ===== |
| |
| ===== HP 27vx ===== | * ''glxgears'' does over 9000 FPS (( 8-) )) with ''intel'' vs 7000 ''modesetting'' |
| | * :?: TODO: 2025/11/09: ''modesetting'' did over 10K |
| |
| sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-monitor-custom.conf' | sudo zypper install 'xf86-video-intel' |
| | |
| | sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-graphics-custom.conf' |
| |
| <code> | <code> |
| Section "Monitor" | Section "OutputClass" |
| Identifier "HDMI-1" | Identifier "Intel (intel custom)" |
| Modeline "1920x1080_74" 165.612 1920 1928 1960 2000 1080 1105 1113 1119 +HSync -VSync | MatchDriver "i915" |
| Modeline "1280x720_74" 75.077 1280 1288 1320 1360 720 732 740 746 +HSync -VSync | Driver "intel" |
| Modeline "1024x768_74" 65.03 1024 1032 1064 1104 768 782 790 796 +HSync -VSync | Option "AccelMethod" "SNA" |
| Option "PreferredMode" "1920x1080_74" | Option "DRI" "3" |
| | Option "TearFree" "0" |
| | Option "VSync" "0" |
| | Option "PageFlip" "0" |
| | Option "SwapbuffersWait" "0" |
| | Option "TripleBuffer" "0" |
| | Option "LinearFramebuffer" "1" |
| | Option "Throttle" "0" |
| EndSection | EndSection |
| |
| # End</code> | # End</code> |
| |
| ====== Graphics ====== | |
| |
| ===== modesetting ===== | ===== modesetting ===== |
| # End</code> | # End</code> |
| |
| ===== intel ===== | ====== Input ====== |
| |
| sudo dnf install 'xorg-x11-drv-intel' -y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-graphics-custom.conf' | ===== evdev ===== |
| |
| <code> | **** |
| Section "OutputClass" | |
| Identifier "Intel (intel custom)" | |
| MatchDriver "i915" | |
| Driver "intel" | |
| Option "DRI" "3" | |
| Option "TearFree" "0" | |
| Option "VSync" "0" | |
| Option "PageFlip" "0" | |
| Option "SwapbuffersWait" "0" | |
| Option "TripleBuffer" "0" | |
| Option "LinearFramebuffer" "1" | |
| EndSection | |
| |
| # End</code> | sudo zypper install 'xf86-input-evdev' |
| | |
| ====== Input ====== | |
| |
| ===== Keyboard ===== | ==== Keyboard ==== |
| |
| sudo dnf install 'xorg-x11-drv-evdev' -y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-keyboard-custom.conf' | sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-keyboard-custom.conf' |
| |
| <code> | <code> |
| Identifier "BY Tech Gaming Keyboard (evdev custom)" | Identifier "BY Tech Gaming Keyboard (evdev custom)" |
| MatchUSBID "258a:010c" | MatchUSBID "258a:010c" |
| MatchDevicePath "/dev/input/event*" | |
| Driver "evdev" | Driver "evdev" |
| Option "AccelerationProfile" "-1" | Option "AccelerationProfile" "-1" |
| # End</code> | # End</code> |
| |
| ===== Mouse ===== | ==== Mouse ==== |
| |
| sudo dnf install 'xorg-x11-drv-evdev' -y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-mouse-custom.conf' | sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-mouse-custom.conf' |
| |
| <code> | <code> |
| Identifier "ATTACK SHARK R6 Mouse (evdev custom)" | Identifier "ATTACK SHARK R6 Mouse (evdev custom)" |
| MatchUSBID "373e:0021" | MatchUSBID "373e:0021" |
| MatchDevicePath "/dev/input/event*" | |
| Driver "evdev" | Driver "evdev" |
| Option "AccelerationProfile" "-1" | Option "AccelerationProfile" "-1" |
| # End</code> | # End</code> |
| |
| ===== Tablet ===== | ==== Tablet ==== |
| |
| sudo dnf install 'xorg-x11-drv-evdev' -y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-tablet-custom.conf' | * 2024/12/08: Finger/pad touch doesn't work ((I only use stylus with [[games:bsd:wine:osu|osu!]] so not a //real// issue :p)) ((finger touch can be used in Absolute mode with ''wacom'' driver, see [[bsd:notes:xorg.conf_snippets?rev=1733705200#tablet|older revision]])) |
| | * :?: TODO: There's 3 devices; ''Finger'' and ''Pad'' can likely be disabled |
| | |
| | sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-tablet-custom.conf' |
| |
| <code> | <code> |
| Identifier "Wacom CTH-470 (evdev custom)" | Identifier "Wacom CTH-470 (evdev custom)" |
| MatchUSBID "056a:00de" | MatchUSBID "056a:00de" |
| MatchDevicePath "/dev/input/event*" | |
| Driver "evdev" | Driver "evdev" |
| Option "Mode" "Absolute" | Option "Mode" "Absolute" |
| # End</code> | # End</code> |
| |
| ===== Touchpad ===== | ===== synaptics ===== |
| |
| sudo dnf install 'xorg-x11-drv-synaptics-legacy' -y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-touchpad-custom.conf' | ==== Touchpad ==== |
| | |
| | * :!: Not ''evdev'' like the above |
| | |
| | sudo zypper install 'xf86-input-synaptics' |
| | |
| | sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-touchpad-custom.conf' |
| |
| <code> | <code> |
| Identifier "Touchpad (synaptics custom)" | Identifier "Touchpad (synaptics custom)" |
| MatchProduct "DELL0819:00" | MatchProduct "DELL0819:00" |
| MatchDevicePath "/dev/input/event*" | |
| Driver "synaptics" | Driver "synaptics" |
| Option "TapAndDragGesture" "0" | Option "TapAndDragGesture" "0" |
| # End</code> | # End</code> |
| |
| ====== Reports ====== | ===== libinput ===== |
| |
| ===== Spinesnap ===== | * https://man.archlinux.org/man/libinput.4 |
| |
| * 2025/03/29: [[linux;distros;fedora_xfce|Fedora Xfce 42]] | ==== Mouse ==== |
| | |
| | sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-mouse-custom.conf' |
| |
| <code> | <code> |
| [ 8.437] (II) Using input driver 'libinput' for 'Power Button' | Section "InputClass" |
| [ 8.455] (II) Using input driver 'libinput' for 'Video Bus' | Identifier "ATTACK SHARK R6 Mouse (libinput custom)" |
| [ 8.469] (II) Using input driver 'libinput' for 'Power Button' | MatchUSBID "373e:0021" |
| [ 8.477] (II) Using input driver 'libinput' for 'Sleep Button' | Driver "libinput" |
| [ 8.486] (II) Using input driver 'evdev' for 'BY Tech Gaming Keyboard' | Option "AccelProfile" "flat" |
| [ 8.487] (II) Using input driver 'evdev' for 'BY Tech Gaming Keyboard System Control' | Option "AccelSpeed" "0" |
| [ 8.488] (II) Using input driver 'evdev' for 'BY Tech Gaming Keyboard Consumer Control' | EndSection |
| [ 8.488] (II) Using input driver 'evdev' for 'BY Tech Gaming Keyboard' | |
| [ 8.489] (II) Using input driver 'evdev' for 'BY Tech Gaming Keyboard Mouse' | # End</code> |
| [ 8.490] (II) Using input driver 'evdev' for 'ATTACK SHARK R6 Mouse' | |
| [ 8.543] (II) Using input driver 'evdev' for 'ATTACK SHARK R6 Mouse Consumer Control' | |
| [ 8.543] (II) Using input driver 'evdev' for 'ATTACK SHARK R6 Mouse System Control' | |
| [ 8.544] (II) Using input driver 'evdev' for 'ATTACK SHARK R6 Mouse Keyboard' | |
| [ 8.545] (II) Using input driver 'evdev' for 'ATTACK SHARK R6 Mouse' | |
| [ 8.545] (II) Using input driver 'evdev' for 'ATTACK SHARK R6 Mouse' | |
| [ 8.546] (II) Using input driver 'synaptics' for 'DELL0819:00 044E:121F UNKNOWN' | |
| [ 8.561] (II) Using input driver 'synaptics' for 'DELL0819:00 044E:121F Mouse' | |
| [ 8.574] (II) Using input driver 'synaptics' for 'DELL0819:00 044E:121F Touchpad' | |
| [ 8.602] (II) Using input driver 'libinput' for 'Intel HID events' | |
| [ 8.611] (II) Using input driver 'libinput' for 'Intel HID 5 button array' | |
| [ 8.619] (II) Using input driver 'libinput' for 'Dell WMI hotkeys' | |
| [ 8.632] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard' | |
| [ 9512.197] (II) Using input driver 'evdev' for 'Wacom Bamboo 16FG 4x5 Pen' | |
| [ 9512.250] (II) Using input driver 'evdev' for 'Wacom Bamboo 16FG 4x5 Pad' | |
| [ 9512.286] (II) Using input driver 'evdev' for 'Wacom Bamboo 16FG 4x5 Finger' | |
| </code> | |
| |