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

    New experimental DuetPi Bookworm builds available

    Scheduled Pinned Locked Moved
    Beta Firmware
    8
    34
    2.4k
    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.
    • chrishammundefined
      chrishamm administrators @fractalengineer
      last edited by

      @fractalengineer Unfortunately you need to reflash the image after creating a backup (as per upgrade guide). There is no recommended way to upgrade a Debian installation to a newer distro version and from my experience inofficial upgrade attempts tend to brick the entire installation.

      Duet software engineer

      fractalengineerundefined 2 Replies Last reply Reply Quote 0
      • fractalengineerundefined
        fractalengineer @chrishamm
        last edited by fractalengineer

        @chrishamm Ok I just installed it on a fresh card; A couple issues:

        • My HDMI display shows a black, unresponsive screen after bootup despite showing the Duet bg and boot sequence just fine. Display manager service checked and active

        • Likewise, VNC is not connecting despite the service being turned on

        • I have full access through SSH though, through which I performed a git init, remote add and fetch origin in /sd to get my backup from my github backup; all is well, however...

        • It appears the file permissions are all bonked out; config refuses to load with this message: Error in start-up file config.g line 29: Access to the path '/opt/dsf/sd/sys/eventlog.txt' is denied. >>> This is a know issue I previously sorted out by doing sudo chmod 777 -R /opt/dsf/sd but there has to be a better way right 😅

        Any tips on fixing these quirks? Thanks!

        Railcore II ZL

        chrishammundefined 1 Reply Last reply Reply Quote 0
        • fractalengineerundefined
          fractalengineer @chrishamm
          last edited by

          bump 👀 couldn't figure it out still 😐

          Railcore II ZL

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

            @fractalengineer said in New experimental DuetPi Bookworm builds available:

            My HDMI display shows a black, unresponsive screen after bootup despite showing the Duet bg and boot sequence just fine. Display manager service checked and active

            My DSI and HDMI screens came up straight without any problems. Maybe you need to configure your HDMI settings manually via config.txt? See here.

            @fractalengineer said in New experimental DuetPi Bookworm builds available:

            Likewise, VNC is not connecting despite the service being turned on

            RaspPi OS based on Bookworm does not use RealVNC any more by default, instead it uses WayVNC. To get RealVNC working again, you need to turn off Wayland support via raspi-config in the advanced settings. However, that will probably make the display a bit slower than it needs to be (Wayland is faster than X11).

            @fractalengineer said in New experimental DuetPi Bookworm builds available:

            I have full access through SSH though, through which I performed a git init, remote add and fetch origin in /sd to get my backup from my github backup; all is well, however...

            It appears the file permissions are all bonked out; config refuses to load with this message: Error in start-up file config.g line 29: Access to the path '/opt/dsf/sd/sys/eventlog.txt' is denied. >>> This is a know issue I previously sorted out by doing sudo chmod 777 -R /opt/dsf/sd but there has to be a better way right

            It sounds like neither the dsf user or group can access your files in /opt/dsf/sd. If you cloned your repo as root, that's likely to happen. Instead of messing with chmod, it's better to call sudo chown -R dsf:dsf /opt/dsf/sd to fix the ownership permissions if needed.

            Duet software engineer

            1 Reply Last reply Reply Quote 1
            • printerguy3dundefined
              printerguy3d
              last edited by

              I have both HDMI and DSI connected, neither work. DSI shows just black screen. HDMI shows desktop background like extended monitor. This is with a 3b+, does this only work with a 4?image1.jpeg image0.jpeg

              chrishammundefined printerguy3dundefined 2 Replies Last reply Reply Quote 1
              • chrishammundefined
                chrishamm administrators @printerguy3d
                last edited by

                @printerguy3d It should work as well with a 3B+. Does your display work with the official RPi Bookworm image as expected? I don't think the new DuetPi image should be too different from it.

                Duet software engineer

                fractalengineerundefined 1 Reply Last reply Reply Quote 0
                • printerguy3dundefined
                  printerguy3d @printerguy3d
                  last edited by

                  @printerguy3d also of note, if i unplug the DSI monitor, the HDMI screen is also blank after boot.

                  1 Reply Last reply Reply Quote 0
                  • printerguy3dundefined
                    printerguy3d
                    last edited by

                    this makes the dsi screen work...

                    placing the directive in boot/confix.txt

                    dtoverlay=vc4-kms-dsi-7inch,invx,invy

                    and disabling the entry:

                    display_auto_detect=1

                    putting the hash sign # at the beginning

                    #display_auto_detect=1

                    1 Reply Last reply Reply Quote 0
                    • printerguy3dundefined
                      printerguy3d
                      last edited by

                      OK. so now bookworm loads and I have the board connected. When the Duet2 board runs 3.4.6 it gives an error that the versions are incompatible. When I update the board with Bossa to 3.5r3, it says it can't find the host. What can I do to get you access to take a look....

                      1 Reply Last reply Reply Quote 1
                      • fractalengineerundefined
                        fractalengineer @chrishamm
                        last edited by

                        @chrishamm interesting; just flashed latest vanila raspios bookworm and the screen works out of the box (but not the touchscreen?)

                        Meanwhile I'm unable to access VNC, neither through Tiger or RealVNC with both wayland and X11, even while confirmed running hmm

                        Railcore II ZL

                        chrishammundefined 1 Reply Last reply Reply Quote 0
                        • jay_s_ukundefined jay_s_uk referenced this topic
                        • chrishammundefined
                          chrishamm administrators @fractalengineer
                          last edited by

                          @fractalengineer I just checked and with the Wayland desktop it's possible to enable wayvnc (sudo systemctl enable --now wayvnc) and to connect using the TigerVNC client (other VNC clients may work as well).

                          With X11 it's a bit more difficult and apparently VNC doesn't work out of the box (yet?). This seems to be an issue in RaspiOS, too, see https://github.com/raspberrypi/bookworm-feedback/issues/41 But I could get it working on my setup by:

                          • installing libraspberrypi0 (sudo apt install libraspberrypi0),
                          • downloading the missing .so files via wget as described later in the GitHub issue,
                          • enabling VNC via raspi-config
                          gitbls created this issue in raspberrypi/bookworm-feedback

                          closed RealVNC on 32-bit RasPiOS issue #41

                          Duet software engineer

                          fractalengineerundefined oozeBotundefined 2 Replies Last reply Reply Quote 0
                          • fractalengineerundefined
                            fractalengineer @chrishamm
                            last edited by

                            @chrishamm Ok great that definitely did something;

                            Now I can connect on both RealVNC and TigerVNC... But all I get is a grey screen in both cases 😅

                            Such is the case on both duetpi and the official pi release, both updated to latest (I have them both on separate SD cards now to cross test)

                            HDMI display still shows on official release (still no touchscreen) and black on Duetpi

                            The search continues

                            Railcore II ZL

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

                              @chrishamm will you be releasing instructions on how to "roll your own" copy of DuetPi for bookworm? We have a custom version but I've not been able to get it to connect with the old instruction set as I'm receiving:

                              Setting up reprapfirmware (3.4.6-3) ...
                              [fatal] Could not connect to Duet: Timeout while waiting for transfer ready pin
                              

                              In the meantime, I'm flashing one of your builds onto an SD for testing now.

                              Thanks!

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

                                @oozeBot No, I don't plan to provide more documentation than there already is on GitHub but Duet3D can provide extra consultancy under certain conditions. If you're interested, feel free to contact info@duet3d.com.

                                Duet software engineer

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

                                  @chrishamm - I was able to get past my issue. The documentation ( https://docs.duet3d.com/User_manual/Machine_configuration/DSF_Other#gpio-transfer-ready-pin ) states The following steps can be skipped if a Raspberry Pi is used. That does not appear to be valid for the Raspberry Pi 5 as I had to switch to gpiochip4 instead of the default gpiochip0. Thanks

                                  chrishammundefined IndeX4Dundefined 2 Replies Last reply Reply Quote 1
                                  • chrishammundefined
                                    chrishamm administrators @oozeBot
                                    last edited by

                                    @oozeBot Right, the Bookworm build uses a startup script to determine if it's running on a Pi 5. If it is, it makes those adjustments automatically. I'll update the documentation.

                                    Duet software engineer

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

                                      @chrishamm said in New experimental DuetPi Bookworm builds available:

                                      @oozeBot Right, the Bookworm build uses a startup script to determine if it's running on a Pi 5. If it is, it makes those adjustments automatically. I'll update the documentation.

                                      Thanks. I just added something similar within duetcontrolserver's postinst script to do the same.

                                      1 Reply Last reply Reply Quote 0
                                      • p8blrundefined
                                        p8blr
                                        last edited by

                                        Any ideas what might be causing this "incompatible software versions error?"

                                        Also I'm running this on a Raspberry Pi 5 8GB with an NVMe hat and noticed that I'm getting freezing every few seconds. Any ideas there?

                                        Untitled picture.png

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

                                          @p8blr Either you don't have all three RRF/DSF/DWC versions in sync (ideally only all updated by apt) or your browser is still using a cached DWC version. Try pressing Ctrl+Shift+R in your browser and check if that helps.

                                          I haven't noticed any occasional freezes on my setups.

                                          Duet software engineer

                                          p8blrundefined 1 Reply Last reply Reply Quote 0
                                          • p8blrundefined
                                            p8blr @chrishamm
                                            last edited by p8blr

                                            @chrishamm I just installed a fresh image, and ran sudo apt update & sudo apt dist-upgrade, also ctrl+shift+r and am getting the same message. I updated the eeprom on the raspberry pi so hopefully that'll resolve the freezing issue.

                                            running M997 S2 gives "Error: M997: Failed to perform update: Upgrade process return non-zero exit code"

                                            Update: the issue seems to be that the sudo apt update/upgrade commands aren't doing anything regarding the duet board firmware. I confirmed this by connecting a Raspberry Pi 4 and running the commands again, and it was able to upgrade
                                            duetupgrading.jpg

                                            However, after upgrading I still get this "incompatible software versions" popup no matter how many times I ctrl+F5. Note, this is on the raspberry pi itself with a monitor attached.

                                            Also for the life of me, I can't get M997 S2 to work.

                                            fdsfsjkdfhdksjf.jpg

                                            Edit: Just an update for anybody with a similar issue, I went back to a raspbery pi 4 with a SD card and updated to the latest firmware, then copy/pasted my sys and macros over to a newly imaged NVMe and that did the trick. My best guess is that it was the drive I was using. TeamGroup MP33 stalled but a Patriot P310 seems to work fine.

                                            1 Reply Last reply Reply Quote 0
                                            • chrishammundefined chrishamm referenced this topic
                                            • jay_s_ukundefined jay_s_uk referenced this topic
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA