Can anyone get recent Pharo9 builds to work on Linux?

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

Can anyone get recent Pharo9 builds to work on Linux?

Martin McClure-2
If anyone can get recent (within the last week or so) 64-bit Pharo9
images to work on Linux, please let me know how you did that! I've tried
everything I can think of and no luck.

For the purposes of this query, "working'' means that you can open a
playground, type into the it, then backspace over what you've typed.

If you can do that on Linux, this information would be much appreciated:

* What build are you running?
* What VM are you running and where did you get it?
* How do you launch it? If from the command-line, what arguments?

Thanks,
-Martin
Reply | Threaded
Open this post in threaded view
|

Re: Can anyone get recent Pharo9 builds to work on Linux?

Esteban Lorenzano
Hi Martin,

I just did :

wget -O- get.pharo.org/64/90+vmHeadlessLatest | bash
./pharo-ui Pharo.image

And I had no problem at all (except a libgit2 version that will be fixed soon).

I am using a Manjaro, but I do not see why it should not work on others.

Esteban

On Dec 27 2020, at 12:07 am, Martin McClure <[hidden email]> wrote:
If anyone can get recent (within the last week or so) 64-bit Pharo9
images to work on Linux, please let me know how you did that! I've tried
everything I can think of and no luck.

For the purposes of this query, "working'' means that you can open a
playground, type into the it, then backspace over what you've typed.

If you can do that on Linux, this information would be much appreciated:

* What build are you running?
* What VM are you running and where did you get it?
* How do you launch it? If from the command-line, what arguments?

Thanks,
-Martin
Reply | Threaded
Open this post in threaded view
|

Re: Can anyone get recent Pharo9 builds to work on Linux?

Danil Osipchuk-2
In reply to this post by Martin McClure-2
I can confirm text input is severely broken backspace/del  (tried on Linux buster, but it seems to be an image problem)  -- control characters themselves get inserted into  text pane.
Type a string into a pane, ex. '123456789', position cursor somewhere in the middle, press del/backspace/ left&right arrows. If you inspect the string you'll see control characters inside (evident at 'Items' tab)
regards,
  Danil

вс, 27 дек. 2020 г. в 02:08, Martin McClure <[hidden email]>:
If anyone can get recent (within the last week or so) 64-bit Pharo9
images to work on Linux, please let me know how you did that! I've tried
everything I can think of and no luck.

For the purposes of this query, "working'' means that you can open a
playground, type into the it, then backspace over what you've typed.

If you can do that on Linux, this information would be much appreciated:

* What build are you running?
* What VM are you running and where did you get it?
* How do you launch it? If from the command-line, what arguments?

Thanks,
-Martin
Reply | Threaded
Open this post in threaded view
|

Re: Can anyone get recent Pharo9 builds to work on Linux?

Esteban Lorenzano
hi,

I still have no problem with any of that.
So you will have to be more specific : which image version, which VM version, which linux version.

Esteban
On Dec 27 2020, at 10:51 am, Danil Osipchuk <[hidden email]> wrote:
I can confirm text input is severely broken backspace/del  (tried on Linux buster, but it seems to be an image problem)  -- control characters themselves get inserted into  text pane.
Type a string into a pane, ex. '123456789', position cursor somewhere in the middle, press del/backspace/ left&right arrows. If you inspect the string you'll see control characters inside (evident at 'Items' tab)
regards,
  Danil

вс, 27 дек. 2020 г. в 02:08, Martin McClure <[hidden email]>:
If anyone can get recent (within the last week or so) 64-bit Pharo9
images to work on Linux, please let me know how you did that! I've tried
everything I can think of and no luck.

For the purposes of this query, "working'' means that you can open a
playground, type into the it, then backspace over what you've typed.

If you can do that on Linux, this information would be much appreciated:

* What build are you running?
* What VM are you running and where did you get it?
* How do you launch it? If from the command-line, what arguments?

Thanks,
-Martin
Reply | Threaded
Open this post in threaded view
|

Re: Can anyone get recent Pharo9 builds to work on Linux?

Christopher Fuhrman-4
In reply to this post by Esteban Lorenzano
On Sun, 27 Dec 2020 at 03:52, Esteban Lorenzano <[hidden email]> wrote:
Hi Martin,

I just did :

./pharo-ui Pharo.image

And I had no problem at all (except a libgit2 version that will be fixed soon).

I also had no problems with this in WSL2 --- Ubuntu 20.04.1 LTS (GNU/Linux 4.19.128-microsoft-standard x86_64)

Christopher
Reply | Threaded
Open this post in threaded view
|

Re: Can anyone get recent Pharo9 builds to work on Linux?

Martin McClure-2
In reply to this post by Esteban Lorenzano
Thanks, Esteban

