vwrays/rtrace v5.2a error: rtrace: internal - could not empty queue in ray_fifo_flush()

All (but most likely Greg),

Has there been any change to the rtrace behaviour between 5.1a and 5.2a that I may have missed? The following vwrays command to generate a picture using the rtrace -n option works fine in v5.1a (and quite a few versions earlier I expect), but bombs out in 5.2a with the error message "rtrace: internal - could not empty queue in ray_fifo_flush()". Here's the command:

vwrays -ff -vf $vf -x $xdim -y $ydim | rtrace `vwrays -d -vf "$vf" -x "$xdim" -y "$ydim"` -ffc -i -n $ncpu -w -af amb.af $paramb scene.oct > out.hdr

$paramb is just the usual bunch of ambient parameters, with a couple of direct ones also: -ad 4096 -ab 5 -ar 512 -as 512 -aa 0.15 -av 0 0 0 -dr 2 -dc 1

The command chunders away for a while soaking the CPUs and generating a sizeable (a few Mb) ambient file before giving up the ghost, leaving the output containing nothing more than a header.

Such hacks may now be obsolete given the emergence of the rtpict script (which I haven't yet tried). Though the rtpict script looks like it is doing something very similar.

Cheers
John

PS. I thought I should at least submit one post where I make no mention whatsoever of the 2018 International Radiance Workshop which we're hosting in ... Oooops.

John Mardaljevic PhD FSLL FIBPSA
Professor of Building Daylight Modelling
School of Architecture, Building & Civil Engineering
Loughborough University
Loughborough
Leicestershire
LE11 3TU, UK

Tel: +44 1509 222630 (Direct)
Tel: +44 1509 228529 (Secretary)

[email protected]<mailto:[email protected]>

http://www.lboro.ac.uk/departments/abce/staff/john-mardaljevic

2018 International Radiance Workshop
3-5 September 2018, Loughborough University, UK

http://climate-based-daylighting.com/doku.php?id=radiance2018

[cid:8B734642-DD65-431F-9B5E-D4F6C9A4E0B5@home]

Hi John,

This may be a bug I introduced when trying to avoid a out-of-memory error Jan Wienold was seeing. There was a period of 5 or 6 days end of April / beginning of May where builds would have included this bug. I don't remember exactly what error it generated, but give the latest build a try. I'm hoping this is the same problem I fixed on May 2nd. (And it was running rtpict that generated it, so there you go!)

I think the rtpict script does exactly what you are doing, and even supports the -z option if you ever need that.

Cheers,
-Greg

ยทยทยท

From: John Mardaljevic <[email protected]>
Date: May 15, 2018 1:05:51 PM PDT

All (but most likely Greg),

Has there been any change to the rtrace behaviour between 5.1a and 5.2a that I may have missed? The following vwrays command to generate a picture using the rtrace -n option works fine in v5.1a (and quite a few versions earlier I expect), but bombs out in 5.2a with the error message "rtrace: internal - could not empty queue in ray_fifo_flush()". Here's the command:

vwrays -ff -vf $vf -x $xdim -y $ydim | rtrace `vwrays -d -vf "$vf" -x "$xdim" -y "$ydim"` -ffc -i -n $ncpu -w -af amb.af $paramb scene.oct > out.hdr

$paramb is just the usual bunch of ambient parameters, with a couple of direct ones also: -ad 4096 -ab 5 -ar 512 -as 512 -aa 0.15 -av 0 0 0 -dr 2 -dc 1

The command chunders away for a while soaking the CPUs and generating a sizeable (a few Mb) ambient file before giving up the ghost, leaving the output containing nothing more than a header.

Such hacks may now be obsolete given the emergence of the rtpict script (which I haven't yet tried). Though the rtpict script looks like it is doing something very similar.

Cheers
John

PS. I thought I should at least submit one post where I make no mention whatsoever of the 2018 International Radiance Workshop which we're hosting in ... Oooops.

John Mardaljevic PhD FSLL FIBPSA
Professor of Building Daylight Modelling
School of Architecture, Building & Civil Engineering
Loughborough University
Loughborough
Leicestershire
LE11 3TU, UK

Tel: +44 1509 222630 (Direct)
Tel: +44 1509 228529 (Secretary)

[email protected]

http://www.lboro.ac.uk/departments/abce/staff/john-mardaljevic

2018 International Radiance Workshop
3-5 September 2018, Loughborough University, UK

http://climate-based-daylighting.com/doku.php?id=radiance2018

_______________________________________________
Radiance-general mailing list
[email protected]
https://www.radiance-online.org/mailman/listinfo/radiance-general