Another widescreen problem
Posted: Sat 08 Mar 2008, 00:50
Hi,
All the following matters are true for both 2.17 and 3.01. I have a widescreen monitor, and I am having trouble getting X to give the screen its proper ratios. Under Windows the monitor operates at 1280x800x32. Neither Xvesa nor Xorg offer me options with similar dimensions, so I am currently running at 1024x768x24.
I have tried to fix the matter in Xvesa, following Barry's advice in this post:
http://murga-linux.com/puppy/viewtopic. ... 49&t=25794
Namely, I went to create a file called /etc/resolutionfix, but found that it already existed and contained the appropriate information. I deleted /etc/videomode (there is no /tmp/videomode), restarted X, but was not given a 1280x800 option. This seems so straightforward, its hard for me to see what I might have missed.
I have tried to fix the matter in Xorg, by inserting an appropriate modeline and modes entry in /etc/X11/xorg.conf, as discussed in several posts and other links. Interestingly, the "Modes" entry for 1280x800 was already present. After adding the modeline, and rebooting Xorg, Xorg continued functioning at 1024x768. I might have made some mistake, so I will append my full xorg.conf at the end of this post.
Thanks.
All the following matters are true for both 2.17 and 3.01. I have a widescreen monitor, and I am having trouble getting X to give the screen its proper ratios. Under Windows the monitor operates at 1280x800x32. Neither Xvesa nor Xorg offer me options with similar dimensions, so I am currently running at 1024x768x24.
I have tried to fix the matter in Xvesa, following Barry's advice in this post:
http://murga-linux.com/puppy/viewtopic. ... 49&t=25794
Namely, I went to create a file called /etc/resolutionfix, but found that it already existed and contained the appropriate information. I deleted /etc/videomode (there is no /tmp/videomode), restarted X, but was not given a 1280x800 option. This seems so straightforward, its hard for me to see what I might have missed.
I have tried to fix the matter in Xorg, by inserting an appropriate modeline and modes entry in /etc/X11/xorg.conf, as discussed in several posts and other links. Interestingly, the "Modes" entry for 1280x800 was already present. After adding the modeline, and rebooting Xorg, Xorg continued functioning at 1024x768. I might have made some mistake, so I will append my full xorg.conf at the end of this post.
Thanks.
#Special base config file used in Puppy Linux.
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
Load "synaptics"
# 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 the GLX module
Load "glx"
# This loads xtrap extension, used by xrandr
Load "xtrap"
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"
InputDevice "Synaptics Mouse" "AlwaysCore"
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 "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "0"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.10"
Option "MaxSpeed" "0.30"
Option "AccelFactor" "0.0030"
Option "SHMConfig" "on"
#Option "Repeater" "/dev/ps2mouse"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30-49
VertRefresh 56-61
Modeline "1280x800" 71.1 1280 1328 1360 1440 800 803 809 823 -Hsync +Vsync
#UseModes "Modes0" #monitor0usemodes
EndSection
#Section "Modes"
# Identifier "Modes0"
#modes0modeline0
#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 "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card0"
Driver "vesa" #card0driver
VendorName "Intel Corporation"
BoardName "Mobile Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x800"
EndSubsection
EndSection
#PuppyHardwareProfile=Intel_r_Crestline_Graphics_ChipAUO8174