X Window problem

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

X Window problem

satimis
Hi folks,


OpenBSD 4.1 i386
Vedio card - Maxi Gamer Voodoo Banshee, 16MB memory
LCD display - NEC MultiSync LCD1560NX


Just installed OBSD 4.1 on a old P-II box.  OBSD starts w/o problem but
the LCD monitor can't display correctly (w/o /etc/X11/xorg.conf).

Ran "xorgconf" to create /etc/X11/xorg.conf.  X server fails to start.

driver - vga


Please advise how to fix the problem.  TIA


B.R.
Stephen Liu

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply | Threaded
Open this post in threaded view
|

Re: X Window problem

Matthieu Herrb
Stephen Liu wrote:

> Hi folks,
>
>
> OpenBSD 4.1 i386
> Vedio card - Maxi Gamer Voodoo Banshee, 16MB memory
> LCD display - NEC MultiSync LCD1560NX
>
>
> Just installed OBSD 4.1 on a old P-II box.  OBSD starts w/o problem but
> the LCD monitor can't display correctly (w/o /etc/X11/xorg.conf).
>
> Ran "xorgconf" to create /etc/X11/xorg.conf.  X server fails to start.
>
> driver - vga
>
>
> Please advise how to fix the problem.  TIA

First we need to know more about your hardware. Please send the
/var/log/Xorg.0.log after a failed attempt to run X (with or without a
configuration file).

> Send instant messages to your online friends http://uk.messenger.yahoo.com 

no, thanks.

--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: X Window problem

satimis
Hi Matthieu,


> First we need to know more about your hardware.

Pls advise what additional information you need.

> Please send the
> /var/log/Xorg.0.log after a failed attempt to run X (with or without
a
> configuration file

Tks for reminding me to look at Xorg.0.log w/o a config file.  I found
it needs "vesa" driver NOT "vga" driver.  Now X Window starts with
correct resolution but the mouse pointer jumps around on screen beyond
my control.


# cat /etc/X11/xorg.conf
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA
extension
    EndSubSection

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

EndSection


Section "Files"

    RgbPath     "/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection


Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"


    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us"

EndSection


Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"       # IntelliMouse PS/2
    Option "Device"      "/dev/wsmouse"
    Option "ZAxisMapping"   "4 5"

EndSection


Section "Monitor"

    Identifier  "My Monitor"

     HorizSync   31.5 - 60

     VertRefresh 56.2 - 75.1

EndSection

#
**********************************************************************
# Graphics device section
#
**********************************************************************

# Standard VGA Device:

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

# The chipset line is optional in most cases.  It can be used to
override
# the driver's chipset detection, and should not normally be specified.

#   Chipset     "generic"

    Driver     "seva"

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "My Video Card"
    Driver      "seva"
    # unsupported card
    VideoRam    16384
EndSection


Section "Screen"
    Identifier  "Screen 1"
    Device      "My Video Card"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       16
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and
right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
* end *


Any advice?  TIA


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply | Threaded
Open this post in threaded view
|

Re: X Window problem

Matthieu Herrb
Stephen Liu wrote:

> Hi Matthieu,
>
>
>> First we need to know more about your hardware.
>
> Pls advise what additional information you need.
>
>> Please send the
>> /var/log/Xorg.0.log after a failed attempt to run X (with or without
> a
>> configuration file
>
> Tks for reminding me to look at Xorg.0.log w/o a config file.  I found
> it needs "vesa" driver NOT "vga" driver.  Now X Window starts with
> correct resolution but the mouse pointer jumps around on screen beyond
> my control.
>
>
> # cat /etc/X11/xorg.conf
> Section "Module"
>
> # This loads the DBE extension module.
>
>     Load        "dbe"   # Double buffer extension
>
>     SubSection  "extmod"
>       Option    "omit xfree86-dga"   # don't initialise the DGA
> extension
>     EndSubSection
>
> # This loads the font modules
>     Load        "type1"
> #    Load        "speedo"
>     Load        "freetype"
> #    Load        "xtt"
>
> EndSection
>
>
> Section "Files"
>
>     RgbPath     "/usr/X11R6/lib/X11/rgb"
>
>     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/local/"
> #    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
> #    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
> #    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
>
> # The module search path.  The default path is shown here.
>
> #    ModulePath "/usr/X11R6/lib/modules"
>
> EndSection
>
>
> Section "InputDevice"
>
>     Identifier  "Keyboard1"
>     Driver      "kbd"
>
> #    Option     "Protocol"      "Xqueue"
>
>     Option "AutoRepeat" "500 30"
>
>
>     Option "XkbRules"   "xorg"
>     Option "XkbModel"   "pc101"
>     Option "XkbLayout"  "us"
>
> EndSection
>
>
> Section "InputDevice"
>
> # Identifier and driver
>
>     Identifier  "Mouse1"
>     Driver      "mouse"
>     Option "Protocol"    "IMPS/2"       # IntelliMouse PS/2
                           ^^^^^^^
change that to "wsmouse".

>     Option "Device"      "/dev/wsmouse"
>     Option "ZAxisMapping"   "4 5"
>
> EndSection
>
>
> Section "Monitor"
>
>     Identifier  "My Monitor"
>
>      HorizSync   31.5 - 60
>
>      VertRefresh 56.2 - 75.1
>
> EndSection
>
> #
> **********************************************************************
> # Graphics device section
> #
> **********************************************************************
>
> # Standard VGA Device:
>
> Section "Device"
>     Identifier  "Standard VGA"
>     VendorName  "Unknown"
>     BoardName   "Unknown"
>
> # The chipset line is optional in most cases.  It can be used to
> override
> # the driver's chipset detection, and should not normally be specified.
>
> #   Chipset     "generic"
>
>     Driver     "seva"
                  ^^^^^^
                  typo ?
>
> EndSection
>
> # Device configured by xorgconfig:
>
> Section "Device"
>     Identifier  "My Video Card"
>     Driver      "seva"
                    ^^^^
                   Ugh ?

>     # unsupported card
>     VideoRam    16384
> EndSection
>
>
> Section "Screen"
>     Identifier  "Screen 1"
>     Device      "My Video Card"
>     Monitor     "My Monitor"
>     DefaultDepth 24
>
>     Subsection "Display"
>         Depth       16
>         Modes       "1024x768"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "1024x768"
>         ViewPort    0 0
>     EndSubsection
> EndSection
>
>
> Section "ServerLayout"
>
> # The Identifier line must be present
>     Identifier  "Simple Layout"
>
> # Each Screen line specifies a Screen section name, and optionally
> # the relative position of other screens.  The four names after
> # primary screen name are the screens to the top, bottom, left and
> right
> # of the primary screen.  In this example, screen 2 is located to the
> # right of screen 1.
>
>     Screen "Screen 1"
>
> # Each InputDevice line specifies an InputDevice section name and
> # optionally some options to specify the way the device is to be
> # used.  Those options include "CorePointer", "CoreKeyboard" and
> # "SendCoreEvents".
>
>     InputDevice "Mouse1" "CorePointer"
>     InputDevice "Keyboard1" "CoreKeyboard"
>
> EndSection
> * end *
>
>
> Any advice?  TIA
>
>
> B.R.
> Stephen
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com 


--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: X Window problem (SOLVED)

satimis
Matthieu,


Problem solved.  I'm now posting on this old P-II box.


> > # Identifier and driver
> >
> >     Identifier  "Mouse1"
> >     Driver      "mouse"
> >     Option "Protocol"    "IMPS/2"       # IntelliMouse PS/2
>           ^^^^^^^
> change that to "wsmouse".

Yes.  The trick is here.  After changing it, mouse pointer stops
jumping around on the screen.  Mouse scrolling also works.

Tks.


Which line on xorg.conf in OBSD controls mouse scrolling?


> > Section "Device"
> >     Identifier  "My Video Card"
> >     Driver      "seva"
>                     ^^^^
>   Ugh ?

Sorry that was my typing mistake.


What command shall I run on console to display current screen
resolution?  Tks



B.R.
Stephen Liu


Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply | Threaded
Open this post in threaded view
|

Re: X Window problem (SOLVED)

Woodchuck-2
On Mon, 28 May 2007, Stephen Liu wrote:

> What command shall I run on console to display current screen
> resolution?  Tks

Try xdpyinfo

Dave