<div>Hi,<br></div><div><br></div><div>Tired with the PI2.  Good news/bad news, it's not hardware or firmware.  I see the same results.<br></div><div><br></div><div>So clearly the VM I've built.<br></div><div><br></div><div>cheers<br></div><div><br></div><div>bruce</div><div><br></div><div id="editorUserSignature" style="display:none;"><br></div><div><br></div><div><br></div><div><i>21 March 2020 10:03 "Bruce O'Neel" <bruce.oneel@pckswarms.ch> wrote:</i><br></div><blockquote class="infmailquote"><div>Hi Tim and others.<br></div><div><br></div><div>Let's think about this a little differently.<br></div><div><br></div><div>What do we know:<br></div><div><br></div><div>1. You, Ellot and I can build the VM on our respective PIs.<br></div><div>2.  In general this VM works fine, the only seemingly difference is on a few fonts.  This, of course, is bizarre. <br></div><div>3. We must be either seeing a difference in hardware, or in software, or in firmware.<br></div><div><br></div><div>Now we start guessing.<br></div><div><br></div><div>1. I use my PI as a server.  I installed Raspberian about 12 months ago, and, the only packages installed on top are samba, and then the 11 packages to make Squeak build.  I'm lazy, I have not checked to see if there was a firmware update nor I have I updated firmware.<br></div><div>2. I don't know about Ellot, but I have the impression you Tim use your PI more, right?  Do you have more packages installed?<br></div><div>3.  Or, maybe it's some difference in hardware.  My Pi 3 was bought in early 2019 and has the following dmesg bits.<br></div><div><br></div><div><br></div><div><br></div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.000000] Linux version 4.19.66-v7+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1253 SMP Thu Aug 15 11:49:46 BST 2019</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.000000] CPU: div instructions available: patching division code</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3</span></span></span></span><br></p><div><br></div><div><br></div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.002345] CPU: Testing write buffer coherency: ok</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.002830] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.003495] Setting up static identity map for 0x100000 - 0x10003c</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.003662] rcu: Hierarchical SRCU implementation.</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.004476] smp: Bringing up secondary CPUs ...</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.005337] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.006262] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.007124] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.007246] smp: Brought up 1 node, 4 CPUs</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.007326] SMP: Total of 4 processors activated (153.60 BogoMIPS).</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.007350] CPU: All CPU(s) started in HYP mode.</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.007371] CPU: Virtualization extensions available.</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.008364] devtmpfs: initialized</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.021572] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4</span></span></span></span><br></p><div><br></div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.090300] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-08-15 12:06, variant start</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.100128] raspberrypi-firmware soc:firmware: Firmware hash is 0e6daa5106dd4164474616408e0dc24f997ffcf3</span></span></span></span><br></p><div><br></div><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.234849] bcm2708_fb soc:fb: FB found 1 display(s)</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.245052] Console: switching to colour frame buffer device 80x30</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.252763] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 640x480</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.260129] bcm2835-rng 3f104000.rng: hwrng registered</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.263319] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)</span></span></span></span><br></p><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-weight: normal; font-stretch: normal; line-height: normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span class="font" style="font-family:Menlo"><span class="size" style="font-size:11px"><span style="font-variant-ligatures: no-common-ligatures">[<span class="Apple-converted-space">   </span> 0.269633] vc-sm: Videocore shared memory driver</span></span></span></span><br></p><div id="editorUserSignature" style="display:none;"><br></div><div><br></div><div><br></div><div>I have a PI2 sitting around here somewhere.  I'll see if I can get that running...<br></div><div><br></div><div>Any other ideas?<br></div><div><br></div><div>Thanks.<br></div><div><br></div><div>bruce<br></div><div><br></div><div><i>21 March 2020 01:07 tim Rowledge <tim@rowledge.org> wrote:</i><br></div><blockquote class="infmailquote"><div><br></div><div><br></div><div>> On 2020-03-20, at 6:16 AM, Bruce O'Neel wrote:<br></div><div>><br></div><div>><br></div><div>> I specialize in ridiculous. Good news, I guess, is that I dug up a monitor, and, walked it downstairs with a keyboard and mouse and attached it. The effect with the BitstreamVeraSans and ComicSans fonts are the same. Maybe it likes serfed fonts?<br></div><div><br></div><div>I'm completely baffled by this. I don't get this effect with any ARM vm that I have that actually runs, with any image I have.<br></div><div><br></div><div>><br></div><div>> So that means that it is not some funky X11 over the wire problem with the Mac and Windows X11 servers problem. That's good.<br></div><div><br></div><div>Guess so, though it just makes life weirder.<br></div><div><br></div><div>><br></div><div>> I have no idea then why. Are these fonts part of the image? Is it some funky binary format that for some reason Coq is mis-reading?<br></div><div><br></div><div>Yes, the font glyphs are in-image. We've been using these ones for goodness knows how many years.<br></div><div><br></div><div>><br></div><div>> I built a stack VM and I get the same result with a Squeak 5.3 image.<br></div><div><br></div><div>There*shouldn't* be any difference between the stack & cog vms.<br></div><div><br></div><div>You could try building a VM with the fastbitblt turned off I suppose -<br></div><div>a quick hack is to find the BITBLT_FLAGS= -DENABLE_FAST_BLT and related lines in the Makefile in you squeak.cog.spur/build directory. I haven't actually built an ARM vm without that in years so I don't know it it even still works.<br></div><div><br></div><div><br></div><div>tim<br></div><div>--<br></div><div>tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim<br></div><div>It is easier to change the specification to fit the program than vice versa.<br></div><div><br></div><div><br></div><div><br></div><div><br></div></blockquote><div><br></div><div><><br></div></blockquote><div><br></div>