rview problems with X11

Hello @all,

while testing my radiance installation in ran into a curious problem.

The machine is not connected to a monitor, instead it has VNC X-Server running. Everything is working fine. I'm useing XFCE4 as desktop and have no probs with other X11 progs.

When starting rview, like with one of the makefiles provided in the obj-directory of the sources a window with a correct title pops up for a few millisecs and than disappears again. In my xterm I get the message "Illegal instruction".
I found out that this message does not belong to the radiance source code, so it will probably belong to X.

Does anyone have any idea, how I can find out more on this problem or how to solve it?

Regards,
Mario Minati

Just some more information.

I am not sure if the behaviour is connected with X.
The command "make examp.pic" in obj/misc gives

radiance@rc_manager:~/rad-test/misc$ make examp.pic
oconv examp > examp.oct
rpict -vp 3 2 5 -vd -0.268328 -0.357771 -0.894427 \
-vu 0 1 0 -vh 45 -vv 45 -x 470 -y 470 -av .5 .5 .5 \
-ab 0 -ad 512 -as 128 examp.oct > examp.pic
make: *** [examp.pic] Error 132

Doing the rpict stuff on the command line gives

radiance@rc_manager:~/rad-test/misc$ rpict -vp 3 2 5 -vd -0.268328 -0.357771 -0.894427 \
> -vu 0 1 0 -vh 45 -vv 45 -x 470 -y 470 -av .5 .5 .5 \
> -ab 0 -ad 512 -as 128 examp.oct > examp.pic
Illegal instruction

Changeing the command line also doesn't help:

radiance@rc_manager:~/rad-test/misc$ rpict -vp 3 2 5 -vd -0.268328 -0.357771 -0.894427 -vu 0 1 0 -vh 45 -vv 45 -x 470 -y 470 -av .5 .5 .5 -ab 0 -ad 512 -as 128 -o examp.pic examp.oct
Illegal instruction

Any ideas?

Mario Minati schrieb:

···

Hello @all,

while testing my radiance installation in ran into a curious problem.

The machine is not connected to a monitor, instead it has VNC X-Server running. Everything is working fine. I'm useing XFCE4 as desktop and have no probs with other X11 progs.

When starting rview, like with one of the makefiles provided in the obj-directory of the sources a window with a correct title pops up for a few millisecs and than disappears again. In my xterm I get the message "Illegal instruction".
I found out that this message does not belong to the radiance source code, so it will probably belong to X.

Does anyone have any idea, how I can find out more on this problem or how to solve it?

Regards,
Mario Minati

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

Hi again,

I found the solution:
It was due to wrong settings in the rmake script during the installation.
I used some values for optimisation and didn't remove the -MIBMPC setting.

Regards,
Mario Minati

Mario Minati schrieb:

···

Just some more information.

I am not sure if the behaviour is connected with X.
The command "make examp.pic" in obj/misc gives

radiance@rc_manager:~/rad-test/misc$ make examp.pic
oconv examp > examp.oct
rpict -vp 3 2 5 -vd -0.268328 -0.357771 -0.894427 \
-vu 0 1 0 -vh 45 -vv 45 -x 470 -y 470 -av .5 .5 .5 \
-ab 0 -ad 512 -as 128 examp.oct > examp.pic
make: *** [examp.pic] Error 132

Doing the rpict stuff on the command line gives

radiance@rc_manager:~/rad-test/misc$ rpict -vp 3 2 5 -vd -0.268328 -0.357771 -0.894427 \
> -vu 0 1 0 -vh 45 -vv 45 -x 470 -y 470 -av .5 .5 .5 \
> -ab 0 -ad 512 -as 128 examp.oct > examp.pic
Illegal instruction

Changeing the command line also doesn't help:

radiance@rc_manager:~/rad-test/misc$ rpict -vp 3 2 5 -vd -0.268328 -0.357771 -0.894427 -vu 0 1 0 -vh 45 -vv 45 -x 470 -y 470 -av .5 .5 .5 -ab 0 -ad 512 -as 128 -o examp.pic examp.oct
Illegal instruction

Any ideas?

Mario Minati schrieb:

Hello @all,

while testing my radiance installation in ran into a curious problem.

The machine is not connected to a monitor, instead it has VNC X-Server running. Everything is working fine. I'm useing XFCE4 as desktop and have no probs with other X11 progs.

When starting rview, like with one of the makefiles provided in the obj-directory of the sources a window with a correct title pops up for a few millisecs and than disappears again. In my xterm I get the message "Illegal instruction".
I found out that this message does not belong to the radiance source code, so it will probably belong to X.

Does anyone have any idea, how I can find out more on this problem or how to solve it?

Regards,
Mario Minati

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

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

Mario Minati wrote:

Hi again,

I found the solution:
It was due to wrong settings in the rmake script during the installation.
I used some values for optimisation and didn't remove the -MIBMPC setting.

That sounds more like it. "illegal instruction" means you compiled with settings that generated instructions your CPU didn't understand. Perhaps a wrong -mcpu= option or something.

bye