[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#604915: xorg.conf not working



Package: upgrade-reports

After upgrading from lenny to squeeze, X-Windows didn't start anymore.
The error was "No screens found."
I solved this issue by some little changes in xorg.conf. But I don't
see why my changes should be relevant.
xorg.conf is the new config
xorg.conf.20100123 is the config from lenny.

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	#Load	"dbe"
	#Load	"type1"
	Load	"int10"
	Load	"vbe"
	Load	"GLcore"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	#Option		"XkbVariant"	"nodeadkeys"
EndSection

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

Section "Device"
	#Identifier	"nVidia Corporation NV43 [GeForce 6600 PCIe]-1"
	Identifier	"nvidia0"
	Driver		"nvidia"
	#Driver		"nv"
	BusID		"PCI:1:0:0"
	Option		"NoLogo"	"true"
	Option		"CursorShadow"	"true"
	#Option		"HWCursor"	"false"
	#Option		"SWCursor"	"true"
	#Option		"NoAccel"	"true"
	Screen	0
EndSection

Section "Device"
	#Identifier	"nVidia Corporation NV43 [GeForce 6600 PCIe]-2"
	Identifier	"nvidia1"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
	Option		"NoLogo"	"true"
	Option		"CursorShadow"	"true"
	#Option		"HWCursor"	"false"
	#Option		"SWCursor"	"true"
	#Option		"NoAccel"	"true"
	Screen	1
EndSection

Section "Monitor"
	Identifier	"L17GM-0"
	#Option		"DPMS"
	HorizSync       30.0 - 70.0
	VertRefresh     50.0 - 160.0
EndSection

Section "Monitor"
	Identifier	"L17GM-1"
	#Option		"DPMS"
	HorizSync       30.0 - 70.0
	VertRefresh     50.0 - 160.0
EndSection

Section "Screen"
	Identifier	"Screen0"
	#Device		"nVidia Corporation NV43 [GeForce 6600 PCIe]-1"
	Device		"nvidia0"
	Monitor		"L17GM-0"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen1"
	#Device		"nVidia Corporation NV43 [GeForce 6600 PCIe]-2"
	Device		"nvidia1"
	Monitor		"L17GM-1"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen	0	"Screen0"
	Screen	1	"Screen1" LeftOf "Screen0"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	Option		"xinerama"	"on"
EndSection

#Section "ServerLayout"
#    Screen 0       "Left Screen"
#    Screen 1       "Right Screen" LeftOf "Left Screen"
#    Option         "xinerama" "on"
#    InputDevice    "Mouse1" "CorePointer"
#    InputDevice    "Keyboard1" "CoreKeyboard"
#EndSection


Section "DRI"
	Mode	0666
EndSection

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/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 "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	#Load	"dbe"
	#Load	"type1"
	Load	"int10"
	Load	"vbe"
	Load	"GLcore"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	#Option		"XkbVariant"	"nodeadkeys"
EndSection

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

Section "Device"
	Identifier	"nVidia Corporation NV43 [GeForce 6600 PCIe]-1"
	Driver		"nvidia"
	#Driver		"nv"
	BusID		"PCI:1:0:0"
	Option		"NoLogo"	"true"
	Option		"CursorShadow"	"true"
	#Option		"HWCursor"	"false"
	#Option		"SWCursor"	"true"
	#Option		"NoAccel"	"true"
	Screen	0
EndSection

Section "Device"
	Identifier	"nVidia Corporation NV43 [GeForce 6600 PCIe]-2"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
	Option		"NoLogo"	"true"
	Option		"CursorShadow"	"true"
	#Option		"HWCursor"	"false"
	#Option		"SWCursor"	"true"
	#Option		"NoAccel"	"true"
	Screen	1
EndSection

Section "Monitor"
	Identifier	"L17GM-1"
	#Option		"DPMS"
	HorizSync       30.0 - 70.0
	VertRefresh     50.0 - 160.0
EndSection

Section "Monitor"
	Identifier	"L17GM-2"
	#Option		"DPMS"
	HorizSync       30.0 - 70.0
	VertRefresh     50.0 - 160.0
EndSection

Section "Screen"
	Identifier	"Screen1"
	Device		"nVidia Corporation NV43 [GeForce 6600 PCIe]-1"
	Monitor		"L17GM-1"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen2"
	Device		"nVidia Corporation NV43 [GeForce 6600 PCIe]-2"
	Monitor		"L17GM-2"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen	0	"Screen2"
	Screen	1	"Screen1" LeftOf "Screen2"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	Option		"xinerama"	"on"
EndSection

#Section "ServerLayout"
#    Screen 0       "Left Screen"
#    Screen 1       "Right Screen" LeftOf "Left Screen"
#    Option         "xinerama" "on"
#    InputDevice    "Mouse1" "CorePointer"
#    InputDevice    "Keyboard1" "CoreKeyboard"
#EndSection


Section "DRI"
	Mode	0666
EndSection


Reply to: