I have an electron app that renders to a 1280x720 canvas and is using requestAnimationFrame. The app works perfectly on my machine running, 16GB ram, i7, x64, with a GTX 1080 GPU. When I run the same app on other computers it runs extremely slow. I have tried a surface go, but also my friends computer who is running much new and better hardware than mine and it still runs at a potatoes rate. Any idea what could cause this discrepancy?
I have tried using setInterval to see if there was a difference and there was a minimal difference but the app is still unplayable. I also tried to combine all my modules into a singleton as per their advice and I noticed a slight increase.
Related
I want to ask a semi-theoretical question.
I'm using a Docker image which utilizing Nvidia-container-runtime to communicate with the GPU on my machine.
The Docker image purpose is to run an application which involves presentation of images (photos) at high rate (1 Hz - 10 Hz) (Gui application). However, as we noticed, there are some delays on the presentation rates in contrast to running the same application on bare OS (without the overhead of Docker container). Does anyone encountered this issue? Is this issue can be resolved somehow? As a note, the display rate should be as exact as possible, meaning we can't allow delays of more than 10 ms.
Im developing an uwp app on Raspberry Pi 3 with Windows IOT Core. But after I deploy my app and use it for couple days the os crashes. It says something went wrong. It says "Your pc ran into a problem and needs to restart". It restarts couple times but still same error on every boot.
I tried to remove the sd card(Class 10,64 GB) format it and reinstall everything. At first it was okay but after some time same error appears.
I tried to use different os builds and it didnt work.
I tried to use industrial power supply (5V3A) and also it didnt work.
My SD Card is not one of the recommended ones but do I really have to get the recommended sd cards to use the windows iot core properly?
"Your PC ran into a problem and needs to restart" is a typical blue screen message seen on Windows systems from the last few years - laptops and desktops with far larger hard drives and no SD card. The error is not associated with a RAM or disk space shortage (operating systems running in graphical mode usually monitor and actively warn about either). In your case, it is showing at startup, when not much is running (taking up RAM), and you can check the amount of space used on the card with the PC.
The key stats for SD cards are size (you have plenty) and speed (clearly enough or you would have trouble installing/running anything after starting the Pi). The cause is something else, and finding out what will require getting a more detailed error message from Windows - "a problem" could mean anything. In my experience, blue screen errors have mostly involved having a wrong driver installed, sometimes a bad Windows update - but IoT Core has its own alternatives, like "bad system configuration". Look for the underscored string (e.g., BAD_SYSTEM_CONFIG_INFO) at the end of your blue screen message, as that is the first hint.
Unfortunately, most Windows BSoD documentation is for traditional PCs, so I cannot recommend specific troubleshooting tools and be sure that they will run on the Pi.
You can use Windows Debugger to debug the kernel and drivers on Windows IoT Core. WinDbg is a very powerful debugger that most Windows developers are familiar with. Or you can also refer to this topic in MSDN, it shows how to create the dump file when the app crashes. If possible, you can share your code so that we can reproduce the issue.
I have developed a windows desktop application using kivy framework. Running standalone on a windows10 desktop the overall performance is OK. However, running the same app in a VMWare VDI Client the graphical performance is very bad. The resources assigned to the GPU are limited as you can see in the attached report.
Would it be possible to disable the GPU and to render the graphics in CPU? And if so, how to?
Thanks in advance for your help.
I have recently came across an adaptor that would allow me to use laptop memory on my desktop. See item below:
http://www.amazon.co.uk/Laptop-Desktop-Adapter-Connector-Converter/dp/B009N7XX4Q/ref=sr_1_1?ie=UTF8&qid=1382361582&sr=8-1&keywords=Laptop+to+desktop+memory
Both the desktop and the laptop use DDR3.
My question is, are this adapters reliable?
I have 8 GB available and I was wondering if they could be put to use in my gaming rig.
The desktop is an i7 machine generally used for gaming and some basic development.
The adapter should be reliable based on how it looks. There is not much to it only that it extends the "mini" RAM block to a bigger one. You can make the analog with A-B USB cables.
What you should also consider is if both RAM devices use the same frequency and possible heat issues as you will have to cool down the laptop memory more that if it was desktop size. This is because a lot of current goes trough smaller size compared to the desktop based RAM blocks. Then again you have the extension board to handle and disperse some of the heat so if you are not having some really extensive RAM operations you should be fine but you should check what is the working frequency on both of them. For example if the laptop one is faster than the maximum one your computer can support then you won't get that faster performance and the RAM block will work with the frequency of the system bus but if it is slower then the system bus will work on that frequency.
Use standard things on this module as reference to calculate the width. Measure it on image and scale to a reference item and check on your system. Use contacts or the lock in grooves to do the scaling since they are of standard dimensions on all modules. Or the module length...
I upgraded to the latest Dart Editor (28355) both on Win7-32 and Win8-64 today. On Win7 it appears to run extremely slowly, on Win8 it is fine. Running both the Dart-Editor and the browser concurrently on Win7 I found unworkable. With just the dart-Editor running, it was still very slow to respond to input, but much better (4 v 25 seconds). I did reboot a couple of times in desperation. The Win7 machine is an older dual-core pentium with 4gb Ram running at about 2ghz (I'm on Win8 now). Previously I've had no major problems with the Dart-Editor on Win7 over a period of 6-months or more.
Is this a known problem with 28355?
Do you have a lot of folders in the 'Files' tab?
I find reducing the number of folders or right-clicking and selecting 'Don't Analyse' on some folders helps performance.
I have not experienced anything as dramatically slow as you have reported though.
I've found that 28355 uses much more RAM than before (about 1GB total now, for me). If you have a browser running and a couple of other programs, 4GB will be used up pretty fast and cause slowdowns. I'm not sure about the difference with Windows 8, perhaps it has better memory efficiency.