It is currently Mon May 20, 2013 1:19 pm

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Problem with monitor resolution
PostPosted: Wed Aug 27, 2008 9:45 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
A while ago I bought a new monitor. I had to edit xorg.conf to get the resolution working (adding "1680x1050" - details here: viewtopic.php?f=46&t=14416).

I'm now installing zenwalk on a new Zonbu computer. I've got the same problem with the monitor resolution but this time it isn't solved by editing xorg.conf. I've tried searching and there seem to be a few similar problems, but nothing that fits exactly...

It may be that videoconfig isn't recognising my graphics device (VIA CX700M2 UniChrome PRO II, VGA output, supports up to 2048 x 1536). But I don't know how to solve this. It's also not recognising my monitor.

The relevant bit of xorg.conf is:
Code:
# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
   Identifier     "Monitor1"
     VendorName "Artefact"
     ModelName "My monitor"

      
   
     HorizSync 31.5 - 50.0
     VertRefresh 40-90
        Option "UseEdidFreqs" "1"

   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"
EndSection

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

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

   DefaultDepth 24

    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


When I go to >settings >display settings, the resolution column is blank.

Any suggestions? Thanks in advance!


 Profile Send private message  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Wed Aug 27, 2008 9:51 pm 

That's because you are using the vesa driver.
According to /usr/doc/xf86-video-openchrome-0.2.902/README your card is supported by the openchrome driver, so replace vesa in the Driver line with it and try again.


  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 7:22 am 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
Thanks gapan.

I tried replacing "vesa" with "openchrome" and couldn't restart X.

I got the following error message:

Code:
(==) (EE) Failed to load module "openchrome" (module does not exist, 0)
(EE) NO drives available.
Fatal server error:
no screens found


So, not knowing what to do, I re-installed Zenwalk 5.2 from the CD.

When I look for /usr/doc/xf86-video-openchrome-0.2.902 I can't find it.

This time I have a slightly different xorg.conf. As I don't really know which the relevant bits are, here's the whole thing.

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  "dri"
   Load  "dbe"
   Load  "xtrap"
   Load  "record"
   Load  "extmod"
   Load  "glx"
   Load  "GLcore"
   Load  "type1"
   Load  "freetype"
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" "Enable"
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_59.883" 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"
EndSection

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

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

   DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes "1680x1050_59.883" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1680x1050_59.883" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1680x1050_59.883" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1680x1050_59.883" "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



When I go to >settings >display settings, there is no 1068x1050 option in the resolution column.


 Profile Send private message  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 7:28 am 

You're probably right, the drivers for your card are very new and probably not included in the xorg packages that come with Zenwalk 5.2. But they are included in the newer xorg packages from the snapshot repositories! So choose a snapshot repository in netpkg, and upgrade all your xorg packages. You can go back to a current repository after you do the xorg update, maybe you don't want to upgrade your whole system to snapshot yet, I have seen problem reports about the new xfce. You should have the openchrome driver available after that.


  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 9:41 am 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
Thanks again gapan. Here's what happened (we're nearly there \!D/ )

I went to Netpkg, chose a snapshot repository (http://distro.ibiblio.org/pub/linux/dis ... 6/snapshot) and chose the following:

xorg-apps (7.3.2)
xorg-data (7.3.2)
xorg-drivers-input (7.3.2)
xorg-drivers-video (7.3.2)
xorg-fonts-base (7.3.2)
xorg-protocols (7.3.2)
xorg-server (1.4.2)

Then I clicked on "Inc deps" and Netpkg successfully installed the updates.

I then edited xorg.conf, which in the meantime had gone back to the previous version which didn't recognise my monitor:

Code:
Section "Monitor"
   Identifier     "Monitor1"
     VendorName "Artefact"
     ModelName "My monitor"


I changed "vesa" to "openchrome" and restarted X.

This time, X restarted, but the screen looked even worse - even more stretched than before. Also the mouse cursor arrow has a peculiar turquoise shadow. But, at least openchrome is now working.

I took the initiative and cut and pasted the xorg.conf which recognised my monitor, changed vesa to openchrome and restarted X.

It worked - but I've still got the turquoise colour on the cursor. :-\


 Profile Send private message  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 9:45 am 

Can you remove the "1680x1050_59.883" from all Modes lines and just make it:
Code:
        Modes "1680x1050"

Also try with DefaultDepth 16 instead of 24.


  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 10:07 am 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
Thanks again! I've done both those things but I've still got a turquoise cursor. I've tried changing the cursor under >settings >settings Manager >mouse (to "whiteglass"), which gets rid of the problem most of the time - the turquoise shadow reappears, for example, when I click on a link and the little clock symbol comes up while it's loading. The curse of the turquoise shadow continues. :o


 Profile Send private message  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 10:44 am 

It could be a problem with the drivers, they are still very new.

Maybe you could also try turning the compositor off
Code:
Section "Extensions"
        Option "Composite" "Disable"
EndSection


  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 11:16 am 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
OK, compositor is off. The turquoise shadow has gone only to be replace by a black and turquoise square. I can live with that for the time being (but please let me know if you think of anything else!). Thanks for all the help!


 Profile Send private message  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 11:22 am 

Axxium has a new xorg version around the corner, and hopefully a new version of the openchrome driver that solves your problem will be included.


  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 12:39 pm 
Community Packager
Community Packager
User avatar

Joined: Thu Feb 01, 2007 7:59 pm
Posts: 1795
Location: East Coast, USA
I'm curious, chrislang, did you drop down to "init 3" after updating your xorg drivers to run "videoconfig" again? Just editing your xorg.conf is sometimes not the best route to take. Normally videoconfig is very good in talking with the video card & monitor. Yours is new enough, they should talk very well.

Don't forget to backup your working xorg.conf to have something fall back to, should something not go right.


 Profile Send private message  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 4:20 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
Hi BandiPat, I just did that. The turquoise shadow is back. Meanwhile, at some stage, the panels at the bottom and top of the screen disappeared - that hapened before I ran videoconfig though.

Here's the new xorg.conf:

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  "extmod"
   Load  "record"
   Load  "dbe"
   Load  "xtrap"
   Load  "dri"
   Load  "GLcore"
   Load  "glx"
   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_59.883" 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     "openchrome"
   BusID       "PCI:1:0:0"
   Option "RenderAccel" "true"
EndSection

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

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

   DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes "1680x1050_59.883" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1680x1050_59.883" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1680x1050_59.883" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1680x1050_59.883" "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



 Profile Send private message  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Thu Aug 28, 2008 4:42 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Oct 06, 2006 5:12 am
Posts: 2423
Location: India - Silicon City
Seems to me like its a driver probs. As gapan said, Micheal has a new ver there. See if that solves your problem. Damn these video card vendors, they dont release their chip detail to driver developers :(

_________________
Happiness is REAL, when SHARED
Christopher mcCandles

Software is like sex: it's better when it's free.
Linus Torvalds


 Profile Send private message  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Mon Sep 08, 2008 7:06 pm 
Regular Zenwalker
Regular Zenwalker
User avatar

Joined: Thu Jan 18, 2007 4:17 pm
Posts: 73
Location: Frankfurt
Earlier on today, it dawned on me that there is something strange about this. At least I think it might be strange.

When I log in as root, everything works. The mouse cursor is as it should be and the panels are there top and bottom of the screen.

Two questions:
1. Is this really odd, or is it just me?
2. Is there some way of transferring the settings from root to other users, to sort out the driver problem?


 Profile Send private message  
 
 Post subject: Re: Problem with monitor resolution
PostPosted: Mon Sep 08, 2008 7:23 pm 

Can you try with creating a new user. It seems there are some leftover settings in your existing users.


  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

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: