Can anyone get recent Pharo9 builds to work on Linux?

MM
Martin McClure
Sat, Dec 26, 2020 11:07 PM

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

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
EL
Esteban Lorenzano
Sun, Dec 27, 2020 8:52 AM

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 martin@hand2mouse.com 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

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 <martin@hand2mouse.com> 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 >
DO
Danil Osipchuk
Sun, Dec 27, 2020 9:51 AM

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 martin@hand2mouse.com:

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

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 <martin@hand2mouse.com>: > 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 >
EL
Esteban Lorenzano
Sun, Dec 27, 2020 10:14 AM

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 danil.osipchuk@gmail.com 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 <martin@hand2mouse.com (mailto:martin@hand2mouse.com)>:

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

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 <danil.osipchuk@gmail.com> 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 <martin@hand2mouse.com (mailto:martin@hand2mouse.com)>: > > 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 > > >
CF
Christopher Fuhrman
Sun, Dec 27, 2020 11:00 PM

On Sun, 27 Dec 2020 at 03:52, Esteban Lorenzano estebanlm@netc.eu 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 also had no problems with this in WSL2 --- Ubuntu 20.04.1 LTS (GNU/Linux
4.19.128-microsoft-standard x86_64)

Christopher

On Sun, 27 Dec 2020 at 03:52, Esteban Lorenzano <estebanlm@netc.eu> 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 also had no problems with this in WSL2 --- Ubuntu 20.04.1 LTS (GNU/Linux 4.19.128-microsoft-standard x86_64) Christopher
MM
Martin McClure
Mon, Dec 28, 2020 5:49 AM

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 martin@hand2mouse.com 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
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 <martin@hand2mouse.com> 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 >
DO
Danil Osipchuk
Mon, Dec 28, 2020 7:07 AM

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 estebanlm@netc.eu:

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 danil.osipchuk@gmail.com
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 martin@hand2mouse.com:

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

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 <estebanlm@netc.eu>: > 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 <danil.osipchuk@gmail.com> > 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 <martin@hand2mouse.com>: > > 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 > >
TB
Torsten Bergmann
Tue, Dec 29, 2020 10:28 AM

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.

So you have to use
https://get.pharo.org/64/vmHeadlessLatest90 (VM only)
or https://get.pharo.org/64/90+vmHeadlessLatest (VM+image)

which uses latest headless VM with 90 image and this is the one working

Have fun,

T. (aka "astares" on Discord)

MM
Martin McClure
Sun, Jan 3, 2021 1:01 AM

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 martin@hand2mouse.com
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
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 <martin@hand2mouse.com> >> 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 >> >