[Cuis-dev] VM fb-dev

Joseph Turco italian.pepe.32 at gmail.com
Mon Aug 9 06:14:09 PDT 2021


Yeah as I said I get black borders around the window buttons, and it looks like its running in 16bit mode because the color of the windows have visible color gradients. Using raspberry pi os 64 bit which is a flavor of Debian.

Regards,

Joseph Turco.

Aug 9, 2021 9:01:54 AM Eric Gade <eric.gade at gmail.com>:

> I would like to add that on the MNT Reform (aarch64) running it's slightly modified Debian install, I can run the VM using framebuffer display *without* these patches and everything seems to work fine. This is really cool!
> 
> On Mon, Aug 9, 2021 at 3:25 AM Nicola Mingotti via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
>> 
>> Ken this is interesting for me.
>> 
>> At the moment I can't fork into it, but I am willing to test in the future. I run mostly in servers.
>> 
>> 
>> bye
>> Nicola
>> 
>> 
>> 
>> 
>> 
>> On 8/8/21 9:41 PM, ken.dickey--- via Cuis-dev wrote:
>> On 2021-08-08 10:16, Joseph Turco wrote:
>> 
>> I got the VM to work in frame buffer mode. I noticed the color is a bit off and the window buttons have black squares around them, so I guess something isint setup right. The mouse works, but the keyboard is still typing into console, with a cursor flashing in the bottom left of the screen (like a bit of the console is poking out). If you have any advice to fix that I'd appreciate it many thanks :)
>> 
>> Attached are replacement files for those in opensmalltalk-vm/platforms/unix/vm-display-fbdev/
>> 
>> If you replace the files, then do the "mvm" "y", the vm-display-fbdev.so library should be rebuilt.
>> 
>> These files update the help text ("squeak --help") for framebuffer to what is actually there as well as allowing the keyboard device binding to work (/dev/input/event?).
>> 
>> ls -lasth /dev/input/by-id
>> 
>> should show the binding names required.
>> e.g.
>> export SQUEAK_KBDEV=/dev/input/event0
>> if
>> usb-Logitech-USB_Receiver_if01_event_kbd -> ../event0
>> 
>> The "box around button" effect is, I believe, a figment of the quality of the framebuffer library.  I believe I saw this in early experiments on Raspberry Pi, but do not see it on LePotato.  I'll have to fire up a RasPi to check. .. Nope.  Looks good on Raspberry Pi 3 on Raspberry Pi OS.  No idea.  Have to look around.
>> 
>> The blinking cursor shows through because I did not "capture" it via the evdev support.  It is a bit complex to figure out, does not bother me much, and reminds me I am in framebuffer mode.  Useful when I forget and fire up a framebuffer display which takes turns overwriting with X11 if I have started that as well.
>> 
>> If anyone want to look at this..
>> 
>> HTH,
>> -KenD
>> 
>> 
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
> 
> 
> --
> Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210809/c1cb5e46/attachment.htm>


More information about the Cuis-dev mailing list