Nowe posty

Autor Wątek: xorg  (Przeczytany 4271 razy)

chomik24

  • Gość
xorg
« dnia: 2008-07-27, 15:33:20 »
witam postanowiłem stworzyć nowego xorga ponieważ klawiatura mi nie działała poprawnie
a wiec utorzyłem nowy plik na pulpicie skopiowałem tam to co było w pliku w katalogu /root/xorg.conf.new
oraz na samym koncu wkleiłem to co było w etc/x11/xorg

wiec uruchamiam koppixa no i probowałem plik podmienić nic no to w konoli sprobowałem nadpisać przez nano nic pisze ze partycja tylko do odczytu!!! jak to zminic noppix miał być do naprawiania systemu!!!!!fuck dobra wkoncu przypomniałem osbie że mam jeszcze ogołoconyt plik w  /root/ wiec  uruchomiłem system od nowa no i konsola no to w niej su , nano /root/xorg.con.new
i zapisałem do /etc/x11/xorg.conf no i działa tylko dalej klawiatura mi nie działa

zapodam teraz 2 pliki

xorg.conf.new z /root/

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

Section "Files"
RgbPath      "/etc/X11/rgb"
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     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load  "extmod"
Load  "dbe"
Load  "dri"
Load  "glx"
Load  "record"
Load  "xtrap"
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"
#DisplaySize  340   270 # mm
Identifier   "Monitor0"
VendorName   "PHL"
ModelName    "Philips 170S"
 ### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync    30.0 - 83.0
VertRefresh  56.0 - 76.0
Option    "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: : integer, : float, : "True"/"False",
        ### : "String", : " Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           # []
        #Option     "HWcursor"           # []
        #Option     "NoAccel"             # []
        #Option     "ShadowFB"           # []
        #Option     "UseFBDev"           # []
        #Option     "Rotate"             # []
        #Option     "VideoKey"           #
        #Option     "FlatPanel"           # []
        #Option     "FPDither"           # []
        #Option     "CrtcNumber"         #
        #Option     "FPScale"             # []
        #Option     "FPTweak"             #
        #Option     "DualHead"           # []
Identifier  "Card0"
Driver      "nv"
VendorName  "nVidia Corporation"
BoardName   "G70 [GeForce 7600 GS]"
BusID       "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
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
i /etc/x11/xorg

wiem wiem wiem że popełniłem błąd powinienem tam zamiast /etc/x11/xorg.conf dać to co jest w środku tego wygenerowanego ale nawet nie mogłem podminić pliku !!!!!!!!
włączyłem kompa a tu konsola wiec zrbiłem to co wcześniej napisałem

a wiec to jest
/etc/X11/xorg.conf.2434 ileś  tam

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

Section "Files"
    RgbPath      "/etc/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/X11/misc"
    FontPath "/usr/share/fonts/X11/100dpi:unscaled"
    FontPath "/usr/share/fonts/X11/75dpi:unscaled"
    FontPath "/usr/share/fonts/X11/Type1"
    FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath "/usr/local/share/fonts"
EndSection

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

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "XkbRules"    "xorg"
    Option      "XkbModel"    "pc105"
    Option      "XkbLayout"    "pl"
    Option      "XkbOptions"    "lv3:ralt_switch"
EndSection

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

Section "Monitor"
    #DisplaySize      340   270    # mm
    Identifier   "Monitor0"
    VendorName   "PHL"
    ModelName    "Philips 170S"
 ### Comment all HorizSync and VertRefresh values to use DDC:
    HorizSync    30.0 - 83.0
    VertRefresh  56.0 - 76.0
    Option        "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: : integer, : float, : "True"/"False",
        ### : "String", : " Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"               # []
        #Option     "HWcursor"               # []
        #Option     "NoAccel"                # []
        #Option     "ShadowFB"               # []
        #Option     "UseFBDev"               # []
        #Option     "Rotate"                 # []
        #Option     "VideoKey"               #
        #Option     "FlatPanel"              # []
        #Option     "FPDither"               # []
        #Option     "CrtcNumber"             #
        #Option     "FPScale"                # []
        #Option     "FPTweak"                #
        #Option     "DualHead"               # []
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "G70 [GeForce 7600 GS]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    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
wytłumaczy mi ktoś jak to zcalić w całość aby działało bo chciałem jeszcze beryla zainstalować oraz zmienić rozdzielczość na 1280x1024@60GHz bo jak włanczam gry to mi pokazuje się czarny ekran i
intput to 1280x1024@60ghz
czasem nawet mam to podczas uruchamiania systemu no i wtedy tylko restart

pozdrawiam przepraszam ze tak dziwnie napisałem ale jestem poddenerwowany.

P>S
na knoppixie nie mogłem nawet na neta wejść a to juz lekka przesadza wiem ze trzeba skonfigurowac bawiłem się 10 min i nic

kapron

  • Gość
xorg
« Odpowiedź #1 dnia: 2008-07-27, 15:46:44 »
Cytat: chomik24
wytłumaczy mi ktoś jak to zcalić w całość aby działało bo chciałem jeszcze beryla zainstalować oraz zmienić rozdzielczość na 1280x1024@60GHz bo jak włanczam gry to mi pokazuje się czarny ekran i
ciężko będzie z tymi gigahercami ;p no ale domyślam się, że o Hz mimo wszystko jednak chodzi.
spróbuj ustawić na sztywno: VertRefresh: 60.0 w sekcji Monitor. a w sekcji Screen:
option "metamodes" "1280x1024_60 +0+0" (podobny wpis mam u siebie). btw: jesteś pewien, że karta i monitor obsłużą Ci taką rozdzielczość?

chomik24

  • Gość
xorg
« Odpowiedź #2 dnia: 2008-07-27, 16:22:40 »
geforce 7600 gs
mam taką
ale najpierw pomóż mi zcalić tego xorga

kapron

  • Gość
xorg
« Odpowiedź #3 dnia: 2008-07-27, 18:13:58 »
ja mam gf 8400gs

probowałeś odpalić nvidia-settings? (zainstaluj jeśli nie masz) możesz tam poustawiać parę rzeczy i później zostaną wygenerowane wpisy, które mózna albo dopisać do istniejącego xorga albo zostanie wygenerowany nowy (stary zostanie zachowany pod jakąś inną nazwą, więc zawsze możesz wrócić)

co do scalenia plików:
oba xorgi różnią się tylko sekcjami Files i Module:
w pierwszym xorgu jest o jeden wpis więcej w Files
FontPath     "/usr/share/fonts/X11/cyrillic"
a o jeden wpis mniej w sekcji Module:
Load "freetype"
zatem wystarczy dodać tę jedną linijkę do xorg.conf.new z /root/ i będziesz miał je scalone. ale czy to coś pomoże to nie wiem.
aha, i w sekcji dot. karty graficznej (Device) ustawiłbym
Driver "nvidia"

chomik24

  • Gość
xorg
« Odpowiedź #4 dnia: 2008-07-27, 18:39:57 »
czyli takiego mogę juz skopojnie wrzucić ?

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

Section "Files"
RgbPath      "/etc/X11/rgb"
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     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load  "extmod"
Load  "dbe"
Load  "dri"
Load  "glx"
Load  "record"
Load  "xtrap"
        Load "freetype"
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"
#DisplaySize  340   270 # mm
Identifier   "Monitor0"
VendorName   "PHL"
ModelName    "Philips 170S"
 ### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync    30.0 - 83.0
VertRefresh  56.0 - 76.0
Option    "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: : integer, : float, : "True"/"False",
        ### : "String", : " Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           # []
        #Option     "HWcursor"           # []
        #Option     "NoAccel"             # []
        #Option     "ShadowFB"           # []
        #Option     "UseFBDev"           # []
        #Option     "Rotate"             # []
        #Option     "VideoKey"           #
        #Option     "FlatPanel"           # []
        #Option     "FPDither"           # []
        #Option     "CrtcNumber"         #
        #Option     "FPScale"             # []
        #Option     "FPTweak"             #
        #Option     "DualHead"           # []
Identifier  "Card0"
Driver      "nvidia"
VendorName  "nVidia Corporation"
BoardName   "G70 [GeForce 7600 GS]"
BusID       "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
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

kapron

  • Gość
xorg
« Odpowiedź #5 dnia: 2008-07-27, 18:41:52 »
myślę, że tak. ale w razie czego zostaw starego xorga ;) przezorny zawsze ubezpieczony. jak coś nie będzie kminić to będziemy dalej kombinować.

chomik24

  • Gość
xorg
« Odpowiedź #6 dnia: 2008-07-27, 19:23:00 »
ok wszystko gra

dziękuje pozdrawiam