What happened to Pharo's Window?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

What happened to Pharo's Window?

Aliaksei Syrel
Hi

Latest Pharo VM + image (from year 2017, middle of January) changed the way how main window is managed and created (without any announcement).

Something is really messed up, because I can not create an OpenGL context.

OpenGL context created with default framebuffer:

Inline images 1

If I create a headless context than screen just freezes until I resize (after resize it recreates context making it current).
Also, window is a black (or sometimes white) when launching pharo until I click.

It definitely looks like Pharo window plays with OpenGL, probably it tries to render morphic in a GL texture and then display it with acceleration: scaled pharo world became sharper on retina and strange lines after dragged window are in the past. Also, rendering performance on retina is dramatically improved.

All those improvements are great, but please make GL context current (glXMakeCurrent) every frame. Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: What happened to Pharo's Window?

Aliaksei Syrel
To not forget, OSWindow also does not work anymore.
Ronnie has minheadless 64bit VM that solves the issue with OSWindow.
Would be nice to have it for 32bit too.

It is great to see how VM is progressing! :)

Cheers,
Alex

On 21 January 2017 at 17:35, Aliaksei Syrel <[hidden email]> wrote:
Hi

Latest Pharo VM + image (from year 2017, middle of January) changed the way how main window is managed and created (without any announcement).

Something is really messed up, because I can not create an OpenGL context.

OpenGL context created with default framebuffer:

Inline images 1

If I create a headless context than screen just freezes until I resize (after resize it recreates context making it current).
Also, window is a black (or sometimes white) when launching pharo until I click.

It definitely looks like Pharo window plays with OpenGL, probably it tries to render morphic in a GL texture and then display it with acceleration: scaled pharo world became sharper on retina and strange lines after dragged window are in the past. Also, rendering performance on retina is dramatically improved.

All those improvements are great, but please make GL context current (glXMakeCurrent) every frame. Thanks!

Reply | Threaded
Open this post in threaded view
|

Re: What happened to Pharo's Window?

EstebanLM
it works for me (couple of bugs around in the examples)

in macOS sierra
in latest Pharo 6.0
in latest Pharo VM

Esteban

On 21 Jan 2017, at 17:42, Aliaksei Syrel <[hidden email]> wrote:

To not forget, OSWindow also does not work anymore.
Ronnie has minheadless 64bit VM that solves the issue with OSWindow.
Would be nice to have it for 32bit too.

It is great to see how VM is progressing! :)

Cheers,
Alex

On 21 January 2017 at 17:35, Aliaksei Syrel <[hidden email]> wrote:
Hi

Latest Pharo VM + image (from year 2017, middle of January) changed the way how main window is managed and created (without any announcement).

Something is really messed up, because I can not create an OpenGL context.

OpenGL context created with default framebuffer:

<Screen Shot 2017-01-21 at 17.27.49.png>

If I create a headless context than screen just freezes until I resize (after resize it recreates context making it current).
Also, window is a black (or sometimes white) when launching pharo until I click.

It definitely looks like Pharo window plays with OpenGL, probably it tries to render morphic in a GL texture and then display it with acceleration: scaled pharo world became sharper on retina and strange lines after dragged window are in the past. Also, rendering performance on retina is dramatically improved.

All those improvements are great, but please make GL context current (glXMakeCurrent) every frame. Thanks!


Reply | Threaded
Open this post in threaded view
|

Re: What happened to Pharo's Window?

Pavel Krivanek-3
The window display seems to be OK on Fedora and Ubuntu (32-bit) for 60+vmLatest

-- Pavel

2017-01-23 8:57 GMT+01:00 Esteban Lorenzano <[hidden email]>:
it works for me (couple of bugs around in the examples)

in macOS sierra
in latest Pharo 6.0
in latest Pharo VM

Esteban

On 21 Jan 2017, at 17:42, Aliaksei Syrel <[hidden email]> wrote:

To not forget, OSWindow also does not work anymore.
Ronnie has minheadless 64bit VM that solves the issue with OSWindow.
Would be nice to have it for 32bit too.

It is great to see how VM is progressing! :)

Cheers,
Alex

On 21 January 2017 at 17:35, Aliaksei Syrel <[hidden email]> wrote:
Hi

Latest Pharo VM + image (from year 2017, middle of January) changed the way how main window is managed and created (without any announcement).

Something is really messed up, because I can not create an OpenGL context.

OpenGL context created with default framebuffer:

<Screen Shot 2017-01-21 at 17.27.49.png>

If I create a headless context than screen just freezes until I resize (after resize it recreates context making it current).
Also, window is a black (or sometimes white) when launching pharo until I click.

It definitely looks like Pharo window plays with OpenGL, probably it tries to render morphic in a GL texture and then display it with acceleration: scaled pharo world became sharper on retina and strange lines after dragged window are in the past. Also, rendering performance on retina is dramatically improved.

All those improvements are great, but please make GL context current (glXMakeCurrent) every frame. Thanks!



Reply | Threaded
Open this post in threaded view
|

Re: What happened to Pharo's Window?

CyrilFerlicot
In reply to this post by EstebanLM
On 23/01/2017 08:57, Esteban Lorenzano wrote:
> it works for me (couple of bugs around in the examples)
>
> in macOS sierra
> in latest Pharo 6.0
> in latest Pharo VM
>
> Esteban
>
>

I have a white screen until I click

macOS ElCaptain
Pharo 6.0
latest Pharo VM

--
Cyril Ferlicot

http://www.synectique.eu

2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France


signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: What happened to Pharo's Window?

Pavel Krivanek-3


2017-01-23 9:51 GMT+01:00 Cyril Ferlicot D. <[hidden email]>:
On 23/01/2017 08:57, Esteban Lorenzano wrote:
> it works for me (couple of bugs around in the examples)
>
> in macOS sierra
> in latest Pharo 6.0
> in latest Pharo VM
>
> Esteban
>
>

I have a white screen until I click

macOS ElCaptain
Pharo 6.0
latest Pharo VM

same here (El Captain 10.11.3)

-- Pavel


--
Cyril Ferlicot

http://www.synectique.eu

2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France