POV-Ray : Newsgroups : povray.unix : wierd behavior after compiling on Fedora 38 Server Time
18 Jun 2024 21:40:50 EDT (-0400)
  wierd behavior after compiling on Fedora 38 (Message 1 to 10 of 31)  
Goto Latest 10 Messages Next 10 Messages >>>
From: RSM
Subject: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 10:55:00
Message: <web.651987ea8ff820e138789ea2e542b12d@news.povray.org>
When i try to render a scene after compiling it on Fedora 38 the program runs
very fast and produces a totally white image. i am outputing the scene as a png
file.

it is povray 3.8 beta 1.


Does anyone have any tips on how to compile the program properly on Fedora 38?

This is the script i use to compile the program.

#!/bin/bash
CXXFLAGS="-Wno-multichar"
../configure COMPILED_BY="RSM"  --with-boost=/usr/lib64 --disable-io-restrictions
--with-boost-thread=boost_thread LIBS=-Lboost_system
export LDFLAGS="${LDFLAGS} -L/usr/lib64"
make clean
make check
make install

Thank you
RSM


Post a reply to this message

From: jr
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 11:20:00
Message: <web.65198d94e0e6f9a1b180e2cc6cde94f1@news.povray.org>
hi,

"RSM" <nomail@nomail> wrote:
> When i try to render a scene after compiling it on Fedora 38 the program runs
> very fast and produces a totally white image. i am outputing the scene as a png
> file. ...
> make check

but 'make check' showed the "biscuit" ?

fwiw, I used the following (excerpt from script) to build beta.1:

CXXFLAGS="$BLDFLAGS" \
  ./configure \
  --enable-silent-rules \
  --libdir=/usr/local/lib64 \
  --sysconfdir=/usr/local/etc \
  --localstatedir=/var \
  --mandir=/usr/local/man \
  --without-libmkl \
  COMPILED_BY="$POVRAY_BUILDER"

make
make check
make install

if rebuilding makes no difference, perhaps you could record the
 build process, eg.

  $ script /tmp/build-log
  $ ./mybashscript
  $ exit

and attach that file in the follow-up post.  hope that helps.


regards, jr.


Post a reply to this message

From: RSM
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 12:35:00
Message: <web.65199ecae0e6f9a138789ea2e542b12d@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "RSM" <nomail@nomail> wrote:
> > When i try to render a scene after compiling it on Fedora 38 the program runs
> > very fast and produces a totally white image. i am outputing the scene as a png
> > file. ...
> > make check
>
> but 'make check' showed the "biscuit" ?
----------
make check did not show the biscuit

i ran the build as root

the make report is attached.

the output was very quick and still resulted in a png file that was totally
white.

when i run this on windows version of povray it works. however i am having other
problems with the windows version where it will try to parse a scene and crashes
with a memory permissions error with some scenes.


Post a reply to this message

From: RSM
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 13:15:00
Message: <web.6519a8c4e0e6f9a138789ea2e542b12d@news.povray.org>
i tried to attach the report to this thread but it would not work

please see the message here:
http://news.povray.org/web.6519a52bfee355a638789ea2e542b12d%40news.povray.org

it did not show the biscuit image when i ran the make check

i was logged in as root when i compiled the program
when i ran a render after the compile finished  as a png file
the output was totally white again

i was able to run this on the windows version of povray but i am having issues
with it as well.
on some scenes the render crashed and i get a memory exception error.


Post a reply to this message

From: jr
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 13:50:00
Message: <web.6519b077e0e6f9a1b180e2cc6cde94f1@news.povray.org>
hi,

"RSM" <nomail@nomail> wrote:
> ...
> it did not show the biscuit image when i ran the make check
> i was logged in as root when i compiled the program

fwiw (and it should not make a difference), 'root' ought not be needed except
for 'make install'.


> when i ran a render after the compile finished  as a png file
> the output was totally white again
> i was able to run this on the windows version of povray but i am having issues
> with it as well.
> on some scenes the render crashed and i get a memory exception error.

cannot say anything about MS Windows version, but ime self-compiled POV-Ray is
solid and dependable[*].  I've looked through the build log (thanks) but
everything looks .. nominal.  I'm guessing that o/wise you have no problems with
any of the linked-to libraries ?  the only "straw to clutch" I can think of is
that your compiler may be too new ?  try with '-std=c++11' in the CXXFLAGS.
right out of ideas, otherwise.  sorry.

[*] there are known bugs, of course.


regards, jr.


Post a reply to this message

From: William F Pokorny
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 14:06:09
Message: <6519b511$1@news.povray.org>
On 10/1/23 13:14, RSM wrote:
> it did not show the biscuit image when i ran the make check

Certainly odd.

The output from make check shows that all the ray -> bounding tests 
failed. If you code up:

//--- test.pov
sphere { 0, 5000
     hollow
     pigment { rgb <0,1,0> }
     finish { emission 1 }
}
//---

and run it by pointing directly to the <build dir>/unix/povray executable:

<build dir>/unix/povray test.pov

Do you see a green render? (You'll need to do this as root (or via sudo) 
as you compiled as root)

Above scene should bypass the bounding and all rays will land on the 
inside surface of the sphere.

Bill P.


Aside: It might be worth doing a build as a regular user. It should be 
you can do everything but a machine level install. In other words, 'make 
check' should run fine.

Aside: You have 16 threads, you can compile faster after configuration 
by using:

make -j16
make check


Post a reply to this message

From: William F Pokorny
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 14:17:16
Message: <6519b7ac$1@news.povray.org>
On 10/1/23 14:06, William F Pokorny wrote:
>> it did not show the biscuit image when i ran the make check
> 
> Certainly odd.

Also...

Is there a reason you are using 'povray 3.8 beta 1' over the newer 
'povray 3.8 beta 2'?

Are you building from the linux / unix tarballs from github? Only those 
support the traditional immediate ./configure build IIRC.

Bill P.


Post a reply to this message

From: RSM
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 15:10:00
Message: <web.6519c32ce0e6f9a138789ea2e542b12d@news.povray.org>
i am using the povunix-v3.8.0-beta.1.tar.gz tarball from github
i am willing to try 3.8 beta 2

do i need to change my settings to compile as a user instead of root?


Post a reply to this message

From: William F Pokorny
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 15:31:33
Message: <6519c915$1@news.povray.org>
On 10/1/23 15:08, RSM wrote:
> 
> i am using the povunix-v3.8.0-beta.1.tar.gz tarball from github
> i am willing to try 3.8 beta 2
> 
> do i need to change my settings to compile as a user instead of root?
> 

I'll take you to mean ./configure settings.

It should be most users can just use:

./configure -q COMPILED_BY="RSM"
make -j16
make check

in the <unpacked tarball directory> as a start.

Maybe you need some of those other configure settings you've previously 
used on your machine, but I'd hope configure would sort out most things 
for you on a standard fedora install. Your Fedora 3.8 is relatively old 
though, so maybe not.

Aside: jr's idea about hard setting the compiler version is worth a try 
too - if things continue to be weird, but I'd try a simple ./configure 
to start.

Bill P.


Post a reply to this message

From: RSM
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 15:50:00
Message: <web.6519cc69e0e6f9a138789ea2e542b12d@news.povray.org>
Bill

when i rendered the test.pov image the png file was entirely green.

/usr/local/bin/povray test.pov

another wierd thing that i am noticing with the povray website is that when i
visit the unix section of the list. and choose my original message it only shows
two of the messages however when i go to the recent threads page i see all of
the replies.


i tried pointing to the povray binary directly when i rendered a scene and it
produced a white image


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.