User Tools

Site Tools


linux:notes:xorg.conf_snippets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:notes:xorg.conf_snippets [2025/03/06 16:07] Sean Rhonelinux:notes:xorg.conf_snippets [2025/11/09 20:31] (current) Sean Rhone
Line 1: Line 1:
-====== Logs ======+====== Debugging ======
  
-  gio open ~/'.local/share/xorg/Xorg.1.log'+  mousepad '/var/log/Xorg.0.log'
  
-  gio open ~/'.local/share/xorg'+  cp '/var/log/Xorg.0.log' ~ && gio open ~/'Xorg.0.log'
  
-====== Specific Screens ======+  cat '/var/log/Xorg.0.log' | grep 'Using input driver'
  
-===== HP 27vx =====+  cat '/var/log/Xorg.0.log' | grep 'intel('
  
-  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-monitor-custom.conf'+  cat '/var/log/Xorg.0.log' | grep 'modeset(' 
 + 
 +  cat '/var/log/Xorg.0.log' | grep 'DRI3' 
 + 
 +  cat '/var/log/Xorg.0.log' | grep 'iris' 
 + 
 +====== Graphics ====== 
 + 
 +===== intel ===== 
 + 
 +  * ''glxgears'' does over 9000 FPS (( 8-) )) with ''intel'' vs 7000 ''modesetting'' 
 +  * :?: TODO: 2025/11/09: ''modesetting'' did over 10K 
 + 
 +  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_74165.612 1920 1928 1960 2000 1080 1105 1113 1119 +HSync -VSync +    MatchDriver "i915
-    Modeline "1280x720_7475.077 1280 1288 1320 1360 720 732 740 746 +HSync -VSync +    Driver "intel
-    Modeline "1024x768_7465.03 1024 1032 1064 1104 768 782 790 796 +HSync -VSync +    Option "AccelMethod" "SNA" 
-    Option "PreferredMode" "1920x1080_74+    Option "DRI" "3" 
-EndSection</code>+    Option "TearFree" "0" 
 +    Option "VSync" "0" 
 +    Option "PageFlip" "0" 
 +    Option "SwapbuffersWait" "0" 
 +    Option "TripleBuffer" "0" 
 +    Option "LinearFramebuffer" "1" 
 +    Option "Throttle" "0
 +EndSection
  
-====== TODO ======+# End</code> 
 + 
 +===== modesetting ===== 
 + 
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-graphics-custom.conf' 
 + 
 +<code> 
 +Section "OutputClass" 
 +    Identifier "Intel (modesetting custom)" 
 +    MatchDriver "i915" 
 +    Driver "modesetting" 
 +EndSection 
 + 
 +# End</code> 
 + 
 +====== Input ====== 
 + 
 +===== evdev ===== 
 + 
 +**** 
 + 
 +  sudo zypper install 'xf86-input-evdev' 
 + 
 +==== Keyboard ==== 
 + 
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-keyboard-custom.conf' 
 + 
 +<code> 
 +Section "InputClass" 
 +    Identifier "BY Tech Gaming Keyboard (evdev custom)" 
 +    MatchUSBID "258a:010c" 
 +    Driver "evdev" 
 +    Option "AccelerationProfile" "-1" 
 +    Option "AccelerationScheme" "none" 
 +EndSection 
 + 
 +# End</code> 
 + 
 +==== Mouse ==== 
 + 
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-mouse-custom.conf' 
 + 
 +<code> 
 +Section "InputClass" 
 +    Identifier "ATTACK SHARK R6 Mouse (evdev custom)" 
 +    MatchUSBID "373e:0021" 
 +    Driver "evdev" 
 +    Option "AccelerationProfile" "-1" 
 +    Option "AccelerationScheme" "none" 
 +EndSection 
 + 
 +# End</code> 
 + 
 +==== Tablet ==== 
 + 
 +  * 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> 
 +Section "InputClass" 
 +    Identifier "Wacom CTH-470 (evdev custom)" 
 +    MatchUSBID "056a:00de" 
 +    Driver "evdev" 
 +    Option "Mode" "Absolute" 
 +    Option "AccelerationProfile" "-1" 
 +    Option "AccelerationScheme" "none" 
 +EndSection 
 + 
 +# End</code> 
 + 
 +===== synaptics ===== 
 + 
 +==== 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> 
 +Section "InputClass" 
 +    Identifier "Touchpad (synaptics custom)" 
 +    MatchProduct "DELL0819:00" 
 +    Driver "synaptics" 
 +    Option "TapAndDragGesture" "0" 
 +    Option "CoastingSpeed" "0" 
 +    Option "PalmDetect" "0" 
 +    Option "CircularScrolling" "0" 
 +    Option "TapButton3" "0" 
 +    Option "TapButton2" "0" 
 +    Option "TapButton1" "0" 
 +    Option "LBCornerButton" "0" 
 +    Option "LTCornerButton" "0" 
 +    Option "RBCornerButton" "0" 
 +    Option "RTCornerButton" "0" 
 +    Option "LockedDrags" "0" 
 +    Option "HorizTwoFingerScroll" "0" 
 +    Option "CornerCoasting" "0" 
 +    Option "HorizEdgeScroll" "0" 
 +    Option "VertEdgeScroll" "0" 
 +EndSection 
 + 
 +# End</code> 
 + 
 +===== libinput ===== 
 + 
 +  * https://man.archlinux.org/man/libinput.4 
 + 
 +==== Mouse ==== 
 + 
 +  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/10-mouse-custom.conf' 
 + 
 +<code> 
 +Section "InputClass" 
 +    Identifier "ATTACK SHARK R6 Mouse (libinput custom)" 
 +    MatchUSBID "373e:0021" 
 +    Driver "libinput" 
 +    Option "AccelProfile" "flat" 
 +    Option "AccelSpeed" "0" 
 +EndSection
  
-  * 2025/03/06: FreeBSD xorg.conf snippets work as-is for evdev, synaptics, and intel [[bsd;notes;xorg.conf_snippets]]+# End</code>
  
/var/www/wiki/data/attic/linux/notes/xorg.conf_snippets.1741295245.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki