It is currently Thu May 23, 2013 1:08 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: [SOLVED] monitor resolution problem (again....)
PostPosted: Mon Mar 16, 2009 9:41 am 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
I've just upgraded to 6.0 and I have a problem with my monitor resolution. Everything is stretched horizontally. (Otherwise, 6.0 looks great. ;D ;D Congratulations! And thank you for all the work!)

I've had this resolution problem before and it was solved back then by changing the vesa driver to openchrome in xorg.conf. When I tried this this time, the resolution went to 800x600 and the mouse cursor disappeared.

My graphics device is: "VIA CX700M2 UniChrome PRO II, VGA output, supports up to 2048 x 1536".

I tried dropping down to "init 3" and running "videoconfig", but that didn't sort things out.

When I go to >Settings >Display, the boxes for "Resolution:" and "Refresh rate:" are blank. I updated xorg-server from netpkg (http://zenwalk.linuxish.net/i486/current).

My current xorg.conf is below.

I've turned the compositor off. I've removed the "1680x1050_59.883" and replaced it with "1680x1050". And I've changed DefaultDepth to 16 (instead of 24).

Anyone got any suggestions? Thanks in advance!

Code:
# **********************************************************************
# This file was generated by videoconfig (Zenwalk Xorg configuration tool)
# If you changed your video card or monitor, please run videoconfig again
# from runlevel 3. Don't modify this file yourself until you know what you do ;)
# **********************************************************************


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

Section "Files"
   RgbPath      "/usr/share/X11/rgb"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/TTF"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1"
   FontPath     "/usr/share/fonts/misc"
   FontPath     "/usr/share/fonts/75dpi/:unscaled"
EndSection

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

Section "Module"
   Load  "synaptics"
   Load  "glx"
   Load  "extmod"
   Load  "xtrap"
   Load  "record"
   Load  "GLcore"
   Load  "dbe"
   Load  "dri"
   Load  "freetype"
   Load  "type1"
EndSection

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

Section "ServerFlags"
#    Option     "NoTrapSignals"
#    Option     "DontVTSwitch"
#    Option     "DontZap"
#    Option     "DontZoom"
#    Option     "DisableVidModeExtension"
#    Option     "AllowNonLocalXvidtune"
#    Option     "DisableModInDev"
#    Option     "AllowNonLocalModInDev"
#    Option      "blank time"    "10"    # 10 minutes
#    Option      "standby time"  "20"
#    Option      "suspend time"  "30"
#    Option      "off time"      "60"

# Option   "EstimateSizesAggresively" "0"

EndSection


# **********************************************************************
# DRI section
# **********************************************************************

Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
EndSection


# **********************************************************************
# Extensions section
# **********************************************************************

Section "Extensions"
        Option "Composite" "Disable"
EndSection


# **********************************************************************
# Keyboard section
# **********************************************************************

Section "InputDevice"
   Identifier   "Keyboard1"
   Driver   "kbd"
#   Option     "Protocol"      "Xqueue"
#   Option     "AutoRepeat"    "500 5"
#   Option     "Xleds" "1 2 3"
#   Option     "XkbDisable"

   Option     "XkbRules"      "xorg"
   Option     "XkbModel"      "pc105"
   Option     "XkbLayout"     "de"
#   Option     "XkbVariant"    "us"
   Option     "XkbOptions"    ""
EndSection


# **********************************************************************
# Pointers section
# **********************************************************************

Section "InputDevice"

# Identifier and driver
   Identifier "Mouse1"
   Driver        "mouse"
   Option        "Protocol" "Auto"
   Option        "Device" "/dev/mouse"
#   Option     "Protocol" "Xqueue"
#   Option     "BaudRate" "9600"
#   Option     "SampleRate"   "150"
#   Option     "Emulate3Buttons"
#   Option     "Emulate3Timeout" "50"
#   Option     "ChordMiddle"
   Option     "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
   Identifier    "Pad1"
   Driver        "synaptics"
   Option           "Protocol" "auto-dev"
   Option           "Device" "/dev/tp1"
   Option        "LeftEdge"      "1700"
   Option        "RightEdge"     "5300"
   Option        "TopEdge"       "1700"
   Option        "BottomEdge"    "4200"
   Option        "FingerLow"     "25"
   Option        "FingerHigh"    "30"
   Option        "MaxTapTime"    "180"
   Option        "MaxTapMove"    "220"
   Option        "VertScrollDelta" "100"
   Option        "MinSpeed"      "0.09"
   Option        "MaxSpeed"      "0.18"
   Option        "AccelFactor"   "0.0015"
   Option        "SHMConfig"     "on"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
   Identifier     "Monitor1"
     VendorName "GSM"
     ModelName "L226W"

   Modeline "1680x1050" 119.000000 1680 1728 1760 1840 1050 1053 1059 1080 -HSync +VSync   
   
   HorizSync 28-83
   VertRefresh 56-75
   

   Option "ReducedBlanking"
   
EndSection


# **********************************************************************
# Graphic devices section
# **********************************************************************

# Any number of graphic devices sections may be present

Section "Device"
   Identifier     "Videocard1"
   VendorName  "Unknown Vendor"
   BoardName   "Video device"
   Driver     "vesa"
   BusID       "PCI:1:0:0"
   Option "RenderAccel" "true"
   Option "XaaNoOffscreenPixmaps" "on"
EndSection

# **********************************************************************
# Screen section
# **********************************************************************

Section "Screen"
    Identifier  "Videoconfig"
    Device      "Videocard1"
    Monitor     "Monitor1"

   DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout section
# **********************************************************************

Section "ServerLayout"
   Identifier      "Simple Layout"
   Screen         "Videoconfig"
   InputDevice      "Mouse1" "CorePointer"
   InputDevice      "Pad1" "SendCoreEvents"
   InputDevice      "Keyboard1" "CoreKeyboard"
EndSection


Last edited by chrislang on Mon Mar 16, 2009 5:30 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: monitor resolution problem (again....)
PostPosted: Mon Mar 16, 2009 1:38 pm 

Try removing the modeline.


  
 
 Post subject: Re: monitor resolution problem (again....)
PostPosted: Mon Mar 16, 2009 4:24 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
Thanks gapan. That didn't change anything, unfortunately.

I'm going to try using the openchrome driver from zenwalk 5.2 snapshot, which I've still got. I'll let you know whether that works....


 Profile Send private message  
 
 Post subject: Re: monitor resolution problem (again....)
PostPosted: Mon Mar 16, 2009 5:28 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
YES!!! \!D/ That worked! \!D/ :D

OK, here's what I did (so that just maybe I won't need to ask the next time):

I copied these two files from zenwalk 5.2 snapshot (overwriting the files that were there from 6.0):
/usr/lib/xorg/modules/drivers/openchrome_drv.so
/usr/lib/xorg/modules/drivers/openchrome_drv.la

And then changed the vesa driver to openchrome in xorg.conf

Wooweee. That's all it took. Zenwalk 6.0 looks even better when it isn't all stretched... ;)


 Profile Send private message  
 
 Post subject: Re: [SOLVED] monitor resolution problem (again....)
PostPosted: Mon Mar 16, 2009 5:53 pm 

So the openchrome driver in 6.0 doesn't work, but it worked in 5.2?


  
 
 Post subject: Re: [SOLVED] monitor resolution problem (again....)
PostPosted: Mon Mar 16, 2009 6:24 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
No - there was no openchrome driver with 5.2. So, I followed your advice (thanks very much!) and upgraded my xorg packages to snapshot (28 August 2008). If you want the full story it's here. (Oh and the turquoise shadow on the mouse cursor has gone 8) )


 Profile Send private message  
 
 Post subject: Re: [SOLVED] monitor resolution problem (again....)
PostPosted: Mon Mar 16, 2009 6:26 pm 

OK, thanks, I had totally forgotten about that. ;D


  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: