User Tools

Site Tools


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
Next revisionBoth sides next revision
notes:xorg.conf_snippets [2023/03/21 20:04] Sean Rhonenotes:xorg.conf_snippets [2024/05/02 03:12] – [evdev] Sean Rhone
Line 59: Line 59:
 <code> <code>
 Section "Screen" Section "Screen"
-    Identifier      "Deep Color Screen" +    Identifier "Deep Color Screen" 
-    DefaultDepth    30+    DefaultDepth 30
 EndSection</code> EndSection</code>
  
Line 74: Line 74:
  
 ===== amdgpu ===== ===== amdgpu =====
 +
 +==== Tweaked ====
  
   * https://wiki.archlinux.org/title/AMDGPU#Reduce_output_latency   * https://wiki.archlinux.org/title/AMDGPU#Reduce_output_latency
Line 86: Line 88:
     Option "EnablePageFlip" "0"     Option "EnablePageFlip" "0"
     Option "TearFree" "0"     Option "TearFree" "0"
 +EndSection</code>
 +
 +==== Alternate ====
 +
 +  * 2023/03/28: Last tested on Fedora 37 with a RX 6600 XT
 +
 +  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
 +
 +<code>
 +Section "OutputClass"
 +    Identifier "AMD Graphics"
 +    MatchDriver "amdgpu"
 +    Driver "amdgpu"
 +    Option "TearFree" "1"
 EndSection</code> EndSection</code>
  
 ===== intel ===== ===== intel =====
  
-  * https://wiki.archlinux.org/title/intel_graphics#Disabling_TearFree,_TripleBuffer,_SwapbuffersWait +  * 2024/05/02: Last tested on Fedora Workstation 40 with Intel UHD 630
-  * 2023/03/21: Last tested on Fedora 37 with Intel UHD 630+
  
   sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'   sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
Line 101: Line 116:
     Driver "intel"     Driver "intel"
     Option "DRI" "iris"     Option "DRI" "iris"
 +    Option "AccelMethod" "sna"
     Option "TearFree" "0"     Option "TearFree" "0"
-    Option "TripleBuffer" "0" 
-    Option "SwapbuffersWait" "0" 
 EndSection EndSection
 </code> </code>
Line 119: Line 133:
     Option "Coolbits" "28"     Option "Coolbits" "28"
     Option "AllowUnofficialGLXProtocol" "1"     Option "AllowUnofficialGLXProtocol" "1"
 +EndSection</code>
 +
 +====== evdev ======
 +
 +  sudo dnf install 'xorg-x11-drv-evdev' -y && sudo -e '/etc/X11/xorg.conf.d/99-evdev.conf'
 +
 +<code>
 +Section "InputClass"
 +    Identifier "evdev pointer catchall"
 +    MatchIsPointer "on"
 +    MatchDevicePath "/dev/input/event*"
 +    Driver "evdev"
 +    Option "AccelerationProfile" "-1"
 +    Option "AccelerationScheme" "none"
 +EndSection
 +
 +Section "InputClass"
 +    Identifier "evdev keyboard catchall"
 +    MatchIsKeyboard "on"
 +    MatchDevicePath "/dev/input/event*"
 +    Driver "evdev"
 +    Option "AccelerationProfile" "-1"
 +    Option "AccelerationScheme" "none"
 +EndSection
 +
 +Section "InputClass"
 +    Identifier "evdev touchpad catchall"
 +    MatchIsTouchpad "on"
 +    MatchDevicePath "/dev/input/event*"
 +    Driver "evdev"
 +    Option "AccelerationProfile" "-1"
 +    Option "AccelerationScheme" "none"
 +EndSection
 +
 +Section "InputClass"
 +    Identifier "evdev tablet catchall"
 +    MatchIsTablet "on"
 +    MatchDevicePath "/dev/input/event*"
 +    Driver "evdev"
 +    Option "AccelerationProfile" "-1"
 +    Option "AccelerationScheme" "none"
 +EndSection
 +
 +Section "InputClass"
 +    Identifier "evdev touchscreen catchall"
 +    MatchIsTouchscreen "on"
 +    MatchDevicePath "/dev/input/event*"
 +    Driver "evdev"
 +    Option "AccelerationProfile" "-1"
 +    Option "AccelerationScheme" "none"
 EndSection</code> EndSection</code>
  
/var/www/wiki/data/pages/notes/xorg.conf_snippets.txt · Last modified: 2024/05/18 02:18 by Sean Rhone