X11 on lenovo x300

Hi

I am trying to run X11 (windowmanager fvwm) on my lenovo x300 laptop (opensuse 11.0). This gives me some strange problems:

  • The windowmanager functions for horizontal and vertical zoom do not recognize the full screen (1440x900), but somehow they operate on a smaller portion of the screen (could be something like 1024x768).

  • xscreensaver fails. I can start xscreensaver in the background (as confirmed by ps). But then xscreensaver-demo complains

The XScreenSaver daemon doesn’t seem to be running on display “:0.0”. Launch it now?

So I do that, and get

The xscreensaver daemon did not start up properly. Please check your $PATH and permissions.

What is best to investigate this further?

Thanks.

Do you have any other desktop environments installed/working ok? Do they display correctly?

It might be a good idea to have a look at xorg.conf and post here.

I have not installed any of the fancy desktops like kde or gnome. Yet a plain old twm gives me the very same trouble with xscreensaver. I should have mentioned that when I start xscreensaver in verbose mode, I get the following output talking about fixing xinerama braindamage related to two screens (or displays?).

xscreensaver 5.05, copyright (c) 1991-2008 by Jamie Zawinski <jwz@jwz.org>.
xscreensaver: running as phorminx/users (1000/100)
xscreensaver: in process 16374.
xscreensaver: 10:13:46: compensating for Xinerama braindamage:
xscreensaver: 10:13:46: 0: 1024x768+0+0 enclosed by 1440x900+0+0
xscreensaver: 10:13:46: 1: 1440x900+0+0 overlaps 1024x768+0+0
xscreensaver: 10:13:46: running on display “:0.0” (0 Xinerama screens).
xscreensaver: 10:13:46: vendor is The X.Org Foundation, 10400090.
xscreensaver: 10:13:46: useful extensions:
xscreensaver: 10:13:46: MIT Screen-Saver (disabled at compile time)
xscreensaver: 10:13:46: Shared Memory
xscreensaver: 10:13:46: Double-Buffering
xscreensaver: 10:13:46: Power Management
xscreensaver: 10:13:46: GLX
xscreensaver: 10:13:46: XF86 Video-Mode
xscreensaver: 10:13:46: Xinerama
xscreensaver: 10:13:46: Resize-and-Rotate
xscreensaver: 10:13:46: Xinerama layout:
xscreensaver: 10:13:46: selecting RANDR events
xscreensaver: 10:13:46: consulting /proc/interrupts for keyboard activity.
xscreensaver: 10:13:46: selecting events on extant windows… done.
xscreensaver: 10:13:46: awaiting idleness.

Yet that doesn’t make sense to me. According to the xorg.conf posted below, xinerama is off. The smaller screen size reported by xscreensaver (i.e., 1024x768) seems to be the screen size that fvwm likes to use for maximizing a window. So maybe the two difficulties I have are somehow related. Yet strange enough, only under fvwm windows are maiximized to 1024x768. Under twm, I get a window of size 1440x900. I am using the same .fvwmrc that has worked fine with opensuse 10.2 (with various other computers having various screen sizes).

So here is my xorg.conf. Yast2 and sax2 give me slightly different files xorg.cong. Yet these differences seem to be irrelevant for my trouble.

/…/

SaX generated X11 config file

Created on: 2008-11-09T10:06:20-0600.

Version: 8.1

Contact: Marcus Schaefer <sax@suse.de>, 2005

Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>

Automatically generated by [ISaX] (8.1)

PLEASE DO NOT EDIT THIS FILE!

Section “Files”
FontPath “/usr/share/fonts/misc:unscaled”
FontPath “/usr/share/fonts/local”
FontPath “/usr/share/fonts/75dpi:unscaled”
FontPath “/usr/share/fonts/100dpi:unscaled”
FontPath “/usr/share/fonts/Type1”
FontPath “/usr/share/fonts/URW”
FontPath “/usr/share/fonts/Speedo”
FontPath “/usr/share/fonts/PEX”
FontPath “/usr/share/fonts/cyrillic”
FontPath “/usr/share/fonts/latin2/misc:unscaled”
FontPath “/usr/share/fonts/latin2/75dpi:unscaled”
FontPath “/usr/share/fonts/latin2/100dpi:unscaled”
FontPath “/usr/share/fonts/latin2/Type1”
FontPath “/usr/share/fonts/latin7/75dpi:unscaled”
FontPath “/usr/share/fonts/baekmuk:unscaled”
FontPath “/usr/share/fonts/japanese:unscaled”
FontPath “/usr/share/fonts/kwintv”
FontPath “/usr/share/fonts/truetype”
FontPath “/usr/share/fonts/uni:unscaled”
FontPath “/usr/share/fonts/CID”
FontPath “/usr/share/fonts/ucs/misc:unscaled”
FontPath “/usr/share/fonts/ucs/75dpi:unscaled”
FontPath “/usr/share/fonts/ucs/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/misc:unscaled”
FontPath “/usr/share/fonts/hellas/75dpi:unscaled”
FontPath “/usr/share/fonts/hellas/100dpi:unscaled”
FontPath “/usr/share/fonts/hellas/Type1”
FontPath “/usr/share/fonts/misc/sgi:unscaled”
FontPath “/usr/share/fonts/xtest”
FontPath “/opt/kde3/share/fonts”
InputDevices “/dev/gpmdata”
InputDevices “/dev/input/mice”
EndSection

Section “ServerFlags”
Option “AIGLX” “on”
Option “AllowMouseOpenFail” “on”
Option “ZapWarning” “on”
EndSection

Section “Module”
Load “glx”
Load “type1”
Load “extmod”
Load “dbe”
Load “freetype”
EndSection

Section “InputDevice”
Driver “kbd”
Identifier “Keyboard[0]”
Option “Protocol” “Standard”
Option “XkbLayout” “us”
Option “XkbModel” “microsoftpro”
Option “XkbRules” “xfree86”
EndSection

Section “InputDevice”
Driver “mouse”
Identifier “Mouse[1]”
Option “Buttons” “5”
Option “Device” “/dev/input/mice”
Option “Name” “IBM ThinkPad 800dpi Optical Travel Mouse”
Option “Protocol” “explorerps/2”
Option “Vendor” “Sysp”
Option “ZAxisMapping” “4 5”
EndSection

Section “InputDevice”
Driver “synaptics”
Identifier “Mouse[3]”
Option “AccelFactor” “0.10”
Option “BottomEdge” “300”
Option “Buttons” “5”
Option “CircScrollDelta” “0.1”
Option “CircScrollTrigger” “2”
Option “CircularScrolling” “1”
Option “Device” “/dev/input/mice”
Option “EdgeMotionMaxSpeed” “15”
Option “EdgeMotionMinSpeed” “15”
Option “Emulate3Buttons” “on”
Option “EmulateMidButtonTime” “75”
Option “FingerHigh” “40”
Option “FingerLow” “30”
Option “HorizScrollDelta” “30”
Option “InputFashion” “Mouse”
Option “LeftEdge” “100”
Option “MaxSpeed” “0.90”
Option “MaxTapMove” “100”
Option “MinSpeed” “0.15”
Option “Name” “ALPS;Touchpad”
Option “Protocol” “auto-dev”
Option “RightEdge” “1100”
Option “SHMConfig” “on”
Option “SendCoreEvents” “on”
Option “TapButton1” “1”
Option “TapButton2” “3”
Option “TapButton3” “2”
Option “TopEdge” “50”
Option “UpDownScrolling” “1”
Option “Vendor” “Sysp”
Option “VertScrollDelta” “25”
Option “ZAxisMapping” “4 5”
EndSection

Section “InputDevice”
Driver “synaptics”
Identifier “Mouse[5]”
Option “AccelFactor” “0.10”
Option “BottomEdge” “300”
Option “Buttons” “5”
Option “CircScrollDelta” “0.1”
Option “CircScrollTrigger” “2”
Option “CircularScrolling” “1”
Option “Device” “/dev/input/mice”
Option “EdgeMotionMaxSpeed” “15”
Option “EdgeMotionMinSpeed” “15”
Option “Emulate3Buttons” “on”
Option “EmulateMidButtonTime” “75”
Option “FingerHigh” “40”
Option “FingerLow” “30”
Option “HorizScrollDelta” “30”
Option “InputFashion” “Mouse”
Option “LeftEdge” “100”
Option “MaxSpeed” “0.90”
Option “MaxTapMove” “100”
Option “MinSpeed” “0.15”
Option “Name” “ALPS;Touchpad”
Option “Protocol” “auto-dev”
Option “RightEdge” “1100”
Option “SHMConfig” “on”
Option “SendCoreEvents” “on”
Option “TapButton1” “1”
Option “TapButton2” “3”
Option “TapButton3” “2”
Option “TopEdge” “50”
Option “UpDownScrolling” “1”
Option “Vendor” “Sysp”
Option “VertScrollDelta” “25”
Option “ZAxisMapping” “4 5”
EndSection

Section “Monitor”
DisplaySize 287 180
HorizSync 30-70
Identifier “Monitor[0]”
ModelName “LENOVO LCD MONITOR”
Option “DPMS”
Option “PreferredMode” “1440x900”
VendorName “LEN”
VertRefresh 50-60
UseModes “Modes[0]”
EndSection

Section “Modes”
Identifier “Modes[0]”
EndSection

Section “Screen”
DefaultDepth 24
SubSection “Display”
Depth 15
Modes “1440x900” “1366x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
SubSection “Display”
Depth 16
Modes “1440x900” “1366x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
SubSection “Display”
Depth 24
Modes “1440x900” “1366x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
SubSection “Display”
Depth 8
Modes “1440x900” “1366x768” “1280x800” “1152x864” “1280x768” “1280x720” “1024x768” “1280x600” “1024x600” “800x600” “768x576” “640x480”
EndSubSection
Device “Device[0]”
Identifier “Screen[0]”
Monitor “Monitor[0]”
EndSection

Section “Device”
BoardName “965 GM”
BusID “0:2:0”
Driver “intel”
Identifier “Device[0]”
Screen 0
VendorName “Intel”
EndSection

Section “ServerLayout”
Identifier “Layout[all]”
InputDevice “Keyboard[0]” “CoreKeyboard”
InputDevice “Mouse[1]” “CorePointer”
InputDevice “Mouse[3]” “SendCoreEvents”
Option “Clone” “off”
Option “Xinerama” “off”
Screen “Screen[0]”
EndSection

Section “DRI”
Group “video”
Mode 0660
EndSection

Section “Extensions”
EndSection

Maybe one more piece of information I can post here. Xdpyinfo does not talk xinerama (unlike xscreensaver). A typical output is the following:

name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 10400090
X.Org version: 1.4.0.90
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x1e00022, revert to Parent
number of extensions: 33
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
GLX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XAccessControlExtension
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XFree86-DGA
XFree86-DRI
XFree86-Misc
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1

screen #0:
print screen: no
dimensions: 1440x900 pixels (287x180 millimeters)
resolution: 127x127 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x57
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xda7f3f
KeyPressMask KeyReleaseMask ButtonPressMask
ButtonReleaseMask EnterWindowMask LeaveWindowMask
Button1MotionMask Button2MotionMask Button3MotionMask
Button4MotionMask Button5MotionMask ButtonMotionMask
KeymapStateMask StructureNotifyMask SubstructureNotifyMask
SubstructureRedirectMask PropertyChangeMask ColormapChangeMask
number of visuals: 17
default visual id: 0x23
visual:
visual id: 0x23
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x25
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x26
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x27
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x28
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x29
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2a
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2b
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2c
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2d
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2e
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2f
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x30
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x31
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x32
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x55
class: TrueColor
depth: 32 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits

I can only suggest a bit of experimenting. This is almost certainly specific to the intel driver and hardware. Hope I’m not on the wrong track here, but I have seen posts regarding this hardware, whereby the EDID is reported as not being read in correctly via xorg drivers.

May also be worth trying the i810 or vesa video drivers, and see whether this issue is corrected. Hopefully someone more familiar with this hardware can assist…

I can only suggest a bit of experimenting.

Well, that’s what I did. VESA did not help. On the other hand, my knoppix CD runs well with i810. But under suse I get the error message “no screens found”… (both with sax2 and when I simply edit xorg.conf)