l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
February 3: Social gathering
Next Installfest:
Latest News:
Jan. 2: Happy new year! LUGOD turns 16!
Page last updated:
2002 Jun 02 21:48

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Evil xinerama
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Evil xinerama

For months now I have been running two displays on one host using XFree
4.1.0.  I have thoroughly tested this set-up and it has worked quite well.

However, I read recently that much to my surprise, this was not xinerama
and that xinerama allows me to move applications from one screen to
another, something I have been wanting to do for quite a while.

I figured that since the configuration file was working fine I could
simply run

X +xinerama and get a bueautiful looking...evil core dump
So, not wanting to look at the ugly core I went to a website and tried to
emulate their configuration.
I then tried such combinations as
X -- +xinerama
X +xinerama
startx ''
xinit ''
to recieve that damn core dump

I have included such things as the configuration and the log to assist

Section "ServerFlags"


Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
#       ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        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/"

Section "Module"
        Load  "dbe"
#       Load  "dri"
#       Load  "extmod"
     SubSection  "extmod"
       Option    "omit xfree86-dga"   # don't initialise the DGA extension
        Load  "freetype"
#       Load  "glx"
        Load  "freetype"
#       Load  "glx"
#       Load  "pex5"
#       Load  "record"
#       Load  "xie"
        Load  "type1"

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"

     Option "AutoRepeat" "500 30"
     Option "XkbRules"   "xfree86"
     Option "XkbModel"   "pc101"
     Option "XkbLayout"  "us"


Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/mouse"

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "DEL"
        ModelName    "DELL D1025HT"
        HorizSync    30.0 - 85.0
        VertRefresh  48.0 - 150.0

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync     31.5-40.0
        VertRefresh  50.0-90.0
#Modeline "1024x768"    44.9  1024 1048 1208 1264   768  776  784  817
#Modeline "1024x768"    85    1024 1032 1152 1360   768  784  787  823
#Modeline "1024x768"   98.9  1024 1056 1216 1408   768 782 788 822 -HSync
#        Modeline "1024x768"   115.5  1024 1056 1248 1440  768  771  781
802 -HSync -VSync
#        Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777
806 -hsync -vsync
#        Modeline "1024x768"    75    1024 1048 1184 1328   768  771  777
806 -hsync -vsync

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "NVidia"
        BoardName   "Riva Ultra 64"
        VideoRam        32676
        BusID       "PCI:1:0:0"

Section "Device"
        Identifier  "Card1"
        Driver      "trident"
        VendorName  "Trident"
        BoardName   "TGUI 96xx"
        BusID       "PCI:0:18:0"

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    8
        SubSection "Display"
                Depth    8
                Modes   "640x480"
                ViewPort 0 0

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultDepth    8
        SubSection "Display"
                Depth     8
                Modes   "640x480"
                ViewPort 0 0

Section "ServerLayout"
        Identifier     "Simple Layout"
        Screen        "Screen0"
        Screen        "Screen1" Below "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"

And the log:
cat /var/log/XFree86.0.log | grep WW
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) NV(0): Failed to set write-combining range (0xf0000,0x10000)
(WW) NV(0): Failed to set write-combining range (0xd4000000,0x1fe9000)
(WW) TRIDENT(1): Failed to set write-combining range (0xd7000000,0x400000)

And a nice analysis of the core file gives:
gdb /usr/X11R6/bin/XFree86 XFree86.core
#0  0x28215990 in kill () from /usr/lib/libc.so.4
#1  0x28251aa2 in abort () from /usr/lib/libc.so.4
#2  0x806c75a in ddxGiveUp ()
#3  0x806c7fe in AbortDDX ()
#4  0x80d132c in AbortServer ()
#5  0x80d266d in FatalError ()
#6  0x807e131 in xf86SigHandler ()
#7  0xbfbfffac in ?? ()
#8  0x80fe71a in PanoramiXCreateConnectionBlock ()
#9  0x80bccd0 in main ()
#10 0x806b525 in _start ()

And finally:
> uname -a
FreeBSD .ucdavis.edu 4.5-RELEASE FreeBSD 4.5-RELEASE #1: Wed May  1
19:40:49 GMT 2002     chris@.ucdavis.edu:/usr/src/sys/compile/BSD  i386

I hope I can figure this thing out.

	Christopher J. McKenzie

	(530) 297-6110
	609 Anderson rd 161
	Davis, CA 95616

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.