User Tools

Site Tools


bsd: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
bsd:notes:xorg.conf_snippets [2025/09/11 06:43] – external edit 127.0.0.1bsd:notes:xorg.conf_snippets [2025/11/04 17:32] (current) – [modesetting] Sean Rhone
Line 14: Line 14:
  
   cat '/var/log/Xorg.0.log' | grep 'iris'   cat '/var/log/Xorg.0.log' | grep 'iris'
 +
 +  pciconf -lv | grep -B3 display
  
 ====== Graphics ====== ====== Graphics ======
Line 20: Line 22:
  
   * ''glxgears'' does over 9000 FPS (( 8-) )) with ''intel'' vs 7000 ''modesetting''   * ''glxgears'' does over 9000 FPS (( 8-) )) with ''intel'' vs 7000 ''modesetting''
-  * TODO: https://docs.freebsd.org/en/books/handbook/x11/#x-config-gpu 
  
   su -   su -
Line 41: Line 42:
     Option "TripleBuffer" "0"     Option "TripleBuffer" "0"
     Option "LinearFramebuffer" "1"     Option "LinearFramebuffer" "1"
-EndSection</code>+    Option "Throttle" "0" 
 +EndSection 
 + 
 +# End</code>
  
 ===== modesetting ===== ===== modesetting =====
Line 60: Line 64:
 ====== Input ====== ====== Input ======
  
-===== libinput ===== +===== evdev =====
- +
-==== Mouse ====+
  
   su -   su -
  
-  mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-mouse-custom.conf' +  pkg install 'xf86-input-evdev'
- +
-<code> +
-Section "InputClass" +
-    Identifier "ATTACK SHARK R6 Mouse (libinput custom)" +
-    MatchUSBID "373e:0021" +
-    Driver "libinput" +
-    Option "AccelProfile" "flat" +
-    Option "AccelSpeed" "-1" +
-EndSection</code> +
- +
-===== evdev =====+
  
 ==== webcamd ==== ==== webcamd ====
  
   * ''xf86-input-evdev'' requires ''webcamd''   * ''xf86-input-evdev'' requires ''webcamd''
- +  * 2025/10/26: TODO: Re-check if still required
-  su -+
  
   pkg install 'webcamd'   pkg install 'webcamd'
Line 92: Line 82:
  
 ==== Keyboard ==== ==== Keyboard ====
- 
-  su - 
- 
-  pkg install 'xf86-input-evdev' 
  
   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-keyboard-custom.conf'   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-keyboard-custom.conf'
Line 106: Line 92:
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection</code>+EndSection 
 + 
 +# End</code>
  
 ==== Mouse ==== ==== Mouse ====
- 
-  su - 
- 
-  pkg install 'xf86-input-evdev' 
  
   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-mouse-custom.conf'   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-mouse-custom.conf'
Line 123: Line 107:
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection</code>+EndSection 
 + 
 +# End</code>
  
 ==== Tablet ==== ==== Tablet ====
Line 129: Line 115:
   * 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]]))   * 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   * :?: TODO: There's 3 devices; ''Finger'' and ''Pad'' can likely be disabled
- 
-  su - 
- 
-  pkg install 'xf86-input-evdev' 
  
   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-tablet-custom.conf'   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-tablet-custom.conf'
Line 144: Line 126:
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
     Option "AccelerationScheme" "none"     Option "AccelerationScheme" "none"
-EndSection</code>+EndSection
  
-===== Synaptics =====+# End</code>
  
-  su -+===== synaptics ===== 
 + 
 +==== Touchpad ==== 
 + 
 +  * :!: Not ''evdev'' like the above
  
   pkg install 'xf86-input-synaptics'   pkg install 'xf86-input-synaptics'
Line 175: Line 161:
     Option "HorizEdgeScroll" "0"     Option "HorizEdgeScroll" "0"
     Option "VertEdgeScroll" "0"     Option "VertEdgeScroll" "0"
-EndSection</code>+EndSection 
 + 
 +# End</code> 
 + 
 +===== libinput ===== 
 + 
 +  * https://man.archlinux.org/man/libinput.4 
 + 
 +==== Mouse ==== 
 + 
 +  su - 
 + 
 +  mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/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 
 + 
 +# End</code>
  
/srv/www/wiki/data/attic/bsd/notes/xorg.conf_snippets.1757587392.txt.gz · Last modified: by 127.0.0.1

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