Ma

Tematy związane z oprogramowaniem, instalacją, konfiguracją
pietreXtreme
Posty: 7
Rejestracja: 20 lutego 2009, 12:49

Post autor: pietreXtreme »

Udało mi się skopiować xorga. Uruchomiło mi się w dobrej rozdzielczości. Tak czasem mój komputer ma. Ale następnym razem pewnie już się nie uruchomi dobrze. Ale mam xorga. Nie wiem czy to dobrze skopiowałem, ale wrzucę.

Kod: Zaznacz cały

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"pl"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
EndSection
maly
Beginner
Posty: 289
Rejestracja: 03 lipca 2007, 14:52

Post autor: maly »

Trzeci post od góry, tam masz podane rozwiązanie jak poprawnie wygenerować xorg.conf
pietreXtreme
Posty: 7
Rejestracja: 20 lutego 2009, 12:49

Post autor: pietreXtreme »

Przepraszam, robiłem na szybko i zapomniałem o tym. Ale chyba udało mi się to skonfigurować. Tzn. przez trzy kolejne uruchomienia działało. Potem zainstalowałem sterowniki ze strony ATI i monitor nie startuje. Podobnie miałem w K/Ubuntu. Chciałem skonfigurować xorga, wyłączyłem powłokę Ctrl+Alt+F2, zalogowałem się na konto roota i wydałem polecenie:

Kod: Zaznacz cały

dpkg-reconfigure xserver-xorg
ale nic to nie dało. Chyba uszkodziłem KDE.
Chyba moja karta obsługuje tylko sterowniki systemowe. No cóż, poddaje się.

[ Dodano: 2009-02-21, 11:25 ]
Ok. Chyba udalo mi sie wygenerowac xorga.. :/

Kod: Zaznacz cały

 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  "glx"
	Load  "GLcore"
	Load  "xtrap"
	Load  "record"
	Load  "dri"
	Load  "dbe"
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   "Monitor Vendor"
	ModelName    "Monitor Model"
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     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "BusType"            	# [<str>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# [i]
        #Option     "AGPMode"            	# [i]
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# [i]
        #Option     "GARTSize"           	# [i]
        #Option     "RingSize"           	# [i]
        #Option     "BufferSize"         	# [i]
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "DMAForXv"           	# [<bool>]
        #Option     "FBTexPercent"       	# [i]
        #Option     "DepthBits"          	# [i]
        #Option     "PCIAPERSize"        	# [i]
        #Option     "AccelDFS"           	# [<bool>]
        #Option     "DDCMode"            	# [<bool>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "VideoKey"           	# [i]
        #Option     "RageTheatreCrystal" 	# [i]
        #Option     "RageTheatreTunerPort" 	# [i]
        #Option     "RageTheatreCompositePort" 	# [i]
        #Option     "RageTheatreSVideoPort" 	# [i]
        #Option     "TunerType"          	# [i]
        #Option     "RageTheatreMicrocPath" 	# <str>
        #Option     "RageTheatreMicrocType" 	# <str>
        #Option     "ScalerWidth"        	# [i]
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "DynamicClocks"      	# [<bool>]
        #Option     "VGAAccess"          	# [<bool>]
        #Option     "ReverseDDC"         	# [<bool>]
        #Option     "LVDSProbePLL"       	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "DRI"                	# [<bool>]
        #Option     "ConnectorTable"     	# <str>
        #Option     "DefaultConnectorTable" 	# [<bool>]
        #Option     "DefaultTMDSPLL"     	# [<bool>]
        #Option     "TVDACLoadDetect"    	# [<bool>]
        #Option     "ForceTVOut"         	# [<bool>]
        #Option     "TVStandard"         	# <str>
        #Option     "IgnoreLidStatus"    	# [<bool>]
        #Option     "DefaultTVDACAdj"    	# [<bool>]
        #Option     "Int10"              	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV350 AP [Radeon 9600]"
	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

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"pl"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Option		"UseFBDev"		"true"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
EndSection
maly
Beginner
Posty: 289
Rejestracja: 03 lipca 2007, 14:52

Post autor: maly »

Masz sklejone dwa pliki konfiguracyjne xorg.conf w jednym. Tak mniej więcej właśnie powinien wyglądać. Wyrzuć nie potrzebną część.

Kod: Zaznacz cały

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  "glx"
    Load  "GLcore"
    Load  "xtrap"
    Load  "record"
    Load  "dri"
    Load  "dbe"
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   "Monitor Vendor"
    ModelName    "Monitor Model"
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     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "Dac8Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "CPPIOMode"              # [<bool>]
        #Option     "CPusecTimeout"          # [i]
        #Option     "AGPMode"                # [i]
        #Option     "AGPFastWrite"           # [<bool>]
        #Option     "AGPSize"                # [i]
        #Option     "GARTSize"               # [i]
        #Option     "RingSize"               # [i]
        #Option     "BufferSize"             # [i]
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "NoBackBuffer"           # [<bool>]
        #Option     "DMAForXv"               # [<bool>]
        #Option     "FBTexPercent"           # [i]
        #Option     "DepthBits"              # [i]
        #Option     "PCIAPERSize"            # [i]
        #Option     "AccelDFS"               # [<bool>]
        #Option     "DDCMode"                # [<bool>]
        #Option     "IgnoreEDID"             # [<bool>]
        #Option     "DisplayPriority"        # [<str>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForceMinDotClock"       # <freq>
        #Option     "ColorTiling"            # [<bool>]
        #Option     "VideoKey"               # [i]
        #Option     "RageTheatreCrystal"     # [i]
        #Option     "RageTheatreTunerPort"     # [i]
        #Option     "RageTheatreCompositePort"     # [i]
        #Option     "RageTheatreSVideoPort"     # [i]
        #Option     "TunerType"              # [i]
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"            # [i]
        #Option     "RenderAccel"            # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "DynamicClocks"          # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "DRI"                    # [<bool>]
        #Option     "ConnectorTable"         # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"         # [<bool>]
        #Option     "TVDACLoadDetect"        # [<bool>]
        #Option     "ForceTVOut"             # [<bool>]
        #Option     "TVStandard"             # <str>
        #Option     "IgnoreLidStatus"        # [<bool>]
        #Option     "DefaultTVDACAdj"        # [<bool>]
        #Option     "Int10"                  # [<bool>]
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV350 AP [Radeon 9600]"
    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
pietreXtreme
Posty: 7
Rejestracja: 20 lutego 2009, 12:49

Post autor: pietreXtreme »

Uzupełniamy plik xorg.conf.new brakującym wpisem. Zmieniamy jego nazwę na xorg.conf i kompletny kopiujemy do /etc/X11/.
Myślałem, że to w tym drugim trzeba uzupełnić. To w takim razie mam tu coś dopisywać czy nie?

Te rozdzielczości?

Kod: Zaznacz cały

Section "Screen" 
Identifier "Default Screen" 
Device "ATI Technologies Inc RV350 AS [Radeon 9550]" 
Monitor "Generic Monitor" 
DefaultDepth 24 
SubSection "Display" 
Depth 1 
Modes "1280x1024" "1024x768" "800x600" "640x480" 
EndSubSection 
SubSection "Display" 
Depth 4 
Modes "1280x1024" "1024x768" "800x600" "640x480" 
EndSubSection 
SubSection "Display" 
Depth 8 
Modes "1280x1024" "1024x768" "800x600" "640x480" 
EndSubSection 
SubSection "Display" 
Depth 15 
Modes "1280x1024" "1024x768" "800x600" "640x480" 
EndSubSection 
SubSection "Display" 
Depth 16 
Modes "1280x1024" "1024x768" "800x600" "640x480" 
EndSubSection 
SubSection "Display" 
Depth 24 
Modes "1280x1024" "1024x768" "800x600" "640x480" 
EndSubSection 
EndSection
maly
Beginner
Posty: 289
Rejestracja: 03 lipca 2007, 14:52

Post autor: maly »

Nowo wygenerowany xorg.conf powinien być kompletny. Czasami źle jest generowana sekcja odnosząca się do klawiatury, sprawdź czy działają polskie znaki. Sprawdź jaki będzie efekt, możesz się pobawić i rozdzielczością jeśli z nią coś nie tak ;-)
ODPOWIEDZ