Hey guys,

I'm kind of stuck here on what to do next.  I seem to be unable to get X
working correctly.

I have a Diamond II Stealth S220 Card - which isn't supported via XF86Setup,
so I used xf86config to set things up.  All went well, and it went all the way
thru without error.  When I try to startx, I get all kinds of strange results:

1) Currently my Xserver is pointed to VGA16.  When I startx, I get the tvm
window manager, and things seem fine (although I think it's only in 640x480
mode - I prefer 800x600 and can support much higher).

If I select Exit from the X menu, my console screen is messed up.  By that I
mean that the screen has been garbled, duplicate characters appear, some are
missing, and the display seems to have rolled off to the left too much - a few
pixles of the first chars of each line show up on the right hand side of the
screen.  I have to reboot to fix this - reset doesn't seem to help at all.

The log from this session of startx is as follows:

----
XFree86 Version 3.3.2.3 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: July 15 1998

[snip]

XF86Config: /etc/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keymap: "xfree86(us)" (overrides other XKB settings)
(**) Mouse: type: Microsoft, device: /dev/ttyS0, baudrate: 1200
(**) Mouse: buttons: 3, 3 button emulation (timeout: 50ms)
(**) VGA16: Graphics device ID: "Generic VGA"
(**) VGA16: Monitor ID: "Hi-Res monitor"
(--) VGA16: Mode "1024x768" needs hsync freq of 70.24 kHz. Deleted.
(--) VGA16: Mode "1152x864" needs hsync freq of 70.88 kHz. Deleted.
(--) VGA16: Mode "1280x1024" needs hsync freq of 74.59 kHz. Deleted.
(--) VGA16: Mode "1600x1200" needs hsync freq of 75.00 kHz. Deleted.
(--) VGA16: Mode "1152x864" needs hsync freq of 76.01 kHz. Deleted.
(--) VGA16: Mode "1280x1024" needs hsync freq of 78.86 kHz. Deleted.
(--) VGA16: Mode "1024x768" needs hsync freq of 80.21 kHz. Deleted.
(--) VGA16: Mode "1280x1024" needs hsync freq of 81.13 kHz. Deleted.
(--) VGA16: Mode "1600x1200" needs hsync freq of 87.50 kHz. Deleted.
(--) VGA16: Mode "1152x864" needs hsync freq of 89.62 kHz. Deleted.
(--) VGA16: Mode "1280x1024" needs hsync freq of 91.15 kHz. Deleted.
(--) VGA16: Mode "1600x1200" needs hsync freq of 93.75 kHz. Deleted.
(--) VGA16: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted.
(--) VGA16: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted.
(--) VGA16: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted.
(--) VGA16: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted.
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/
X11R6/lib/X11/fonts/75dpi/"
(--) VGA16: PCI: Rendition Unknown chipset (0x2000) rev 6, Memory @
0xe0000000, 0xe1000000, I/O @ 0x6800
(**) VGA16: chipset:  generic
(--) VGA16: videoram: 256k (using 256k)
(--) VGA16: clocks:  25.72  28.32  25.72  28.32
(--) VGA16: Maximum allowed dot-clock: 90.000 MHz
(**) VGA16: Mode "640x480": mode clock =  25.175, clock used =  25.720
(--) VGA16: There is no defined dot-clock matching mode "800x600"
(--) VGA16: Removing mode "800x600" from list of valid modes.
(**) VGA16: Virtual resolution set to 800x600
System: `/usr/X11R6/lib/X11/xkb/xkbcomp -w 1 -R/usr/X11R6/lib/X11/xkb -xkm -m
us -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml
"Errors from xkbcomp are not fatal to the X server" keymap/xfree86
compiled/xfree86.xkm'

waiting for X server to shut down FreeFontPath: FPE
"/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.

---

If I do a CTL-ALT-BKSP instead of selecting Exit from the X menu, it shuts
down cleanly, but then my display has these pixles that scroll from top to
bottom.  It's not bad, but slightly annoying.  A reset fixes this.


2) I want to use the SVGA server, not the VGA16 server, so I changed the first
line in Xserver to reflect that.  When I startx again, I get the tvm window,
but this time it looks like its in 320x200 mode.  I can shut down with CTL-
AKT-BKSP with no problems.  The startx log from this session is as follows:

-----
XFree86 Version 3.3.2.3 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: July 15 1998
        If the server is older than 6-12 months, or if your card is newer
        than the above date, look for a newer version before reporting
        problems.  (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.0.35 i686 [ELF] 
Configured drivers:

[snip]

XF86Config: /etc/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keymap: "xfree86(us)" (overrides other XKB settings)
(**) Mouse: type: Microsoft, device: /dev/ttyS0, baudrate: 1200
(**) Mouse: buttons: 3, 3 button emulation (timeout: 50ms)
(**) SVGA: Graphics device ID: "DSII-S220"
(**) SVGA: Monitor ID: "Hi-Res monitor"
(--) SVGA: Mode "1024x768" needs hsync freq of 70.24 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 70.88 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 74.59 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 75.00 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 76.01 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 78.86 kHz. Deleted.
(--) SVGA: Mode "1024x768" needs hsync freq of 80.21 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 81.13 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 87.50 kHz. Deleted.
(--) SVGA: Mode "1152x864" needs hsync freq of 89.62 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 91.15 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 93.75 kHz. Deleted.
(--) SVGA: Mode "1600x1200" needs hsync freq of 105.77 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 107.16 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 96.15 kHz. Deleted.
(--) SVGA: Mode "1800X1440" needs hsync freq of 104.52 kHz. Deleted.
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/
X11R6/lib/X11/fonts/75dpi/"
(--) SVGA: PCI: Rendition Unknown chipset (0x2000) rev 6, Memory @ 0xe0000000,
0xe1000000, I/O @ 0x6800
(--) SVGA: chipset:  generic
(--) SVGA: videoram: 64k
(**) SVGA: clocks:  25.18
(**) SVGA: Using 8 bpp, Depth 8, Color weight: 666
(--) SVGA: Using builtin driver modes
(--) SVGA: Builtin Mode: 320x200
(--) SVGA: Virtual resolution set to 320x204
(--) SVGA: SpeedUp code selection modified because virtualX != 1024
System: `/usr/X11R6/lib/X11/xkb/xkbcomp -w 1 -R/usr/X11R6/lib/X11/xkb -xkm -m
us -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml
"Errors from xkbcomp are not fatal to the X server" keymap/xfree86
compiled/xfree86.xkm'
xinit:  connection to X server lost.

