Page 1 of 1

[SOLVED]Jak wygenerowac xorg.conf dla nvidia

Posted: Sat Feb 11, 2006 10:47 am
by sebad
Wczoraj przesiadlem siez Radeona 9550 na GeForce'a 6600. Moje pytanie brzmi. Jak wygenerowac poprawny xorg.conf dla mojej karty. Zemergowalem najnowsze stery z portage. Jak wiemy stery ati posiadaja do tego stosowne narzedzie (fglrxconfig). Moze po prostu skopiowac pierwszy lepszy config z forum i zmodyfikowac go wg. wlasnych upodoban. Uzylem standardowego narzenia dla X'ow tj. Xorg -configure. Kde sie uruchomilo ,ale obraz byl bardzo rozmyty i nie dzialala akceleracja. I jeszcze jedno. Czy jak skopiuje dobrze skonfigurowany xorg.conf od posiadacza np. GeForce 4MX to u mnie bedzie dzialac jak nalezy (oczywiwscie zmodyfikowany wg. potrzeb)? Z gory dzieki.

Posted: Sat Feb 11, 2006 10:58 am
by Kajan
Mozesz skorzystac z mojego mam GeForce 6600:

Code: Select all

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

Section "Files"
    RgbPath      "/usr/lib/X11/rgb"
    ModulePath   "/usr/lib/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/local/share/fonts"
    FontPath     "/usr/share/fonts"
    FontPath     "/usr/share/fonts"
    FontPath     "/usr/share/fonts/cyrillic"
    FontPath     "/usr/share/fonts/default"
    FontPath     "/usr/share/fonts/local"
    FontPath     "/usr/share/fonts/ukr"
EndSection

Section "Module"
    Load  "extmod"
    Load  "dbe"
    Load  "record"
    Load  "xtrap"
    Load  "glx"
    Load  "type1"
    Load  "freetype"
EndSection

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

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Buttons"  "5"
    Option        "Protocol" "ImPS/2"
    Option        "Device" "/dev/input/mouse0"
    Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"

    Option        "XkbModel" "pc101"
    Option        "XkbLayout" "pl"
EndSection

Section "Monitor"

    #DisplaySize      250   190    # mm
    Identifier   "Monitor0"
    VendorName   "LG Flatron"
    ModelName    "1717S"
    HorizSync    30 - 83
    VertRefresh  56 - 75
    Option        "DPMS"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "HWcursor"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "UseFBDev"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoKey"               # <i>
        #Option     "FlatPanel"              # [<bool>]
        #Option     "FPDither"               # [<bool>]
        #Option     "CrtcNumber"             # <i>
        #Option     "FPScale"                # [<bool>]
        #Option     "FPTweak"                # <i>
    Option "NvAGP" "1"
    Option "NoLogo"
    Option "DigitalVibrace" "2"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "NV17 [GeForce 6600]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    DefaultDepth 24
    Monitor "Monitor0"
    SubSection "Display"
        Viewport 0 0
        Depth    24
        Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
Jedna z wazniejszych spraw to dodanie do Section Module "Load glx" a usuniecie "Load dri" pozatym w Section Device musi byc Driver "nvidia".
Na takiej konfiguracji jaka ci przedstawilem jest wszystko OK i takie gry jak Quake3,4, Doom3, jest wysmienicie.


Pozdro

Posted: Sat Feb 11, 2006 10:59 am
by Ratman

Posted: Sat Feb 11, 2006 4:25 pm
by sebad
Wielkie dzieki Kajan. Dziala rewelacyjnie :D

Posted: Sun Feb 12, 2006 12:58 am
by BeteNoire
To że działa nie znaczy że masz nie umieć go wygenerować.
Ze swojej strony polecam:

Code: Select all

/usr/bin/X -configure
oczywiście obecne w dokumentacji, której nie czytasz :/