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 [2026/06/28 14:42] – [Trackball] Sean Rhonebsd:notes:xorg.conf_snippets [2026/10/18 17:41] (current) – [intel] Sean Rhone
Line 1: Line 1:
 +====== Information ======
 +
 +  * ''xorg.conf'' snippets
 +  * Xorg X11
 +
 ====== Debugging ====== ====== Debugging ======
 +
 +  * https://xorg.freedesktop.org/archive/current/doc/man/man5/xorg.conf.5.xhtml
  
   mousepad '/var/log/Xorg.0.log'   mousepad '/var/log/Xorg.0.log'
  
   cp '/var/log/Xorg.0.log' ~ && gio open ~/'Xorg.0.log'   cp '/var/log/Xorg.0.log' ~ && gio open ~/'Xorg.0.log'
 +
 +  cat '/var/log/Xorg.0.log' | grep 'DPI'
  
   cat '/var/log/Xorg.0.log' | grep 'Using input driver'   cat '/var/log/Xorg.0.log' | grep 'Using input driver'
Line 17: Line 26:
   pciconf -lv | grep -B3 display   pciconf -lv | grep -B3 display
  
-====== Monitor ======+====== Xfce Resets ======
  
-  * https://tomverbeure.github.io/video_timings_calculator+  rm -fv ~/'.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml'
  
-===== HP S2031 =====+  rm -fv ~/'.config/xfce4/xfconf/xfce-perchannel-xml/pointers.xml'
  
-  * [[devices:displays:hp_s2031|Notes]]+====== Monitor ====== 
 + 
 +  * https://tomverbeure.github.io/video_timings_calculator 
 +  * [[devices:displays:hp_s2031|HP S2031]]
  
   su -   su -
  
   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-monitor-custom.conf'   mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-monitor-custom.conf'
- 
-<code> 
-Section "Monitor" 
-    Identifier "HDMI-1" 
-    Modeline "1600x900_76" 119.125 1600 1608 1640 1680 900 919 927 933 +HSync -VSync 
-    Modeline "1280x720_76" 77.209 1280 1288 1320 1360 720 733 741 747 +HSync -VSync 
-    Modeline "1024x768_76" 66.787 1024 1032 1064 1104 768 782 790 796 +HSync -VSync 
-    Modeline "800x600_76" 41.599 800 808 840 880 600 608 616 622 +HSync -VSync 
-    Modeline "640x480_76" 27.25 640 648 680 720 480 484 492 498 +HSync -VSync 
-    Option "PreferredMode" "1600x900_76" 
-EndSection 
- 
-# End</code> 
  
 ====== Graphics ====== ====== Graphics ======
  
 ===== intel ===== ===== intel =====
- 
-  * :?: 2026/04/24: ''glxgears'' was faster with HT disabled ((9.6k vs 9.7k)) 
  
   su -   su -
Line 59: Line 56:
     MatchDriver "i915"     MatchDriver "i915"
     Driver "intel"     Driver "intel"
-    Option "AccelMethod" "SNA"+    Option "AccelMethod" "blt"
     Option "DRI" "3"     Option "DRI" "3"
 +    Option "Present" "1"
     Option "TearFree" "0"     Option "TearFree" "0"
 +    Option "ReprobeOutputs" "0"
     Option "VSync" "0"     Option "VSync" "0"
     Option "PageFlip" "0"     Option "PageFlip" "0"
Line 67: Line 66:
     Option "TripleBuffer" "0"     Option "TripleBuffer" "0"
     Option "LinearFramebuffer" "1"     Option "LinearFramebuffer" "1"
 +    Option "XvMC" "0"
     Option "Throttle" "0"     Option "Throttle" "0"
 +    Option "HotPlug" "0"
 +    Option "Virtualheads" "0"
 EndSection EndSection
  
Line 122: Line 124:
 <code> <code>
 Section "InputClass" Section "InputClass"
-    Identifier "WolfLawS KM-5 Mouse (evdev custom)" +    Identifier "ATTACK SHARK X3 Mouse (evdev custom)" 
-    MatchUSBID "1d57:130f"+    MatchUSBID "1d57:fa61"
     Driver "evdev"     Driver "evdev"
     Option "AccelerationProfile" "-1"     Option "AccelerationProfile" "-1"
Line 131: Line 133:
 # End</code> # End</code>
  
-<code> +==== Touchscreen ==== 
-    Identifier "ATTACK SHARK R6 Mouse (evdev custom)" + 
-    MatchUSBID "373e:0021" +  mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-touchscreen-custom.conf'
-</code>+
  
 <code> <code>
-    Identifier "CORSAIR HARPOON RGB PRO Gaming Mouse (evdev custom)" +Section "InputClass" 
-    MatchUSBID "1b1c:1b75" +    Identifier "Weida Hi-Tech CoolTouch Touchscreen (evdev custom)" 
-</code>+    MatchUSBID "2149:5cfd" 
 +    Driver "evdev" 
 +    Option "AccelerationProfile" "-1" 
 +    Option "AccelerationScheme" "none" 
 +EndSection 
 + 
 +# End</code>
  
 ==== Trackball ==== ==== Trackball ====
Line 177: Line 184:
 === Wacom TODO === === Wacom TODO ===
  
-  * ''wacom'' driver is used without ''xorg.conf'' override+  * :!: ''wacom'' driver is used without ''xorg.conf'' override
  
   pkg install 'xf86-input-wacom'   pkg install 'xf86-input-wacom'
Line 255: Line 262:
  
   usbconfig -d ugen0.2 dump_device_desc   usbconfig -d ugen0.2 dump_device_desc
 +
 +  usbconfig -d ugen0.2 dump_device_desc | egrep 'idVendor|idProduct'
  
 ===== xorg.conf ===== ===== xorg.conf =====
Line 263: Line 272:
  
 <code>MatchUSBID "1d57:130f"</code> <code>MatchUSBID "1d57:130f"</code>
 +
 +===== IDs =====
 +
 +<code>
 +    Identifier "CORSAIR HARPOON RGB PRO Gaming Mouse (evdev custom)"
 +    MatchUSBID "1b1c:1b75"
 +</code>
 +
 +<code>
 +    Identifier "WolfLawS KM-5 Mouse (evdev custom)"
 +    MatchUSBID "1d57:130f"
 +</code>
  
/srv/www/wiki/data/attic/bsd/notes/xorg.conf_snippets.1782672145.txt.gz · Last modified: by Sean Rhone