waiting for X server to shut down FreeFontPath: FPE
"/usr/X11R6/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing.


------

Here's my XF86Config file:  (unrelated lines and comments removed)

-------

xSection "Monitor"
    Identifier  "Hi-Res monitor"
    VendorName  "Unknown"
    ModelName   "DB-770BA"
    HorizSync   31.5 - 64.3
    VertRefresh 50-100
Modeline "640x400"     25.175 640  664  760  800   400  409  411  450
Modeline "640x480"     25.175 640  664  760  800   480  491  493  525
ModeLine "800x600"     36     800  824  896 1024   600  601  603  625
Modeline "1024x768"    44.9  1024 1048 1208 1264   768  776  784  817
Interlace
Modeline "640x400"     31.5   640  672 736   832   400  401  404  445 -HSync
+VSync
Modeline "640x480"     31.5   640  680  720  864   480  488  491  521
ModeLine  "640x480"    31.5   640  656  720  840   480  481  484  500 -HSync
-VSync
Modeline "800x600"     40     800  840  968 1056   600  601  605  628 +hsync
+vsync
Modeline "640x400"     36     640  696  752  832   480  481  484  509 -HSync
-VSync
ModeLine "1152x864"    65    1152 1168 1384 1480   864  865  875  985
Interlace
Modeline "800x600"     50     800  856  976 1040   600  637  643  666 +hsync
+vsync
Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777  806 -hsync
-vsync
Modeline "640x480"     45.8   640  672  768  864   480  488  494  530 -HSync
-VSync
Modeline  "1152x864"   89.9  1152 1216 1472 1680   864  868  876  892 -HSync
-VSync
Modeline  "800x600"    60.75  800  864  928 1088   600  616  621  657 -HSync
-VSync
Modeline "1024x768"    75    1024 1048 1184 1328   768  771  777  806 -hsync
-vsync
Modeline "1280x1024"   80    1280 1296 1512 1568  1024 1025 1037 1165
Interlace
Modeline  "800x600"    69.65  800  864  928 1088   600  604  610  640 -HSync
-VSync
Modeline "1024x768"    85    1024 1032 1152 1360   768  784  787  823
Modeline  "1152x864"   92    1152 1208 1368 1474   864  865  875  895
Modeline "1280x1024"  110    1280 1328 1512 1712  1024 1025 1028 1054
Modeline "1024x768"   98.9  1024 1056 1216 1408   768 782 788 822 -HSync
-VSync
Modeline "1152x864"   110   1152 1240 1324 1552   864  864  876  908
Modeline "1280x1024"  126.5 1280 1312 1472 1696  1024 1032 1040 1068 -HSync
-VSync
Modeline "1600x1200"  162   1600 1664 1856 2160  1200 1201 1204 1250 +HSync
+VSync
Modeline "1152x864"   135    1152 1464 1592 1776   864  864  876  908
Modeline "1280x1024"  135    1280 1312 1456 1712  1024 1027 1030 1064
Modeline "1024x768"   115.5  1024 1056 1248 1440  768  771  781  802 -HSync
-VSync
Modeline "1280x1024"  135    1280 1312 1416 1664  1024 1027 1030 1064
Modeline "1600x1200"  189    1600 1664 1856 2160  1200 1201 1204 1250 -HSync
-VSync
Modeline "1152x864"   137.65 1152 1184 1312 1536   864  866  885  902 -HSync
-VSync
Modeline "1280x1024"  157.5  1280 1344 1504 1728  1024 1025 1028 1072 +HSync
+VSync
Modeline "1600x1200"  202.5  1600 1664 1856 2160  1200 1201 1204 1250 +HSync
+VSync
Modeline "1600x1200"  220    1600 1616 1808 2080  1200 1204 1207 1244 +HSync
+VSync
Modeline "1280x1024"  181.75 1280 1312 1440 1696  1024 1031 1046 1072 -HSync
-VSync
ModeLine "1800X1440"  230    1800 1896 2088 2392 1440 1441 1444 1490 +HSync
+VSync
ModeLine "1800X1440"  250    1800 1896 2088 2392 1440 1441 1444 1490 +HSync
+VSync
Modeline "512x384"    20.160 512  528  592  640   384  385  388  404 -HSync
-VSync
Modeline "512x384"    22     512  528  592  640   384  385  388  404 -HSync
-VSync
Modeline "320x200"     12.588 320  336  384  400   200  204  205  225
Doublescan
Modeline "320x240"     12.588 320  336  384  400   240  245  246  262
Doublescan
Modeline "320x240"     15.750 320  336  384  400   240  244  246  262
Doublescan
ModeLine "400x300"     18     400  416  448  512   300  301  302  312
Doublescan
Modeline "400x300"     20     400  416  480  528   300  301  303  314
Doublescan
Modeline "400x300"     25     400  424  488  520   300  319  322  333
Doublescan
ModeLine "480x300"     21.656 480  496  536  616   300  301  302  312
Doublescan
Modeline "480x300"     23.890 480  496  576  632   300  301  303  314
Doublescan
Modeline "480x300"     25     480  496  576  632   300  301  303  314
Doublescan
Modeline "480x300"     29.952 480  504  584  624   300  319  322  333
Doublescan
EndSection

