Git Product home page Git Product logo

Comments (16)

johnlindquist avatar johnlindquist commented on August 17, 2024 1

Apologies I haven't been helpful here.

I'm making sure the next build allows you to toggle every possible setting so we can narrow this down further. That @nut-tree package being deleted + work/travel halted progress for a bit, but I'm hoping to have a much more customizable build by the end of the month.

from kit.

johnlindquist avatar johnlindquist commented on August 17, 2024 1

@LatentArchitect I'm pushing hard to get v3 out which will have way more tweakable settings to debug issues like these. I'm even trying to figure out a "debug perf" mode where it would automatically turn off settings and watch cpu/gpu until it figures out what the root cause is.

I'm hoping to have it out by the end of June.

from kit.

LatentArchitect avatar LatentArchitect commented on August 17, 2024 1

Oh ok! Well hell yeah! Well I look forward to the update and I seriously appreciate all the effort and dedication!

And thanks for replying so quickly!

Love this app and community so far! 🤘

from kit.

johnlindquist avatar johnlindquist commented on August 17, 2024

Hey Chris,

Try quitting Kit, then open ~/.kit/db/app.json and toggle disableGpu: true, then open Kit again.

I haven't been able to reproduce, but others have reported that this fixes it

from kit.

panzerchris avatar panzerchris commented on August 17, 2024

Weirdly that does not fix it for me:

{
  "version": "0.0.0",
  "openAtLogin": true,
  "previewScripts": true,
  "autoUpdate": true,
  "tray": true,
  "authorized": false,
  "searchDebounce": true,
  "termFont": "monospace",
  "convertKeymap": true,
  "cachePrompt": true,
  "mini": false,
  "disableGpu": true,
  "disableBlurEffect": false
}

Appreciate this is probably not an easy one to debug or replicate given the Nvidia drivers also seem to be at play here. I have the latest version of those installed. If I find a bit more time I'll pull down the source and dig around. Really love ScriptKit, use it on my MacBook and figured why not have it on all my machines?!😄

from kit.

johnlindquist avatar johnlindquist commented on August 17, 2024

Thanks, I'd be super grateful for any info you come across.

from kit.

patrikzudel avatar patrikzudel commented on August 17, 2024

I've been having the same issue for a long time (My guess is from the release of 2.3.0), forced me to stop using kit.
disableGpu: true didn't help.
Funnily enough, I have the exact same processor.

Specs:
Ryzen 5 5600X
64GB DDR4 RAM
RTX 3080 (Driver version - 551.86)
ScriptKit: 2.3.0

image

from kit.

JosXa avatar JosXa commented on August 17, 2024

No issues on my AMD card

from kit.

panzerchris avatar panzerchris commented on August 17, 2024

I've been having the same issue for a long time (My guess is from the release of 2.3.0), forced me to stop using kit. disableGpu: true didn't help. Funnily enough, I have the exact same processor.

Specs: Ryzen 5 5600X 64GB DDR4 RAM RTX 3080 (Driver version - 551.86) ScriptKit: 2.3.0

image

We also have the same GPU. I also have a 3080. I wasn't yet able to get this building on Windows but plan to take a second look at the weekend if I can.

from kit.

LatentArchitect avatar LatentArchitect commented on August 17, 2024

I also have this same issue and I ALSO have the same CPU (AMD Ryzen 5600X).
I did try "disableGpu": true, but it didn't make a difference for me either.
I only have a 1080Ti in my machine but my GPU is completely unaffected, it's just my CPU sitting at a constant 15% usage from Kit.

I am not super well versed in programming (kit is something I am hoping to use as a tool to learn, actually). But if you guys have any recommendations or instructions, I am definitely hoping to assist and/or provide whatever I can.

Love Script Kit and honestly still gonna continue to use it even if it puts my CPU 10°C higher idle temp lol.

from kit.

panzerchris avatar panzerchris commented on August 17, 2024

Thanks for reporting more hardware configurations! Starting to think the common denominator is Nvidia after looking at Process Monitor. The high CPU thread is related to the Nvidia driver but I've no idea why that's the case.

I have been wanting to dig into this further but haven't had much time. I was also struggling to build kitapp locally. Unfortunately @nut-tree/* packages are no longer on npm. However, I nearly managed to get a complete build over the weekend so I hope to see if I can narrow this down.

from kit.

panzerchris avatar panzerchris commented on August 17, 2024

In what is probably the least scientific method ever, I renamed 'Kit.exe' to 'Kit2.exe' in the folder C:\Users\<Username>\AppData\Local\Programs\kit and the high idle CPU goes away. Everything still works much the same, except the process ends up appearing as electron.exe rather than Kit.exe. Why this helps I'm not sure - it doesn't make a lot of sense to me at this point.

from kit.

johnlindquist avatar johnlindquist commented on August 17, 2024

It's probably too late to tell, but does the kit.log look any different when you launch the renamed version?

from kit.

panzerchris avatar panzerchris commented on August 17, 2024

logs.zip. I did this multiple just to be sure I'm not imagining things. Here's logs from two runs of Kit.exe vs Kit2.exe. Logs don't indicate much different from what I can tell though. I'd say it looks pretty similar both times.

from kit.

LatentArchitect avatar LatentArchitect commented on August 17, 2024

Are there any updates on this by chance? I have been working with more intensive applications as of the last month and in order to keep my CPU from blasting off to 85-90 degrees, I can't use script kit :/

I can provide whatever you might need for reference (though I might need a link to instructions or guides for anything in depth)

from kit.

Robot1me avatar Robot1me commented on August 17, 2024

Hi, I'm not using this software, but like to provide some context since this is the top Google result for this problem. I noticed this CPU usage issue with NvMessageBus myself, and it can be linked to the Nvidia Display Container LS service (name is NVDisplay.ContainerLocalSystem). On an old system of mine, I had to make sure that Nvidia's container service does always run, otherwise it can happen. Strangely enough though, even the reverse can be the case. For example, on my new computer when I run a game inside Sandboxie, games will also have this NvMessageBus.dll inside their processes and fully utilizing a single core for nothing. When I turned off the Nvidia container service, games inside Sandboxie then didn't suffer from this CPU usage bug.

So my suggestion: Try to check if enabling and disabling the service makes a difference after restarting the application. For testing it's enough when you open "services.msc" from the start menu, and rightclick the service to either start or stop it.

from kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.