Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use null backend?
08-17-2017, 06:00 PM (This post was last modified: 08-17-2017 06:25 PM by GuilhermeGS2.)
Post: #1
How to use null backend?
My laptop has a Intel HD Graphics 3000 iGPU which has crappy drivers with any backend, the better performance is with Direct3D9 (faster than Direct3D11 here), but I still think it slow for my i7 2630QM (running on lowest resolution to avoid GPU bottleneck). Running Dolphin and PCSX2 with null backend I got up to 20 FPS more. Is there any way to try it on PPSSPP? I just want to make sure that this CPU range is enough to run PPSSPP at full speed with a decent GPU.

EDIT: I noticed that the PPSSPP codes has nothing related to null backend, then I think this would need to be implemented, right?

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
Quote this message in a reply
08-18-2017, 01:32 PM
Post: #2
RE: How to use null backend?
Ummm.... Thats not how any of this works. Null is null. As in, its 0. No backend. There is 100% certainty that you are NOT running null backend. Unless you like to play your games without video.

Everything is Hitsuzen!
Find all posts by this user
Quote this message in a reply
08-18-2017, 02:52 PM
Post: #3
RE: How to use null backend?
(08-18-2017 01:32 PM)Asferot Wrote:  Ummm.... Thats not how any of this works. Null is null. As in, its 0. No backend. There is 100% certainty that you are NOT running null backend. Unless you like to play your games without video.

I checked Dolphin codes, they have a library for null just like they have for OpenGL, DirectX, Vulkan etc. To create a null backend is needed to make everything else work unless video output, if just set a nonexistent backend probably you'll get an error.

Null backend is used for testers or even devs who want to test the CPU power, as it doesn't depend on any graphic API, there's no bottleneck or something like this.

Remember that "0" means OpenGL backend on PPSSPP.

Code:
(...)
enum class GPUBackend {
    OPENGL = 0,
    DIRECT3D9 = 1,
    DIRECT3D11 = 2,
    VULKAN = 3,
};
(...)

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
Quote this message in a reply
08-18-2017, 03:04 PM
Post: #4
RE: How to use null backend?
An easier and more accurate solution would be to use afterburner (or other monitoring program) set it to monitor usage across each CPU core and the GPU core. I would also monitor things like heat and VRAM usage in your case just to check for other issues.
Find all posts by this user
Quote this message in a reply
08-18-2017, 04:17 PM
Post: #5
RE: How to use null backend?
(08-18-2017 03:04 PM)TkSilver Wrote:  An easier and more accurate solution would be to use afterburner (or other monitoring program) set it to monitor usage across each CPU core and the GPU core. I would also monitor things like heat and VRAM usage in your case just to check for other issues.

I know MSI afterburner, but it doesn't work well with crappy Intel iGPUs, it caps the performance. When I use the monitor everything runs below 30 FPS here.

I can't conclude my CPU can run or not run the emulator by CPU usage, emulators have different ways to use the CPU resourses, the CPU performance also depends on the GPU backend.

Phones: Poco F3 8GB/256GB (Snapdragon 870 5G) and Redmi Note 6 Pro 4/64GB (Snapdragon 636)

PC: AMD Ryzen 5 3600 / 16GB RAM DDR4 3600MHz / NVIDIA GTX 1660 Ti 6GB / Windows 10 Pro
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: