MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    vkCreateInstance failed with: Found no drivers

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    14 Posts 4 Posters 5.1k Views 4 Watching
    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.
    • T Offline
      Todt40
      last edited by

      After a fresh installation of MM with the installation script I have the following error:

      Warning: vkCreateInstance: Found no drivers!
      Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
      at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
      at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
      at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
      at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
      at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

      Thank in advance.
      Timo

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Todt40
        last edited by

        @Todt40 yes, that is a garbage message put out by electron. typically this is because of another error earlier…

        you can try the later electron version

        cd ~/MagicMirror
        npm install electron@28.1.1
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          Todt40 @sdetweil
          last edited by

          @sdetweil so I tried installing the new version of electron, but it still gives the same error.

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Todt40
            last edited by

            @Todt40 can u look higher up in the output, is there any other error?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            T 2 Replies Last reply Reply Quote 0
            • T Offline
              Todt40 @sdetweil
              last edited by

              @sdetweil there is no other error in the error-log created by pm2.

              /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
              Warning: vkCreateInstance: Found no drivers!
              Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
                 at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101)
                 at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:493)
                 at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:379)
                 at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:301)
                 at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:556)
              

              this is the everything in the error log.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Todt40
                last edited by

                @Todt40 what about in the non error output

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  Todt40 @sdetweil
                  last edited by

                  @sdetweil during the installation of the new electron version I also got this error:

                  (node:1643) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
                  

                  maybe like 10 times or something, I don’t know if this is also a problem?

                  S 1 Reply Last reply Reply Quote 0
                  • T Offline
                    Todt40 @sdetweil
                    last edited by sdetweil

                    @sdetweil this is the normal output log:

                    > magicmirror@2.26.0 start
                    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                    
                    [17.01.2024 15:45.08.877] [LOG]   Starting MagicMirror: v2.26.0
                    [17.01.2024 15:45.08.885] [LOG]   Loading config ...
                    [17.01.2024 15:45.08.896] [DEBUG] config template file not exists, no envsubst
                    [17.01.2024 15:45.08.907] [LOG]   Loading module helpers ...
                    [17.01.2024 15:45.08.912] [LOG]   No helper found for module: alert.
                    [17.01.2024 15:45.08.962] [LOG]   Initializing new module helper ...
                    [17.01.2024 15:45.08.963] [LOG]   Module helper loaded: updatenotification
                    [17.01.2024 15:45.08.965] [LOG]   No helper found for module: clock.
                    [17.01.2024 15:45.09.687] [LOG]   Initializing new module helper ...
                    [17.01.2024 15:45.09.689] [LOG]   Module helper loaded: calendar
                    [17.01.2024 15:45.09.691] [LOG]   No helper found for module: compliments.
                    [17.01.2024 15:45.09.707] [LOG]   No helper found for module: weather.
                    [17.01.2024 15:45.10.284] [LOG]   Initializing new module helper ...
                    [17.01.2024 15:45.10.284] [LOG]   Module helper loaded: newsfeed
                    [17.01.2024 15:45.10.285] [LOG]   All module helpers loaded.
                    [17.01.2024 15:45.10.363] [LOG]   Starting server on port 8080 ... 
                    [17.01.2024 15:45.10.487] [LOG]   Server started ...
                    [17.01.2024 15:45.10.488] [LOG]   Connecting socket for: updatenotification
                    [17.01.2024 15:45.10.489] [LOG]   Starting module helper: updatenotification
                    [17.01.2024 15:45.10.490] [LOG]   Connecting socket for: calendar
                    [17.01.2024 15:45.10.491] [LOG]   Starting node helper for: calendar
                    [17.01.2024 15:45.10.491] [LOG]   Connecting socket for: newsfeed
                    [17.01.2024 15:45.10.492] [LOG]   Starting node helper for: newsfeed
                    [17.01.2024 15:45.10.493] [LOG]   Sockets connected & modules started ...
                    [17.01.2024 15:45.11.596] [LOG]   Launching application.
                    [17.01.2024 15:45.19.121] [LOG]   Create new calendarfetcher for url: https://ics.calendarlabs.com/7US_Holidays.ics - Interval: 604800000
                    [17.01.2024 15:45.20.111] [LOG]   Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                    [17.01.2024 15:45.20.153] [INFO]  updatenotification: Updater Class Loaded!
                    [17.01.2024 15:45.20.154] [INFO]  updatenotification: Checking PM2 using...
                    [17.01.2024 15:45.20.179] [INFO]  Checking git for module: MagicMirror
                    [17.01.2024 15:45.22.848] [INFO]  Calendar-Fetcher: Broadcasting 11 events from https://ics.calendarlabs.co7/US_Holidays.ics.
                    [17.01.2024 15:45.28.343] [INFO]  Newsfeed-Fetcher: Broadcasting 29 items.
                    [17.01.2024 15:45.30.251] [INFO]  updatenotification: You are using pm2 with MagicMirror
                    [17.01.2024 15:50.28.992] [INFO]  Newsfeed-Fetcher: Broadcasting 29 items.
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Todt40
                      last edited by

                      @Todt40 ok… its still a noise message… ignore it

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @Todt40
                        last edited by

                        @Todt40 yes, its a bug in the npm executable… nothing we can do about it

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        karsten13K 1 Reply Last reply Reply Quote 0
                        • karsten13K Offline
                          karsten13 @sdetweil
                          last edited by

                          @sdetweil

                          I found nothing how to get rid of this messages, I think its electron/chromium related and I’m getting these errors too, not always when starting but a few minutes later.

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @karsten13
                            last edited by

                            @karsten13 yes, I think this is another environmental expectation bug in electron… they expect the vulcan display drivers…

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            mumblebajM 1 Reply Last reply Reply Quote 0
                            • mumblebajM Offline
                              mumblebaj Module Developer @sdetweil
                              last edited by

                              @sdetweil Just out of interest, this is the error I see on Ubuntu running on my Windows machine.

                              50c42f32-3b2b-4a8a-8e19-4b92adbe430f-image.png

                              This is complaining about a version of vulkan. Different from what I see on my Raspi.

                              Check out my modules at: https://github.com/mumblebaj?tab=repositories
                              Check my blog-post: https://mumblebaj.xyz/
                              Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                              S 1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @mumblebaj
                                last edited by

                                @mumblebaj yes it’s a garbage error. they expect the Vulcan drivers but continue on…

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 1 / 1
                                • First post
                                  Last post
                                Enjoying MagicMirror? Please consider a donation!
                                MagicMirror created by Michael Teeuw.
                                Forum managed by Sam, technical setup by Karsten.
                                This forum is using NodeBB as its core | Contributors
                                Contact | Privacy Policy