分页: 1 / 1

使用其他桌面的分辨率和黑屏问题

发表于 : 2005-09-26 11:20
smallwolf
fvwm,icewm,xfce4都用了,分辨率都是1024x768,不知道哪里可以改成800x600,xorg.conf里,我把1024的部分都去掉了,还是不行。

还有使用这几个管理器时,进入后都出现黑屏现象,过了一会,恢复过来,一会又黑了。

我的xorg.conf

代码: 全选


Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
#	FontPath	"/home/guest/.fonts/"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

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

Section "Device"
	Identifier	"Intel Corporation 82810 CGC [Chipset Graphics Controller]"
	Driver		"i810"
	BusID		"PCI:0:1:0"
EndSection

Section "Monitor"
	Identifier	"LXH-P556"
	Option		"DPMS"
	HorizSync	30-54
	VertRefresh	50-120
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation 82810 CGC [Chipset Graphics Controller]"
	Monitor		"LXH-P556"
	DefaultDepth	24
	Modes		"800x600"
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
谢谢!

发表于 : 2005-09-26 17:57
yongyi
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection

这部分没有的吗?

发表于 : 2005-09-26 19:57
smallwolf
o

那部分被我删掉了 因为之前黑屏加上1024解决不了,我就把那个删掉看能不能解决,结果问题依旧。

没删除之前也是一样的问题。

发表于 : 2005-09-27 10:37
smallwolf
我最新改的部分:

代码: 全选

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

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

Section "Device"
	Identifier	"Intel Corporation 82810 CGC [Chipset Graphics Controller]"
	Driver		"i810"
	BusID		"PCI:0:1:0"
EndSection

Section "Monitor"
	Identifier	"LXH-P556"
	# 800x600 @ 85.00 Hz (GTF) hsync: 53.55 kHz; pclk: 56.55 MHz
	Modeline "800x600_85.00"  56.55  800 840 928 1056  600 601 604 630  -HSync +Vsync
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation 82810 CGC [Chipset Graphics Controller]"
	Monitor		"LXH-P556"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
这样还是无法解决问题。

现在看来分辨率已经不重要了,不断的黑屏是我无法使用其他桌面的根本啊,一直也无法发现问题所在。

难道其他桌面不调用xorg.conf这个文件吗?

我比较了gnome和其他桌面,重要的不同基本都在~里,可也找不出什么不同能让屏幕出现黑屏啊 :(

我在找找看,大家也帮帮我啊!

谢谢!

发表于 : 2005-09-27 12:13
yongyi

代码: 全选

   SubSection "Display"
      Depth      24
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
EndSection 
删除"1024x768",改为:

代码: 全选


Section "Files"
   FontPath   "unix/:7100"         # local font server
   # if the local font server has problems, we can fall back on these
   FontPath   "/usr/lib/X11/fonts/misc"
   FontPath   "/usr/lib/X11/fonts/cyrillic"
   FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/lib/X11/fonts/Type1"
   FontPath   "/usr/lib/X11/fonts/CID"
   FontPath   "/usr/lib/X11/fonts/100dpi"
   FontPath   "/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
   FontPath   "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
   Load   "bitmap"
   Load   "dbe"
   Load   "ddc"
   Load   "dri"
   Load   "extmod"
   Load   "freetype"
   Load   "glx"
   Load   "int10"
   Load   "record"
   Load   "type1"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "keyboard"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"
EndSection

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

Section "Device"
   Identifier   "Intel Corporation 82810 CGC [Chipset Graphics Controller]"
   Driver      "i810"
   BusID      "PCI:0:1:0"
EndSection

Section "Monitor"
   Identifier   "LXH-P556"
   # 800x600 @ 85.00 Hz (GTF) hsync: 53.55 kHz; pclk: 56.55 MHz
   Modeline "800x600_85.00"  56.55  800 840 928 1056  600 601 604 630  -HSync +Vsync
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Intel Corporation 82810 CGC [Chipset Graphics Controller]"
   Monitor      "LXH-P556"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768" "800x600" "720x400" "640x480" "640x350"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "800x600" "720x400" "640x480" "640x350"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
EndSection

Section "DRI"
   Mode   0666
EndSection 

发表于 : 2005-09-27 13:12
smallwolf
谢谢yongyi

我去试试

发表于 : 2005-09-27 13:25
smallwolf
哈哈,真不容易啊

感谢感谢!

终于不黑屏了,终于变成800x600了

这回可以好好弄这个了

:bow

xorg.conf在哪个文件夹下?

发表于 : 2005-11-08 21:50
gqcheng
如题,谢谢!

发表于 : 2005-11-08 21:54
yonsan
/etc/X11/xorg.conf