Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-11-06 Thread J.F. Rick
Just a quick follow up: We've found that if we are in fullscreen Pharo mode on Linux and hit the ALT button twice, the Athens-based rendering speeds up significantly. The first ALT brings the Unity launcher to the foreground. The second ALT bring fullscreen Pharo back to the foreground. I'm not sur

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-10-11 Thread Hilaire
We tested it on P6.1 64bits, and this Cairo crash seems to be gone. It may need more testing though. Is it thanks to P6.1 or the 64bits image/VM? It looks strange because it looked like a lib Cairo crash, but in the other hand the faulty C function did not appear to be called from Pharo image.

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-10-02 Thread Stephane Ducasse
How could we help? On Sun, Oct 1, 2017 at 9:14 PM, Hilaire wrote: > I had situation where the system libcairo:i386 does not work with Dr.Geo[1], > Pharo crashes with what looks like a Cairo crash! Looks like not a Pharo > fault, but I am definitely stuck. > > It is problematic, it is a system (L

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-10-01 Thread Hilaire
I had situation where the system libcairo:i386 does not work with Dr.Geo[1], Pharo crashes with what looks like a Cairo crash! Looks like not a Pharo fault, but I am definitely stuck. It is problematic, it is a system (LinuxMint based) used in Geneva primary schools and Dr. Geo was expected to

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-10-01 Thread Igor Stasenko
On 1 October 2017 at 10:26, Hilaire wrote: > All these difficulties are good argument to get the appropriate > libcairo/libpng shipped with the Linux VM, as done with Windows and MacOSX > VM > > Nah, in my case, there's nothing that can be lableled as "Pharo fault". It is definitely a linux/ubunt

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-10-01 Thread Thierry Goubier
Le 01/10/2017 à 09:26, Hilaire a écrit : All these difficulties are good argument to get the appropriate libcairo/libpng shipped with the Linux VM, as done with Windows and MacOSX VM This cause surprising problems in Pharo integration with the platform: for example, if you use a system librar

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-10-01 Thread Hilaire
All these difficulties are good argument to get the appropriate libcairo/libpng shipped with the Linux VM, as done with Windows and MacOSX VM Hilaire Le 30/09/2017 à 21:58, Igor Stasenko a écrit : Sure. But i didn't done much, so there's nothing to appriciate yet :) But i want to help, if it

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-30 Thread Igor Stasenko
On 30 September 2017 at 17:51, J.F. Rick wrote: > Hi Igor et al., > > thanks for taking a look at this. I appreciate it a lot. I've been swamped > with work et al. but I'm back. If I understand it correctly, Igor is still > fighting with drivers to make it work on his system. Let me know when you

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-30 Thread J.F. Rick
Hi Igor et al., thanks for taking a look at this. I appreciate it a lot. I've been swamped with work et al. but I'm back. If I understand it correctly, Igor is still fighting with drivers to make it work on his system. Let me know when you want me to try something. Cheers, Jeff On Fri, Sep 29,

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-29 Thread Igor Stasenko
On 29 September 2017 at 22:05, Hilaire wrote: > libcairo2:amd64 1.15.2-0intel1 is clearly not from the official repository. > > See on my ubuntu17.04: > > hilaire@PCHome:~$ dpkg -l | grep libcairo2 > ii libcairo2:amd64 1.14.8-1 amd64Cairo 2D vector graphics library > ii libcairo2:i386 1.1

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-29 Thread Hilaire
libcairo2:amd64 1.15.2-0intel1 is clearly not from the official repository. See on my ubuntu17.04: hilaire@PCHome:~$ dpkg -l | grep libcairo2 ii libcairo2:amd64 1.14.8-1 amd64    Cairo 2D vector graphics library ii libcairo2:i386 1.14.8-1 i386 Cairo 2D vector graphics library ii libc

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-29 Thread Igor Stasenko
On 29 September 2017 at 11:23, Hilaire wrote: > Beside the official ones, are you using alternate repositories? It can > become a hell. > > In your posting, a Thoera dependency appeared... > > it looks like there's an error in dependency spec. because i have 64-bit cairo installed, and uninstalli

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-29 Thread Hilaire
Beside the official ones, are you using alternate repositories? It can become a hell. In your posting, a Thoera dependency appeared... Hilaire Le 28/09/2017 à 19:51, Igor Stasenko a écrit : I got libsdl and libcairo 32bits installed fine on 64bits Ubuntu 17.04. weird.. -- Dr. Geo

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-28 Thread Igor Stasenko
On 28 September 2017 at 12:43, Hilaire wrote: > Hi Igor, > > I got libsdl and libcairo 32bits installed fine on 64bits Ubuntu 17.04. > > weird.. > What is your ubuntu system? > > cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=17.04 DISTRIB_CODENAME=zesty DISTRIB_DESCRIPTION="Ubuntu 17.

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-28 Thread Hilaire
Have you tried a full update cycle of your system? apt-get update apt-get dist-upgrade Hilaire Le 28/09/2017 à 01:22, Igor Stasenko a écrit : So, it would be nice if someone could help how to proceed with that. -- Dr. Geo http://drgeo.eu

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-28 Thread Hilaire
Hi Igor, I got libsdl and libcairo 32bits installed fine on 64bits Ubuntu 17.04. What is your ubuntu system? Hilaire Le 28/09/2017 à 01:22, Igor Stasenko a écrit : something in my installation are in conflict with 32-bit version of cairo.. that's weird.. but unmet dependencies/dependency con

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-27 Thread Igor Stasenko
imo, best what could be done is to forget about 32-bit version and use 64-bit VM & libs, to avoid problems like above. but for that, i need a 64-bit VM/image pair for a start, because one that you gave me is 32-bit.. and hence drags all the trouble with all this .so dependency zoo.. -- Best regar

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-27 Thread Igor Stasenko
apparently the SDL2 library is not in LD search path ldd libSDL2DisplayPlugin.so linux-gate.so.1 => (0xf77e9000) libSDL2-2.0.so.0 => not found libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf75dd000) /lib/ld-linux.so.2 (0x56573000) so it simply doesn't starts, so i installed sudo apt-get in

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-27 Thread Igor Stasenko
okay, first, i have to change the path to SDL2 library, because on my machine it's in /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 but there's another trouble: browsing is incredibly slooow... First, i used finder to look for 'libSDL2-2.0.so.0' in sources. it took like 2 minutes to go through first f

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-27 Thread Igor Stasenko
On 27 September 2017 at 22:54, Stephane Ducasse wrote: > Igor I will share the dropbox for you. > What would be great is to port the code of clement to Pharo 6.1 or > even 70 to check SDL20 > Esteban was integrating some of the code of ronie. > > Downloading.. Would be nice, if someone could give

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-27 Thread Stephane Ducasse
Igor I will share the dropbox for you. What would be great is to port the code of clement to Pharo 6.1 or even 70 to check SDL20 Esteban was integrating some of the code of ronie. Stef On Wed, Sep 27, 2017 at 1:05 PM, Igor Stasenko wrote: > i'm on ubuntu right now, so i could help with trying &

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-27 Thread Igor Stasenko
i'm on ubuntu right now, so i could help with trying & testing things and/or diagnosing problems. Just tell me what to do -- Best regards, Igor Stasenko.

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-27 Thread Stephane Ducasse
Hi jeff you should give a try so that you can push esteban in his fight for a free host and strong SDL2.0 Stef On Mon, Sep 25, 2017 at 7:51 AM, Clément Bera wrote: > > > On Mon, Sep 25, 2017 at 2:33 AM, J.F. Rick wrote: >> >> Hi Clement and and Stef, >> >> thanks for sharing. The video looks c

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-24 Thread Clément Bera
On Mon, Sep 25, 2017 at 2:33 AM, J.F. Rick wrote: > Hi Clement and and Stef, > > thanks for sharing. The video looks cool and it seems like a > high-performance approach. Unfortunately, it doesn't seem to be working in > Linux. I'm attaching the Pharo debug file, but it seems like the Handler > b

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-24 Thread J.F. Rick
Hi Clement and and Stef, thanks for sharing. The video looks cool and it seems like a high-performance approach. Unfortunately, it doesn't seem to be working in Linux. I'm attaching the Pharo debug file, but it seems like the Handler being OSNullWindowHandle indicates a problem. I'm also not sure

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-24 Thread Clément Bera
Hi, I describe in the next paragraphs what I do to build application with Pharo at 50 fps. Now I am using a SDL2 window with OSWindow and not the default Pharo window for rendering. There is a fullscreen option with OSWindow, I don't use it but I've just tried it works fine. To use Athens/Cairo I

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-24 Thread Stephane Ducasse
Hi jeff let us know if this is working. the start.sh script is not working on my machine. but clement made it worked on his machine and he should publish a zip. Stef On Sun, Sep 24, 2017 at 9:39 AM, Stephane Ducasse wrote: > Yes I will share a dropbox with you for now. > > On Sat, Sep 23, 201

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-24 Thread Stephane Ducasse
Yes I will share a dropbox with you for now. On Sat, Sep 23, 2017 at 9:44 PM, J.F. Rick wrote: > Hi Stef, > > since I'm only doing Athens rendering, it might be possible to do a native > window implementation. That said, I don't know how to get started with that. > Documentation seems to be hard

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-23 Thread J.F. Rick
Hi Stef, since I'm only doing Athens rendering, it might be possible to do a native window implementation. That said, I don't know how to get started with that. Documentation seems to be hard to find. The last time I saw any work on that it was too early to be usable. I'm also not sure if it solve

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-22 Thread Stephane Ducasse
Hi Jeff Nice to see you. I do not know anybody running on X11. Esteban is working on better SDL20 integration. Did you try having a native window? I asked clement if he could release the Wizard Battle Arena because it was a game he did in a couple of days (yes he is good this guy) and that use cai

[Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-22 Thread J.F. Rick
I'm running a fullscreen Pharo application on Ubuntu and I've noticed that Athens rendering gets way worse (maybe 10 updates per second) when I switch to fullscreen mode from inside Pharo. Ideally, I'd love for that to be fixed. In lieu of that, it would be cool if I could just maximize Pharo to t