|
|
On 10/16/18 5:54 PM, Le_Forgeron wrote:
> Le 10/10/2018 à 22:35, Le_Forgeron a écrit :
...
>
> There is LibSDL2 port (exclusive for linkage with LibSDL1.2), as well as
> a basic X11 (without alpha, as alpha is not handle by X11 core).
>
> The same binary can be used to choose the X11 or libsdl via command
> switch -y (2 for X11, 3 & 4 for libsdl, 1 for text), when more than one
> is detected. (-y is also --preview )
>
...
>
Playing some with your current hgpovray38 (45eb09ed7) with the thought
of creating a re-based branch of your windowing changes I can merge into
my version of POV-Ray.
Issue 1)
I can get an x11 window and a sdl2 window, but not an sdl window though
it looks like 'make' created and linked x11, sdl and sdl2. The options
which seemed to work were -y | --preview [x11 | sdl | text]. Is your
intention not to enable 'sdl1.2' if sdl2 is present or all 4 options as
it seemed to me you were saying above?
Issue 2)
I'm also attaching an image from the x11 option. I three times got
something like it where one block didn't update. On the first two
POV-Ray core dumped on closing the window/program exit. On the last -
for the attached image - POV-Ray closed the display (used +p) on
detecting but the POV-Ray process itself didn't exit. Wasn't burning any
CPU, it was just hung and I had to use the kill command from the command
line.
If I get some time next week I'll see if I can a debug compile to hang,
crash or both for more informatino. I had no trouble with SDL2 windows.
Ubunut 18.04 - same set up as you as far as I know.
Aside: Ignore the image's *_segfault.png suffix. I named it thinking
POV-Ray would crash on exit as had the previous two cases, but then it
hung instead.
Issue 3)
The x11 option is opening the preview on the screen where the command is
issued. The sdl2 option seems to always be opening on the primary
screen. Not dug any here though so perhaps something my screen dual
screen set up. The current 3.8 master follows your x11 preview screen
behavior in opening on the screen where the command was issued.
Bill P.
Post a reply to this message
Attachments:
Download 'x11_segfault.png' (53 KB)
Preview of image 'x11_segfault.png'
|
|