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 [2024/06/02 17:35] Sean Rhonenotes:xorg.conf_snippets [2024/08/13 18:59] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Notes ====== 
- 
-  * :!: Anything here expects Xorg and not Wayland 
-  * ''Identifier'' will need changed for different display connections and drivers 
- 
-====== Config File ====== 
- 
-  * ''99-graphics.conf'' 
- 
-  sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' 
- 
-====== Specific Screens ====== 
- 
-===== Acer S271HL ===== 
- 
-  * See [[devices:acer_s271hl|Acer S271HL]] 
- 
-  * Last updated: 2022/05/18 
-  * :!: 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' 
- 
-<code> 
-Section "Monitor" 
-    Identifier "HDMI-1" 
-    Modeline "1920x1080_75"  167.85  1920 1928 1960 2000  1080 1105 1113 1119 +hsync -vsync 
-    Option "PreferredMode" "1920x1080_75" 
-EndSection</code> 
- 
-==== NVIDIA ==== 
- 
-  * https://blogshit.baka.fi/2020/07/xorg-custom-resolutions/ 
-  * https://download.nvidia.com/XFree86/Linux-x86_64/510.54/README/xconfigoptions.html 
- 
-<code> 
-Section "Monitor" 
-    Identifier "S271HL-75Hz" 
-    Modeline "1920x1080_75"  167.85  1920 1928 1960 2000  1080 1105 1113 1119 +hsync -vsync 
-EndSection 
- 
-Section "Screen" 
-    Identifier "Screen0" 
-    Option "ModeValidation" "HDMI-0: NoMaxPClkCheck,NoEdidMaxPClkCheck,NoHorizSyncCheck,NoVertRefreshCheck,AllowNonEdidModes" 
-    Monitor "S271HL-75Hz" 
-EndSection</code> 
- 
-====== Monitor/Display ====== 
- 
-===== Deep Color ===== 
- 
-  * https://wiki.gentoo.org/wiki/30bpp 
-  * https://wiki.archlinux.org/title/AMDGPU#10-bit_color 
-  * The lack-of quotes around ''30'' is intentional and required syntax 
-  * :!: This may cause apps to crash 
- 
-  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' 
- 
-<code> 
-Section "Screen" 
-    Identifier "Deep Color Screen" 
-    DefaultDepth 30 
-EndSection</code> 
- 
-==== Verify ==== 
- 
-  * This may need changed to ''1'' instead for some distros 
- 
-  cat ~/'.local/share/xorg/Xorg.0.log' | grep 'Pixel depth' 
- 
-  cat ~/'.local/share/xorg/Xorg.0.log.old' | grep 'Pixel depth' 
- 
-====== Specific Drivers ====== 
- 
-===== amdgpu ===== 
- 
-==== Tweaked ==== 
- 
-  * https://wiki.archlinux.org/title/AMDGPU#Reduce_output_latency 
- 
-  sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' 
- 
-<code> 
-Section "OutputClass" 
-    Identifier "AMD Graphics" 
-    MatchDriver "amdgpu" 
-    Driver "amdgpu" 
-    Option "EnablePageFlip" "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> 
- 
-===== intel ===== 
- 
-  * 2024/05/18: Last tested on openSUSE Tumbleweed with Intel UHD 630 
-  * :?: 2024/06/02: Dota 2 was unable to start because of DRI3 not being exposed, but ''DRI'' has to be either ''3'' or ''iris''? 
- 
-  sudo zypper install -y 'xf86-video-intel' && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' 
- 
-<code> 
-Section "OutputClass" 
-    Identifier "Intel Graphics" 
-    MatchDriver "i915" 
-    Driver "intel" 
-    Option "TearFree" "0" 
-EndSection</code> 
- 
-==== Old ==== 
- 
-  * Setting ''DRI'' to ''iris'' was required on Fedora 
- 
-<code> 
-    Option "DRI" "iris" 
-    Option "AccelMethod" "sna"</code> 
- 
-===== NVIDIA ===== 
- 
-  * ''Coolbits'' at ''28'' unlocks all available overclocking settings 
- 
-  sudo -e '/etc/X11/xorg.conf.d/nvidia.conf' 
- 
-<code> 
-Section "OutputClass" 
-    Identifier "nvidia" 
-    MatchDriver "nvidia-drm" 
-    Option "Coolbits" "28" 
-    Option "AllowUnofficialGLXProtocol" "1" 
-EndSection</code> 
- 
-====== evdev ====== 
- 
-  * Last tested: 2024/05/17 on openSUSE Tumbleweed GNOME 46 
-  * :!: 2024/06/02: On Plasma 6, ''evdev'' causes System Settings to not show configuration options, and an Alps touchpad doesn't function without ''xf86-input-synaptics'' with ''evdev'' ((both ''xf86-input-evdev'' and ''xf86-input-synaptics'' need removed to use ''libinput'' for full System Settings configuration)) 
- 
-  sudo zypper install -y 'xf86-input-evdev' && sudo -e '/etc/X11/xorg.conf.d/99-evdev.conf' 
- 
-  sudo zypper install -y 'xf86-input-synaptics' 
- 
-<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> 
  
C:/www/wiki/data/attic/notes/xorg.conf_snippets.1717364101.txt.gz · Last modified: (external edit)