OpenVoiceOS - A bare minimal (production type of) OS based on Buildroot

Oh right, indeed the finshed booting message is a left over of a quick “fix” within the enclosure skill. That will be removed in favor of the “official” skill.

There are a lot of little loose ends to fix before the real alpha9 release :wink:

I think it’s this display, I will go dig in the boxes to see if I find any more info:

https://www.raspberrypi.org/products/raspberry-pi-touch-display/

1 Like

hmm… another possibility:

I’m about to add the german translation to your enclosure skill. Not knowing when the original skill (finished.booting…) would trigger and if your skill is far off (in that regard), there’s a possibility to shove all translations to /dialog/*/finished.booting.dialog

Problem is, the original skill (the one in the marketplace) isn’t maintained at this time. This is why i have to go down this route and pull a (side)branch from mycroftAIs’ fork.

so i might add that to the PR

Second run was smooth as silk but the third time (during boot) i ended up with a

broken pipe
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/mycroft/skills/skill_manager.py", line 301, in _load_skill
    load_status = skill_loader.load()
  File "/usr/lib/python3.8/site-packages/mycroft/skills/skill_loader.py", line 186, in load
    return self._load()
  File "/usr/lib/python3.8/site-packages/mycroft/skills/skill_loader.py", line 244, in _load
    if skill_module and self._create_skill_instance(skill_module):
  File "/usr/lib/python3.8/site-packages/mycroft/skills/skill_loader.py", line 310, in _create_skill_instance
    self.instance.default_shutdown()
  File "/usr/lib/python3.8/site-packages/mycroft/skills/mycroft_skill/mycroft_skill.py", line 1287, in default_shutdown
    self.gui.shutdown()
  File "/usr/lib/python3.8/site-packages/mycroft/enclosure/gui.py", line 358, in shutdown
    self.clear()
  File "/usr/lib/python3.8/site-packages/mycroft/enclosure/gui.py", line 121, in clear
    self.skill.bus.emit(Message("gui.clear.namespace",
  File "/usr/lib/python3.8/site-packages/mycroft/messagebus/client/client.py", line 163, in emit
    self.client.send(message.serialize())
  File "/usr/lib/python3.8/site-packages/websocket/_app.py", line 153, in send
    if not self.sock or self.sock.send(data, opcode) == 0:
  File "/usr/lib/python3.8/site-packages/websocket/_core.py", line 250, in send
    return self.send_frame(frame)
  File "/usr/lib/python3.8/site-packages/websocket/_core.py", line 275, in send_frame
    l = self._send(data)
  File "/usr/lib/python3.8/site-packages/websocket/_core.py", line 445, in _send
    return send(self.sock, data)
  File "/usr/lib/python3.8/site-packages/websocket/_socket.py", line 117, in send
    return sock.send(data)
BrokenPipeError: [Errno 32] Broken pipe
2020-10-02 21:29:12.566 | ERROR    |   381 | mycroft.messagebus.client.client:on_error:135 | Exception closing websocket: ConnectionResetError(104, 'Connection reset by peer')
2020-10-02 21:29:12.578 | WARNING  |   381 | mycroft.messagebus.client.client:on_error:137 | Message Bus Client will reconnect in 5 seconds.
2020-10-02 21:29:17.596 | INFO     |   381 | mycroft.messagebus.client.client:on_open:114 | Connected

Although it states connected, gui was thrown off at this point in time
This behaviour is fairly common 4/7 now

1 Like

Ah shoot, that is not a HDMI screen. Let me dive into it, I am sure it is as easy as a little /boot/config.txt change we need.

You might want to get enlisted here, afterwards :clown_face: (Doesn’t look good to me)

@GuW It looks like the DSI screen is not yet supported within the KMS opensource driver and you need the FKMS version.

Do you know how to edit the config.txt ?

Aha, others use HDMI, I would have tested that if only I had remembered it when I had my Mycroft behind the TV, I don’t have any other HDMI screens to test it on.

I know how to copy/paste text to config.txt, infact I had to add lcd_rotate=2 to get it right way up in raspberry os

Perfect! Could you change this line;

To:

dtoverlay=vc4-fkms-v3d

And give it a spin?

I’m not at home this weekend, but I will do that as soon as I get home again.

Do you think my issue with low volume also is because I don’t use HDMI sound?

I think it says max volume is 10 but it doesn’t change much if I set it to 5

The volume skill controls the combined master sink.

You can use alsamixer for now, to select the different outputs/cards and level them in such a way that volume is about the same so that the master control is equal again.

Found the NTP problem at boot/startup (syncing system clock)

in this line

RASPBERRY_PI_PLATFORMS = ('mycroft_mark_1', 'picroft', 'mycroft_mark_2pi', 'MycroftOS')

has to be injected

skills.log

2020-10-05 19:04:47.376 | INFO     |   376 | mycroft.skills.__main__:_update_system_clock:103 | Updating the system clock via NTP...
1 Like

Nice catch! (That logic is at multiple places)

Yeah, editing the config as you suggested seems to have done the trick, now I have GUI, I had to rotate it to get it right for my case, but that I had done before.

It seems to be the wrong resolution though, it is cutting off the bottom of any pictures.

For example if I ask what the time is, it cuts of the bottom digits a bit.

Also in some other cases I can see it is displaying something at the bottom that is clickable (Don’t know what it is, maybe some controls of something).

And the GUI isn’t that exiting, I don’t know if the display was worth it, maybe there will be more skills that uses the display in the future, atleast is shows a desktop with the time on it as a screensaver :slight_smile:

There are only default skills on the image which have limited gui implementation, there are a lot more skills that use the GUI and the list can be found here https://www.pling.com/browse/cat/608/order/latest/

1 Like

Already looking into the resolution / scaling issue for smaller resolution screens…

Ahh, yes, there were some skills there I would want to try, but I am lacking one skill, how to install them :slight_smile:

So far I only installed skills with voice commands, and I’m not sure how to install from that list.

The sound problem also persist, I tell it to increase the volume, but it stays the same.

It tells me the volume is zero, I tell it to set volume to ten, it says “Volume set to max” and I still got the same volume in the speakers (that I have set to full volume)

I think I only get a fixed line out volume on the audio jack on the Pie, is there something to change in the config?

Great job, I don’t remember the resolution of the screen I have, but I think it was 800X480 or something…

Funny thing is that the cursor seems to stop on the bottom of the screen, but I’m missing about 1/3 of the bottom numbers when asking for the time

Since I haven’t seen the GUI on a bigger screen, I really don’t know if I’m missing something else on other skills like the weather

The fix for bottom numbers getting cut of in time page, waiting for review: https://github.com/MycroftAI/skill-date-time/pull/92

2 Likes

I will wait for the next version and see what fixes are in that one.

I had to reboot due to Mycroft freezing, and now I am back with the wrong time again, still the same issue with the sound (does not change output volume and is very low) and the issue with scaling of the images (it is not only the clock)

I also miss one function, I need it to display a slideshow of pictures from a USB stick.
(or a dropbox)
I have one newborn grandson (2 months ago) and will get another grandchild today or tomorrow, plus the first one that is about 3y old.

I get lots of pictures (since we cant see each other IRL) and if I am going to have a monitor on 24/7 it should display them instead of a boring background and a clock.