The collected works of ClassicHasClass - Page 6

The POWER5+ does have a lot of cache, though. Apple always undercached the G5, even in the quad.
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
True. But at the amount I paid for my quad G5, I sure would have wanted more than 1MB L2 per core (and no L3 at all). Even with that it does pretty good, considering.
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
NTSC video is indeed 29.97fps.

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
I'm laughing a little here, because this is a carbon copy of the problems we had between Fx4 and Fx5 with TenFourFox -- libxul was too large to link with a 32-bit ld. We now use a 64-bit ld, backported to 10.4+. If you can get 10 up, 17 should not be a problem.

Is there any way to get your changesets against -esr10?

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Now, now.

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Well, the NSPR part was the easy bit for us; it already worked with 10.4 in 3.6, so I just had to keep it that way. For WebGL, I just disabled it at the GfxInfo level since 10.4 doesn't support OpenGL 2 nor NPOT texture sizes.

Are you working off diegel's basis for 3.0.19, or did you do the NSPR bits yourself? The PRThread stuff sounds like it should be done to xpcom as well.

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
I'd rather be dragged around by Mozilla than swallowed whole by Google. :)

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
diegel is using gcc, so he must have solved the ABI issue (you can't do xptcalls without it, and xptcalls haven't changed in aeons).

That's a clever solution to JS GC.

I could still reconstruct appliable changesets (I guess this calls for porting hg to nekoware 8) ), if you have the source tree you were working with in any form. This sounds highly doable. For TenFourFox, I just distribute changesets overlaid on top of -esr10/17/etc., and I think the same approach works here.

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
kubatyszko wrote:
NCommander wrote:
ClassicHasClass wrote:
Is there any way to get your changesets against -esr10?


I'm pretty sure those changesets are gone, though I do have my original notes I took during the process plus this thread.


Well, I still do have all the stuff you did, let me know if you want it in any form...


I would love a tarball. I can reconstruct changesets from that manually. PM me! :D

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Mining without Interlocked Pipeline Stages
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
The other option is to try porting Fx4 (which has the advantage of its own repo) first. It doesn't require --enable-libxul, so a 32-bit linker will still handle it. That could facilitate a stepwise approach.

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Man, you beat me to it (on a business trip this week).
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Thanks, I have that xfsdump now. However, the links to patches in those threads don't appear to work. Did someone else collect those?

TraceMonkey, particularly in 3.6 and 4, should be very easy to port to MIPS. We did it for PowerPC and that was enormously successful.

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
hamei would have me filleted if I didn't try the Canopus. :)
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Thanks, diegel!

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Code:
bigred 1# hinv -vm
Location: /hw/module/001c01/node
IP34 Board: barcode MRR478     part 030-1707-003 rev -H
Location: /hw/module/001c01/node/cpubus/0
IP34PIMM Board: barcode NJX299     part 030-1981-001 rev -A
Location: /hw/module/001c01/Ibrick/xtalk/13
ASTODY Board: barcode MZK157     part 030-1726-005 rev -A
Location: /hw/module/001c01/Ibrick/xtalk/14
IP34 Board: barcode MRR478     part 030-1707-003 rev -H
Location: /hw/module/001c01/Ibrick/xtalk/15
IP34 Board: barcode MRR478     part 030-1707-003 rev -H
1 700 MHZ IP35 Processor
CPU: MIPS R16000 Processor Chip Revision: 2.2
FPU: MIPS R16010 Floating Point Chip Revision: 2.2
CPU 0 at Module 001c01/Slot 0/Slice A: 700 Mhz MIPS R16000 Processor Chip (enabled)
Processor revision: 2.2. Scache: Size 4 MB Speed 350 Mhz  Tap 0xc
Main memory size: 2048 Mbytes
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
Secondary unified instruction/data cache size: 4 Mbytes
Memory at Module 001c01/Slot 0: 2048 MB (enabled)
Bank 0 contains 512 MB (Standard) DIMMS (enabled)
Bank 1 contains 512 MB (Standard) DIMMS (enabled)
Bank 2 contains 512 MB (Standard) DIMMS (enabled)
Bank 3 contains 512 MB (Standard) DIMMS (enabled)
Integral SCSI controller 2: Version IEEE1394 SBP2
Integral SCSI controller 0: Version QL12160, low voltage differential
Disk drive: unit 1 on SCSI controller 0 (unit 1)
Integral SCSI controller 1: Version QL12160, 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: V12
Integral Fast Ethernet: ef0, version 1, module 001c01, pci 4
Iris Audio Processor: version MAD revision 1, number 1
PCI Adapter ID (vendor 0x1077, device 0x1216) PCI slot 1
PCI Adapter ID (vendor 0x104c, device 0x8024) PCI slot 2
PCI Adapter ID (vendor 0x1412, device 0x1724) PCI slot 3
PCI Adapter ID (vendor 0x10a9, device 0x0003) PCI slot 4
PCI Adapter ID (vendor 0x11c1, device 0x5802) PCI slot 5
HUB in Module 001c01/Slot 0: Revision 2 Speed 200.00 Mhz (enabled)
IP35prom in Module 001c01/Slot n0: Revision 6.210
DMediaPro DM10 FW option: unit 0, revision 1.1.0
USB controller: type OHCI
USB Human Interface Device: device id 0 type mouse
USB Human Interface Device: device id 0 type keyboard
USB Human Interface Device: device id 1 type mouse
bigred 2# /usr/gfx/gfxinfo
Graphics board 0 is "ODYSSEY" graphics.
Managed (":0.0") 1920x1088
BUZZ version B.2
PB&J version 1
128MB memory
Banks: 4, CAS latency: 3
Monitor 0 type: NEC 26489
Channel 0:
Origin = (0,0)
Video Output: 1920 pixels, 1080 lines, 72.00Hz (1920x1080_72)

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 2GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Flashed, upgraded, hinv posted. The Fuel is rockin', do come knockin'.

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 2GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Okay, I couldn't let recondas show me up. For the final(?) hinv of my Fuel, see separate thread; this is 6.5.30 using the DM10 1.1 beta driver. To make this simple, I restarted the machine after connecting a new FW device so I didn't have to dork around with mldaemon -- more about hot swapping at the end. First, to establish reproducibility, bog standard FireWire iSight, normally connected to my G5:

Code: Select all

bigred:/usr/share/src/dmedia/% firewire/fwprobe
Testing libfw...
Number of cards: 1
Card Info
=========
Card #: 0
Name  : DM10
ID    : 0x0
Ports : 3
Speed : 400 / 400

2 devices attached
Device 0: 0x0
Vendor: Silicon Graphics, Inc.
Model: DMediaPro DM10
Proto: 4
Device 1: 0xA27000401DAFA
Vendor: APPLE COMPUTER INC.
Model: iSight
Proto: 1
01: 00000000
02: 00000000
03: 00000000
04: 00000000
05: 00000000
06: 00000000

bigred:/usr/share/src/dmedia/% mlquery -d all

DEVICE: iidc-camera
parent: bigred.floodgap.com
index: 0
version: 1
location: /hw/firewire/0/iidc/iidc0
jacks: SDSerialDigitalInputJack
paths: SDSerialDigitalInput

DEVICE: nullXcode
parent: bigred.floodgap.com
index: 0
version: 1.0
location: Software Null Xcode Device
xcodes: nullXcodeMemoryToMemoryCopy,
nullXcodeMemoryClear

bigred:/usr/share/src/dmedia/% video/iidc/iidc_vidtogfx -s 411
Input Timing Present = ML_TIMING_525
............................................................Shutdown



So far so good. Next, the Orange Micro iBOT FireWire camera. This works fine with QuickTime, but TenFourFox's internal support doesn't like it and gives a scrambled image.

Code: Select all

bigred:/usr/share/src/dmedia/% firewire/fwprobe
Testing libfw...
Number of cards: 1
Card Info
=========
Card #: 0
Name  : DM10
ID    : 0x0
Ports : 3
Speed : 400 / 400

2 devices attached
Device 0: 0x0
Vendor: Silicon Graphics, Inc.
Model: DMediaPro DM10
Proto: 4
Device 1: 0xD0F54001001392
Vendor: ORANGE MICRO, INC.
Model: ORANGE MICRO
Proto: 1
01: 31333934
02: 20FF4000
03: 00D0F540
04: 01001392
05: 000446B3
06: 0300D0F5

bigred:/usr/share/src/dmedia/% mlquery -d all

DEVICE: iidc-camera
parent: bigred.floodgap.com
index: 0
version: 1
location: /hw/firewire/0/iidc/iidc0
jacks: SDSerialDigitalInputJack
paths: SDSerialDigitalInput

DEVICE: nullXcode
parent: bigred.floodgap.com
index: 0
version: 1.0
location: Software Null Xcode Device
xcodes: nullXcodeMemoryToMemoryCopy,
nullXcodeMemoryClear

bigred:/usr/share/src/dmedia/% video/iidc/iidc_vidtogfx -s 411 -D
Input Timing Present = ML_TIMING_525
Timing 2
ML_IMAGE_WIDTH_INT32 = 640
ML_IMAGE_HEIGHT_1_INT32 = 480
ML_IMAGE_HEIGHT_2_INT32 = 0
............................................................Shutdown


But it works fine here, as the image proves:
ibot.jpg
I'm too sexy for this discussion board


Now, for hamei, a Canopus ADVC-300 FireWire video deck, but for this we will need avc_vidtogfx instead:

Code: Select all

bigred:/usr/share/src/dmedia/% firewire/fwprobe
Testing libfw...
Number of cards: 1
Card Info
=========
Card #: 0
Name  : DM10
ID    : 0x0
Ports : 3
Speed : 400 / 400

2 devices attached
Device 0: 0x0
Vendor: Silicon Graphics, Inc.
Model: DMediaPro DM10
Proto: 4
Device 1: 0x2011011300416A
Vendor: CANOPUS CO., LTD.
Model: ADVC-300
Proto: 2
01: 31333934
02: E0648100
03: 00201101
04: 1300416A
05: 0006582C
06: 03002011

bigred:/usr/share/src/dmedia/% mlquery -d all

DEVICE: dv-deck
parent: bigred.floodgap.com
index: 0
version: 1
location: /hw/firewire/0/avc/avc0
jacks: VideoInputJack,
VideoOutputJack
paths: AnalogInput,
AnalogOutput

DEVICE: nullXcode
parent: bigred.floodgap.com
index: 0
version: 1.0
location: Software Null Xcode Device
xcodes: nullXcodeMemoryToMemoryCopy,
nullXcodeMemoryClear

bigred:/usr/share/src/dmedia/% video/avc/avc_vidtogfx
Input Timing Present = ML_TIMING_525
[dv-deck]: Bad play command status: 12
[avc] Cannot check event loop: Bad file number
timed out waiting buffer
Event Queue Error
Shutdown
[avc] Trouble closing isoch reception: Bad file number
bigred:/usr/share/src/dmedia/% video/avc/avc_vidtogfx
Input Timing Present = ML_TIMING_525
............................................................Shutdown


Notice that periodically avc_vidtogfx and the device get out of sync and you have to do it again. The input basically works otherwise, but ... well ...
advc.jpg
Perhaps it's useable like this in the Southern Hemisphere.


I tried playing around with glOrtho() in the source but I couldn't get it to flip vertically, and I don't know if avc_vidtomem has the same problem. I'm not very good with OpenGL programming though. It just seems to glDrawPixels() right into the window with no intervening texture or anything like that.

I mentioned hot swapping. It doesn't work. In fact, it seemed to hose the FireWire driver so bad that I had to hard-power-down the machine (the console was spammed with tons of FireWire errors about bad or missing targets and the kernel just sat there emitting errors forever until I hit the hard reset). Resetting mldaemon only worked the very first time for me (no devices seen and plugging one in). It wouldn't work for other devices after that.

TAKE THAT, RECONDAS! 8-)

* Incidentally, love and (if you are an attractive person with no Y chromosome) kisses if you can identify the (16-bit!) computer that generated the video signal for the ADVC-300.
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
I'm pretty pleased with it, and all told I think I only invested about $500 in it total (machine, CPU upgrade, RAM, cards, hard disk). I spent nearly as much on my Indy, though the Indy is very special to me for nostalgic reasons.

I'm toying with getting a Tezro, but it would be very costly and I don't think it would be anywhere near as fast as my quad G5 of similar vintage (which is also currently completely sufficient for all my tasks but TurboTax and Android work) based on my experience with the single core in this. What's people's thoughts?

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 2GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
PymbleSoftware wrote: Hands off but some kind of MSX...?


Nope, though you're right about the VDP (9918A)! Hint: the CPU is a Texas Instruments 9995.

hamei wrote: I'll send it to my Mom


Word to your Mom!

GL h4xx0r5, is there an easy way to flip glDrawPixels other than by labouriously turning the buffer around in memory? There must be a simple transform I can apply or something rather than expensively doing that in software. (This could really use MDMX. I'd just AltiVec it on PPC.)
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Well, there's not likely to be a Mrs. CHC anytime soon. :P

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 2GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Xaw = the sound you make trying to program with it

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Close! You are very, very close! It's the Tutor's older brother, the Pyuuta: http://www.floodgap.com/retrobits/tomy/pyuuta/
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
ShadeOfBlue wrote:
ClassicHasClass wrote: GL h4xx0r5, is there an easy way to flip glDrawPixels other than by labouriously turning the buffer around in memory?

glPixelZoom(1.0f, -1.0f) :)
You will also need to start drawing the image at a different y position, use glRasterPos to do that.


It's already there, I think. I played with a few different iterations and all I got was a black screen. When it goes to blit the bits, it starts at the bottom and works back, but setting it to 0.0 didn't fix it, unless I'm totally wrong somewhere. I don't have the Fuel on right now, but I'll check the source code when I'm in front of it again (later this week).

recondas wrote: devices that deliver compressed video to the avc_vidtoxxx programs need 411 sampling, and those that deliver uncompressed video need 422 sampling.


I didn't check to see what it was selecting. I'll also check that and report back.

But, I don't have cable or satellite or even Netflix, just an antenna and a big stack of DVDs, so I'll have to defer the DVR testing to someone else. I am, after all, a big Luddite. 8)
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Yes, I'll see what I can get out of it (though I'll probably test the output on the G5 since I have my media tools there). Note, for pedantry's sake, that it's an ADVC-300 -- not that this should make much difference, but the -300 has a TBC and I don't believe the -100 does.

Also, I found my Pyro A/V Link and I'll give that a spin as well. I suspect the problem reported by the original tester was that it does not have a TBC. This isn't a big deal for computer output; it *is* a problem for people using dodgy sources like consumer VHS decks.
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
hamei wrote:
vishnu wrote:
That's definitely too small to be useful as swap, by way of example my Blade 2500 came configured from Sun with 10 gig of swap.

I've wondered about this ... in the days of 4 megs of RAM, a big swap made sense. But with 8 gigs of RAM and you haven't written memory to disk since dinosaurs roamed the earth, what's the point of a big swap ?


Firefox 3.6?

(scnr)

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
As Duke Nukem once observed, I'm back .

First, let's get the agony of defeat out of the way -- the ADS Pyro A/V Link appears to be a non-starter. This unit works fine with my G5, by the way, except for the aforementioned lack of a TBC. It has a bad habit of dropping on and off the FireWire bus, particularly when switching it from digital to analogue. The Mac doesn't care, but mlquery loses track, and starting and stopping mldaemon doesn't bring it back. After some devious timing, I managed to bring the whole system up with it in analogue mode connected to the Tomy.

Code: Select all

bigred:/usr/people/spectre/% mlquery -d all

DEVICE: dv-deck
parent: bigred.floodgap.com
index: 0
version: 1
location: /hw/firewire/0/avc/avc0
jacks: VideoInputJack,
VideoOutputJack
paths: AnalogInput,
AnalogOutput

DEVICE: nullXcode
parent: bigred.floodgap.com
index: 0
version: 1.0
location: Software Null Xcode Device
xcodes: nullXcodeMemoryToMemoryCopy,
nullXcodeMemoryClear

bigred:/usr/people/spectre/% cd /usr/share/src/dmedia
fibigred:/usr/share/src/dmedia/% firewire/fwprobe
Testing libfw...
Number of cards: 1
Card Info
=========
Card #: 0
Name  : DM10
ID    : 0x0
Ports : 3
Speed : 400 / 400

2 devices attached
Device 0: 0x0
Vendor: Silicon Graphics, Inc.
Model: DMediaPro DM10
Proto: 4
Device 1: 0x50C5004E545301
Vendor: ADS TECHNOLOGIES, INC.
Model: API-550
Proto: 2
01: 00000000
02: 00000000
03: 00000000
04: 00000000
05: 00000000
06: 00000000


Unfortunately, that's about as much victory as I got:
garbage.jpg
I! LOVE! TRASH!


... after which avc_vidtogfx just locks up. After killing it, I tried using some other samplings with no joy:

Code: Select all

bigred:/usr/share/src/dmedia/video/% avc/avc_vidtogfx -s 444 -D
Input Timing Present = ML_TIMING_525
Couldn't set controls on video jack (ignoring)
Param 0x422012 -> ML_STATUS_INVALID_VALUE
ML_VIDEO_TIMING_INT32 = ML_TIMING_525
Timing 2
Couldn't set controls on path
Param 0x422012 -> ML_STATUS_INVALID_VALUE
ML_IMAGE_PACKING_INT32 = ML_PACKING_8
ML_DEVICE_EVENTS_INT32_ARRAY = [ML_EVENT_VIDEO_SEQUENCE_LOST]
bigred:/usr/share/src/dmedia/video/% avc/avc_vidtogfx -s 422 -D
Input Timing Present = ML_TIMING_525
Couldn't set controls on video jack (ignoring)
Param 0x422012 -> ML_STATUS_INVALID_VALUE
ML_VIDEO_TIMING_INT32 = ML_TIMING_525
Timing 2
Couldn't set controls on path
Param 0x422012 -> ML_STATUS_INVALID_VALUE
ML_IMAGE_PACKING_INT32 = ML_PACKING_8
ML_DEVICE_EVENTS_INT32_ARRAY = [ML_EVENT_VIDEO_SEQUENCE_LOST]


I consider the Pyro A/V Link thus a lost cause unless anyone has any other ideas. But it works great with the Mac!

Having thus dispensed with the bad news, here's the good news and the better news. The good news was that Mr. Blue was half-right and I was half-right. He was right about the GL flipping, but I was right that it was already in the source code. In a duh! moment, I just took the glPixelZoom out and reoriented the glDrawPixels:

Code: Select all

685c685
<   glPixelZoom(1.0, -1.0);
---
>   /* glPixelZoom(1.0, -1.0); */
853,854c853,854
<                   /*glRasterPos2i( 0, 0);*/
<                   glRasterPos2i( 0, imageHeight-1);
---
>                   glRasterPos2i( 0, 0);
>                   /*glRasterPos2i( 0, imageHeight-1);*/


Et voila, with the ADVC-300:
right.jpg
Now what will my Australian countrymen/women do that it is correctly oriented?


And the best news of all. On a brainwave, based on recondas' prior post, I dumped avc_vidtomem to an .mts file. And guess what can play it?
mts.jpg
Yes! My Fuel plays its own MTS files!


Yes, laydeeez, the MTS file is fully playable by Irix itself. There is no audio; I wasn't able to get that to work yet. But the video files it generates appear to be completely compatible. No screen flipping was needed for avc_vidtomem; that's unmodified.

I'm pretty pleased about this! Still can't get hot swapping to work, though even pushing my luck it didn't crash today.
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
I'm going to do more testing on the audio, possibly record a longer sample from a different source. That test file should have audible audio in it.

Renaming it to test.dv, QuickTime suddenly volunteers to play it on the G5, and it plays there in QuickTime Player as well. Where did you get the Get Movie Info stuff from?
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
I didn't get around to fixing the preferences yet, there's still no audio, and the help system has a subtle buffer overflow bug that I can't figure out (so it's temporarily disabled), but it doesn't crash anymore, so you can try a binary of it. Firefox 3 on Irix will speak gopher, or you can use cURL, or OverbiteFF with Firefox 4+, SeaMonkey 2.1+ or TenFourFox. Built on my 6.5.10 Indy with MIPSPro. Runs fine on the Fuel with 6.5.30. The G5, however, spanks both of them in frame rate. Interestingly, the Indy will drive the G5's 1080p display over X11 over the network at nearly 24fps, implying that display speed is fill-rate-limited.

Make sure that futura.hfont and gophervr.help are in the same directory, or see INSTALL. If people like it, I'll see about making it nekoware-aware. It has no prerequisites and should run on any Irix 6.5 machine.

gopher://gopher.floodgap.com/9/gophervr ... rix.tar.gz

I'm waiting for my Arch Linux porter to sign off, and then there will be source, too.
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Yes, that looks much better. I'll look at making this default in the app as well. Thanks for testing it out.
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
I was hoping to have cycles to work on this but Mozilla decided to kick the legs out from under the PowerPC OS X JIT, so now I'm trying to get IonMonkey to work on my G5 instead of trying to get Firefox to work on my Fuel. :(

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Ha! That's awesome!
smit happens.

:Fuel: bigred , 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , 175MHz R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
So unbelievably jealous.
smit happens.

:Fuel: bigred , 800MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze , R10000, Solid IMPACT
probably posted from Image bruce , Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Shortly to be the proud owner of *another* Fuel. Made a quick hit on an eBay auction and picked up another Fuel, mostly because I wanted the bezel and for spare parts, but this one also seems to have a SCSI card (I think) and a tape drive. When it gets here I'll decide if I want to move the bezel and tape to my current machine or spec it out and see if I want to Frankenstein them. It has a scuff on the front panel but I can buff that out -- the main thing is it has a working door!

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 2GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Man, you are so old . ;)

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Gonna be nicer when I get the DAT and SCSI card out of the spare I just landed. *grin grin grin*

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 2GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
Dunno. I bought it mostly for parts, but it has one installed. I'll know more when it gets here next week.

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 2GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
I'm going to use it as a backup option (natch), but that *is* handy. I've never owned an actual *audio* D*Audio*T. :)

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 2GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
My daily driver is still a quad G5. Very useable.

I like the G4 mini, but the hard disk is a little too poky for my tastes.

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...
While everyone oohs over the SGI, gratz on the Encore. Those are pretty thin on the ground. The vendor was phasing out our Encore just as I got hired and we were switching to PA-RISC. I think it was one of the 88Ks, though, not a MultiMax.

_________________
smit happens.

:Fuel: bigred , 700MHz R16K, 4GB RAM, V12, 6.5.30
:Indy: indy , 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
probably posted from Image bruce , 2x2x2.5GHz PowerPC 970MP, 8GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * HP C8000 * BeBox * Solbourne S3000 * Commodore 128 * many more...