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
notes:xorg.conf_snippets [2023/03/21 20:02] Sean Rhonenotes:xorg.conf_snippets [2024/05/02 03:12] (current) – [evdev] Sean Rhone
Line 17: Line 17:
  
   * Last updated: 2022/05/18   * Last updated: 2022/05/18
-  * :!: This expects ''modesetting''+  * :!: The ''Identifier'' expects ''modesetting'' 
 +  * :!: It's better to [[notes:kernel_parameters#custom_resolution|use a kernel option]] as it applies to both Wayland and Xorg
  
   sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'   sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
Line 58: 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 73: Line 74:
  
 ===== amdgpu ===== ===== amdgpu =====
 +
 +==== Tweaked ====
  
   * https://wiki.archlinux.org/title/AMDGPU#Reduce_output_latency   * https://wiki.archlinux.org/title/AMDGPU#Reduce_output_latency
Line 85: 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 100: 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 118: 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/attic/notes/xorg.conf_snippets.1679443322.txt.gz · Last modified: 2023/03/21 20:02 by Sean Rhone