Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: jjohnson@netcis.com
Subject: Re: X fails on UDB with TGA video
Date: 1998/05/12	[thread overview]
Message-ID: <6j9vn6$dil$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 6j9f5h$5ik$1@noc1.gwi.net


Here is a better explaination on how to fix that MemBase error, I snagged this
file from digital's ftp server

ftp.digital.com/pub/DEC/Linux-Alpha

here is the text, hope it helps;

XF86_TGA-3.1.2-README                           23 Jan 1997
=======================                         ===========

This file is the README for *all* the 3.1.2 versions of an XFree86-based
Xserver for the DEC DC21030 display controller chip, better known as
the TGA, running under Linux on a DEC Alpha CPU based platform.

This server is a early version, with a number of glaring weaknesses
and omissions from the normal level expected of XFree86 servers. But it
does appear quite useful even at this early point, hence its availability.

Support for anything other than the 8-plane TGA is not currently working;
I hope this will change in the near future, but for now, it WILL NOT WORK
on 24-plane TGA's. Often, the 8-plane version, builtin to the UDB (called
the MULTIA when running NT), is identified as ZLXp-E1; it's the E1 that's
important, the E2 and E3 are 24-plane and beyond, and won't work.

Things missing:

        no 24-bit support at this time
        graceful transitions to/from Virtual Consoles
        changing between multiple resolutions
        virtual desktop

Please use the XF86Config config file at the end, as it defines only the
resolutions that will currently work. CHOOSE ONLY ONE in the "Screen"
section, for now.

YOU MUST FILL IN AN APPROPRIATE VALUE FOR THE "MemBase" option, look for
the "Prefetchable 32 bit memory at 0x????????" line doing "cat /proc/pci"
as shown in the examples below. UDB seems always to be at 0x2000000 but
other platforms can and will be different.

Finally, if you run across common apps that give it problems, PLEASE let me
know.

Good luck!

Jay Estabrook
jestabro@amt.tay1.dec.com

==============================================================================


Do a "cat /proc/pci" and examine it for the DEC DC21030 (TGA) device.

On an Alpha XL-266 it looks like:

PCI devices found:
  Bus  0, device  13, function  0:
    Display controller: DEC DC21030 (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  Latency=32.

      Prefetchable 32 bit memory at 0x2000000.


and on the UDB, like:

> PCI devices found:
>   Bus  0, device  11, function  0:
>     Display controller: DEC DC21030 (rev 2).
>       Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=15.
>       Prefetchable 32 bit memory at 0x2000000.

==============================================================================
=

# File generated by 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.
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

    RgbPath     "/usr/X11R6/lib/X11/rgb"

    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    NoTrapSignals

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    DontZap

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    DontZoom

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Keyboard section
# **********************************************************************

Section "Keyboard"

    Protocol    "Standard"

# when using XQUEUE, comment out the above line, and uncomment the
# following line

#    Protocol   "Xqueue"

    AutoRepeat  500 5
# Let the server do the NumLock processing.  This should only be required
# when using pre-R6 clients
#    ServerNumLock

# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Xleds      1 2 3

# To set the LeftAlt to Meta, RightAlt key to ModeShift,
# RightCtl key to Compose, and ScrollLock key to ModeLock:

    LeftAlt     Meta
    RightAlt    ModeShift
#    RightCtl    Compose
#    ScrollLock  ModeLock

EndSection


# **********************************************************************
# Pointer section
# **********************************************************************

Section "Pointer"
    Protocol    "PS/2"
    Device      "/dev/mouse"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "PCXBV"
    VendorName  "DEC"
    ModelName   "PCXBV-KA/KB"

# HorizSync is in kHz unless units are specified.

    HorizSync   30-66

# VertRefresh is in Hz unless units are specified.

    VertRefresh 50-130

###########################

# These are the supported Modelines for the TGA; activate the one that
#  corresponds to the resolution and refresh rate you desire.

#  The horizontal and vertical timing values are ignored by the TGA server;
#  it only needs the resolution and dotclock values. They *are* used by the
#  generic code that checks whether the monitor will support the refresh
#  rates required, however. So, don;t play around with them, it may only
#  affect you adversely.

# 640x480 @ 60 Hz, 31.5 kHz hsync
#Modeline "640x480"     25.175 640  664  760  800   480  491  493  525
# 640x480 @ 72 Hz, 36.5 kHz hsync
#Modeline "640x480"     31.5   640  680  720  864   480  488  491  521

# 800x600 @ 60 Hz, 37.8 kHz hsync
#Modeline "800x600"     40     800  840  968 1056   600  601  605  628 +hsync
+vsync
# 800x600 @ 72 Hz, 48.0 kHz hsync
#Modeline "800x600"     50     800  856  976 1040   600  637  643  666 +hsync
+vsync

# 1024x768 @ 60 Hz, 48.4 kHz hsync
#Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777  806 -hsync
-vsync
# 1024x768 @ 70 Hz, 56.5 kHz hsync
Modeline "1024x768"    75    1024 1048 1184 1328   768  771  777  806 -hsync
-vsync

# 1152x900 @ 72Hz, 104 MHz dotclock
#Modeline "1152x900"  104    1152 1328 1512 1712  900 1025 1028 1054

# 1280x1024 @ 61 Hz, 64.2 kHz hsync
#Modeline "1280x1024"  110    1280 1328 1512 1712  1024 1025 1028 1054
# 1280x1024 @ 74 Hz, 78.85 kHz hsync
#Modeline "1280x1024"  135    1280 1312 1456 1712  1024 1027 1030 1064

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier  "TGA"
    VendorName  "DEC"
    BoardName   "ZLXp-E1"
# NOTE: for now, MemBase option is *REQUIRED* !!!!!!
    MemBase     0x02000000
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64)
# ...and now, DEC's TGA!!! :-)

Section "Screen"
    Driver      "accel"
    Device      "TGA"
    Monitor     "PCXBV"
    Subsection "Display"
        Depth       8
        Modes       "1024x768"
        ViewPort    0 0
# DO NOT USE the Virtual option, it will not work...
#       Virtual     1600 1200
    EndSubsection
EndSection


In article <6j9f5h$5ik$1@noc1.gwi.net>,
  "Rob Richards" <rrichards@cwaretech.com> wrote:
>
> I have a UDB box with Redhat 5.0 installed.  X seems to be configured
> properly, yet when I start it, it will eventually fail with the message that
> the MemBase for the TGA card needs to be set (or something to that effect).
> It also says to check the /proc/pci file.
>
> I have no idea what it wants me to do at this point.  The pci file seems
> okay so does the MemBase need to be placed somewhere in the config file for
> X?
>
> TIA
>
> Rob
>
>


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading



  parent reply	other threads:[~1998-05-12  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-12  4:00 X fails on UDB with TGA video Rob Richards
1998-05-12  4:00 ` jjohnson
1998-05-12  4:00 ` Paul Tomblin
1998-05-12  4:00 ` jjohnson [this message]
1998-05-12  4:00   ` Rob Richards
1998-05-15  4:00     ` Linh C. Nguyen
1998-05-15  4:00 ` Chad Tipton
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox