The collected works of deBug - Page 1

Great to Hear that you are giving us MIPS3 files!
My Indys and Indigo2 will be some much more usefull now.

Thanks a lot.

This will be perfect in my script collection.

Thank you for sharing!
Spidy wrote: Actually, while we're on the subject, I've tried using Samba to try and get my O2 to communicate with the bj-200 ex i have connected on the pc.

Haven't been able to pull it off.

So, can anyone offer advice as to how to print from IRIX to a printer connected on a pc?

Is using Samba the way to go?

I use this method to print to my HP Laserjet 4050 (non postscript printer) from my SGI computers.
GIJoe wrote: so what is this? a collection of morphtargets that can be applied to some more or less human-shaped basemesh? from an animation-standpoint the topology is rather unimpressive i have to say, what kind of application is it targeted at?

They are not done yet. It is already very impressive and it will be even more when they are done.
But your right, it’s not very useful today if you want to change the pose for animations.
For stills it can be useful at his time.
Try it out and you will understand the potential.
And it’s free.
zizban wrote: In case you haven't heard, Nekochan now has a wiki:

We're trying to collect all the knowledge, how-tos and hacks collected on the forums over the years in one place to make it easy for anyone to find. Feel free to dive in and add to it.

Right now only a handful of us are working on it in our spare time. We need your help!

Wow! I toke a quick look and it looks great !
You allready has a lot of usefull information in there.
If I can manage to get some free time I'll try to fill in some of the red links.

fzalfa wrote:

i have try the latest Blender provided in the previous topic, support up to 8 cpu is great

i cannot resist to do some benchmark and i observe some strange behaviour in multithread

i use the same test scene between the Octane2 dual R12k and the O2k 8 R10k 250

the first try i do with the O2k was about 1m17s75.....slower than my Octane2.... ??

parametters was, 8 threads, render tile 4x4

at the begining of the rendering all the cpu are loaded, and gradualy as therendering progress, the used cpu number goes lowering. why ??

at the begining the rendering was very fast, and when the most rendering parts are done, the rendering brake seriousely

so i have found a solution, i adjuste the tile render zone as multiple of numbers of cpu, so this is the result with this mods:

8 threads, render tiles 8x8 done in 25s63...... awesome no ?

from to start to the end of the rendering, all the cpu are used....

regards & happy new year


I'm I missing something deeper in this?
Because for me it looks obvious what’s going on here.

When there are less than 8 tiles left, some CPUs will be unused as they will not be able to pick any more tiles, right?
So at the end there will always be unused CPUs.
As the tiles completes, more and more CPUs will be unallocated until there is just one CPU doing the last tile.
So the total amount of processing power goes down when there is less than 8 tiles left, right?

So the trick is making enough tiles in the job so that the last 8 tiles is a very small percentage of the total number of tiles, thus affecting the job the least.

In your first example with 4x4 tiles (16) the last 8 tiles is half of the entire job, thus giving big impact on the job.
But in your second example 8x8 tiles (64) the last 8 tiles is just one 1/8 of the entire job, giving less impact on the job.

So your right in that more tiles are better but I don’t believe it has to be a multiple of the number of CPUs, for example, a job with 6x10 tiles are probably as fast as a job with 8x8 tiles.
Rutrem wrote: Hi

Iam new on this forum , and i plan to by an SGI Octane from eBay.
I am an pc/Windows user , but under the surface a great SGI fun;p

I have heard a lot of storys on SGI machines ... and iam really curious to hear some fresh firsthand experince from reall users.
An SGI Octan (first gen) could be compared with what kind (config) p.c. or Mac?
As Pinecone said it's hard to compare them.
Most stuff that you run on decent SGI is quite snappy, one exception is firefox, in that regard it will comparable to a 500MHz PC.
But it depends a lot on how fast your disk is, if you have dual CPUs etc.
Although they very speed monsters in it's days, a modern Core2 PC will run circles around them.

Comparison is hard because the SGI focused a lot on fast buss, very good multi CPU architecture, fast memory and disk etc.
So a SGI can handle tremendous
loads and still be snappy.

The PC on the other hand usually has weak buss, slow disks etc but a fast CPU. If you run a single program the PC would be fast, but clog it down with a heavy load and its weak architecture will hinder the CPU potential.

As analogy, if they were transports, a PC would be a fast motorcycle, and a Octane or Onyx would be a monster truck.
GIJoe wrote: that would give a 33% speed increase. not enough to beat that athlon MP.

