POV-Ray : Newsgroups : povray.unix : wierd behavior after compiling on Fedora 38 Server Time
23 Dec 2024 18:57:48 EST (-0500)
  wierd behavior after compiling on Fedora 38 (Message 13 to 22 of 32)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: RSM
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 17:45:00
Message: <web.6519e801e0e6f9a138789ea2e542b12d@news.povray.org>
i tried beta 2
i tried it with

#!/bin/bash
CXXFLAGS="-std=c++11"
../configure -q COMPILED_BY="RSM"
make clean
make
make check
make install

the output when rendering biscuits.pov is entirely black
the output when rendering the test scene bill provided is green
the output when i try rendering my scenes is entirely white


Post a reply to this message

From: William F Pokorny
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 1 Oct 2023 23:09:06
Message: <651a3452$1@news.povray.org>
On 10/1/23 15:45, RSM wrote:
> 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
> 
Hi,

Unsure about the web site issue. I mostly use thunderbird. Going to to 
web site forum interface just now (using firefox), I see in the unix 
newsgroup 13 totals posts in this thread - which matches what I see via 
thunderbird though as a couple branches from your original post. So, 
things look OK to me.

Aside: Posts on a topic end up presented as a single sequence on the web 
site interface no matter the newsgroup's hierarchy for the topic.

--

That you see green with the sphere scene test is fair confirmation 
whatever is happening is related to bounding(a).

POV-Ray ships with two bounding methods (1 & 2). What happens if you 
switch to bounding method two using the flag +bm2 ?

Bill P.

(a) - I have not even a guess as to cause...


Post a reply to this message

From: jr
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 2 Oct 2023 00:35:00
Message: <web.651a481fe0e6f9a1b180e2cc6cde94f1@news.povray.org>
hi,

"RSM" <nomail@nomail> wrote:
> i tried beta 2
> i tried it with
>
> #!/bin/bash
> CXXFLAGS="-std=c++11"
> ../configure -q COMPILED_BY="RSM"
> make clean
> make
> make check
> make install
>
> the output when rendering biscuits.pov is entirely black
> the output when rendering the test scene bill provided is green
> the output when i try rendering my scenes is entirely white

wow.  completely outside my experience..

just to confirm, the archive(s) you used came from
<https://github.com/POV-Ray/povray/tags/> ?


regards, jr.


Post a reply to this message

From: William F Pokorny
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 2 Oct 2023 07:30:27
Message: <651aa9d3$1@news.povray.org>
On 10/1/23 23:09, William F Pokorny wrote:
> That you see green with the sphere scene test is fair confirmation 
> whatever is happening is related to bounding(a).
> 
> POV-Ray ships with two bounding methods (1 & 2). What happens if you 
> switch to bounding method two using the flag +bm2 ?

Awoke with a few additional thoughts in my head.

1) That +bm2 is a run time, command line flag passed to povray.

2) You could also try the run time flag, -mb, which in v3.7/v3.8 
official versions of POV-Ray turns off most bounding - but not all of it 
as happens in v3.6 and prior. The renders would be slow, but if they 
aren't blank, this would tell us something I guess.

3) You could try my 'povr' fork of POV-Ray... You can find the latest 
source build tarball at:

http://news.povray.org/povray.binaries.programming/thread/%3C64f34751%40news.povray.org%3E/



My version of POV-Ray does NOT yet have the OpenEXR 3.1 patches needed 
to compile and use that library - because I'm not immediately set up to 
test them.

It does have many updates related to the build process and the source 
code.

Take care to not do a 'make install' with it, but rather the test would be:

./configure -q COMPILED_BY="RSM_noEXR" --without-openexr
make -j4
make check

4) It sank in that while the fedora version you have is old, most 
everything else you are using with respect to compiler and libraries is 
recent. Maybe something in all that. I'd make a small bet on boost being 
the culprit, if so.

Bill P.


Post a reply to this message

From: RSM
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 2 Oct 2023 08:10:00
Message: <web.651ab244e0e6f9a138789ea2e542b12d@news.povray.org>
jr said:
>> just to confirm, the archive(s) you used came from
>> <https://github.com/POV-Ray/povray/tags/> ?
i used the releases from github

bill said:


>>3) You could try my 'povr' fork of POV-Ray...

thank you for the link to your version of povray bill.


>> 4) It sank in that while the fedora version you have is old, most
everything else you are using with respect to compiler and libraries is
recent. Maybe something in all that. I'd make a small bet on boost being
the culprit, if so.;

>>Your Fedora 3.8 is relatively old though, so maybe not.

this is fedora 38 not 3.8
fedora 38 was released in april of 2023


as you said it could be a library related issue. many of the libraries are newer

thank you for your suggestions


Post a reply to this message

From: Ash Holsenback
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 2 Oct 2023 08:53:27
Message: <651abd47$1@news.povray.org>
On 10/1/23 10:53, RSM 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.
> 
> 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
> 

found this is your /report/ file:

