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/03/30 13:45] – [Tablet] Sean Rhonebsd:notes:xorg.conf_snippets [2025/09/11 06:43] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
   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'
Line 11: Line 15:
   cat '/var/log/Xorg.0.log' | grep 'iris'   cat '/var/log/Xorg.0.log' | grep 'iris'
  
-====== Specific Screens ======+====== Graphics ======
  
-===== HP 27vx =====+===== intel =====
  
-  * [[devices:displays:hp_27vx|Notes]] +  * ''glxgears'' does over 9000 FPS (( 8-) )) with ''intel'' vs 7000 ''modesetting'' 
-  * [[https://tomverbeure.github.io/video_timings_calculator|Video Timings Calculator]] (''CVT-RBv2 Modeline''+  * TODO: https://docs.freebsd.org/en/books/handbook/x11/#x-config-gpu
- +
-  * Last tested on [[bsd;freebsd_14.2_xfce|FreeBSD 14.2 (Xfce)]] with Intel UHD 630 (onboard HDMI)+
  
   su -   su -
  
-  mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/etc/X11/xorg.conf.d/10-monitor-custom.conf'+  pkg install 'xf86-video-intel' 
 + 
 +  mkdir -p '/usr/local/etc/X11/xorg.conf.d' && ee '/usr/local/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" 
 +    Option "TearFree" "0" 
 +    Option "VSync" "0" 
 +    Option "PageFlip" "0" 
 +    Option "SwapbuffersWait" "0" 
 +    Option "TripleBuffer" "0" 
 +    Option "LinearFramebuffer" "1"
 EndSection</code> EndSection</code>
- 
-====== Graphics ====== 
  
 ===== modesetting ===== ===== modesetting =====
- 
-  * Last tested on [[bsd;freebsd_14.2_xfce|FreeBSD 14.2 (Xfce)]] with Intel UHD 630 
- 
-  * TODO: PCI ID match 
  
   su -   su -
Line 50: Line 54:
     MatchDriver "i915"     MatchDriver "i915"
     Driver "modesetting"     Driver "modesetting"
-    Option "ShadowFB" "0" 
-    Option "DoubleShadow" "0" 
-    Option "AccelMethod" "glamor" 
-    Option "AsyncFlipSecondaries" "0" 
-    Option "UseGammaLUT" "0" 
 EndSection EndSection
  
 # End</code> # End</code>
  
-===== intel =====+====== Input ======
  
-  * Last tested on [[bsd;freebsd_14.2_xfce|FreeBSD 14.2 (Xfce)]] with Intel UHD 630+===== libinput =====
  
-  * ''glxgears'' does over ''9000'' FPS (( 8-) )) with ''intel'' vs ''7000'' modesetting +==== Mouse ====
-  * TODO: PCI ID match+
  
   su -   su -
  
-  pkg install 'xf86-video-intel' +  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-graphics-custom.conf'+
  
 <code> <code>
-Section "OutputClass+Section "InputClass
-    Identifier "Intel (intel custom)" +    Identifier "ATTACK SHARK R6 Mouse (libinput custom)" 
-    MatchDriver "i915+    MatchUSBID "373e:0021
-    Driver "intel+    Driver "libinput
-    Option "DRI" "3+    Option "AccelProfile" "flat
-    Option "TearFree" "0" +    Option "AccelSpeed" "-1" 
-    Option "VSync" "0" +EndSection</code>
-    Option "PageFlip" "0" +
-    Option "SwapbuffersWait" "0" +
-    Option "TripleBuffer" "0" +
-    Option "LinearFramebuffer" "1" +
-EndSection+
  
-# End</code>+===== evdev =====
  
-====== Input ======+==== webcamd ====
  
-===== evdev TODO ===== +  * ''xf86-input-evdev'' requires ''webcamd''
- +
-  2024/12/18: Wacom devices and apparently ''evdev'' itself requires ''webcamd''+
  
   su -   su -
 +
 +  pkg install 'webcamd'
  
   sysrc webcamd_enable="YES"   sysrc webcamd_enable="YES"
Line 100: Line 91:
   pw groupmod 'webcamd' -m 'espionage724'   pw groupmod 'webcamd' -m 'espionage724'
  
-===== Keyboard =====+==== Keyboard ====
  
   su -   su -
Line 112: Line 103:
     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"
Line 118: Line 108:
 EndSection</code> EndSection</code>
  
-===== Mouse =====+==== Mouse ====
  
   su -   su -
Line 130: Line 120:
     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"
Line 136: Line 125:
 EndSection</code> EndSection</code>
  
-===== Tablet =====+==== 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]]))   * 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]]))
Line 151: Line 140:
     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"
Line 158: Line 146:
 EndSection</code> EndSection</code>
  
-===== Touchpad =====+===== Synaptics =====
  
   su -   su -
Line 170: Line 158:
     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"
/srv/www/wiki/data/attic/bsd/notes/xorg.conf_snippets.1743356751.txt.gz · Last modified: by Sean Rhone