Questions tagged [cpu]
The cpu tag has no summary.
15 questions
1
vote
0
answers
27
views
How can I fix this display error with my custom DCPU-16 for Unity?
I’m trying to recreate the DCPU-16 for Unity that has a console and can render the output to a TMPro text on a canvas. What the code should do is display A B C onto the TMPro text, but nothing appears....
0
votes
0
answers
53
views
Balance load between CPU and GPU [duplicate]
I am making a game with Unreal Engine 5, but it takes more GPU power and the CPU is used much less.
I want to optimize it to use both CPU and GPU so it can be playable on low-end PCs or laptops. Is ...
0
votes
1
answer
988
views
Use of CPU vs. GPU on mobile devices
I was always told that if a task can be parrarelized, I should put it on the GPU for better performance. Although this is defenetly true for computer GPUs, I was wondering if the mobile GPUs were so ...
1
vote
1
answer
1k
views
Map() fails when reading back GPU Texture
I need to read back a GPU texture (stored in the GPU as D3D11_USAGE_DEFAULT). I am doing this via creating a staging ID3D11Texture. The whole application is running ...
37
votes
3
answers
9k
views
Why do engines need to be optimized for new processors of the same architecture?
When a new processor generation is released, most websites report that game engines and programs need to be optimized for the new hardware. I do not quite understand why. A processor usually has an ...
0
votes
2
answers
8k
views
90% CPU on Profile Editor: Throttle mainMessageLoop
I have a big problem in my Unity game, in almost every scène of my game, my editor is laggy, when I record Porfile Editor / deep profile editor, here is the result:
I have no idea what is this ...
0
votes
1
answer
1k
views
Why this simple SFML app produce such high CPU usage?
I written the following SFML.NET app.
It draw a single 128x128 sprite on the screen.
...
5
votes
2
answers
1k
views
Should I care about CPU affinity of threads?
I am currently developing a rendering engine, which I plan to use for creating games. The engine makes heavy use of multithreading; I have a thread for OpenGL rendering, a thread for updating, a ...
0
votes
0
answers
994
views
Unity / Box2D / Raycasting and Performance
Im currently using the Unity Engine and the Box2D Physics Engine.
I have this line of code:
...
4
votes
4
answers
441
views
Data flow with PhysX on a dedicated GPU
If there are 2 GPUs in a PC, one processing only graphics and the other dedicated to PhysX, what is the flow of the physics-related data?
Let's say we're simulating an explosion and the PhysX ...
3
votes
1
answer
8k
views
ARMv7 vs FAT in Unity Android Build Settings (release multiple valid APKs)
If I select ARMv7 instead of FAT (ARMv7+x86) in the Android Build Settings of Unity5-Free, the APK binary drops to half size.
FAT => ~20MB
ARM => ~10MB
(...
24
votes
3
answers
10k
views
Is it normal for a game to use 100% CPU?
I just implemented multi-threaded input handling in my game engine where the code that polls the OS to gather input from it and time stamps them is in a separate thread and each frame in the main ...
4
votes
1
answer
4k
views
CPU Usage and Available Ram in Unity 5
In Unity 5 I would like to be able to print out the CPU Usage and Available Ram left in MB. I followed the code posted on http://zamov.online.fr/EXHTML/CSharp/CSharp_927308.html and used it, however ...
0
votes
1
answer
209
views
What type of loop code on game engines? [duplicate]
Recently I worked on a game on Spritekit Engine. My question is not about spritekit, but generaly about game engines.
When I write a loop code and run it (eg while i< 100000) my CPU usage goes to ...
0
votes
1
answer
410
views
TTF fonts are being converted to image in CPU or GPU?
Once I use a TTF font, when they are being converted to images to be rendered? Does CPU or GPU do the conversion? How heavy is that operation?