I noticed that when using no xorg.conf, X was using less memory then when using 
my xorg.conf.
After some searching, and comparing logs I noticed X is having some defaults 
built in, which are used always; with or without xorg.conf.
After disabling those lines in my xorg.conf X was using two megabytes less, 
with still the same paths and modules loaded: 

Section "Files"
        # RgbPath      "/usr/X11R6/share/X11/rgb"
        # ModulePath   "/usr/X11R6/lib/modules"
        # FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        # FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        # FontPath     "/usr/X11R6/lib/X11/fonts/OTF"
        # FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        # FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        # FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
EndSection

Section "Module"
        # Load "extmod"
        # Load "dbe"
        # Load "glx"
        # Load "freetype"
        # Load "type1"
        # Load "record"
        # Load "dri"
EndSection

I guess it would be better when X was not using these defaults when the 
configuration file is used.
It seems that mentioned modules are loaded always, even when not mentioned in 
xorg.conf.
And worser, when mentioned (same for path), X is using 19M instead of 17M here 
with same functionality.....

Btw, using snap from the 22th of january here.

Jan

Reply via email to