Xorg.conf i sterowniki intela GM965/GL960

Zagadnienia dotyczące menadżerów okien, środowisk graficznych - X, KDE, GNOME, Fluxbox, XFCE., Compiz itp.
Lukaszzenko
Posty: 3
Rejestracja: 01 lutego 2008, 18:07

Xorg.conf i sterowniki intela GM965/GL960

Post autor: Lukaszzenko »

Przez pół dnia męczę się z konfiguracją xorga.

startx zwraca:

Kod: Zaznacz cały

(EE) [drm] drmOpen failed.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
(**) intel(0): Framebuffer compression disabled
(**) intel(0): Tiling enabled
(==) intel(0): VideoRam: 7676 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(WW) intel(0): Failed to allocate EXA offscreen memory.
(II) intel(0): Tiled allocation failed.
(II) intel(0): Attempting memory allocation with untiled buffers.
(WW) intel(0): Failed to allocate EXA offscreen memory.
(II) intel(0): Untiled allocation failed.
(EE) intel(0): Couldn't allocate video memory

Fatal server error:
AddScreen/ScreenInit failed for driver 0
Mój plik xorg.conf utworzony przez polecenie "Xorg -config":

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  "xtrap"
	Load  "dri"
	Load  "record"
	Load  "GLcore"
	Load  "dbe"
	Load  "extmod"
	Load  "glx"
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	  300   190	# mm
	Identifier   "Monitor0"
	VendorName   "AUO"
	ModelName    "4344"
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     "ColorKey"           	# [i]
        #Option     "CacheLines"         	# [i]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# [i]
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
	BusID       "PCI:0:2: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
Dodam, że polecenie dpkg-reconfigure xserver-xorg zajmuje się tylko konfiguracją klawiatury i tworzy taki pilk xorg.conf:

Kod: Zaznacz cały

ection "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	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
Z góry dziękuję za pomoc.
Awatar użytkownika
iria
Junior Member
Posty: 941
Rejestracja: 04 czerwca 2007, 18:54

Post autor: iria »

Przydałoby się troche informacji, jak np. która wersja Debiana?

Tu masz mój xorg:

Kod: Zaznacz cały

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

Section "InputDevice"
	Identifier	              "Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
EndSection

Section "InputDevice"
	Identifier	              "Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	              "Intel Corporation Mobile Express Integrated Graphics Controller"
	Driver		"intel"
	Option      	"DRI"	"true"
	Option		"UseFBDev"	"true"
	Option		"ExaNoComposite"	"false"
	Option 		"AccelMethod" 		"exa"
	Option		"MigrationHeuristic" 	"greedy"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	              "Default Screen"
	Monitor		"Generic Monitor"
EndSection

Section "ServerLayout"
	Identifier	              "Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad
EndSection
Sprawdź czy masz zainstalowane:
  • xserver-xorg-video-intel
    mesa-utils
    libgl1-mesa-dri
giaur
Member
Posty: 1915
Rejestracja: 25 maja 2007, 22:16

Post autor: giaur »

Dodam, że polecenie dpkg-reconfigure xserver-xorg zajmuje się tylko konfiguracją klawiatury
A sprawdziles czy to nie wystarcza? Z doswiadczenia wiem ze taki xorg.conf jest przewaznie wystarczajacy - reszta informacji nie jest obowiazkowa.

Na moim kompie w pracy dziala wszystko z takim minimalnym xorg.conf (karta Intel82865G, zintegrowana).
badgerman
Posty: 12
Rejestracja: 29 czerwca 2008, 13:12
Lokalizacja: Police

Post autor: badgerman »

To jak wtedy zmienić rozdzielczość?

U mnie jest bardzo podobny problem - reconfigure pyta tylko o klawiaturę, wpisywanie różnych rzeczy w xorg.conf nie pozwala włączyć nic więcej ponad 800x600.
raggo82
Posty: 94
Rejestracja: 12 lutego 2008, 20:44

Post autor: raggo82 »

może to pomoże ; spróbuj w ten sposób skonfigurować xorga.

Pzdr
chmurli
Posty: 16
Rejestracja: 08 lutego 2008, 20:41
Lokalizacja: Gieschewald

Post autor: chmurli »

Mam taki problem: w moich repozytoriach nie ma pakietu libgl1-mesa-dri.
Mam Sida i chyba przez to nie mam pełnej akceleracji. Proszę o pomoc.
Awatar użytkownika
iria
Junior Member
Posty: 941
Rejestracja: 04 czerwca 2007, 18:54

Post autor: iria »

Tak, bez tego pakietu nie będziesz miał akceleracji.

Musisz mieć namieszane w sources.list, bo ten pakiet jest w repo.

Dowód

Możesz sobie go stąd pobrać.
ODPOWIEDZ