checking for sdl-config... no
checking for libSDL... not found
configure: WARNING: the preview display is disabled

then later in same file:

Built-in features:
   X Window display:          disabled


Post a reply to this message

From: RSM
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 2 Oct 2023 19:25:00
Message: <web.651b50f7e0e6f9a138789ea2e542b12d@news.povray.org>
Ash Holsenback <ash### [at] nomailnone> wrote:
> On 10/1/23 10:53, RSM wrote:

> checking for sdl-config... no
> checking for libSDL... not found
> configure: WARNING: the preview display is disabled
>
> then later in same file:
>
> Built-in features:
>    X Window display:          disabled

i found sdl12-compat and installed it


then i recompiled it

checking for libSDL... yes
checking for libSDL version >= 1.2... 1.2.68, ok
checking for SDL/SDL.h... yes
checking for SDL_Quit in -lSDL... yes

 X Window display:          enabled (using SDL)

when it got to the make check a little window popped up and
the display inside was all black.

when i rendered the sphere that bill suggested as a test i got a green image
when i tried rendering my scenes i got a white image and it rendered very fast.
when i rendered the biscuit.pov i got a black image.


Post a reply to this message

From: William F Pokorny
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 4 Oct 2023 05:40:48
Message: <651d3320$1@news.povray.org>
On 10/2/23 08:06, RSM wrote:
> this is fedora 38 not 3.8
> fedora 38 was released in april of 2023

Ah... My old mind glitching. Something it does all too often these days. 
:-)

Bill P.


Post a reply to this message

From: Le Forgeron
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 5 Oct 2023 12:49:08
Message: <651ee904$1@news.povray.org>
Le 03/10/2023 à 01:23, RSM a écrit :
> Ash Holsenback <ash### [at] nomailnone> wrote:
>> On 10/1/23 10:53, RSM wrote:
> 
>> checking for sdl-config... no
>> checking for libSDL... not found
>> configure: WARNING: the preview display is disabled
>>
>> then later in same file:
>>
>> Built-in features:
>>     X Window display:          disabled
> 
> i found sdl12-compat and installed it
> 
> 
> then i recompiled it
> 
> checking for libSDL... yes
> checking for libSDL version >= 1.2... 1.2.68, ok
> checking for SDL/SDL.h... yes
> checking for SDL_Quit in -lSDL... yes
> 
>   X Window display:          enabled (using SDL)
> 
> when it got to the make check a little window popped up and
> the display inside was all black.
> 
> when i rendered the sphere that bill suggested as a test i got a green image
> when i tried rendering my scenes i got a white image and it rendered very fast.
> when i rendered the biscuit.pov i got a black image.
> 

Dropping in the discussion;

You might want to compare official code with hg-povray code for display 
( https://github.com/LeForgeron/povray/tree/hgpovray38/unix )
as I made a port for libsdl2 and raw X11 (but you cannot compile for 
both libsdl 1.2 and libsdl 2.0, they are using the same API with 
different interfaces (they fucked it))

IIRC, libdsl2 is far better that 1.2


Post a reply to this message

From: RSM
Subject: Re: wierd behavior after compiling on Fedora 38
Date: 5 Oct 2023 20:00:00
Message: <web.651f4d63e0e6f9a138789ea2e542b12d@news.povray.org>
Le_Forgeron <jgr### [at] freefr> wrote:

> > Ash Holsenback <ash### [at] nomailnone> wrote:
> >> On 10/1/23 10:53, RSM wrote:
> >
> >> checking for sdl-config... no
> >> checking for libSDL... not found
> >> configure: WARNING: the preview display is disabled
> >>
> >> then later in same file:
> >>
> >> Built-in features:
> >>     X Window display:          disabled
> >
> > i found sdl12-compat and installed it
> >
> >
> > then i recompiled it
> >
> > checking for libSDL... yes
> > checking for libSDL version >= 1.2... 1.2.68, ok
> > checking for SDL/SDL.h... yes
> > checking for SDL_Quit in -lSDL... yes
> >
> >   X Window display:          enabled (using SDL)
> >
> > when it got to the make check a little window popped up and
> > the display inside was all black.
> >
> > when i rendered the sphere that bill suggested as a test i got a green image
> > when i tried rendering my scenes i got a white image and it rendered very fast.
> > when i rendered the biscuit.pov i got a black image.
> >
>
> Dropping in the discussion;
>
> You might want to compare official code with hg-povray code for display
> ( https://github.com/LeForgeron/povray/tree/hgpovray38/unix )
> as I made a port for libsdl2 and raw X11 (but you cannot compile for
> both libsdl 1.2 and libsdl 2.0, they are using the same API with
> different interfaces (they fucked it))
>
> IIRC, libdsl2 is far better that 1.2

i tried compiling povray-hgpovray38.zip and the renders created files with solid
colors again.

i used libSDL2 as suggested

does anyone have any thoughts on what else could be causing this problem?

should i try Povray 3.7 instead?

would it help if i uploaded the output from the compilation process?


Post a reply to this message

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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