Section "Device"
    Identifier  "Generic VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Chipset     "generic"
EndSection

Section "Device"
    Identifier  "DSII-S220"
    VendorName  "Diamond"
    BoardName   "Stealh II-S220"
    #VideoRam    4096
    Clocks  25.18
EndSection

Section "Screen"
    Driver      "svga"
    Device      "DSII-S220"
    Monitor     "Hi-Res monitor"
    Subsection "Display"
        Depth       8
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "640x480" "800x600" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Driver      "vga16"
    Device      "Generic VGA"
    Monitor     "Hi-Res monitor"
    Subsection "Display"
        Modes       "640x480" "800x600"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection

Section "Screen"
    Driver      "vga2"
    Device      "Generic VGA"
    Monitor     "Hi-Res monitor"
    Subsection "Display"
        Modes       "640x480" "800x600"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection

Section "Screen"
    Driver      "accel"
    Device      "DSII-S220"
    Monitor     "Hi-Res monitor"
    Subsection "Display"
        Depth       8
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "640x480" "800x600" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

----

Here is my Xserver file:

----

/usr/bin/X11/XF86_VGA16
Console
The first line in this file is the full pathname of the default X server.
The second line shows who is allowed to run the X server:
RootOnly
Console      (anyone whose controlling tty is on the console)
Anybody

-----

Also, which Devices/Screen section does X use?  The first one it finds??  

TIA for any help you can give.
-Jay

Reply via email to