That method does get me a working Pharo, which I was having trouble with before (though I *thought* I'd tried exactly that...).

However, it also somehow disables the compositor on my entire display, making it very hard to see where one (non-Pharo) window ends and another begins.
Compositing comes back when I quit Pharo. The old VM doesn't exhibit this odd side-effect.

Thanks,
-Martin

On 12/27/20 12:52 AM, Esteban Lorenzano wrote:
Hi Martin,

I just did :

wget -O- get.pharo.org/64/90+vmHeadlessLatest | bash
./pharo-ui Pharo.image

And I had no problem at all (except a libgit2 version that will be fixed soon).

I am using a Manjaro, but I do not see why it should not work on others.

Esteban

On Dec 27 2020, at 12:07 am, Martin McClure [hidden email] wrote:
If anyone can get recent (within the last week or so) 64-bit Pharo9
images to work on Linux, please let me know how you did that! I've tried
everything I can think of and no luck.

For the purposes of this query, "working'' means that you can open a
playground, type into the it, then backspace over what you've typed.

If you can do that on Linux, this information would be much appreciated:

* What build are you running?
* What VM are you running and where did you get it?
* How do you launch it? If from the command-line, what arguments?

Thanks,
-Martin

Reply | Threaded
Open this post in threaded view
|

Re: Can anyone get recent Pharo9 builds to work on Linux?

Danil Osipchuk-2
In reply to this post by Esteban Lorenzano
Yes, downloading fresh vm+pharo works (I was thinking I have a recent VM too -- sorry for adding to the confusion). The with issues is this one:

PharoX$ ../Pharo9/pharo-ui -version
5.0-202002121043  Wed Feb 12 11:06:45 UTC 2020 gcc 5.4.0 [Production Spur 64-bit VM]
CoInterpreter * VMMaker-CompatibleUserName.1580983506 uuid: 7aff73cb-5a2e-5002-a356-37de4e762a49 Feb 12 2020
StackToRegisterMappingCogit * VMMaker-CompatibleUserName.1580983506 uuid: 7aff73cb-5a2e-5002-a356-37de4e762a49 Feb 12 2020
VM: 202002121043 https://github.com/pharo-project/opensmalltalk-vm.git
Date: Wed Feb 12 11:43:20 2020 CommitHash: 52202d8
Plugins: 202002121043 https://github.com/pharo-project/opensmalltalk-vm.git
Linux travis-job-93347cf3-9798-4672-8c23-706b9ceb049b 4.15.0-1028-gcp #29~16.04.1-Ubuntu SMP Tue Feb 12 16:31:10 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
plugin path: /home/danil/L/Pharo9/pharo-vm/lib/pharo/5.0-202002121043 [default: /home/danil/L/Pharo9/pharo-vm/lib/pharo/5.0-202002121043/]

вс, 27 дек. 2020 г. в 13:14, Esteban Lorenzano <[hidden email]>:
hi,

I still have no problem with any of that.
So you will have to be more specific : which image version, which VM version, which linux version.

Esteban
On Dec 27 2020, at 10:51 am, Danil Osipchuk <[hidden email]> wrote:
I can confirm text input is severely broken backspace/del  (tried on Linux buster, but it seems to be an image problem)  -- control characters themselves get inserted into  text pane.
Type a string into a pane, ex. '123456789', position cursor somewhere in the middle, press del/backspace/ left&right arrows. If you inspect the string you'll see control characters inside (evident at 'Items' tab)
regards,
  Danil

вс, 27 дек. 2020 г. в 02:08, Martin McClure <[hidden email]>:
If anyone can get recent (within the last week or so) 64-bit Pharo9
images to work on Linux, please let me know how you did that! I've tried
everything I can think of and no luck.

For the purposes of this query, "working'' means that you can open a
playground, type into the it, then backspace over what you've typed.

If you can do that on Linux, this information would be much appreciated:

* What build are you running?
* What VM are you running and where did you get it?
* How do you launch it? If from the command-line, what arguments?

Thanks,
-Martin
Reply | Threaded
Open this post in threaded view
|

Re: Can anyone get recent Pharo9 builds to work on Linux?

Torsten Bergmann
In reply to this post by Esteban Lorenzano
If you use ZeroConf (get.pharo.org) scripts be aware that

  https://get.pharo.org/64/90+vm
  https://get.pharo.org/64/90+vmLatest

will lead to the trouble with the keyboard on Linux in Playground 
and other side effects.
 
 
which uses latest headless VM with 90 image and this is the one working
 
Have fun,
T. (aka "astares" on Discord)
Reply | Threaded
Open this post in threaded view
|

Headless VM and compositing -- was Re: Re: Can anyone get recent Pharo9 builds to work on Linux?

Martin McClure-2
In reply to this post by Martin McClure-2
I figured out the compositing problem with the headless VMs on Linux.

SDL, by default, requests that the window manager disable compositing. This behavior can be overridden starting with SDL 2.0.8. For more information, see https://github.com/pharo-project/pharo/issues/8220.

For anyone else seeing this problem in KDE, there is a workaround. System Settings / Display and Monitor / Compositor contains an item "Allow applications to block compositing." This is on by default. When turned off, Pharo works better.

Thanks,
-Martin


On 12/27/20 9:49 PM, Martin McClure wrote:
Thanks, Esteban

That method does get me a working Pharo, which I was having trouble with before (though I *thought* I'd tried exactly that...).

However, it also somehow disables the compositor on my entire display, making it very hard to see where one (non-Pharo) window ends and another begins.
Compositing comes back when I quit Pharo. The old VM doesn't exhibit this odd side-effect.

Thanks,
-Martin

On 12/27/20 12:52 AM, Esteban Lorenzano wrote:
Hi Martin,

I just did :

wget -O- get.pharo.org/64/90+vmHeadlessLatest | bash
./pharo-ui Pharo.image

And I had no problem at all (except a libgit2 version that will be fixed soon).

I am using a Manjaro, but I do not see why it should not work on others.

Esteban

On Dec 27 2020, at 12:07 am, Martin McClure [hidden email] wrote:
If anyone can get recent (within the last week or so) 64-bit Pharo9
images to work on Linux, please let me know how you did that! I've tried
everything I can think of and no luck.

For the purposes of this query, "working'' means that you can open a
playground, type into the it, then backspace over what you've typed.

If you can do that on Linux, this information would be much appreciated:

* What build are you running?
* What VM are you running and where did you get it?
* How do you launch it? If from the command-line, what arguments?

Thanks,
-Martin