notes:xorg.conf_snippets
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
notes:xorg.conf_snippets [2020/09/05 06:14] – [Disable PRIME Render Offload] Sean Rhone | notes:xorg.conf_snippets [2023/05/28 23:33] – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | ===== openSUSE ===== | + | * :!: Anything here expects Xorg and not Wayland |
+ | * '' | ||
- | sudo zypper search ' | + | ====== Config File ====== |
- | | + | |
- | | + | |
- | xf86-video-intel | + | ====== Specific Screens ====== |
- | ===== Fedora | + | ===== Acer S271HL |
- | | + | |
- | | + | |
+ | * :!: The '' | ||
+ | * :!: It's better to [[notes: | ||
- | ====== Monitor/Display ====== | + | sudo mkdir -p '/etc/ |
- | ===== 4K@60Hz RB ===== | + | < |
+ | Section " | ||
+ | Identifier " | ||
+ | Modeline " | ||
+ | Option " | ||
+ | EndSection</ | ||
- | * 4k@60Hz CVT-RB | + | ==== NVIDIA ==== |
- | * Fixes unstable HDMI at 4K@60Hz, and overly-bright colors on DisplayPort | + | |
- | * :!: The '' | + | |
- | * :!: This cannot be used on Wayland currently | + | |
- | * :!: This expects '' | + | |
- | | + | |
- | + | | |
- | | + | |
< | < | ||
Section " | Section " | ||
- | Identifier | + | Identifier "S271HL-75Hz" |
- | Modeline "3840x2160R" | + | Modeline "1920x1080_75" |
- | Option | + | EndSection |
+ | |||
+ | Section " | ||
+ | Identifier " | ||
+ | Option "ModeValidation" "HDMI-0: NoMaxPClkCheck, | ||
+ | Monitor " | ||
EndSection</ | EndSection</ | ||
+ | |||
+ | ====== Monitor/ | ||
===== Deep Color ===== | ===== Deep Color ===== | ||
+ | * https:// | ||
+ | * https:// | ||
* The lack-of quotes around '' | * The lack-of quotes around '' | ||
- | * :!: This may cause minor 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 49: | Line 59: | ||
< | < | ||
Section " | Section " | ||
- | Identifier | + | Identifier "Deep Color Screen" |
- | DefaultDepth | + | DefaultDepth 30 |
EndSection</ | EndSection</ | ||
- | ====== DDX ====== | + | ==== Verify |
- | ===== amdgpu ===== | + | * This may need changed to '' |
- | | + | |
- | < | + | cat ~/' |
- | Section " | + | |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection< | + | |
- | ===== intel ===== | + | ====== Specific Drivers ====== |
- | sudo zypper install -y ' | + | ===== amdgpu ===== |
- | < | + | ==== Tweaked ==== |
- | Section " | + | |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection</ | + | |
- | ===== nouveau ===== | + | * https:// |
- | | + | sudo -e '/ |
< | < | ||
Section " | Section " | ||
- | Identifier | + | Identifier "AMD Graphics" |
- | MatchDriver "nouveau" | + | MatchDriver "amdgpu" |
- | Driver | + | Driver "amdgpu" |
- | Option | + | Option "EnablePageFlip" "0" |
+ | Option " | ||
EndSection</ | EndSection</ | ||
- | ===== intel + nouveau ===== | + | ==== Alternate |
- | * For Optimus laptops | + | * 2023/03/28: Last tested on Fedora 37 with a RX 6600 XT |
- | | + | sudo -e '/ |
< | < | ||
Section " | Section " | ||
- | Identifier | + | Identifier "AMD Graphics" |
- | MatchDriver "i915" | + | MatchDriver "amdgpu" |
- | Driver " | + | Driver "amdgpu" |
- | Option " | + | Option " |
- | Option " | + | |
- | EndSection | + | |
- | + | ||
- | Section " | + | |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver " | + | |
- | Option " | + | |
EndSection</ | EndSection</ | ||
- | ===== radeon | + | ===== intel ===== |
- | * Expects pre-SI GPUs ((HD6000 series and lower, and non-SI HD7000 series)) | + | * 2023/05/28: Last tested on Ubuntu 23.04 with Intel UHD 630 |
- | * For SI, CIK, and newer GPUs, use '' | + | |
- | | + | sudo -e '/ |
< | < | ||
Section " | Section " | ||
- | Identifier | + | Identifier "Intel Graphics" |
- | MatchDriver "radeon" | + | MatchDriver "i915" |
- | Driver | + | Driver "intel" |
- | Option | + | Option " |
- | Option | + | Option "AccelMethod" "sna" |
- | Option | + | Option " |
- | Option | + | Option "TripleBuffer" "1" |
- | EndSection</ | + | Option " |
+ | EndSection | ||
+ | </ | ||
- | ==== Oak ==== | + | ===== NVIDIA ===== |
- | * :!: The '' | + | * '' |
- | * This works with '' | + | |
- | sudo -e '/ | + | sudo -e '/ |
< | < | ||
- | Section "Monitor" | + | Section "OutputClass" |
- | Identifier | + | Identifier "nvidia" |
- | | + | MatchDriver " |
- | Option | + | |
+ | Option "AllowUnofficialGLXProtocol" "1" | ||
EndSection</ | EndSection</ | ||
- | |||
- | ===== NVIDIA Proprietary ===== | ||
- | |||
- | ==== Environment Variables ==== | ||
- | |||
- | * Sets pre-rendered frames from the default to 1 | ||
- | * Apparently reduces CPU usage for desktop environments rendered with the NVIDIA GPU | ||
- | |||
- | echo ' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ==== Disable PRIME Render Offload ==== | ||
- | |||
- | * [[http:// | ||
- | * :!: Required if planning to use external displays | ||
- | * :!: '' | ||
- | * :!: This expects Fedora and RPM Fusion' | ||
- | |||
- | sudo cp -p '/ | ||
- | |||
- | < | ||
- | Option " | ||
- | Option " | ||
/var/www/wiki/data/pages/notes/xorg.conf_snippets.txt · Last modified: 2024/05/02 03:12 by Sean Rhone