Jump to content

twój xorg.conf gwoli optymalizacjii


MilczarskiVon
 Share

Recommended Posts

Gratulacja dla modów kasujących ten post. Otóż stoję na stanowisku że podstawą optymalizacjii Linuxa jest xorg...bo wszystko przechodzi przez chip graficzny. Dlatego wklejajcie swoje xorgi żeby userzy mieli możliwość jego tweakowania ...

 

ps

 

co myślicie o takim hardeningu

 

 

Quote

chown nazwa konta /etc/X11/xorg.conf

Quote

poniżej mój xorg który nie jest do końca ztweakowany jeszcze wklepie device dla integry obok GT218 TESLA ...

Quote

 

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen     13  "Screen13" RightOf "Screen12"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "built-ins"
EndSection

Section "Module"
Load  "glx"
Load "dbe"
Load "drm"
Load "extmod"
Load "freetype"
Load "GLcore"


EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "AGNeovo"
    ModelName    "L-W24"
EndSection

Section "Monitor"
    Identifier   "Monitor13"
    VendorName   "AGNeovo"
    ModelName    "L-W24"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "HWcursor"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "VideoKey"               # <i>
        #Option     "WrappedFB"              # [<bool>]
        #Option     "GLXVBlank"              # [<bool>]
        #Option     "ZaphodHeads"            # <str>
        #Option     "PageFlip"               # [<bool>]
        #Option     "SwapLimit"              # <i>
        #Option     "AsyncUTSDFS"            # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "DRI"                    # <i>
    Identifier  "GT218"
    Driver      "nouveau"
    BusID       "PCI:1:0:0"
Option     "ShadowFB" "1"
#Option     "DRI" "    "True"


EndSection

Section "Device"
Identifier "rs780"
Driver "amdgpu"
BusID       "PCI:00:00.0"


EndSection

Section "Device"
Identifier "rs780"
Driver "amdgpu"
BusID       "PCI:00:02.0"


EndSection
Section "Device"
Identifier "rs880"
Driver "amdgpu"
BusID       "PCI:00:05.0"

 

EndSection
Section "Device"
Identifier "rs780"
Driver "amdgpu"
BusID       "PCI:00:06"


EndSection

 

Section "Screen"
    Identifier "Screen0"
    Device     "GT218"
    Monitor    "AGNeovo"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection


Section "Screen"
    Identifier "Screen13"
#    Device     "Card13"
    Device     "GT218"
    Monitor    "AGNeovo"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

 

 

 

 

 

może ktoś umie podać jak szybko zkompilować nouve

 

Link to comment
Share on other sites

Jeszcze pamiętam ten wykres: stosunek zadowolenia z życia do częstotliwości konfiguracji xorg. Kiedyś bardzo tam cudowałem, nawet ustawiłem gumkę w tablecie graficznym jako pisak na drugim monitorze. Teraz nie zaglądam, dopóki nie muszę. Gratuluję wytrwałości.

Link to comment
Share on other sites

W dniu 11.09.2022 o 18:31, MilczarskiVon napisał:

Gratulacja dla modów kasujących ten post.

dziękować w imieniu modów : )
a tak na poważne to mechanizmy dostarczane natywnie z silnikiem forum, reagują na próbę wstrzyknięcia kodu, niestety z tego co wiem to nie da się ich wyłączyć.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...