Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: curtis <ufkartfm@pacific.net>
Subject: Quake  XQuake quake  xquake
Date: Thu, 09 Oct 1997 12:04:39 -0700	[thread overview]
Message-ID: <6e814225b623c2690d08edc396e68bc2.axp-list@archive.invalid> (raw)

hi emilio,

due to the constant requests for information regarding quake, i am
cross-posting this to the axp-list,...besides, it's chilly up here on
the mountain (where i live), this morning, and a few flames (chuckle) 
might warm me up - NOT.

> On the other hand, when i try running quake i get the following:
> >From what i'm told this has to do with shared memory.
> Is there a way to turn shared memory on or off.

i'm not sure this is a ""verbatim"" "shared memory" problem (comments 
below).

> Excuse the ignorance but i'm trying to learn Linux since i'm a VMS user

(smile - learning is learning - and (imo) a good thing -  no problem)

> everything seems so confusing or non organized with UNIX that i'm having a
> hard time getting this kind of detailed info.

(chuckle) maybe a first step towards "chaO.S." programming.  seriously,
this is why a lot of my old vms friends (i cut my teeth on an ibm360/20
back in 1966 and have played with various os/programming over the years- 
smile) use nt (despite their (imo) "valid" opinions of ms - chuckle).  
slowly, i am changing some of them to see the merits of what i consider 
to be the most advanced, experimental, "young" *nix os around, (smile) 
linux/alpha!

(sidebar)  between my 266/udb and xlt300 (smile) i have incorporated 
so many bits and pieces of rh4.0/4.1/4.2/ (yup, i have all the cds') - 
milo 2.0.18 thru 2.0.31 - kernels 2.0.30 / 2.0.31 / 2.1.56 - em86 .1/.2, 
that i have (chuckle) given up on trying to define versions and libs. my 
only wish (smile - and i know what is said about wishing) is that i 
could run "rpm -Va" and not get any reports  -- JUST ONCE!  the same is
true of source compilation -- JUST ONCE - "no warnings"..., but as they
say, rome wasn't built in a day, so i have learned a lot about patience.
if i haven't said it enough, "KUDOS" to the fine folks from dec and 
various linux orgs. who have consistently helped us. (soapbox mode off)

> **********************QUAKE ERROR MESSAGE
> **********************
> 
>    X Error of failed request: BadAccess (attempt to access private
> resource
> denied)
> Major opcode of failed request: 129 (MIT-SHM)
> Minor opcode of failed request: 3 (X_ShmPutImage)
> Serial number of failed request: 49
> Current serial number in output stream: 50
> 
> **********************QUAKE ERROR MESSAGE**********************

(disclaimer)
i have never played with an as200-4/166, so this is speculation and i 
have had "no problems" running xquake on my machines.  ((HOWEVER-BIG
CHUCKLE) i would not advise running squake under em86 with a pnp sound
card, unless you want to spend a week trying to figure out what happened
to your sound.- whew!)

things to try:

start fresh:  mount your quake cdrom and copy resourse.1 to:
/usr/games/quake  issue:  lha -x resource.1    get rid of everything
in the directory, except the id1 directory and the files (pak) therein.
unpack your xquake tarball in /usr/games/quake.

issue:  strace ./alpha-ELF-xquake > tracefile
(take a look at tracefile to see what is happening when xquake fails)

issue:  ./alpha-ELF-xquake -stdvid -safe

valid parameters for this version are:  -nomouse -nojoy -nocdaudio
-nolan -stdvid -safe -nosound -dedicated -listen (there are some others,
but, i don't "think" they apply, "in this case").

NOTE::: once you get it running (this does not apply to 106xquake --- 
only xquake) you have to go into the console and issue (as you see it):
disconnect ; map start

if "None of the Above" work, try this:

ftp gatekeeper.dec.com
ftp> bin
ftp> tick
ftp> cd /pub/DEC/Linux-Alpha/X11/
ftp> get axpbin-Xtga-BETA-0.2.gz
ftp> close
ftp> quit
gunzip -d /usr/quake/axpbin-Xtga-BETA-0.2.gz
mv /usr/X11R6/bin/XF86_TGA /usr/X11R6/bin/XF86_TGA.orig
mv axpbin-Xtga-BETA-0.2 /usr/X11R6/bin/XF86_TGA
then issue (in your quake directory):  ./alpha-ELF-xquake

(note): don't forget to change back to your original XF86_TGA if this
doesn't work.

Stefan van der Eijk <stefan@stack.nl> and John Ross Hunt <hunt@lbpc.com>
had some good observations in their "Subject: RE: Quake" posts to the
axp-list (29 & 30 Sep 1977) and you might want to check them out.

nm <nmanisca@vt.edu> in a private note said:
> well i got it working!!!
> 
> turns out i read a post on a news group that led me to 
> the key...
> 
> linus said his didnt work either so he released a fixed
> one, which worked for me :)
> 
> xquake-1.06-alpha-bin.gz :) <this one works fine for me too - curtis>
 
(moving right along):
the "base" error messages (above) come from /usr/X11R6/lib/X11/XErrorDB
...so my first assumption is: check your X stuff.  i'm running the
XFree86 3.3.1-1 rpms' on both of my machines.

i do not have the quake source...(smile)...which doesn't make this easy.
however, ("attempt to access private resource"), (guess only) may have
something to do with  Xlib and a fail on quake's VID_Update, producing
the X_ShmPutImage message.  if you take a look at:
/usr/X11R6/include/X11/Xlib.h you will notice "Structures and symbols 
starting with "_" are private to the library." which (to me) might be a 
clue.

"audio" - just to be safe check these ((pertinent to onboard MSS ONLY)):
((may vary on different systems - "i don't know" - taken from my udb))

take a look at /etc/soundconf (here's mine):
#define CONFIG_MSS
#define CONFIG_AD1848
#define CONFIG_AUDIO
#define MSS_BASE 0x530
#define MSS_IRQ 9
#define MSS_DMA 3
#define SELECTED_SOUND_OPTIONS 0x00000200   

cat /proc/devices     14 sound
cat /proc/dma         3: Sound System
cat /proc/interrupts  9: 111 SoundPort

--
on another note: do you have /etc/nsswitch.conf ?

--

if you really want to get into it, you may also want to check with the:
X Consortium.

here's a good place to keep up with quake and linux (the links as well):

http://threewave.planetquake.com/linux/quake.html

it might be time to construct a linux/alpha xquake FAQ, which might be
a good addition for this (above) and other linux/quake sites.  i am too 
far behind on other projects to take this on myself (smile) volunteers?

....and don't forget to search the axp mail archives located at a number
of sites for old "quake/xquake" posts.

good luck n'very best2u all,

--
   curtis - alt.old.good.but.rarely.used.address: cas@toad.com
i want Nobody to control my life. - http://www.netvideo.com/nobody
<cspang@mit-ai, l5!cas@lll-crg, cas@su-shasta, rtfm@jnb - (retired)>
 FREE PARTY OCTOBER 12th. - http://www.summeroflover.org - LIVE NETCAST

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

                 reply	other threads:[~1997-10-09 19:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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