notes:xorg.conf_snippets
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
notes:xorg.conf_snippets [2022/05/27 14:01] – Sean Rhone | notes: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 | + | * :!: The '' |
+ | * :!: It's better to [[notes: | ||
sudo mkdir -p '/ | sudo mkdir -p '/ | ||
Line 41: | Line 42: | ||
Section " | Section " | ||
Identifier " | Identifier " | ||
- | Option " | + | Option " |
Monitor " | Monitor " | ||
- | EndSection</ | ||
- | |||
- | ===== TCL 55S405 ===== | ||
- | |||
- | * Reduces HDMI bandwidth for 4K@60Hz | ||
- | * Fixes Polaris HDMI instability and incorrect brightness with certain DisplayPort-to-HDMI cables | ||
- | * :!: Only for '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier " | ||
- | Modeline " | ||
- | Option " | ||
EndSection</ | EndSection</ | ||
Line 64: | Line 50: | ||
===== Deep Color ===== | ===== Deep Color ===== | ||
+ | * https:// | ||
+ | * https:// | ||
* The lack-of quotes around '' | * The lack-of quotes around '' | ||
- | * :!: This may cause issues with programs not expecting 30-bit color ((GpuTest' | + | * :!: This may cause apps to crash |
- | * :!: This can cause games in Wine to not start under some circumstances ((FFXIV crashes on start-up due to a DirectX error)) | + | |
- | * There is no known benefit to enabling this as of 2019/10/22 | + | |
sudo -e '/ | sudo -e '/ | ||
Line 73: | Line 59: | ||
< | < | ||
Section " | Section " | ||
- | Identifier | + | Identifier "Deep Color Screen" |
- | DefaultDepth | + | DefaultDepth 30 |
EndSection</ | EndSection</ | ||
+ | |||
+ | ==== Verify ==== | ||
+ | |||
+ | * This may need changed to '' | ||
+ | |||
+ | cat ~/' | ||
+ | |||
+ | cat ~/' | ||
====== Specific Drivers ====== | ====== Specific Drivers ====== | ||
- | ===== modesetting | + | ===== amdgpu |
+ | |||
+ | ==== Tweaked | ||
- | * :!: TODO, this was figured out in order to use modesetting without uninstalling specific DDX drivers | + | * https:// |
sudo -e '/ | sudo -e '/ | ||
Line 87: | Line 83: | ||
< | < | ||
Section " | Section " | ||
- | Identifier | + | Identifier "AMD Graphics" |
MatchDriver " | MatchDriver " | ||
- | Driver | + | Driver " |
- | Option | + | Option "EnablePageFlip" "0" |
- | Option | + | Option " |
EndSection</ | EndSection</ | ||
- | ===== amdgpu ===== | + | ==== Alternate |
- | * 2022/05/27: Diablo II: Resurrected has screen-tearing even with Vsync enabled in-game and '' | + | * 2023/03/28: Last tested on Fedora 37 with a RX 6600 XT |
- | * No known benefits over '' | + | |
sudo -e '/ | sudo -e '/ | ||
Line 103: | Line 98: | ||
< | < | ||
Section " | Section " | ||
- | Identifier | + | Identifier "AMD Graphics" |
MatchDriver " | MatchDriver " | ||
- | Driver | + | Driver " |
- | Option | + | Option " |
- | Option | + | |
EndSection</ | EndSection</ | ||
===== intel ===== | ===== intel ===== | ||
- | * :!: 2022/03/02: This caused random diagonal tearing | + | * 2024/05/02: Last tested |
- | * No known benefits over '' | + | |
sudo -e '/ | sudo -e '/ | ||
Line 119: | Line 112: | ||
< | < | ||
Section " | Section " | ||
- | Identifier | + | Identifier "Intel Graphics" |
MatchDriver " | MatchDriver " | ||
- | Driver | + | Driver " |
- | Option | + | Option " |
- | Option | + | Option " |
- | EndSection</ | + | Option " |
+ | EndSection | ||
+ | </ | ||
- | ===== intel + nouveau | + | ===== NVIDIA |
- | * For Optimus laptops | + | * '' |
- | | + | sudo -e '/ |
- | + | ||
- | | + | |
< | < | ||
Section " | Section " | ||
- | Identifier | + | Identifier "nvidia" |
- | MatchDriver "i915" | + | MatchDriver "nvidia-drm" |
- | Driver " | + | Option "Coolbits" "28" |
- | Option " | + | Option "AllowUnofficialGLXProtocol" "1" |
- | Option " | + | |
- | EndSection | + | |
- | + | ||
- | Section " | + | |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver "nouveau" | + | |
- | Option " | + | |
EndSection</ | EndSection</ | ||
- | ===== radeon | + | ====== evdev ====== |
- | | + | |
- | * For SI, CIK, and newer GPUs, use '' | + | |
- | * :!: Using the '' | + | |
- | * :!: This caused a blinking black screen and GDM unable to start on Ubuntu 20.04.1 | + | |
- | * :!: Overall, probably shouldn' | + | |
- | + | ||
- | | + | |
< | < | ||
- | Section "OutputClass" | + | Section "InputClass" |
- | Identifier | + | Identifier "evdev pointer catchall" |
- | | + | |
- | | + | |
- | | + | |
- | Option | + | Option "AccelerationProfile" "-1" |
- | Option | + | Option "AccelerationScheme" "none" |
- | Option | + | EndSection |
- | EndSection</ | + | |
- | ===== NVIDIA Proprietary ===== | + | Section " |
+ | Identifier "evdev keyboard catchall" | ||
+ | MatchIsKeyboard " | ||
+ | MatchDevicePath "/ | ||
+ | Driver " | ||
+ | Option " | ||
+ | Option " | ||
+ | EndSection | ||
- | ==== General ==== | + | Section " |
+ | Identifier "evdev touchpad catchall" | ||
+ | MatchIsTouchpad " | ||
+ | MatchDevicePath "/ | ||
+ | Driver " | ||
+ | Option " | ||
+ | Option " | ||
+ | EndSection | ||
- | | + | Section " |
+ | Identifier "evdev tablet catchall" | ||
+ | MatchIsTablet " | ||
+ | MatchDevicePath "/ | ||
+ | Driver " | ||
+ | Option " | ||
+ | Option " | ||
+ | EndSection | ||
- | sudo cp -p '/usr/share/X11/ | + | Section " |
- | + | Identifier "evdev touchscreen catchall" | |
- | < | + | MatchIsTouchscreen " |
- | Option "Coolbits" "28"</ | + | MatchDevicePath "/dev/input/event*" |
+ | | ||
+ | | ||
+ | Option "AccelerationScheme" "none" | ||
+ | EndSection</ | ||
/var/www/wiki/data/attic/notes/xorg.conf_snippets.1653674491.txt.gz · Last modified: 2022/05/27 14:01 by Sean Rhone