Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Raspberry Pi OS - Bullseye

    Scheduled Pinned Locked Moved
    General Discussion
    3
    6
    589
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • oozeBotundefined
      oozeBot
      last edited by

      Curious if anyone else has installed Bullseye on their Duet machines yet? I spent some time this morning testing it out. Overall, it's been successful. The only thing I've run into so far is hardware encoding for the webcam isn't working as OMX and MMAL has apparently been depreciated in favor of V4L2, which will take time to implement..

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators @oozeBot
        last edited by

        @oozebot There's a pretty experimental DuetPi build based on bullseye on https://pkg.duet3d.com/testing/ but I haven't been able to get the RPi display working yet (using the DSI cable, not sure about HDMI). It just turns white when it's supposed to start the GUI and I don't know yet what is causing that. The DuetPi-lite build appears to be working nicely, though.

        Duet software engineer

        1 Reply Last reply Reply Quote 0
        • oozeBotundefined
          oozeBot
          last edited by oozeBot

          I also just installed the 64-bit version of Bullseye on a machine. Running a test print now, but so far, so good..

          @chrishamm - I haven't run into that since we don't use displays directly connected to the Pi.

          1 Reply Last reply Reply Quote 0
          • omtekundefined
            omtek
            last edited by

            I got aarm64 bullseye running on my RPi4b+ today, as well.

            I used the 2021-10-30-raspios-bullseye-arm64.zip image (from here) and flashed to an M.2 drive. After booting, updating, enabling SPI and increasing the buffer size (per here), then added the unstable sources.

            After copying back my configuration and doing one last reboot of SBC and Duet 3 Mini 5+, I was greeted with a working printer once again. Running a test print right now to see how everything is working.

            The only issue I see right off the bat, is the DuetPi management plugin, when attempting to start via 'Settings - Machine-specific - External Plugins' complains that:

            Failed to start plugin:
            InvalidOperationException in StartPlugin: Cannot perform command because the plugin service (root) is not started
            

            however, systemd reports:

            pi@legionXY:~ $ systemctl status duetpluginservice
            ● duetpluginservice.service - Duet Plugin Service
                 Loaded: loaded (/lib/systemd/system/duetpluginservice.service; enabled; vendor preset: enabled)
                 Active: active (running) since Thu 2021-11-11 14:29:25 EST; 1h 7min ago
               Main PID: 1046 (DuetPluginServi)
                  Tasks: 8 (limit: 4178)
                    CPU: 1.455s
                 CGroup: /system.slice/duetpluginservice.service
                         └─1046 /opt/dsf/bin/DuetPluginService
            
            Nov 11 14:29:23 legionXY systemd[1]: Starting Duet Plugin Service...
            Nov 11 14:29:24 legionXY DuetPluginService[1046]: Duet Plugin Service v3.4-b6
            Nov 11 14:29:24 legionXY DuetPluginService[1046]: Written by Christian Hammacher for Duet3D
            Nov 11 14:29:24 legionXY DuetPluginService[1046]: Licensed under the terms of the GNU Public License Version 3
            Nov 11 14:29:24 legionXY DuetPluginService[1046]: [info] DuetPluginService.Program: Settings loaded
            Nov 11 14:29:25 legionXY DuetPluginService[1046]: [info] DuetPluginService.Program: Connection established
            Nov 11 14:29:25 legionXY DuetPluginService[1046]: [info] DuetPluginService.Program: Plugin DuetPiManagementPlugin loaded
            Nov 11 14:29:25 legionXY DuetPluginService[1046]: [info] DuetPluginService.Program: Plugin InputShaping loaded
            Nov 11 14:29:25 legionXY systemd[1]: Started Duet Plugin Service.
            

            along with an error in /var/log/syslog

            Nov 11 15:35:07 legionXY DuetControlServer[429]: [error] IPC#189: Failed to execute StartPlugin
            Nov 11 15:35:07 legionXY DuetControlServer[429]:    System.InvalidOperationException: Cannot perform command because the plugin service (root) is not started
            Nov 11 15:35:07 legionXY DuetControlServer[429]:    at DuetControlServer.IPC.Processors.PluginService.PerformCommand(Object command, Boolean asRoot) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/IPC/Processors/PluginService.cs:line 69
            Nov 11 15:35:07 legionXY DuetControlServer[429]:    at DuetControlServer.Commands.StartPlugin.Start(String id, String requiredBy) in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Commands/Plugins/StartPlugin.cs:line 130
            Nov 11 15:35:07 legionXY DuetControlServer[429]:    at DuetControlServer.Commands.StartPlugin.Execute() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/Commands/Plugins/StartPlugin.cs:line 36
            Nov 11 15:35:07 legionXY DuetControlServer[429]:    at DuetAPI.Commands.Command.Invoke() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetAPI/Commands/BaseCommand.cs:line 46
            Nov 11 15:35:07 legionXY DuetControlServer[429]:    at DuetControlServer.IPC.Processors.Command.Process() in /home/christian/Duet3D/DuetSoftwareFramework/src/DuetControlServer/IPC/Processors/Command.cs:line 88
            
            

            but I cannot glean any information beyond that.

            Let me know if I can provide any further information.

            chrishammundefined 1 Reply Last reply Reply Quote 0
            • chrishammundefined
              chrishamm administrators @omtek
              last edited by

              @omtek Check duetpluginservice-root as well

              Duet software engineer

              omtekundefined 1 Reply Last reply Reply Quote 0
              • omtekundefined
                omtek @chrishamm
                last edited by

                @chrishamm That was the problem!

                pi@legionXY:~ $ sudo systemctl enable duetpluginservice-root
                Created symlink /etc/systemd/system/multi-user.target.wants/duetpluginservice-root.service → /lib/systemd/system/duetpluginservice-root.service.
                pi@legionXY:~ $ sudo systemctl start duetpluginservice-root
                pi@legionXY:~ $
                

                62fc4fb4-1710-426f-8d00-edc6d87c57bb-image.png

                Success!

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA