Tuesday, July 31, 2007

slackware 12.0 - fvwm, siliconmotion

I did not leave slackware. I downloaded the latest version of FVWM sourcecode, built and gave it an install. Now every thing is fine with FVWM.

Then I spent my rest time digging into the xorg configuration. Slackware did not use the latest FVWM but contains the latest xorg and it broken with my siliconmotion LynxEM+. I tried with a basic VGA driver, the ctrl-alt-backspace worked. With siliconmotion driver,


(II) LoadModule: "siliconmotion"
(II) Loading /usr/lib/xorg/modules/drivers//siliconmotion_drv.so
(II) Module siliconmotion: vendor="X.Org Foundation"
compiled for 1.2.99.901, module version = 1.4.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.1


(II) LoadModule: "vgahw"
(II) Loading /usr/lib/xorg/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 0.1.0
ABI class: X.Org Video Driver, version 1.2
(**) Silicon MotionDepth 16, (--) framebuffer bpp 16
(==) Silicon MotionRGB weight 565
(==) Silicon MotionDefault visual is TrueColor
(**) Silicon MotionOption "NoAccel" "True"
(**) Silicon MotionOption "HWCursor" "False"
(**) Silicon MotionOption "UseBIOS" "False"
(**) Silicon MotionOption: NoAccel - Acceleration disabled
(**) Silicon MotionUsing Software Cursor
(**) Silicon MotionOption: UseBIOS disabled.


As you can see, I disabled accelerator and UseBios options.


And I check packages, here is some difference:
REDHAT

xf86-video-siliiconmotion 1.3.1.5
xorg-server 1.0.1 (X11R6 X server)
I think X11R6 is not correct it should be 7.0.0 as I dumped by Xorg.0.log

===================================
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.9-22.18.bz155725.ELsmp i686Red Hat, Inc.
=====================================

Install log (Fc5)
==========================================================
Installing xorg-x11-server-Xorg-1.0.1-8.i386.
nstalling xorg-x11-drv-mouse-1.0.4-1.i386.
Installing xorg-x11-drv-siliconmotion-1.3.1.5-1.1.i386.
Installing libXcursor-1.1.5.2-2.2.i386.
Installing xorg-x11-drivers-7.0-2.i386.

SLACKWARE
X Window System Version 1.3.0
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.3.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3

============================
Xorg web site

7.0 [ ] xf86-video-siliconmotion-X11R7.0-1.3.1.5.tar.gz
xorg-server-X11R7.0-1.0.1.tar.gz
libXcursor-X11R7.0-1.1.5.2.tar.gz
xf86-input-mouse-X11R7.0-1.0.3.1.tar.gz

7.1 xf86-input-mouse-X11R7.1-1.1.0.tar.gz
xf86-video-siliconmotion-X11R7.1-1.4.1.tar.gz
libXcursor-X11R7.1-1.1.6.tar.gz
xorg-server-X11R7.1-1.1.0.tar.gz

7.2 xorg-server-X11R7.2-1.2.0.tar.gz

7.1


On my FC5, the version is use 7.0 but it still use the directory /usr/X11R6 not /usr/X11R7.
XCURSOR -> X11/Xcursor/Xcursor.h

I just don't know I can build the old version 7.0 on Slackware.