Aha! similar here! Didn't do that before: resizing after freezing. So almost sure it has to do with resizing only?
1: after maximizing to full screen parts are not redrawn but still can drag windows around: 2: then after coming back and reentering full screen the everthing is redrawn again,(can't remembering opening a Test Window probably clicked on a non refreshed part in window) But when dragging windows parts are not redrawn (you can see almost exactly where I dragged because the gradient background reveals differences if you'd look closely. Still, Pharo is still alive. but doesn't redraw the parts when e.g. evaluating something in a Playground as can be seen in the last 3rd screen dump. So, in summary: resizing the screen in any way can freeze/unfreeze Pharo again and screen redrawing is in error. TedvG |
In reply to this post by TedVanGaalen
Please try starting your Pharo image with a new squeak vm. I remember Tobias posting something on a full screen bug fix about a year ago, and don't know what happened with it. It was around the same time as his hiDPI fix, which triggered some garbage collection issue at the time. Some part of that was then reverted.
Stephan |
> On 16 Aug 2017, at 16:55, Stephan Eggermont <[hidden email]> wrote: > > Please try starting your Pharo image with a new squeak vm. I remember Tobias posting something on a full screen bug fix about a year ago, and don't know what happened with it. It was around the same time as his hiDPI fix, which triggered some garbage collection issue at the time. Some part of that was then reverted. anything that is in the squeak vm is also in the pharo vm now (since we merged). so this recommendation is obsolete (thanks to the gods :P). Esteban > > Stephan > |
ok, thanks, is there a difference in the 32 and 64 bit vm behaviour? it seemed to me they both had this error,
but I am a byte confused now. Anyway, for the time being it is not a problem to continue with Pharo 5.0. TedvG
|
In reply to this post by TedVanGaalen
Yesterday 23 Aug, I completely deleted all Pharo 6.1 64 bit and then downloaded and reinstalled it, but the same problems are still present.
Then I installed Squeak5.1-16549-64bit, which works without problems. (I don't know if it uses the same VM as Pharo 6.1 64 bit?, if that is true, then the problem could be within the image, not the VM?) However, I do prefer using Pharo. As written before, I'll use Pharo 5.0 until 6.x runs ok on my mac mini. kind regards TedvG |
it may have something to do with FreeType.
Can you try removing/renaming Pharo.app/Contents/MacOS/Plugins/libFT2Plugin.dylib ? (just to test) thanks, Esteban > On 24 Aug 2017, at 14:00, TedVanGaalen <[hidden email]> wrote: > > Yesterday 23 Aug, I completely deleted all Pharo 6.1 64 bit and then > downloaded and reinstalled it, but the same problems are still present. > > Then I installed Squeak5.1-16549-64bit, which works without problems. > (I don't know if it uses the same VM as Pharo 6.1 64 bit?, if that is true, > then the problem could be within the image, not the VM?) > > However, I do prefer using Pharo. > As written before, I'll use Pharo 5.0 until 6.x > runs ok on my mac mini. > > kind regards > TedvG > > > > -- > View this message in context: http://forum.world.st/Pharo-6-0-and-6-1-64-bit-freeze-on-MacMini-tp4957969p4963845.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > |
Hi Esteban, unfortunately that doesn’t make any difference. What I did: extension temporarily renamed to …..wasAdylib Started Pharo app by clikcing on it (gets the downloaded maiden image) then: “FT2Error:Freetype2 primitive failed [error -1][can’t get error string]” this screen dump is after maximizing Pharo (as can be seen only dragging window redraws areas it’s been on) didn’t freeze this time but mostly after some time it will and have to force quite Pharo.
|
and image still freezing?
Esteban
|
yes, after full screen -> normal window -> minimise -> reshow it did.
(not in any particular order, tried al those before as well) TedvG
|
What happens if you untick "Use FreeType" in System > Settings?
cheers -ben On Thu, Aug 24, 2017 at 10:06 PM, TedVanGaalen <[hidden email]> wrote: yes, after full screen -> normal window -> minimise -> reshow it did. |
In reply to this post by TedVanGaalen
I don't know if it matters, but on my Retina 5K, 27 inch, Late 2015 iMac, AMD Radeon R9 M395 wirh 2048 MB running MacOS 10.12.6 I don't have a problem resizing or maximizing Pharo 6.1. On Mon, Jul 31, 2017 at 6:28 AM, Ted F.A.van Gaalen <[hidden email]> wrote:
|
In reply to this post by Ben Coman
Hi Ben, Did the following - restoring Pharo.app/Contents/MacOS/Plugins/libFT2Plugin.dylib (by renaming its extension back to .dylib) - started Pharo -setting use Free type ON -setting Update fonts at start ON it then immediately starts loading fonts, (which I thought might be a good idea because perhaps fonts were not completely loaded in the image, but that didn’t make any difference) -saved and quit -fired up Pharo again. didn’t help. Same problems occur then: (as you have asked) - started Pharo again -setting use Free type OFF -setting Update fonts at start OFF -saved and quit -fired up Pharo again. didn’t help either I have no idea what the cause might be, but if you have other suggestions to test I be glad to help. (if not a thousand attempts :o) in the mean time I use 5 until a next release comes out 7 ? that works ok. kind regards TedvG
|
In reply to this post by Ben Coman
Hi John, … thanks. another wild, wild guess: it could then perhaps be, (if Pharo uses Open GL) that my graphics card has Open GL incompatibility? or that Pharo 6.1 uses Open GL calls not implemented on an Intel HD Graphics 4000 chip as in my mac mini? kind regards TedvG
|
In reply to this post by John Pfersich
I don't think it's just on Mac Mini - my MacBook Pro late 13" 2016 retina will show similar symptoms if I try and resize the window to full screen (not the maximise button, but try and drag the bottom corner of the world to the last 5-10 pixels at the bottom of the screen). I think Ted noticed similar in that it looks frozen but it's actually the screen not redrawing as you can fiddle to get it back (can't recall what I did - maybe drag a window on top?) Tim Sent from my iPhone
|
In reply to this post by Ben Coman
note btw in the screenshot that that some text in the dialogue boxes are not completely drawn, like
“Advanced featur..”, "Cache siz…”, “Glyph contras…”, etc. this doesn’t change when the column width is increased with the mouse. TedvG
|
In reply to this post by TedVanGaalen
That's what I'm thinking. I'm going to do some research tonight. I'll report back what I find out. Sent from my iPhone
|
In reply to this post by TedVanGaalen
Hi Ted,
You might consider building a debug VM. There is a random chance it provides useful insight. At its simplest all you need to do is... $ cd opensmalltalk-vm/build.macos32x86/pharo.cog.spur $ ./mvm -A taken from... First confirm the problem still exists in each of three generated VMs started normally, then later try using lldb to trace what methods are executed. (though I'm not familiar with lldb - you'll need to google some tutorials) cheers -ben On Fri, Aug 25, 2017 at 9:55 PM, TedVanGaalen <[hidden email]> wrote:
|
But it is a freeze or a screen refresh problem?
Can you try to command . heavily on your frozen image? On Sat, Aug 26, 2017 at 2:48 PM, Ben Coman <[hidden email]> wrote: > Hi Ted, > > You might consider building a debug VM. There is a random chance it > provides useful insight. > At its simplest all you need to do is... > $ git clone https://github.com/OpenSmalltalk/opensmalltalk-vm.git > $ cd opensmalltalk-vm/build.macos32x86/pharo.cog.spur > $ ./mvm -A > > taken from... > https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/build.macos32x86/HowToBuild > > First confirm the problem still exists in each of three generated VMs > started normally, > then later try using lldb to trace what methods are executed. > (though I'm not familiar with lldb - you'll need to google some tutorials) > > cheers -ben > > On Fri, Aug 25, 2017 at 9:55 PM, TedVanGaalen <[hidden email]> wrote: >> >> Hi Ben, >> Did the following >> - restoring Pharo.app/Contents/MacOS/Plugins/libFT2Plugin.dylib (by >> renaming its extension back to .dylib) >> - started Pharo >> -setting use Free type ON >> -setting Update fonts at start ON >> >> it then immediately starts loading fonts, (which I thought might be a >> good idea >> because perhaps fonts were not completely loaded in the image, >> but that didn’t make any difference) >> >> -saved and quit >> -fired up Pharo again. >> >> didn’t help. Same problems occur >> >> then: (as you have asked) >> >> - started Pharo again >> -setting use Free type OFF >> -setting Update fonts at start OFF >> -saved and quit >> -fired up Pharo again. >> >> didn’t help either >> >> I have no idea what the cause might be, >> but if you have other suggestions to test >> I be glad to help. (if not a thousand attempts :o) >> >> in the mean time I use 5 until a next release comes out 7 ? that works ok. >> >> kind regards >> TedvG >> >> >> >> >> On 25. Aug 2017, at 06:07, Ben Coman [via Smalltalk] <[hidden email]> >> wrote: >> >> What happens if you untick "Use FreeType" in System > Settings? >> >> cheers -ben >> >> >> On Thu, Aug 24, 2017 at 10:06 PM, TedVanGaalen <<a >> href="x-msg://1/user/SendEmail.jtp?type=node&node=4963983&i=0" >> target="_top" rel="nofollow" link="external" class="">[hidden email]> wrote: >>> >>> yes, after full screen -> normal window -> minimise -> reshow it did. >>> (not in any particular order, tried al those before as well) >>> >>> TedvG >>> >>> >>> On 24. Aug 2017, at 15:46, EstebanLM [via Smalltalk] <[hidden email]> >>> wrote: >>> >>> and image still freezing? >>> >>> Esteban >>> >>> On 24 Aug 2017, at 15:28, TedVanGaalen <<a href="<a >>> href="x-msg://3/user/" >>> class="">x-msg://3/user/SendEmail.jtp?type=node&node=4963878&i=0" >>> target="_top" rel="nofollow" link="external" class="">[hidden email]> wrote: >>> >>> Hi Esteban, >>> unfortunately that doesn’t make any difference. >>> What I did: >>> extension temporarily renamed to …..wasAdylib >>> Started Pharo app by clikcing on it (gets the downloaded maiden image) >>> then: >>> “FT2Error:Freetype2 primitive failed [error -1][can’t get error string]” >>> >>> >> >> >> >> ________________________________ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://forum.world.st/Pharo-6-0-and-6-1-64-bit-freeze-on-MacMini-tp4957969p4963983.html >> To unsubscribe from Pharo 6.0 and 6.1 64 bit freeze on MacMini, click >> here. >> NAML >> >> >> >> ________________________________ >> View this message in context: Re: Pharo 6.0 and 6.1 64 bit freeze on >> MacMini >> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > > |
Within WorldState>>doOneCycle,
try writing to a file every second, and at the command line use... tail -f ... to see if it keeps writing when the screen is frozen. And also try writing to a file in a forked process. cheers -ben On Sun, Aug 27, 2017 at 1:58 AM, Stephane Ducasse <[hidden email]> wrote: But it is a freeze or a screen refresh problem? |
Hi Stephane, Ben
In the Smalltalk world, you could value me as a relatively "simple" application developer as a first attempt after a long time, I am trying to make a dentist's app with Pharo Smalltalk. (The intend is to use Smalltalk (Pharo) with Seaside and Postgress whenever possible, because today, Smalltalk is fast enough for most applications) At deeper levels, like working or even adequately understanding the inner workings of VMs I virtually have no knowledge. This is not my terrain. Although this might be interesting too, it would cost me weeks to get into that, before being able to do things like debugging VM's... So also due to time constraints , I'd have to refrain from that, sorry, also because I am currently working on a new version of my app RavelNotes. This is in Swift ( i can live with that) btw, because Smalltalk is not available for making native apps for iOS iPad. Would be an extremely daunting task to link all iOS libs etc into Smalltalk... cheers TedvG |
Free forum by Nabble | Edit this page |