Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* X fails on UDB with TGA video
@ 1998-05-12  4:00 Rob Richards
  1998-05-12  4:00 ` jjohnson
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Rob Richards @ 1998-05-12  4:00 UTC (permalink / raw)



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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X fails on UDB with TGA video
  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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: jjohnson @ 1998-05-12  4:00 UTC (permalink / raw)



You need to stick the line ;

MemBase 0xa000000

into your XF86Config file. :)

Jeremiah Johnson
Network Engineer
NETCIS International Corporation

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X fails on UDB with TGA video
  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
  1998-05-12  4:00   ` Rob Richards
  1998-05-15  4:00 ` Chad Tipton
  3 siblings, 1 reply; 7+ messages in thread
From: jjohnson @ 1998-05-12  4:00 UTC (permalink / raw)



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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X fails on UDB with TGA video
  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
  1998-05-15  4:00 ` Chad Tipton
  3 siblings, 0 replies; 7+ messages in thread
From: Paul Tomblin @ 1998-05-12  4:00 UTC (permalink / raw)



In a previous article, "Rob Richards" <rrichards@cwaretech.com> said:
>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.

Do what it says.  Look at /proc/pci and make a note of the memory base.  Mine
looks like:

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

See that "32 bit memory at 0xa000000"?  It may be a different value on your
machine.  Take note of it.  Now go to your config file (which is linked all
over the place, but /usr/X11R6/lib/X11/XF86Config is one place to find it),
and set that value as the MemBase.  The appropriate part of mine looks like:

Section "Device"
    Identifier  "TGA"
    VendorName  "DEC"
    BoardName   "ZLXp-E1"
    MemBase     0xa000000 
    #VideoRam    2048
    # Insert Clocks lines here if appropriate
EndSection

-- 
Paul Tomblin, ptomblin@xcski.com.
"The day Microsoft makes something that doesn't suck is probably the day they
start making vacuum cleaners" - Ernst Jan Plugge



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X fails on UDB with TGA video
  1998-05-12  4:00 ` jjohnson
@ 1998-05-12  4:00   ` Rob Richards
  1998-05-15  4:00     ` Linh C. Nguyen
  0 siblings, 1 reply; 7+ messages in thread
From: Rob Richards @ 1998-05-12  4:00 UTC (permalink / raw)



Thanks for the help.  This is the first time installing Linux on an Alpha so
I never ran into this problem on a PC.  X alsways ran right after the
configuration.

That got the server up and running.

Rob






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X fails on UDB with TGA video
  1998-05-12  4:00 X fails on UDB with TGA video Rob Richards
                   ` (2 preceding siblings ...)
  1998-05-12  4:00 ` jjohnson
@ 1998-05-15  4:00 ` Chad Tipton
  3 siblings, 0 replies; 7+ messages in thread
From: Chad Tipton @ 1998-05-15  4:00 UTC (permalink / raw)



http://www.dbig.com/udb.html has the advice needed to add the membase to
your device section.

Rob Richards wrote in message <6j9f5h$5ik$1@noc1.gwi.net>...
>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
>
>





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: X fails on UDB with TGA video
  1998-05-12  4:00   ` Rob Richards
@ 1998-05-15  4:00     ` Linh C. Nguyen
  0 siblings, 0 replies; 7+ messages in thread
From: Linh C. Nguyen @ 1998-05-15  4:00 UTC (permalink / raw)
  To: Rob Richards


Rob Richards wrote:
> 
> Thanks for the help.  This is the first time installing Linux on an Alpha so
> I never ran into this problem on a PC.  X alsways ran right after the
> configuration.
> 
> That got the server up and running.
> 
> Rob

do you still remember how to boot from cd and install on
the UDB with Redhat distribution??
I have forgot and I need to reinstall.
I don't remember the which kernel image (from cd)
and milo, etc..

Thanks.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-05-15  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1998-05-12  4:00   ` Rob Richards
1998-05-15  4:00     ` Linh C. Nguyen
1998-05-15  4:00 ` Chad Tipton

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