Probably more than 33%, note that 4xR10k@300MHz = 2xR12@400 witch would indicate R12k is 50% more efficient than R10k.
R14 might have a similar increase in speed that is due to architecture rather than increased clock frequency.
frood wrote: I know there is no import duty when shipping within the EU, its the shipping costs that would break me there. I just added that in as a more general comment to those outside the EU on this board.

Search for "SGI Indy" on and I'm sure you will find something interesting in a few days/weeks.
The shipping is usually 20-30€ from Germany.
I tried out flightgear on my fuel 500MHz V10 and it was a slide show.
I will soon get a 600MHz V12 fuel and will try it again.
But I suspect that is is unplayable on any SGI.
Please note that the frame rate list on the flightgear page is only guesswork and not from actual testing.

Has anyone else bench-marked flightgear and can comment on my experience?

Hi all.
I have written a typerule and a script that makes it a bit easier to use images as backgrounds in IRIX.

Once installed you can select one or several images and right clicking it you will get a pop up menu "Add to backgrounds".
After that the image will show up in the backgrounds settings.
This will work for JPG, BMP, SGI, TIF and GIF images.

You can download the stuff here .
After you unzipped the folder you just run the install script, wait a minute or so for the typerules to reconfigure and you will have the menu installed.
The computer needs to be running IRIX 6.5.22.
Let me know if you have any problem that needs fixing.

nekonoko wrote:
Works great! Only issue I can see is that distributing as a *.zip loses the execute bit on 'addtobg' and 'install' (which is why tar files compressed with gzip/bzip are so prevalent ;) ).

OK, sorry for that, no IRIX machine turned on tonight so I was a bit lazy :)
Next release will be tared. I might even tardist it if I get some time to learn how to do that.

Nice to hear that it is working!
OK, I tared it up for you all.
Get it here

Here is some screenshots that explains what it does.

After installation select
either several images by draging:

or select a single image:

right click and use the bottom menu "Add to backgrounds":

The image(s) are now added to your backgrounds settings, just start the background setting dialog:

And there you will find the newly added image. The name of the image is taken from the file name:

Just select it and click "Apply" and you got yourself a new background in a few seconds.

nekonoko wrote:
Added this to the blog. Thanks!

I'm honored.
For an IRIX guy that's like being slashdotted :D
SupremeCmdr wrote:
Cool script.

This might be a silly question, but do I have to run this as root to get it working? I've just run it as myself and I'm getting loads of permission denied errors and I appear to have lost all my icons. :oops:

EDIT: Logged out and the icons are back. Though I still don't have the cool right click option. Note the image I am trying is a jpeg.

Now off to find some cool stuff to pretty up my O2.

Yes, you have to be loged in with system rights as the script puts a file in /usr/sbin and I guess also the rebuild of the typerules can only be done by root or other admin account.
But once you have installed it the menu should be available for all users.

cybercow wrote:
...and I appear to have lost all my icons.

Ya i haved the same situation, when installed i lost all my icons then when restarted the icons are back, i login as root too and this one not works for me :(

The dissapearing icons is due to me restarting the desktop after the typerule is installed. I had the same effect on one of my testcomputers.
It seems that restarting the desktop has this sideeffect some times.
I will do some research to see if this can be avoided.

Regarding your problem, once you have installed it as root, do you get the menu ?

If so try to add an image using the pop up menu and then open the file .backgrounds in in a text editor like jot or nedit.
The .backgrounds file is located in your home folder (if you are loged in as root the file is located in the root)
Then scroll down to the bottom of the .backgrounds file and see if your newly added image file is referenced there (the path to the image file should be found on a couple of lines).

Let me know the result and I'll see if I can nail the problem for you.

cybercow wrote:
Let me know the result and I'll see if I can nail the problem for you.


all u described works ok

- i have the "Add to backgrounds option" on the menu when rightclicked an image file
- i checked the .backgrounds file u described and the pic IS added to the end of the file -> here i posted the file (html format) the two last records are added tru your menu option

but here the story ends i NOT have the added pictures in the LIST when going to "Desktop > Customize > Background" ...
can`t track the gap :( (is maybe because i have 8 bit gr. ? or is not important)


I haven't tested it on 8 bit gfx, but it might be a good test to set the gfx to 24 bit, or is that not possible with your hardware?

Anyway the script seems to do it's job as the info in your .backgrounds is correct.
The background setting dialog should take it from there, your sure you not just missed the new entry in the listing as it is sorted alphabetically? (your new entry will not be att the bottom if you already have other entries)
SupremeCmdr wrote:
I've re-run the script as root and it works beautifully.
Tidy work deBug.

Nice :)

Perhaps you could add that extra info to the README file, just so dumb noobs like me know how to get it working. :wink:

I was just being cautious about running stuff as root, not really in the mood for an IRIX reinstall.

Sure thing, I might even do a test in the install script and give a warning if one is not loged in as root to aviod future problems.

Tried it on my new fuel 600MHz with V12 and it was actually OK.
Around 15 fps according to the built in fps counter.
SAQ wrote:
deBug wrote: Tried it on my new fuel 600MHz with V12 and it was actually OK.
Around 15 fps according to the built in fps counter.

O.K- what's going on here? must be huge textures, since that is the only difference between V10 and V12.

Perhaps a "texture trimmed" edition would work better for SGIs?

Seems like the minimum texture setting inside the sim is 64MB, that would explain the poor performance on V10. I will exeriment some more during the weekend to see if its possible to trim down the texture size more than that.
SkyBound wrote: The easiest way to reduce the texture size is to rename Textures.high in the root of the base package. Only the low resolution versions of the texture will be used then.


Ok, tried this, did zilch for my framerate :-(
OK, I tried Flight Gear a little bit more on a few different machines.

O2, 300Mhz R5k CPU, 512 MB Mem. CRM gfx.
below 1 FPS

Fuel 500MHz R14k CPU, 1GB Mem, V10 gfx
2-4 FPS

Fuel 600MHz R14k CPU, 1GB Mem, V12 gfx
6-15 FPS, usually around 9FPS with minimum settings, cockpit visible, plane on the ground on default airport.
In the air FPS might go up to around 12-15.

shoe wrote:
Been hoping for something like this for years! Thanks a lot! :D


Your welcome, I glad that someone else finds it usefull :)

I have found it hard to understand why basic things like adding an icon to Icon view, adding a new menu to the toolchest, adding a background image etc, recuired the user to modify text files. Where is the GUI tools to this I always thought?
When I started to use IRIX in 1995 it was the most wonderfull media GUI around! All the little cool stuff you could do,the easy handling of files in the fileviewer, the preview of images, the cool crached chevy 57 icon of the core dumps, the sound affects, the drag and drop functions etc were just wonderfull.
And then the GUI development just halted :(

I guess they had probably fixed this if they hadn't lost focus and if Jim Clark hadn't left SGI.
So IRIX GUI is somewhat frozen in time off the mid 90.

I have wanted to fix some of these shortcomings for some time but as I'm no C developer I couldnt do it.
But when I realized that typerules could expand the built in menu system it was very easy, not more than 10 lines of scripting so I'm surprized that no one had thought about it before.

On the other hand maybe professional IRIX users actually USE their SGI boxes instead of playing around with them.

I have more stuff I'm working on to simplify basic task that I will polish upp and release when I get some free time.


Mein Führer, I can walk!
dir_marillion wrote:
Hi, I have installed the package (both times) as a root, from the README instructions. I have added some new pictures into my backgrounds file (with the right click of my mouse).

I use Irix 6.5.22 (mips3 R4400 250, Indigo2 - Solid Impact 1280*1024 24 bit).

I can select (APPLY) a picture from the desktop->customize->background but I cannot see this to my background. I still can only see IRIX default backgrounds.

Do you have a solution for that ?

Sorry, No idea.
It seems the script is doing its job if it shows up in the background dialog. Why Irix wont display it is a mystery.
Have you tried with a couple different images, perhaps with different formats - jpg, tiff etc?


Mein Führer, I can walk!
dir_marillion wrote:
No, I have only Jpeg pictures in my indigo2 (and I am wating for the Next Releases of Neko, for mips3).

All other people here use tiff or gif pictures for their backgrounds ? ... because they say, they liked the script

I have to report that my other SGI O2 that runs Irix 6.5.29 has the same problem !! :cry:

As I said the script is doing it's job.
You have to figure out why you IRIX boxes dont display your Images, thats why I sugested trying other images (smaller ones, maybe different format)

Mein Führer, I can walk!
When adding key modifiers to either the system 4Dwmrc or the user defined 4Dwmrc file in the home catalog I can get everything to work fine except, for the user root ??
Tried it on two different boxes with 6.5.22 and .27 IRIX and they behave the same.

The OS seems to read the files as changes to other parts of the files like the root or desk menu will register.
But not custom button actions.

So is this by design to protect the root user from being borked by a faulty system or root 4Dwmrc file or are my boxes just being stubborn ?

Mein Führer, I can walk!
Found the problem, on both my machines I had installed softwindows witch had placed a .Xdefaults in my root(s).
That file disabled the /usr/lib/X11/system. 4Dwmrc and the /.4Dwmrc for the root user.
Renaming .Xdefaults to fixed the problem and my 4Dwmrc files are now affective again and Sofwindwindows keymapping seems to still be OK.
Mein Führer, I can walk!
dir_marillion wrote:
Sorry, but the script still is not running here. I have Indigo2 (Solid Impact) with 6.5.22 and an O2 with 6.5.29 24bit desktop enabled in both machines, I have a lot of different pictures in different formats. The right click works, the picture goes to the backgrounds, but it is not working as a wallpaper.
The other Irix's backgrounds have no problem.

Please let me know If you have any idea what is happening.


Hi mariillion
I think I know why it is not working on your computer.
Happened to me on a newly installed box today.
The problem was a dot in the path to the image.
So make sure there are no dots or spaces in folder or file names and it should work for you.

Ill see if can get this fixed and wrap it up in a tardist.


Mein Führer, I can walk!
dir_marillion wrote:
Finally right click "add to the backgrounds", then the file .backgrounds has this * to the list inside.
Also: Desktop-> customize-> backrounds, checking this jpeg but the picture does not go to the background.

background "030.jpg"
default "-image 030.jpg"

My screen is at 24 bit color


Was your last post a statement or a question ?
I don't understand what you are trying to say.


Mein Führer, I can walk!
Xidus wrote: Hey, I recently bought a SGI Indy for £5 off ebay, and it works great. Ive been playing around with it over serial because im to cheap to buy a SGI monitor, or even a converter to vga etc... Unfortunatly ive been unabled to get past the PROM because the guy who sold it to me forgot to inform me of the password, and i haven't been able to get my hands on any irix install media. My plan was to netboot the thing from my debian linux server so it could be diskless (With the fan mod to make it quieter) and use it as a mp3 player. Unfortunatly ive only been able to find one tutorial on doing this, and it was aimed at those using BSD. Ive tried to bodge togther a functioning netboot, but man, could they make it any harder to understand? I used for the basics of how to get it working, but had a problem of the bat when bootpd and dhcpd remembered they do the same thing in linux and decided only one could run at a time. To counter this i tried to make a fully featured dhcpd.conf file..

Code: Select all

subnet netmask {}
host indy {
hardware ethernet 08:00:69:08:53:72;
option host-name "indy";
option routers;
option domain-name-servers;
option root-path "/exports/indy";
filename "/tftpboot/unix";

and i made a copy of a friends indy irix install and put it into /exports/indy (Containing everything i need, lib, etc, dev and such) and executed

Code: Select all

exportfs -rv
With the /etc/exports of

Code: Select all


I then copied the kernel to /tftpboot/unix and ran the tftp server. After this i booted the system and made the following env changes

Code: Select all


and then typed boot. This is what i got

Code: Select all

Setting $netaddr to (from server )
Obtaining //unix from server
1307696+147504+149008 entry: 0x88003c40
IRIX Release 5.3 IP22 Version 02091401 System V
Copyright 1987-1994 Silicon Graphics, Inc.
All Rights Reserved.

Get_bootparam failed.

Kernel mount failed, check server, bootparams
or press reset button !!!

Now from this Ive guessed that its loaded the kernel but doesn't know how to execute it, or where the other files it needs are (which i stuck in /exports/indy) but cant... Maybe something to do with the NFS not being properly loaded...?

Any help would be great.

I can make a wild guess at it.
Other threads on net booting has indicated that it also use remote copy.
Loading the first part is for sure tftp and it seems you got that working, maybe it wants to copy the rest with rc and it is not working.
Seems to rember also that guest has to be enabled on the server, I guess it is used for the rc part.

Mein Führer, I can walk!
Fiber NICS a more expensive.
Switches are more expensive.
And as Jan said, switches will also be hot and noisy.

And you will always have a few computers that you have to run with copper, that means tou gave to have a switch for that aswell, or a converter.

Paying for all the extra equipment will eat up the savings from the free fiber.

Mein Führer, I can walk!
The Keeper wrote:
jan-jaap wrote: Later generations of SGI's might take fibre channel, but isn't it true that only the Prisa adapters for Onyx do tcp/ip over fibre channel (which was the whole aim in this case)?

Correct, but only as long as you don't use a Silkworm switch. For some reason, the Brocade switches don't like to work with the Prisa. Assuming you can find a Prisa for less than the price of a used car. They're rare as hen's teeth at this point.


I guess I was lucky then cause I just bought a couple of them on eBay in December.
Paid 30$ for them.
Only one of the boards has the optical adapter.
according to the seller the boards was a working pull.
I just got them home and was thinking of installing them this weekend.
Guess I was lucky to find them then :)

I bought it to start fiddling with fibre channel and to get faster disk access in the Onyx that is limited to 20MB on the SCSI channel. I'll PM you "The Keeper" when I have it show up in hinv and maybe you can recommend a start kit for me ?

But are you saying I can use it as a network card as well ???
I thought fibre channel was only a storage protocol.
So there are Fibre switches that can convert it to Giga bit Ethernet then ?
And IRIX supports running the Prisa as a NIC?


Mein Führer, I can walk!
uridium wrote:

Anyone have a mirror or alternate link for this? 404 basically. Trolled additional downloads and nekoware but no love. :-\

I had a hard disk crash around Christmas.
I'm still working on the restore.

You can now download it here

Mein Führer, I can walk!
The Keeper wrote: What you'd be looking for to complete the rest would either be called a "GLM", or Gigabit Loadable Module, or more likely at this point, Emulex LP6000 or LP7000 PCI cards with GLMs attached to them. Just yank the GLM off the LPx000 and drop it onto your cards. If you need more ports, that is.

Thanks Chris, great info!
Very appreciated!
I'll grab a few LP7000 on eBay and get the other card going.

Mein Führer, I can walk!
The Keeper wrote: Interestingly, I just found a bag with a few GLMs in it. If you can't find any LP6000 or LP7000 cards in Europe, let me know. I'd be willing to sell you the lot for $20 including shipping.


I' need I few other things from your site so I'll E-mail you during the weekend when I have more time.

Mein Führer, I can walk!
jan-jaap wrote:
The Keeper wrote:
deBug wrote: Only one of the boards has the optical adapter.

What you'd be looking for to complete the rest would either be called a "GLM", or Gigabit Loadable Module, or more likely at this point, Emulex LP6000 or LP7000 PCI cards with GLMs attached to them. Just yank the GLM off the LPx000 and drop it onto your cards. If you need more ports, that is.

What about bulkheads, do you have those? Or do you want to run fiber through a hole in the front panel of the Onyx straight to the card?

For me, that was a reason not to bid on that auction . . .

Lucky for me I guess :)
I been thinking on trying to have a small FC backplane or FC to SCSI bridge and stuff it in to one of the spare disk slots and integrate the whole FC stuff internally.
Of course with three FC ports a bulkhead would have come in handy for at least one of the ports.
If I need it I might have to make one myself I guess.
Mein Führer, I can walk!
fu wrote:
100% dundee here ( fu:el 6.5.29f)

thanks a ton harry
(more booze on me)

Glad you like it!
(would it be easy for u to come up with a script that turns any disk/volume/folder into a permission-agnostic one?)

I don't know, but I like to "fix" the things in the IRIX GUI that I think is missing on tasks that I often perform.
I haven't had the problem that you describe. So I have had no interest in fixing it.

But if you can write a script that does what you want I can help out binding it to a menu.


Mein Führer, I can walk!
cvisors wrote:
Sorry to reply to an old thread, but does anyone have a copy of this.

Thanks heaps


Cant you get it from [url][/url] ?

Mein Führer, I can walk!
schleusel wrote: This news bit (german) talks about planned upgrades of the new northern german "HLRN-II" Altix installation - which currently consists solely of Altix ICE x86 clusters.

The interesting part is the second passage. It talks about two additional planned "Ultra Violet" SMP systems each consisting of 2176 CPUs (136 blades with two 8-core Nehalem-Xeons each) and 8.7 TB of memory in only five large nodes - using NUMALink 5 :)

Wonder if this will mark the end of their IA64 lineup (wouldn't be all that surprising i suppose :-) ) or if they'll offer both variants..

As the Nehalem is a NUMA design (Intels NUMA implemenatation goes under the name "Quick path interconnect") I suspect SGI and other HPC manufacturer will regard the x86 as a more worthy platform for HPC.
So I think you are right, they will probably use x86 more in future designs.

Mein Führer, I can walk!
emachine wrote:
Interesting. I don't believe its related to the music files because I see the same two lines and runs just fine.

Google search looks like its not an IRIX only "problem"? Most references say that its a problem with the GL library (which seems unlikely to me). Would be interesting to see what others see?


I'll see If I can have a go at it tonight when I get home.

Mein Führer, I can walk!