Confused on Steam Play and Proton? Be sure to check out our guide.
Nvidia - Xorg - Optimized Configuration
wolfyrion Sep 26, 2015
I am posting my xorg configuration in case someone wants some tweaking...
(I am using Manjaro Distro)
This configuration has been tested and optimized for NVIDIA and KDE/PLASMA 5

My "profile" config

/etc/profile

#sync my main monitor
export __GL_SYNC_DISPLAY_DEVICE=DFP-0

#prevent SDL Games taking all over my 2 screens so with this I Am forcing games to start on my main monitor
export SDL_VIDEO_FULLSCREEN_HEAD=0
export SDL_VIDEO_FULLSCREEN_DISPLAY=0
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0

#Eliminate Tearing issues
export KWIN_TRIPLE_BUFFER=1
export KWIN_USE_BUFFER_AGE=0


/etc/X11/mhwd.d/nvidia.conf

Option "TripleBuffer" "True"
Option "NoLogo" "1"
Option "RenderAccel" "1"
Option "Coolbits" "24"
Option "MigrationHeuristic" "greedy"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
Option "DamageEvents" "True"
Option "UseEvents" "False"
Option "BackingStore" "True"
Option "PixmapCacheSize" "2000000"
Option "AllowSHMPixmaps" "0"
Option "OnDemandVBlankInterrupts" "True"
Option "InitialPixmapPlacement" "1"
Option "GlyphCache" "1"
Option "TwinView" "True"



I am using TwinView since I am using 2x Monitors

Regarding PixmapCacheSize, this option reserves a chunk of your GPU's video memory for fast pixmap allocation and greatly improves performance of any X application heavily relying on pixmap allocation.
The PixmapCache size is measured in pixels; a pixel of PixmapCache uses a little more than 5 bytes of video memory, meaning a PixmapCacheSize of 1,000,000 will reserve a little under 5MB of video memory for pixmap allocation. Feel free to increase this size to get better performance, taking into account the amount of memory on your graphics card and the fact that this memory will be unavailable for OpenGL texture allocation.

This fixes

Unresponsive GUI in general
Choppy and slow resize of windows
Slow scrolling
Slow Firefox
Firefox choking on fixed backgrounds
in general it fixes SLOW 2D PERFORMANCE

if anyone has some suggestions or questions let me know
LinuxGamesTV Sep 26, 2015
???

You need only 3 tools:

nvidia-settings --> X Server Display Configuration
systemsttings (KDE5) --> Display and Monitor
systemsttings (KDE5) --> Window Management --> window rules
and maybe Kwrite/kate for the /etc/xorg.conf

I have:
opensuse Tumbleweed
GeForce GTX 760
KDE Plasma 5

2 Displays.

If you need help, i try to help you.
But forgive me, my English is not the best. German is my native language.
wolfyrion Sep 26, 2015
I dont have any problems just posting some tweaks for Nvidia cards..
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.