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

Re: Strange X phenomen since upgrade to X-org



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John W. Foster wrote:
> On Sunday 01 April 2007 11:35, Andrei Popescu wrote:
>> "John W. Foster" <johnwfoster@verizon.net> wrote:
>>> restarting the xserver. Due to my lack of experience with xorg I need
>>> a little help. Thanks!!!
>> The only general option I recall (though I don't know if it applies to
>> switching to console) has something to do with using framebuffer when
>> changing resolutions. Run dpkg-reconfigure xorg.conf to set this.
>>
>> Otherwise more info is necessary (video card, xorg.conf, ...) to even
>> try diagnosing ...
>>
>> Regards,
>> Andrei
> -------------------------------------------------------------------
> xorg.conf is below:
> 
> # /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	"bitmap"
> 	Load	"ddc"
> 	Load	"dri"
> 	Load	"extmod"
> 	Load	"freetype"
> 	Load	"glx"
> 	Load	"int10"
> 	Load	"vbe"
> EndSection
> 
> Section "InputDevice"
> 	Identifier	"Generic Keyboard"
> 	Driver		"kbd"
> 	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"
> EndSection
> 
> Section "Device"
> 	Identifier	"ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS"
> 	Driver		"ati"
> 	BusID		"PCI:1:0:0"
> 	Option		"UseFBDev"		"true"
						^^^^^^
                                           workaround 1 here

> EndSection
> 
> Section "Monitor"
> 	Identifier	"DELL D1626HT"
> 	Option		"DPMS"
> EndSection
> 
> Section "Screen"
> 	Identifier	"Default Screen"
> 	Device		"ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS"
> 	Monitor		"DELL D1626HT"
> 	DefaultDepth	24
> 	SubSection "Display"
> 		Depth		1
> 		
> Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "720x350" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		4
> 		
> Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "720x350" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		8
> 		
> Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "720x350" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		15
> 		
> Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "720x350" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		16
> 		
> Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "720x350" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		24
> 		
> Modes		"1600x1200" "1280x1024" "1024x768" "800x600" "720x400" "720x350" "640x480"
> 	EndSubSection
> EndSection
> 
> Section "ServerLayout"
> 	Identifier	"Default Layout"
> 	Screen		"Default Screen"
> 	InputDevice	"Generic Keyboard"
> 	InputDevice	"Configured Mouse"
> EndSection
> 
> Section "DRI"
> 	Mode	0666
> EndSection
> 
> Thanks!!

I was going to snip this xorg.conf, but I decided to leave it.

1) why are you running x on a server in the first place?

2) Your problems lie in your video drivers.  Doing a search I found this:
 Workaround 1:
 in /etc/X11/xorg.conf
 set
 Option "UseFBDev" "true"
 to false, note in this case switching VT is broken and locks the box.

 Workaround 2:
 use
 Driver "fbdev"
 rather than "ati"
 If you really need ofonly
 You may have to set
 Option "ShadowFB" "false"
 When it is set to true the screen is mangled for me (a pb when the
stride is not the same as the line length, 1024 for 800 in my case).
 and remove all
 SubSection "Display"
 in "Screen"
 and DefaultDepth
 if any.

 Here ofonly uses 800x600 256 colors only.

 If the workaround 1 works for you then you don't need ofonly, remove it
from /etc/yaboot.conf an rerun ybin or mount the bootstrap partition and
change yaboot.conf there.

Joe
- --
Registerd Linux user #443289 at http://counter.li.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGELCOiXBCVWpc5J4RAgrgAJ4j2vTyQF5JsQCuE4xl7kO0qXYxlgCgqHtv
HvDh2UxsI8PXqw9ey0kS0UY=
=UCMO
-----END PGP SIGNATURE-----



Reply to: