The collected works of vegac - Page 2

So I've decided I need to work less and work on things I enjoy more...
This leads me to my decision to work on iconbar a little bit more, possibly adding a few more cosmestic features...

I can't say much yet as I'm mulling over ideas - squeen, should I just go ahead and add features to CVS and then contact you about them, or do you want me to make sure to go over them with you before they hit CVS?

Maybe in another week we'll have an updated cvs version with some more prettiness...
The requirement for 24bit default is bad, I'll admit.
In the past I tried fixing it with no luck, but I think I'll give that another go today...

Basically, in your Xservers file (in /var/X11/xdm/Xservers I think?) you need to add to the line "-depth 24 -class TrueColor" Make sure to add that to the line and keep it all on 1 line, not 2. You might want to backup the original file so you can restoreit if something goes wrong...

-Bryan
Ok today's update #1:

Iconbar no longer requires the default visual to be 24bit TrueColor...
I've tested this on my Octane (8bit default) and O2 (15bit default...) and it's all good here...so I checked the code in.

for those of you that want it - grab from iconbar.sourceforge.net (see the CVS section to get latest CVS code), compile, and run, and voila, you'll have support for that.

Biggest thing this means:
I can have my O2 running at 15bpp default so I can get antialiased icons on desktop/fm, while still running iconbar!

Look for more updates in the next weeks...I'm starting to have some fun :)
MPEG 4 functions in mplayer etc but SGI's normal media player can't play it, and especially not very well...

I'd really recomment mpeg1, as most systems can play it real time, if quality isn't the highest concern.
I'm confused what issues I had...

I used to watch movies fullscreen just fine on my octane with just SI+Tram. What mplayer command line are you using?

If I recall I used either gl or gl2 for the video out...command line was something like

mplayer -vo gl -ao sgi -zoom -f moviename
However, for 720x480, it would need a texture sized at 1024x512, which at 32bpp would end up being 2mb, and that should fit. I know that gl2 uses multiple textures, try the standard gl plugin and see if that runs better?
Wow...
I suspected the yuv2rgb to be a decent hit, but 25% of the time?

Maybe I'll spend some time today looking over that...see what might be able to be optimized quickly for a small boost...

Of course I haven't a clue what patches you mentioned did / where they could be found? I'll most likely take a stock download of the latest mplayer and attempt it on that...

Sadly I don't think I have SpeedShop installed so who knows how much I'll be able to help...
You mean I'm the only one left who uses vim for web-site design these days? As for graphics, Gimp is decent (at best in my opinion), Photoshop for Irix is old, but still probably better, though you can't get that anymore, so your only hope is to have it just happen to be already installed on a machine you get off of Ebay or what-not.

The vector apps mentioned above (SodiPodi preferably) aren't bad, though I'm not much of an artist so maybe they are and I just don't know it :)
dex and I have both begun messing with yuv2rgb as well. He managed a couple percentage speed up on it, and I managed a few more percentage on top of that. Slowly but surely this beast is speeding up.

A side-note, when running with the gl2 video output, CRM and GL calls are actually the slowest piece of software at this point...of course this means we need to find ways around this - presumably an optimized 32bit RGBA conversion (currently we've been focusing on 24bit yuv to rgb conversion) would allow O2 to take the textures in native format and not have to convert them each frame...
So this morning I began a CRM optimized video out plugin for mplayer...

A test movie we've been using (640x480, courtyard.avi from Call of Duty) went from playing in 49 seconds, to 29 seconds - a 20 second speedup!

I need to borrow a bit from lewis' plugin and multithread it - that should make it a good bit faster (hopefully keeping from waiting on the glDrawPixels etc. calls as much). It's far from finished, it only seems to work on O2's as it uses the YCrCb_422_SGIX pixel type. So hey, atleast those of us with O2's may get a speedup, right?
Does Media Recorder (mediarecorder) pick it up as a video input source?
Probably not, but hey, I can dream right?
Maybe I'll have to get one of these cards for my O2, and a DV cam and see what I can whip up...

After all, that PCI slot in my O2 needs to have SOMETHING in there...either going to be this or gigabit :P
A purely cosmetic enhancement...

I started doing the "border" code to make it look a bit nicer and what-not in the past.
However I realized that noone was utilizing it - everyone left the standard borders.
So I made some nicer borders...and began running into limitations. Keep in mind I'm not an artist, just a lowly programmer, so if I am hitting limits, that's just sad...

So instead of a simple border image that covers the left and right, I added proper border support:
top left, top, top right
left, right
bottom left, bottom, bottom right

Each individually renderable, each can be a seperate image, which means you can (basically) have a lot more freedom in setting up what iconbar looks like. Also, along with this, I'm adding support for background images as well, along with the custom masks, there'll be support for more proper theming soon enough...

For a sample of what the new borders (can) look like:
Image

In the next couple of days I'll post another update, when the full theming is supported and I can stick some (probably stolen from another project :P ) images in there

Warning: it IS 2am, so if this is unintelligible or makes no sense what so ever, there's my excuse...

And squeen: After I get the imaging support, and fix a few bugs, it'll be going into CVS if that's ok with you :) As with everything else, it's easily disabled
Rack up another 4300 showing up as:
DMediaPro DM10 FW option: unit 0, revision 1.1.0
as well as
Integral SCSI controller 2: Version IEEE1394 SBP2


I picked it up at bestbuy
It's listed as "Adaptec Fireconnect 4300" in a small plastic box...cost me $39.99

On the back it was referred to as the 4300cs kit, and on the back of the PCI card is AFW-4300b

Only firewire device I have (yet) is an iPod, so I can't say much about functionality etc...
iPod doesn't show up as a disk, but I'm not sure if that requires anything special on the driver side or what...

I haven't installed any drivers or anything special, just running 6.5.24


-- update after installing DM drivers... --

Still shows up in hinv...however fwprobe gives me the "Unable to access driver" error. My guess is that there IS no 32bit driver for this (though why would it then show up in hinv?) because after-all, the FireWire DM was never released for O2 as far as I know?
More poking around...

It seems that libfw looks for /hw/firewire.
That's never getting created on my O2...

The file that seems to reference /hw/firewire in the modules is /var/sysgen/boot/fire.a.

libfw looks for /hw/firewire/0/glue/glue0
again I don't have /hw/firewire, but I DO have
/hw/node/io/pci/3/ohci/0/glue/glue0 (that is the node that relates to the firewire card)

So, if I could ln -s /hw/node/io/pci/3/ohci /hw/firewire it might work...but you can't. /hw is of type hwgfs which doesn't allow you to do anything of that sort


---

more messing around...
I hex-edited libfw to look in /fw/firewire instead of /hw/firewire, created the symlink, and voila:

bash-2.05b$ fwprobe
Probing DM10 cards...
Number of cards: 1
Card Info
=========
Card #: 0
Name : DM10
ID : 0x309500A00402F9
Ports : 3
Speed : 400 / 400

1 devices attached
Device 0: 0x309500A00402F9
Vendor: Silicon Graphics, Inc.
Model: Unknown
Proto: Unknown


However it should be noted, that after plugging in my ipod (only device I have) the output of fwprobe didn't change at all...
TeeTylerToe wrote: I ran the mplayer -vo null -nosound -quiet -benchmark on the warcraft 3 trailer, and got 183 seconds on my HP C180 running a 180MHz HPPA 64 bit processor, gotta say, I wish I had that 400MHz one.


Glad to see I've instantiated that warcraft III trailer as the unofficial official nekochan mplayer benchmark :)

Really though, it's quite beautiful to look at...and quite mean to your computer :)
So I haven't logged in since apparently Sep 6, 2006.
Finally getting back in to trying to get my SGIs up and running again.
I have my O2 up and running here (with AV card).
I have what I BELIEVE to be a 400mhz proc sitting at my office (I bought it off ebay some 3+ years ago and never installed it because I first needed to upgrade Irix I believe to support it).

My big questions are what's changed in the past 3 years since I've been active here?

Did anyone ever get firewire drives working properly on the O2 (I know I was close but had failures...though I later found
out it was my firewire enclosure that was busted)? If so, anyone know a firewire pci card you can buy today that will work, as I'd love to add some good storage to my O2.

Has anyone tried / touched / kept up the SGI-specific video output for mplayer we put out some years back to make videos actually playable on these machines?

I see iconbar's still up on sourceforge - does anyone still use it (and if so, would you be interested in an opengl-optimized version?). I'm pretty sure I still have my dev login for that project from way-back-when...

Anything else fun/exciting going on in the land of old stubborn bastards running Irix?
Haha...I have a baby (well he's 3 1/2 now so not really a baby) but no Tezro sadly :(
I do still have an Octane 2 sitting harddriveless also. Lots to do I suppose.

Now the biggest challenge as always, convincing SGI to send me CDs for stuff since when trying to do a clean install of Irix onto my O2 (I have an old install on a 4 gig drive but was trying to do a clean install on a 9 gig...) it turns out in the past half-decade my discs got all scratched up. Anyone know the link on SGI's site to order Irix / MIPSpro these days?

Oh and I saw on the wiki about turning the overlays on supportfolio into full bootable CDs - can I just grab 6.5.22 off of there, make it bootable and do a fresh install from that w/o any previous Irix CDs?
josehill wrote: Hey, welcome back!
vegac wrote: Oh and I saw on the wiki about turning the overlays on supportfolio into full bootable CDs - can I just grab 6.5.22 off of there, make it bootable and do a fresh install from that w/o any previous Irix CDs?

No. It's only a set of overlay CDs. You'll still need to get your hands on the IRIX Foundation 1 & 2 CDs, and an Applications CD. You may also want/need the NFS/ONC3 CD and the Development Library and Development Foundation CDs.


Yeah I figured as much sadly...
I gotta test each of my CDs and see which are working and which are messed up - I just know it started erroring at some point and I was too tired to pay attention to what files it was complaining about
Finally all is setup and well...
It took a while (and a bit of help from people on this board) so thanks all!

First the hinv...
Code:
-bash-4.0$ hinv -vm
Location: /hw/node
PM10600MHZ Board: barcode MDR232     part 030-1700-002 rev  A
Location: /hw/node/xtalk/15
IP30 Board: barcode JNX289     part 030-1467-001 rev  C
Location: /hw/node/xtalk/15/pci/2
FP1 Board: barcode JLP202     part 030-0891-003 rev  E
PWR.SPPLY.ER Board: barcode AAE9250391 part 060-0035-002 rev  A
Location: /hw/node/xtalk/11
ODY128 Board: barcode BVA805     part 030-1404-003 rev  A
1 550 MHZ IP30 Processor
Heart ASIC: Revision F
CPU: MIPS R14000 Processor Chip Revision: 2.3
FPU: MIPS R14010 Floating Point Chip Revision: 0.0
Main memory size: 2048 Mbytes
Xbow ASIC: Revision 1.3
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
Secondary unified instruction/data cache size: 2 Mbytes
Integral SCSI controller 0: Version QL1040B (rev. 2), single ended
Disk drive: unit 1 on SCSI controller 0 (unit 1)
Disk drive: unit 2 on SCSI controller 0 (unit 2)
Disk drive: unit 3 on SCSI controller 0 (unit 3)
Integral SCSI controller 1: Version QL1040B (rev. 2), single ended
CDROM: unit 6 on SCSI controller 1
IOC3/IOC4 serial port: tty1
IOC3/IOC4 serial port: tty2
IOC3 parallel port: plp1
Graphics board: V8
Integral Fast Ethernet: ef0, version 1, pci 2
Iris Audio Processor: version RAD revision 12.0, number 1
PCI Adapter ID (vendor 0x10a9, device 0x0003) PCI slot 2
PCI Adapter ID (vendor 0x1077, device 0x1020) PCI slot 0
PCI Adapter ID (vendor 0x1077, device 0x1020) PCI slot 1
PCI Adapter ID (vendor 0x10a9, device 0x0005) PCI slot 3


And the gfxinfo...
Code:
-bash-4.0$ /usr/gfx/gfxinfo
Graphics board 0 is "ODYSSEY" graphics.
Managed (":0.0") 1280x1024
BUZZ version A.1
PB&J version 1
128MB memory
Banks: 4, CAS latency: 3
Monitor 0 type: Unknown
Channel 0:
Origin = (0,0)
Video Output: 1280 pixels, 1024 lines, 59.00Hz (1280x1024_59)


(And yes I'm running a V8 at 1280x1024_59...stock resolution apparently now that gets around the brokenness of the V6/V8's pixel clock).

Sadly it has a graphics mode for 1920x1080_72 and 1920x1080_30i but no 1920x1080_60 (which would be perfect since I'm on a 1920x1080 native panel).
Working on getting native resolution but having difficulty remembering what CD you install VFC from (apparently it's not installed by default...)
Thanks!
Only a few bits of struggle to go...
1) Getting setmon/xsetmon to take some custom resolutions (it's fighting with me...posted about it in Irix Software forum)
2) Getting a PCI Card Cage (a few people here have messaged me about this already just waiting until I have the cash to pick one up).

Then I'll be throwing my Firewire card in there so I can continue to not use it (but it'll look even more impressive in the hinv) :)
-lm means link with libm (math library)
mapesdhs wrote:
Very possibly, jan-jaap.

Btw, be careful if you see an advert for a single-600 and the hinv output is only from the PROM. If the CPU
is a 550, the PROM will often say it's a 600. This happened to me once, bought an Octane2 from the US
purely because the CPU was supposed to be a 600, but it wasn't. Still used it as my main desktop CPU for
a coupla years, before switching to my current Fuel/900.

Ian.


Actually, before updating to whatever newer version of Irix I installed, it was being reported as a 600. Only after I got 6.5.23 on here did it start reporting as a 550.
I pop in from time to time, disappear, come back, etc.

Recently I've been getting the itch to play with some retro computers and suddenly it hit me. DUH I have a V6 Octane sitting under my desk.

Going to fire it up tonight, get an hinv, and see what I can do about some upgrades (somewhat limited until I get an XBow 1.4 I fear)...I honestly can't even remember what's on there, other than Irix 6.5.something and a half-ported version of a retro RPG my company made, trying to get it working on Irix to share with all of you.

Expect a small flurry of me trying to remember everything / catch up on what's changed in the past year or two :)
I don't envy you! I helped back on the original mplayer ports (did some of the platform-specific code to get things playing faster on these machines) and have a few nightmares of the pain...
To speak on some of these settings...
-vo sgi tells it to use our (made here at nekochan largely) SGI output plugin...
:textures is telling it to use texturing (instead of blitting to the buffer), and :softcs tells it to use software (hand-optimized assembly) colorspace conversion.

Looking at the output video, it's an alignment issue.
I'm guessing it's an odd-width video (or non-multiple-of-4 or similar) and it's just a bug in the output plugin.
I suppose at least this time I kept my machines...

O2 sitting in the corner (no clue what's installed on it or if it even boots...I THINK I just used it for the CDRom to net-install onto my Octane) and my V6 Octane that I can't remember the specs of (I should search the hinv board here...I'm sure I posted it at some point).

Also just had a blast reading over the MPlayer 1.0pre5 posts from TEN YEARS AGO that I worked on...crazy.
Video editing and compiling large projects are the two places I've seen SSDs shine. Had some code projects go from 45 minutes down to 5 minutes for clean builds.
Is there anything I have to do to provide a mirror?

I'll happily provide the bandwidth, assuming I can run it off of one of my linux VPS servers...
That's weird, since wasn't the point of this release that he moved it to the new separate libs?
One of the fun things about firing up my old Octane has been all the half-ported / partially finished games on there...

Exhibit a) An early (not final art or anything) version of a mobile endless runner I made some 4 or so years ago...





Maybe I should tardist this up and release it as-is in case anyone out there is bored (and has an SGI running 6.5 with hardware texture) :)
It's just a simple endless runner...but yeah some time this week I'll tardist it (if I can remember how) or worst-case, just .tar.gz it :)
Just read this whole series...so good.
Looking forward to the next post :)
I'm curious how many people (if any) use an SGI as their daily computer.

What I mean isn't just a computer you toy with daily, but actually as your main machine you go to for...whatever it is computer related that you're doing.

Moreover, for those that do, what do you think the gaps are that make it challenging (and if you would want to but can't, what is it you're missing that keeps you from doing so).
It really seems a fast browser is the #1 requirement...

That then opens up the ability to use most sites (including online document editing if needed, webmail, etc. etc.)

Pity Dillo is so limited...it's certainly got speed on its side.
It's been a while since I've done this but I remember having to bust out my original foundation CDs as well when installing MIPSpro (to get a precursor to a dependency that's met by the overlay)
Hmmm...when I get back next week maybe I'll start looking at this...
See if I can improve on my 10-year-old SGI vo code now that I can only assume I was so much worse back then :)
commodorejohn wrote: I thought we learned from Google Glass that all this stuff accomplishes is to make people into oblivious, insufferable assholes?


Key difference here is that this is intended for home / desk use. NOT to be worn while walking around outside.
When I get home Monday I'll see about getting you some FTP space...
This is exciting, actually having an up-to-date mplayer here...
Now that I'm a VPro user I may have a chance to optimize the vpro path (when I previously worked on the sgi vo for mplayer, I had only an O2... all other platform paths were implemented by reading docs and hoping things worked...)
I'm still bummed I missed out on that...