The collected works of gijoe77 - Page 2

man cc


I knew that was coming ;) I was trying to lob as many questions as I could before the dreaded RTM came into play ^_^
Wow thanks Neko! I've been playing with this for the past two hours - alot of the games I tried basically run full speed on my Tezro once i did the "-video opengl" option!

unfortunately it seems to segmentation fault on neogeo and CPS1-3 games, not sure if there is something that can be done about that at this point...
vishnu wrote: C'mon guys, read back a little bit, yes this thread is old but Pete posted on Sunday that he'd found the supposedly-lost-forever file... :evil:


Hey vishnu,

There were two seperate files, the COLECO mess build that neko found sunday and the full MAME build neko found this morning
Axatax_ wrote:
While this is a "complete" MAME, alot of the systems will segfault due to endinaness issues that need to be manually corrected on a case-by-case basis. This isn't something that compiler warnings/errors can alert you to - you have to test each machine individually. Flagging an SGI as big-endian is not sufficent in the context of the MAME/MESS source.


out of pure curiosity, how does one do that specifically? I would love to learn more about the particular details since I am trying to tackle an older mame build at the moment with the hope of moving up to a more recent release in the near future
I can 100% verify it is a complete install of 13 and fully operational :)

foetz wrote: ha nice find :P
sadly from v10 upwards the gui sucked


do you mean from Version 10? It still looks like PowerAnimator to me :)
I compiled a frontend (gxmame version 0.34b) if anyone wants to give it a spin, works good for me for older version of xmame (v .58). not so much for my current .106 but its a work in progress...
diegel wrote: These are my preferred mipspro optimization options:

Code: Select all

-O3 -mips4 -TARG:platform=IP35:proc=r16000 -OPT:Olimit=0:roundoff=3:alias=TYPED -INLINE



sweet! thanks mate, gonna plug these in and see where i land!
foetz wrote: don't unless you know what each of them does. you might want something else or have a different machine or a different compiler version etc.


best part of learning is falling down :)

eh.. this part here:

-

Code: Select all

OPT:Olimit=0:roundoff=3:alias=TYPED


kinda lost me to be honest
its not an upgrade, its a full install
Autodesk has been really good at removing old flame and smoke stuff... If anyone here has any old tutorials or files for tutorials that would be awesome
ok, I just compiled a new xmame.x11 v0.106 using MIPSpro and the following CFLAGS:

Code: Select all

CFLAGS = -woffall -O3 -mips4 -TARG:platform=IP35:proc=r16000 -OPT:Olimit=0:roundoff=3:alias=TYPED -INLINE


I added

Code: Select all

-LNO:opt=0
only for scramble.c to compile (wasn't able to figure out any other way to get LNO not to die on scramble.c)

I attached the makefile and binary if anyone wants to give it a spin, its an easy 10 more fps than the gcc build for me. I can build a generic mips4 binary if anyone is interested

I'm still trying to figure out the m68k -IPA ld shizm
take some pics of that card!!
mopar5150 wrote: "missile emulator" .


oh, sounds like something that would come with DOD warnings :shock:
maybe blender too
silicium wrote: Can SGI Moviemaker create a short blank clip without former media, or someone share a sample, to examine it with ffmpeg or vlc on a linux box, then hopefully convert mp4 to the same format that Moviemaker will open ?


The only thing that has worked so far for me is converting to .mov using MJPEG vcodec (using ffmpeg). The loss in quality has been unacceptable for me so I abandoned this approach for my purposes but it might be ok for you.

I've taken .avi and .mov files that work fine under irix/movieplayer and when I lined up the correct codecs/containers and converted using a recent ffmpeg nothing that should have worked worked (other then mjpeg) . I'm not completely sure what the problem is . The only full-proof way I have been importing videos into my irix box has been converting the mp4 to .tiff/.rgb image files (although it sucks because a 180MB mp4 becomes 12GB worth of images). I have been playing with this for the past few weeks on and off and was going to make a post with my finding - but so far no good findings.

Attached is a list I found in a flame manual that lists the codecs/containers that *should* work (even though the page is for flame it appears to be the same codecs that seem to be supported in base IRIX).



edit:

I just found some ffmpeg notes I was making while I was playing with mp4->IRIX conversion - I guess MPEG-1 also worked in IRIX but i recall it being pretty crappy also. These notes are not research grade info like what Ian usually posts/documents - just some stuff I was playing with and probably drinking a 12-pack while I was at it. 8-)

Code: Select all

#convert to Mjpeg video encoding and ac3 audio encoding, works in IRIX
>ffmpeg -i Blue_belt.mp4 -vcodec mjpeg -acodec ac3 Blue_belt.mov

#convert to MPEG-1 (works with discreet, but still shit)
>ffmpeg -i Blue_belt.mp4 Blue_belt.mpeg

#BEST SO FAR
#SGI RGB image format (defaults to pix_fmt = rgb24) 169MB mp4 = 12GB RGB files
>ffmpeg -i Blue_belt.mp4 -r 30 -f image2 -vcodec sgi dir/%06d.rgb


I don't recall these below working in IRIX, I never did get around to checking the cinepak codec

Code: Select all

#QuickTime mov with cinepak (slowww!!! fucking aborted this shit, try again later)
>ffmpeg -i Blue_belt.mp4 -vcodec cinepak Blue_belt.mov

#JPEG mov (sorta slow) with mp3 audio
>ffmpeg -i Blue_belt.mp4 -vcodec libopenjpeg -acodec libmp3lame Blue_belt.mov

#MOV RLE (good results?)
>ffmpeg -i Blue_belt.mp4 -vcodec qtrle -acodec libmp3lame  Blue_belt.mov

#uncompressed avi?
>ffmpeg -i Blue_belt.mp4 -f rawvideo -vcodec rawvideo  -pix_fmt rgb8 Blue_belt.avi

#uncompressed mov?
>ffmpeg -i Blue_belt.mp4 -f rawvideo -an Blue_belt.mov


The image RGB format was used because from Ian's reporting its the fastest format to use to import into discreet products, Tiff image format worked good aswell, as I'm sure other image formats would work depending on needs.

If someone really needs to I suppose one can convert a mp4 into whatever image format is suitable and then use a tool on IRIX to make it into a movie therefor insuring 100% compatibility (I forget which tool comes standard with IRIX that can do that - moviemaker maybe? There was a post about this somewhere, search/memory is failing me atm - sooo sleeppyy zzZZzZzzZZ)
oh hey great swap!! Congrats and welcome to the Tezro club :)
I can pledge a few bucks! Let's get this rolling!
bummer to hear it TeamBlackFox, ivelegacy - best of luck to both of you
vegac wrote: But then the other part of me says I should put the Octane away and focus on my O2...get it pimped out and silent.



it might not really be worth the effort with the o2 - I have a 300mhz r5k o2 and even when i had dual 250mhz SE octane, it was no contest, the octane blew the o2 out of the water for almost anything other than maybe 1 or 2 texture demos and quake. (In fact my Indigo2 195Mhz R10k Max Impact blew the o2 away at a lot of things also)!

I seem to think it has a lot to do with the horrible SCSI trasnfer speeds of the o2 and the system disk - the system disk gets some really horrible performance no matter how good of a drive you put in it (never tried a SSD doe...) or at least that was my take away when I was last playing with it a few months ago.

I was playing with the idea of creating a 3 channel striped volume on my o2 and putting /usr and maybe /var on it (internal SCSI, external SCSI and PCI bus SCSI - last i played with it got ~80MB/s sustained). But really it would just be nothing close to a similar setup on an Octane (lack of time and workspace in my house is actually the main reason why I haven't tried yet). If you have a 400mhz r10k o2 then I can't really speak the same of it - I never got my hands on one.

Now if performance is not exactly that vital then I can see the allure - people still tell me its a very cool looking system
I would have loved to see this girls face when she first saw the lyrics..
GIJoe wrote: is it possible to tune the system by moving the OS and apps over to a really fast filesystem and only have the absolute minimum of data required to kick off the boot process on a disk recognized in the PROM? i imagine having it all on an SSD connected to something faster than internal UW-SCSI would make a ton of difference to the overall experience. heck, even starting netscape might be quick. :lol:


There were some posts I recall reading by Ian Mapleson about moving /usr and /var to fast filesystems and from what I recall other people did that and said there was a significant improvement
gocram wrote: Good to hear you're still interested in doing this and continue your preparations.


Yes, I double the sentiment. I'be been following along with much interest but I have no knowledge or skills to contribute to this effort
oh sweet! I've been stuck working on other projects and have really meant to get back to this - I will fire up my Tezro hopefully today and do some testing
Great work Axatax! Thanks for this!

I will be playing with this alot more in the coming days - btw what is the correct versioning for these files? they all seem to say 0.78.1 but then xmame.xgl also says GLmame 0.94?

either way xmame.xgl works great so far! everything i tried so far has run full speed with sound: neogeo, CPS1, CPS2
it seems to even work great with the gxmame frontend I compiled! viewtopic.php?f=15&t=16729470#p7377856

I had to disable effects thought



I haven't messed with xmess yet, I really will need to learn how to use it, but I smell a virgin run of Zelda Outlands on NES happening soon...
very impressive! silly question though - what exactly is the point of those two small CRTs? I always wondered but was afraid to ask...
so far the GXMame frontend has been working great, but I still can't seem to figure out which version of xmame this is - seems it likes to report .78!

For my monitor, I set the options in GXmame to gamma .70, brightness to 1.0, really helped the colors. effects has to be set to 0, seems there is a bug.

This xmame.xgl has been playing everything i threw at it full speed, I've been using a completed mame 1.03 set I found online. so I'd say it would make a great addition to neko tardist! So far the only thing I have found that I have not been able to get to work are vector games

If anyone else gave the GXmame frontend a spin and found it useful perhaps I can look into making a tardist of it also

BTW fullscreen mode works great too!




no, the front end seems fine, it's reporting 0.78 when i do a "xmame -version", also on the splash screen when first starting a game along with the games specific info, and also the window titlebar when not running fullscreen.



Eitherway its not a big deal, I just wasn't sure how to confirm.

I did run into a problem with vector games and some 3d games like Street fighter EX (something to do about textures maybe), these might be frontend related, not sure - I'm still trying to play with it. But the fact these games can absolutely run full speed on fullscreen with sound on an IRIX box sure is an amazing thing!
I'm at work now so I can't test anymore, but I tried a bunch of vector games, the ones I remember are star wars and tempest, the 3D game that gave me a possible texture error output was street fighter EX, another 3D game i tried but it didnt seem to work was virtua fighter kids

the hardware is a V12 Tezro quad 1ghz (yeah i know.. ^_^ )
I got to dig deeper into this finally - the 3D games based on the "zn" driver are the ones that are all giving me issues with the texture, but it looks like it is frontend related, I was able to get the game to "run" via command line:

Code: Select all

xmame.xgl sfex -gltexture_size 1024


but it seems the emulation doesn't work or so the splash screen says that. I tried a few other games under the zn driver, and they don't work either, so looks like its not working as intended. Seems the frontend can only go up to texture_size 1000!

Also I could of sworn the virtua fighter series games were working by this point in mame, but it looks like virtua fighter kids is also broken (as per the splash screen) and it looks like the regular virtua fighter games are not even supported on this version of mame!

so the 3d games I looked at seem to be all not working perfectly per design.

The vector games are having the same issue from both GUI/command line; the game starts up but no vector graphics are shown - I do hear sound so it seems to be a displaying issue. I tried star wars, star trek, tempest.
Axatax_ wrote: zn won't work, as the driver (as it stands) can't emulate the protected BIOS of the HW.

That and the Virtua Fighter stuff aren't really IRIX porting issues - they're unfinished MAME drivers in the version we have. This is kind of the nature of MAME.

If you know what MAME version these systems began working, that would be very helpful. :)


I looked around, seems it might have been added later than I was thinking - I used to play it on Saturn long long ago so I think I'm getting confused about ever playing it in Mame. Is it possible/trivial to add support for a particular driver from a later mame version? I sort of tried my hand with that with my .106 build, but I was having a really hard time trying to just do a targeted build (i.e. only compile say cps1 driver to not waste time), that's sort of where I left off. Also they did a whole new video system or something starting with .107 so I really was in over my newb head anyway.

Krokodil wrote: I'm curious to see how well the games like Donkey Kong, Rampage, Pacman and all those will work.


They all run full speed with sound. All raster games I tried so far run full speed with sound. I wanted to really push it and see how the 3d stuff was running and that's where I ran into the non-working driver issues (zn, stv, model 1, model 2, etc).
any chance of trying to stick the cps3 driver in here? i think a working cps3 driver was added in .116u2
I gave it a shot on my r5k o2, and it seg faulted on cps1 and cps2 games (I didn't try any others), seems the o2 has openGL 1.1? did I miss some update? I always thought o2's and other modern sgi's supported openGL 1.2?



ok will do - I'm currently at work with some other IRIX boxes (r5k 02, single 600 v12 octane, dual 360 MXE octane, tezro v12 quad 700). I'll try to do some testing with the different mames I have (mame.xgl .98, sdlmane .149 for kicks), and I'm also testing the mplayer 1.1.1 I was planning on testing for you months ago (btw, early results testing with my tezro - it was smoking fast with -vo gl_nosw)

I'll have to wait for bossman to move that file to contrib :)
I gotta say, I forgot just how slow an o2 really is - I dunno how I put up with it for so many years as a desktop system in the early 2000's. I had outdated neko libraries so I had to update a few to just be able to run the SDLmame .149 and mplayer 1.1.1 - after each wave of nekoware installs it took 60+ min for swmgr to run rqsall. after like 6+hours of this I still had unresolved symbols and had to just abandon ship with the o2. my old blue toaster really is a Frankenstein - it still has the original install from around 2001, with all the various stuff I tried installing through the years - its amazing anything runs on it as it is. I do think there is a serious bottleneck on those systems with bus speed to the system disk, I dunno why it takes so long to install stuff on those systems.

But anyway, I did get to do more mplayer testing on my 4x1ghz Tezro, seems the H264 MP4 video's don't perform as great as I thought they originally did - the ones I tried with no real command line ju-jitsu started playing fine but eventually slowed down and lost sync (but they have a great start, first 30 sec or so they run perfect). The XViD MP4 files I played worked absolutely great, ran without any issues with no loss of sync - currently watching Game of Thrones on my Tezro. I tried some H264 1920 videos from my Samsung Note 3 cell phone and it didn't really work at all.

Is there something more I can do to help with the mplayer testing? particular videos, formats, command lines to try? I'm not well versed in mplayer, but I'd love to know what the blue-ray fellow was doing as a command line to try out on other formats..
I had some free time at work and gave the glmame .94 a run with a quad 700mhz V12 Tezro, everything was perfect when running in a window - I went up as high as a scale factor of 3 - no issues with any games I tried. Some neogeo and cps2 games started to suffer once in fullscreen, but everything else was perfect.

I have a single 600 v12 octane and a dual 360 MXE octane i'll try to try tonight, along with the .106 build.

I have spent a lot of time through the years playing with various builds of mame on various SGI's (Indigo2's, o2's, octanes, etc), there have been some really good fast builds earlier in xmames history, there were great builds that cut out sound for playable builds - but this has been the best I have seen out all of them. Def congrats on a great job. If only I could twist your arm into looking into adding a working cps3 driver!

pics from the quad 700 V12 Tezro:







Well I suppose I will never have a more appropriate thread to post my arcade boards with SGI equipment, so here it is - my 2 slot neogeo, CPS2 and CPS3 SF3 arcade boards!



I have a whole lot more boards, not sure if we have any other arcade hardware guys here?
I gave this a try on a single 600 V12 octane with -vo gl_nosw, the XVID MP4 movie played full speed with sound, same with fullscreen.




if time permits, I'll give my dual 360 MXE octane a spin tonight
Ran some tests on a single 600 V12 octane, it pretty much performed close to my quad 700 V12 Tezro (not surprised, the octane is a production machine, it has everything turned off and nothing running as per regular discreet spec, so for a single threaded program it was pretty close).









I have another octane (dual 360 MXE) I want to try out tonight if time permits
Axatax_ wrote:
If only I could twist your arm into looking into adding a working cps3 driver!


You don't need to ;) . You just need to identify which version of MAME the CPS3 stuff started shining.

I'm totally cool with trying to back port known-working and important drivers. I think this is a better strategy @ this time than trying to chase the latest MAME on SGI. We have a really good, working base right now. You do the research, and I'll attempt the port.


I think a working cps3 driver appeared in .111u6 or something like that - I will be hunting down some older versions and trying them out, I also want to figure out what versions some of the other drivers started working - give me a few days to do some leg work

edit: cps3 decryption was added .116u2
Ran into issues with the MXE octane, was the openGL implementation specific to 1.2? Seems impact graphics are openGL 1.1 - i got a white screen with options -gl_nosw and/or -gl, -sdl worked but it was slooow, default ( -gl2?) didn't work

If this has something to do with openGL 1.1, I guess Impact series and o2's would share this issue