[Prev][Next][Index][Thread]

Re: Executor/Linux users: svgalib 1.28 was just released



>>>>> "Phil" == Phil Kemp <kemp@convex1.convex.com> writes:

    Phil> Mat Hostetter writes:
    >>  I haven't tried it with Executor yet, but apparently it's a
    >> big improvement over svgalib 1.27 if you have an S3 chipset.
    >> Even if you don't, the new release fixes some other bugs that
    >> may affect you.

    Phil> I have the latest aout binary and usually run it under X. I
                 ^^^^^^^^^^
    Phil> would like to try it under SVGALIB.

Hi Folks,

I don't want to appear to be picking on Phil, but *please* always
state explicitly which version of Executor you have, even though "the
latest" may seem easier to type.  The problem with "the latest" is
that a new version may have been released that you don't know about
for one reason or another, and so at ARDI we automatically discount
that term.

If you have Executor/Linux 1.99p installed then you should have
/usr/local/bin/executor-svga installed, so all you need to do is get
on the console and type:

executor-svga

However, the SVGAlib version needs root permission to access the
graphics card directly.  So you can either run as root (not
recommended) or make the program "setuid-root" (recommended starting
with 1.99p, but NOT BEFORE 1.99p).  You can do the later by doing this:


	beaut 4.1 su
	Password:
	beaut:/users/ctm# chown root /usr/local/bin/executor-svga 
	beaut:/users/ctm# chmod u+s /usr/local/bin/executor-svga 
	beaut:/users/ctm# ls -l /usr/local/bin/executor-svga 
	-rwsr-xr-x   1 root 1595628 Sep 28 10:43 /usr/local/bin/executor-svga
	beaut:/users/ctm# exit
	exit
	beaut 4.2 

(I've pared down the ls output slightly)

Once you've done that you can just run executor-svga as yourself and
Executor will momentarily run as root, get access to your video card
and then run as you again.

    Phil> How do I do this. If I execute executor from the shell
    Phil> prompt I just get an error to the effect that the x server
    Phil> could not be opened.

    Phil> BTW, the SVGALIB tests seem to work, although the best I can
    Phil> do is 640x480x256 on my Diamond Stealth Pro (the S3 support
    Phil> is not very complete yet...)

    Phil> I'm all ears.  PK

Good luck.  It makes a ton of difference for some of the shoot-em-up
style games.

    Phil> -- Phil Kemp Voice:(214)-497-4671 CONVEX Computer
    Phil> Corporation Fax:(214)-497-4141 Richardson, Texas
    Phil> Internet:kemp@convex.com

--Cliff
ctm@ardi.com


Follow-Ups: References: