1680x1050 at Xorg startup w/ Intel 82845G video?

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
boscobearbank
Posts: 63
Joined: Thu 06 Apr 2006, 15:13
Location: MN

1680x1050 at Xorg startup w/ Intel 82845G video?

#1 Post by boscobearbank »

1680x1050 at Xorg startup w/ Intel 82845G video? - it doesn't seem to happen. I run gtf to get the proper modeline, make the appropriate changes to /etc/X11/xorg.conf, and type "xwin" to exter X, but it still comes up in 1280x1024 mode.

I then have to run Setup->Setup the X video->Click the button to run the Xorg Video Wizard: to see my 1680x1050 option. I select that option, which changes the screen resolution as desired but leaves the jwm panel in the middle of the screen, exit X, then type"xwin" again to get a proper-looking 1680x1050 desktop. I must go through the steps in this paragraph every time I reboot, even though the modified xorg.conf file has been saved.

Am I asking for the impossible?

Code: Select all

#Special base config file used in Puppy Linux.

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "freetype"

# This loads xtrap extension, used by xrandr
    Load       "xtrap"

# This loads the GLX module (if present)
    Load       "glx"

# This loads dri module (if present)
    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath	"/usr/X11R7/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    FontPath   "/usr/X11R7/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R7/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R7/lib/X11/fonts/TTF/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Enables mode switching with xrandr
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...

    Option "RandR" "on"

EndSection

#everything past here is auto-generated by Puppy's Xorg Wizard...


Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel" "pc102"
	Option      "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto" #mouse0protocol
	Option	    "Device" "/dev/mouse"
	#Option      "Emulate3Buttons"
	#Option      "Emulate3Timeout" "50"
	Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	HorizSync    30-86
	VertRefresh  56-74
	UseModes     "Modes0" #monitor0usemodes
	#Option      "PreferredMode" "1280x1024"
	EndSection
	
Section "Modes"
	Identifier "Modes0"
	#modes0modeline0
	# 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
	Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync

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" #card0driver
	VendorName  "Intel Corporation"
	BoardName   "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes   "1680x1050_60.00" "1280x1024" "1024x768"
    EndSubsection
EndSection

#PuppyHardwareProfile=Brookdale_G_Graphics_ChipMBW_SERIAL
Bosco Bearbank

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Something to try

#2 Post by rerwin »

boscobearbank,
What happens if you change the line

Code: Select all

   #Option      "PreferredMode" "1280x1024"
to

Code: Select all

   Option      "PreferredMode" "1680x1050"
?
Richard

grndoor
Posts: 19
Joined: Tue 17 Oct 2006, 20:18

#3 Post by grndoor »

boscobearbank:

In the "Screen" section of your xorg.conf file:

Code: Select all

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24
   Subsection "Display"
        Depth       24
        Modes   "1680x1050_60.00" "1280x1024" "1024x768"
    EndSubsection
EndSection

The Modes line should simply read:

Code: Select all

        Modes   "1680x1050" "1280x1024" "1024x768"

User avatar
boscobearbank
Posts: 63
Joined: Thu 06 Apr 2006, 15:13
Location: MN

#4 Post by boscobearbank »

Rerwin: what happens when I change the "Preferred Mode" is I still get 1280x1024.

grndoor: I've run xwin several different Modes lines in the Screen section in addition to that which I showed in my original post (at different times, of course, see below for two such entries); none of them give me 1680x1050 when starting X for the first time
Modes "1680x1050"
Modes "1680x1050" "1280x1024"

I'm coming to the conclusion that this has something to do with the version of the intel driver and/or the X server; Puppy is using 1.3.0, Ubuntu 8.04 uses 1.4.0, and Fedora Rawhide is using 1.4.99. Each behaves a bit differently, but both Fedora and Ubuntu honor the
Modes "1680x1050"
line in the Screen section when starting the X server.
Bosco Bearbank

Post Reply