Linux XFree86 elf xerver wn't work (Mach32, ELF)

Linux XFree86 elf xerver wn't work (Mach32, ELF)

Post by James LewisMo » Thu, 14 Sep 1995 04:00:00



I am having problems with the ELF Mach32 server.  I think I've figured out
what the problem is, but am not sure.  It seems to be screwing up the
color map somewhere.  I only have this probem using the ELF compiled
version of the server.  _NOT_ the a.out version, it works fine.

I  originally had the video memory mappe to 100MB.  I changed it around,
and the whole improved (as in I saw most of the windows, etc,
but some things still were messed up.  It seemd that anything that used
the color white was now using black for white (including the cursor).
I changed the cursor to a software cursor.  It made no difference.
Here is other information that I've posted a few times in the past,
but got no response.  Is it just my hardware?  I would think not
considering that the a.out version works fine.  HELLPPP!!! Please.

jim
----------

I'm trying to get XFree86 3.1.1 working with elf libs (and elf binaries
obviously).  I have seen much success in this area from others, but never
anyone using a mach32 board (an old one ATI VLB 2mb VRAM).  

I have rolled my own elf distribution of the 3.1.1 stuff.  I took
xc-[123].tar.gz, and the XFree86-3.1.1.diff.gz patch, and the patch
XFree86-3.1.1-Linux-ELF-3.diff found at sunsite in
/pub/Linux/X11/XFree86-3.1.1/ELF.  and recompiled the whole thing, and I
have also picked up the complete binary distribution (no includes, mans, etc)
from the same location.

I have tried both the SVGA, and the mach32 servers.  3.1.1 in aout works
just fine.  My machine is 1.2.0, libc 5.0.10, gcc 950523.  (and many others
in the past three months, but those are the latest I've tried.)

The server seems to overclock the monitor because it (the monitor) shuts off
the picture, and the little "stop it you are hurting me" light comes on.
Someone suggested that it sounded like a config problem, but I use the
same config for both aout and elf, and aout works, elf doesn't...

I have now attempted to use the 3.1.2 server.  Again no luck.  a.out
server works fine, but the elf server overclocks the monitor and then
if I change the resolution (by way of alt-ctrl-[+-] I get a completely
balck screen, except for xdaliclock.  I can see this.  The mouse is
black, all of the xterms are black, etc.

Following is info from both servers run with "-probeonly", and SuperProbe as
well as a copy of my XF86Config.  As you can see both servers probe identically.
Go figure.  These are from 3.1.1.

thanks for any help...
jim

---------
+ /usr/X11R6/bin.aout/X -probeonly

XFree86 Version 3.1.1 / X Window System
(protocol Version 11, revision 0, vendor release 6000)
Operating System: Linux
Configured drivers:
  Mach32: accelerated server for ATI Mach32 graphics adaptors (Patchlevel 0)
(using VT number 7)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: mousesystems, device: /dev/mouse, baudrate: 200
(**) Mach32: Graphics device ID: "ATI Graphics Ultra Pro VESA 2MB VRAM"
(**) Mach32: Monitor ID: "MAG Innovision MX15H"
Warning: 'fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/PEX".
          Entry deleted from font path.
          (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/PEX").
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/ibm,/usr/X11R6/lib/X11/fonts/grkfonts"
(**) Mach32: Number of Clocks: 32
(**) Mach32: clocks: 100.30 126.10  92.60  36.10  50.50  56.80   0.00  44.90
(**) Mach32: clocks: 135.20  32.00 109.90  80.10  39.90  44.90  75.10  65.00
(**) Mach32: clocks:  50.15  63.05  46.30  18.05  25.25  28.40   0.00  22.45
(**) Mach32: clocks:  67.60  16.00  54.95  40.05  19.95  22.45  37.55  32.50
(--) Mach32: Maximum allowed dot-clock: 135.000 MHz
(**) Mach32: Mode "1280x1024": mode clock = 110.000, clock used = 109.900
(**) Mach32: Mode "1152x900": mode clock = 100.000, clock used = 100.300
(**) Mach32: Mode "1024x768": mode clock =  75.000, clock used =  75.100
(**) Mach32: Mode "800x600": mode clock =  50.000, clock used =  50.150
(**) Mach32: Virtual resolution: 1280x1024
(--) Mach32: Display width: 1280
(**) Mach32: videoram: 2048k
(--) Mach32: Using hardware cursor
(--) Mach32: Using 4 MB aperture
(--) Mach32: Ramdac is ATI68875/TLC34075/Bt885
(**) Mach32: Using 8 bits per RGB value
+ /usr/X11R6/bin.elf/X -probeonly

XFree86 Version 3.1.1 / X Window System
(protocol Version 11, revision 0, vendor release 6000)
Operating System: Linux
Configured drivers:
  Mach32: accelerated server for ATI Mach32 graphics adaptors (Patchlevel 0)
(using VT number 7)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: mousesystems, device: /dev/mouse, baudrate: 200
(**) Mach32: Graphics device ID: "ATI Graphics Ultra Pro VESA 2MB VRAM"
(**) Mach32: Monitor ID: "MAG Innovision MX15H"
Warning: 'fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/PEX".
          Entry deleted from font path.
          (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/PEX").
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/ibm,/usr/X11R6/lib/X11/fonts/grkfonts"
(**) Mach32: Option "dac_8_bit"
(--) Mach32: card type: localbus (486)
(**) Mach32: Number of Clocks: 32
(**) Mach32: clocks: 100.30 126.10  92.60  36.10  50.50  56.80   0.00  44.90
(**) Mach32: clocks: 135.20  32.00 109.90  80.10  39.90  44.90  75.10  65.00
(**) Mach32: clocks:  50.15  63.05  46.30  18.05  25.25  28.40   0.00  22.45
(**) Mach32: clocks:  67.60  16.00  54.95  40.05  19.95  22.45  37.55  32.50
(--) Mach32: Maximum allowed dot-clock: 135.000 MHz
(**) Mach32: Mode "1280x1024": mode clock = 110.000, clock used = 109.900
(**) Mach32: Mode "1152x900": mode clock = 100.000, clock used = 100.300
(**) Mach32: Mode "1024x768": mode clock =  75.000, clock used =  75.100
(**) Mach32: Mode "800x600": mode clock =  50.000, clock used =  50.150
(**) Mach32: Virtual resolution: 1280x1024
(--) Mach32: Display width: 1280
(**) Mach32: videoram: 2048k
(--) Mach32: Using hardware cursor
(--) Mach32: Using 4 MB aperture
(--) Mach32: Ramdac is ATI68875/TLC34075/Bt885
(**) Mach32: Using 8 bits per RGB value
+ echo --------
--------
+ SuperProbe

SuperProbe Version 2.3
        (c) Copyright 1993,1994 by David Wexelblat <d...@xfree86.org>

        This work is derived from the 'vgadoc2.zip' and
        'vgadoc3.zip' documentation packages produced by Finn
        Thoegersen, and released with all appropriate permissions
        having been obtained.  Additional information obtained from
        'Programmer's Guide to the EGA and VGA, 2nd ed', by Richard
        Ferraro, and from manufacturer's data books

The author welcomes bug reports and other comments mailed to
the electronic mail address above.  In particular, reports of
chipsets that this program fails to correctly detect are
appreciated.

First video: Super-VGA
        Chipset: ATI 68800-3
        Memory:  2048 Kbytes
        RAMDAC:  ATI-68875/Bt885/TLC34075 15/16/24-bit DAC w/pixel-mux
                 (with 6-bit wide lookup tables (or in 6-bit mode))
                 (programmable for 6/8-bit wide lookup tables)
        Attached graphics coprocessor:
                Chipset: ATI Mach32
                Memory:  2048 Kbytes
+ echo --------
--------
+ cat /etc/XF86Config
# Copyright (c) 1994 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# This file was generated by reconfig(1)
# Refer to the XF86Config(4/5) man page for a description of the format

Section "Files"
    FontPath "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath "/usr/X11R6/lib/X11/fonts/ibm"
    FontPath "/usr/X11R6/lib/X11/fonts/PEX"
    FontPath "/usr/X11R6/lib/X11/fonts/grkfonts"
    RGBPath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "ServerFlags"
    #DontZap
EndSection

Section "Keyboard"
    Protocol "Standard"
    AutoRepeat 500 5
    ServerNumLock
    LEFTALT meta
    RIGHTALT modeshift
    SCROLLLOCK modelock
    RIGHTCTL compose
EndSection

Section "Pointer"
    Protocol "mousesystems"
    Device "/dev/mouse"
    BaudRate 200
EndSection

#Section "Monitor"
#    Identifier "MAG Innovision MX15H"
#    VendorName "MAG Innovision"
#    ModelName "MX15H"
#    BandWidth 100      # EDIT THIS!
#    HorizSync 30-68    # EDIT THIS!
#    VertRefresh 50-120 # EDIT THIS!
#    ModeLine "800x600" 65 800 824 944 1068 600 600 606 612
#    ModeLine "1024x768" 75 1024 1024 1160 1320 768 772 776 806
#    ModeLine "1152x900" 100 1152 1152 1384 1544 900 910 940 945
#    ModeLine "1280x1024" 110 1280 1328 1512 1712 1024 1025 1028 1054
#EndSection

Section "Monitor"
   Identifier "MAG Innovision MX15H"
   VendorName "MAG Innovision"
  ModelName "MX15H"
   BandWidth 100 MHz
   HorizSync 30-65 KHz
   VertRefresh 50-120 Hz
   ModeLine "800x600"   50 800 856 976 1040 600 637 643 666
        +hsync +vsync
   ModeLine "1024x768"  75 1024 1048 1184 1328  768 771 777 806
        -hsync -vsync
   ModeLine "1152x900"  100 1152 1152 1384 1544 900 910 940 945
   ModeLine "1280x1024" 110 1280 1320 1480 1728 1024 1029 1036 1077
EndSection

Section "Device"
    Identifier "ATI Graphics Ultra Pro VESA 2MB VRAM"
    VendorName "ATI"
    BoardName "GUP VESA"
    Chipset "Mach32"
    Clocks 100.30 126.10 92.60 36.10 50.50 56.80 0.00 44.90
    Clocks 135.20 32.00 109.90 80.10 39.90 44.90 75.10 65.00
    Clocks 50.15 63.05 46.30 18.05 25.25 28.40 0.00 22.45
    Clocks 67.60 16.00 54.95 40.05 19.95 22.45 37.55 32.50
    Option "dac_8_bit"
    Videoram 2048
EndSection

Section "Screen"
    Driver "accel"
    Device "ATI Graphics Ultra Pro VESA 2MB VRAM"
    Monitor "MAG Innovision MX15H"
    Subsection "Display"
        Modes "1280x1024" "1152x900" "1024x768" "800x600"
#       Depth 16
        ViewPort 0 0
        Virtual 1280 1024
    EndSubsection
EndSection

--
-------------------------------------------------------------------
James LewisMoss     | University of South Carolina | Blessed Be!
    m...@cs.sc.edu  |                              | Linux is cool!
-------------------------------------------------------------------
"Argue for your limitations and sure enough, they're yours." Bach

 
 
 

1. Slackware kernel with ELF, then remove elf, won't boot.

I have Slackware 3.0 (1.2.13).  I've been fine-tuning (playing) with
kernel builds because I will be putting together a 386 4MB system after
this one ( a 486-50 16MB).

I built a copy of the kernel with ELF at one point.  Now whenever I build
a kernel without ELF and boot off of it, it won't boot.  It gets up to the
initialzation of the TCP/IP stuff then I keep getting a scrolling message
about processes or children dying, with a number increasing each time.
I'm sorry I don't have the exact message, but the computer in question is
at work. If it would help I'll try to write it down, but it's scrolling
really fast at that point.

I'm assuming building the kernel with ELF once sets something up (makes
links, copies files, etc) that does not get undone by simply answering No
in make config.  Can anyone giv eme a clue?  The name of the game for me
right now is getting a smaller kernel, and ELF won't really carry it's
weight.

TIA

---------------------------------------------------------------
DDDD      David Kramer


DK KD    
DDDD      "I keep pressing the ESCape key, but I'm still here!"

2. GCC version

3. ELF Linux Distribution on CD-ROM - 100% ELF

4. Ignoring the owner of /cdrom/* files

5. X86 Solaris ELF compatibility with Linux ELF

6. Oak SVGA-->?, 2 X questions, Oak Svga patch

7. Make doesn't work in ELF Linux

8. Slurping news from two servers

9. SVR4 ELF access library question... (ELF-specific)

10. ELF system - non-ELF program

11. slackware-elf-beta's emacs doesn't seem to be working..

12. ELF upgrade problems -- ncurses, gdbm, elf kernel

13. Do I have ELF, Intel ELF, pcthreads or what??