Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Feb 2009 11:32:00 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Levon Kayan <levonkayan@gmx.net>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: xorg-server-1.5.3 or xf86-video-intel problem
Message-ID:  <1234024320.1562.38.camel@ferret.2hip.net>
In-Reply-To: <20090206140905.0fea0b9c@hack4>
References:  <20090206140905.0fea0b9c@hack4>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-cKUw/1BAYAmJlhU+LlxG
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2009-02-06 at 14:09 +0000, Levon Kayan wrote:
> hi there,
> =20
> since i have upgraded my xorg-server and xf86-video-intel driver
> using "portupgrade -a", i can't use X anymore.=20
> i'm using: ibm x41 thinkpad (graphic card: Intel Corporation Mobile
> 915GM/GMS/910GML), with 7.1-RELEASE-p2.
> when i start X i only get a blank screen and even i'm not able to kill
> x, only hit "ctrl+alt+del" to reboot the machine. hal and dbus were
> running. i loaded the drm kernel module. i also tested without hal
> and dbus and followed /usr/ports/UPDATING. also, i used
> both configuration types: my own /etc/X11/xorg.conf using "xorgconfig"
> and my /etc/X11/xorg.conf using "X -configure".=20

I find configs from xorgconfig very hard to read.  It is also gone as of
server 1.6.

FWIW, I have an i915 that seems to be working ok.  I'll need to see the
config and log from the failed session.  You could also try the 2.6.1
version of the intel driver.  It is included in
http://people.freebsd.org/~rnoland/xserver-1.6rc.patch

Updating the server is not required, though performance may not be great
in some cases.

robert.

> there were no error or warnings reported in /var/log/Xorg.0.log.
> currently i'm using the vesa driver to use X, which is in fact a cramp.
> what is the problem? how can i solve this?
>=20
> here is my current xorg.conf:
>=20
> Section "Module"
>=20
> # This loads the DBE extension module.
>=20
>     Load        "dbe"   # Double buffer extension
>=20
> # 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
>=20
> # This loads the font modules
> #    Load        "type1"
>     Load        "freetype"
> #    Load        "xtt"
>=20
> # This loads the GLX module
>     Load       "glx"
> # This loads the DRI module
>     Load       "dri"
>=20
> EndSection
>=20
> # **********************************************************************
> # Files section.  This allows default font and rgb paths to be set
> # **********************************************************************
>=20
> Section "Files"
>=20
> # 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)
> #=20
>=20
>     FontPath   "/usr/local/lib/X11/fonts/misc/"
>     FontPath   "/usr/local/lib/X11/fonts/TTF/"
>     FontPath   "/usr/local/lib/X11/fonts/OTF"
>     FontPath   "/usr/local/lib/X11/fonts/Type1/"
>     FontPath   "/usr/local/lib/X11/fonts/100dpi/"
>     FontPath   "/usr/local/lib/X11/fonts/75dpi/"
>     FontPath   "/usr/local/lib/X11/fonts/local/"
> #    FontPath   "/usr/local/lib/X11/fonts/TrueType/"
> #    FontPath   "/usr/local/lib/X11/fonts/freefont/"
>=20
> # The module search path.  The default path is shown here.
>=20
> #    ModulePath "/usr/local/lib/modules"
>=20
> EndSection
>=20
> Section "ServerFlags"
>=20
> # Uncomment this to cause a core dump at the spot where a signal is=20
> # received.  This may leave the console in an unusable state, but may
> # provide a better stack trace in the core dump to aid in debugging
>=20
> #    Option "NoTrapSignals"
>=20
> # Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
> # (where n is 1 through 12).  This allows clients to receive these key
> # events.
>=20
> #    Option "DontVTSwitch"
>=20
> # Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
> # This allows clients to receive this key event.
>=20
> #    Option "DontZap"
>=20
> # Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
> # sequences.  This allows clients to receive these key events.
>=20
> #    Option "Dont Zoom"
>=20
> # Uncomment this to disable tuning with the xvidtune client. With
> # it the client can still run and fetch card and monitor attributes,
> # but it will not be allowed to change them. If it tries it will
> # receive a protocol error.
>=20
> #    Option "DisableVidModeExtension"
>=20
> # Uncomment this to enable the use of a non-local xvidtune client.=20
>=20
> #    Option "AllowNonLocalXvidtune"
>=20
> # Uncomment this to disable dynamically modifying the input device
> # (mouse and keyboard) settings.=20
>=20
> #    Option "DisableModInDev"
>=20
> # Uncomment this to enable the use of a non-local client to
> # change the keyboard or mouse settings (currently only xset).
>=20
> #    Option "AllowNonLocalModInDev"
>=20
> EndSection
>=20
> Section "InputDevice"
>=20
>     Identifier "Keyboard1"
>     Driver  "kbd"
>=20
>     Option "AutoRepeat" "500 30"
>=20
> # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
> #    Option "Xleds"      "1 2 3"
>=20
> #    Option "LeftAlt"     "Meta"
> #    Option "RightAlt"    "ModeShift"
>=20
> # To customise the XKB settings to suit your keyboard, modify the
> # lines below (which are the defaults).  For example, for a non-U.S.
> # keyboard, you will probably want to use:
> #    Option "XkbModel"    "pc105"
> # If you have a US Microsoft Natural keyboard, you can use:
> #    Option "XkbModel"    "microsoft"
> #
> # Then to change the language, change the Layout setting.
> # For example, a german layout can be obtained with:
> #    Option "XkbLayout"   "de"
> # or:
> #    Option "XkbLayout"   "de"
> #    Option "XkbVariant"  "nodeadkeys"
> #
> # If you'd like to switch the positions of your capslock and
> # control keys, use:
> #    Option "XkbOptions"  "ctrl:swapcaps"
>=20
> # These are the default XKB settings for Xorg
> #    Option "XkbRules"    "xorg"
> #    Option "XkbModel"    "pc105"
> #    Option "XkbLayout"   "us"
> #    Option "XkbVariant"  ""
> #    Option "XkbOptions"  ""
>=20
> #    Option "XkbDisable"
>=20
>     Option "XkbRules"   "xorg"
>     Option "XkbModel"   "pc105"
>     Option "XkbLayout"  "de"
>     Option "XkbVariant" "de"
>=20
> EndSection
>=20
> Section "InputDevice"
>=20
> # Identifier and driver
>=20
>     Identifier "Mouse1"
>     Driver  "mouse"
>     Option "Protocol"    "Auto"  # Auto detect
>     Option "Device"      "/dev/sysmouse"
>=20
> # Mouse-speed setting for PS/2 mouse.
>=20
> #    Option "Resolution"   "256"
>=20
> # Baudrate and SampleRate are only for some Logitech mice. In
> # almost every case these lines should be omitted.
>=20
> #    Option "BaudRate"  "9600"
> #    Option "SampleRate"   "150"
>=20
> # Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 &
> 5, # horizontal wheel to buttons 6 & 7.   Change if your mouse has more
> than # 3 buttons and you need to map the wheel to different button ids
> to avoid # conflicts.
>=20
>     Option "ZAxisMapping"   "4 5 6 7"
>=20
> # Emulate3Buttons is an option for 2-button mice
> # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
>=20
>     Option "Emulate3Buttons"
> #    Option "Emulate3Timeout"    "50"
>=20
> # ChordMiddle is an option for some 3-button Logitech mice
>=20
> #    Option "ChordMiddle"
>=20
> EndSection
>=20
> Section "Monitor"
>=20
>     Identifier  "monitor"
>=20
> # HorizSync is in kHz unless units are specified.
> # HorizSync may be a comma separated list of discrete values, or a
> # comma separated list of ranges of values.
> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
> # USER MANUAL FOR THE CORRECT NUMBERS.
>=20
>     HorizSync   31.5 - 57.0
>=20
> #    HorizSync 30-64         # multisync
> #    HorizSync 31.5, 35.2    # multiple fixed sync frequencies
> #    HorizSync 15-25, 30-50  # multiple ranges of sync frequencies
>=20
> # VertRefresh is in Hz unless units are specified.
> # VertRefresh may be a comma separated list of discrete values, or a
> # comma separated list of ranges of values.
> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
> # USER MANUAL FOR THE CORRECT NUMBERS.
>=20
>     VertRefresh 50-100
>=20
> EndSection
>=20
>=20
> # **********************************************************************
> # Graphics device section
> # **********************************************************************
>=20
> # Any number of graphics device sections may be present
>=20
> # Standard VGA Device:
>=20
> Section "Device"
>     Identifier "Standard VGA"
>     VendorName "Unknown"
>     BoardName  "Unknown"
>=20
> # 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.
>=20
> #    Chipset   "generic"
>=20
> # The Driver line must be present.  When using run-time loadable driver
> # modules, this line instructs the server to load the specified driver
> # module.  Even when not using loadable driver modules, this line
> # indicates which driver should interpret the information in this
> section.
>=20
>                                                                          =
                                                              =20
>     Driver     "vga"
> # The BusID line is used to specify which of possibly multiple devices
> # this section is intended for.  When this line isn't present, a device
> # section can only match up with the primary video device.  For PCI
> # devices a line like the following could be used.  This line should not
> # normally be included unless there is more than one video device
> # intalled.
>=20
> #    BusID      "PCI:0:10:0"
>=20
> #    VideoRam  256
>=20
> #    Clocks 25.2 28.3
>=20
> EndSection
>=20
> # Device configured by xorgconfig:
>=20
> Section "Device"
>     Identifier  "videocard"
>     Driver      "vesa"
>     #VideoRam    131072
>     # Insert Clocks lines here if appropriate
> EndSection
>=20
>=20
> # **********************************************************************
> # Screen sections
> # **********************************************************************
>=20
> # Any number of screen sections may be present.  Each describes
> # the configuration of a single screen.  A single specific screen
> section # may be specified from the X server command line with the
> "-screen" # option.
> Section "Screen"
>     Identifier  "Screen 1"
>     Device      "videocard"
>     Monitor     "monitor"
>     DefaultDepth 24
>=20
>     Subsection "Display"
>         Depth       8
>         Modes       "1024x768"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       16
>         Modes       "1024x768"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "1024x768"
>         ViewPort    0 0
>     EndSubsection
> EndSection
>=20
> # **********************************************************************
> # ServerLayout sections.
> # **********************************************************************
>=20
> # Any number of ServerLayout sections may be present.  Each describes
> # the way multiple screens are organised.  A specific ServerLayout
> # section may be specified from the X server command line with the
> # "-layout" option.  In the absence of this, the first section is used.
> # When now ServerLayout section is present, the first Screen section
> # is used alone.
>=20
> Section "ServerLayout"
>=20
> # The Identifier line must be present
>     Identifier  "Simple Layout"
>=20
> # 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.
>=20
>     Screen "Screen 1"
>=20
> # 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".
>=20
>     InputDevice "Mouse1" "CorePointer"
>     InputDevice "Keyboard1" "CoreKeyboard"
>=20
> EndSection
>=20
> # Section "DRI"
> #    Mode 0666
> # EndSection
>=20
>=20
>=20
> regards,
> levon

--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-cKUw/1BAYAmJlhU+LlxG
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEABECAAYFAkmNt4AACgkQM4TrQ4qfROPmMQCcDkdJgvQYKbzCU+c/CEWR8FAX
t4cAmwVKti48GxqahD6+adb9U2j+9+p5
=Oc5l
-----END PGP SIGNATURE-----

--=-cKUw/1BAYAmJlhU+LlxG--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1234024320.1562.38.camel>