Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Direct3D9 support
09-09-2014, 09:46 AM (This post was last modified: 09-09-2014 09:47 AM by Henrik.)
Post: #1
Direct3D9 support
Those of you who can't use OpenGL 2.0 on your ancient PCs can now try the D3D9 backend, on the latest Windows builds:

* Open Memstick/PSP/SYSTEM/ppsspp.ini
* Under [Graphics], change the setting GPUBackend to 1.

On startup, PPSSPP should now show "Direct3D9" at the bottom instead of OpenGL.

The Direct3D backend is still very immature but some games are now quite playable, it's pretty similar to how the OpenGL backend worked a year ago.

It's not time to file issue reports yet but it would be interesting to hear how well it runs on various low end machines.


Later, we will also add a D3D11 backend which will allow porting to Windows Phone. However it's hard to say if we are going to get good enough performance without a JIT, as JITs are still not allowed on Windows Phone.
Find all posts by this user
Quote this message in a reply
09-09-2014, 07:27 PM (This post was last modified: 09-10-2014 07:55 PM by vitality19.)
Post: #2
RE: Direct3D9 support
Thanks very much for the D3D support. It seems that pixel/vertex shaders 2.0 are required.
I wish Android phones had D3D.

Samsung Captivate, Android 2.3.5 SAUROM, Corn Kernel v701
Fly Evo Chic 3, Android 4.4.2 Stock, improved stock kernel
Find all posts by this user
Quote this message in a reply
09-09-2014, 11:09 PM
Post: #3
RE: Direct3D9 support
With the added D3D support, would the emulator now be compatible with Texmod? I've been hoping for a work around to be able edit in game graphics. Would this be it?
Find all posts by this user
Quote this message in a reply
09-10-2014, 01:18 AM
Post: #4
RE: Direct3D9 support
i have different problem here,well the 3d games really work for my netbook but only when vertex cache is disable,for my laptop it doesn't need to disable vertex cache and the game run likewise,well disabling vertex cache for my netbook reduce the vps down and have to use frameskip to get playable state,is there are different between those my netbook and laptop?uh also god eater 2 work for my netbook but not on my laptop,is there something wrong with the d3d thing,somehow i noticed when the god eater 2 first 3d cutscenes there are error like ''harware transform error,falling to sofware'' for my netbook,on my laptop the game crash when the first cutscenes want to show up.also i think heavy games like god of war,tekken 6,juiced2 just got some vps up eventhough 3d still halfly broken,any solution?

my sub weapon:
xperia mini hd
1ghz scorpion
single core
not clocked

my ultimate weapon
acer(laptop)
2.2ghz ?core
intel media accelarator 3000

i'm a tester,but not as good as other,please be kind with me,haha.
Visit this user's website Find all posts by this user
Quote this message in a reply
09-10-2014, 01:57 AM (This post was last modified: 09-10-2014 02:05 AM by GuilhermeGS2.)
Post: #5
RE: Direct3D9 support
Here are some issues with different settings combinations:

[Image: 6p2efc.png]

Hardware Transformation - On
Software Skinning - On
Vertex Cache - On

[Image: 2bxk0p.png]

Hardware Transformation - On
Software Skinning - On
Vertex Cache - Off

[Image: 23t4fn7.png]

Hardware Transformation - On
Software Skinning - Off
Vertex Cache - Off



[Image: 25ztr0h.jpg]

Hardware Transformation - Off
Software Skinning - Off
Vertex Cache - Off

[Image: 2q207ia.png]

[Image: 2m2gpz5.png]

Hardware Transformation - Off
Software Skinning - On
Vertex Cache - Off

The most games are playable if you use the correct setting combination. But there are some issues, though.

Phone: Xiaomi Redmi Note 6 Pro

PC: Intel Core i5 3470 3.2GHz/8GB DDR3 1600MHz/NVIDIA GTX 660 2GB GDDR5 192-bit/Windows 10 Pro x64
Find all posts by this user
Quote this message in a reply
09-13-2014, 03:40 PM (This post was last modified: 09-13-2014 03:42 PM by vitality19.)
Post: #6
RE: Direct3D9 support
the latest build (370) should fix many games, tekken 5 for example - previously it was a mess of textures and polygons, as always good work

Samsung Captivate, Android 2.3.5 SAUROM, Corn Kernel v701
Fly Evo Chic 3, Android 4.4.2 Stock, improved stock kernel
Find all posts by this user
Quote this message in a reply
09-13-2014, 04:51 PM (This post was last modified: 09-13-2014 05:04 PM by cybercjt.)
Post: #7
RE: Direct3D9 support
Tested some games :3 PPSSPP build v0.9.9.1-372-g7dcb847

*Hardware Transform unchecked*

The FPS of a specific game will be sometimes 50% (60 to 30 FPS and 30 to 15 FPS) probably because the DX9 backend is just new and needs more fixing but yea 100% emulation speed

Some games have buggy texts but the graphics are fine vise versa.

Some are fine on both and others are still buggy Smile

Good job and salute to the devs because of fast development of this wonderful Emulator Smile


Attached File(s) Thumbnail(s)
                       

Chill and Go with the flow ~d[o_o]b~

==| Casey |==

My Youtube Channel: https://www.youtube.com/user/SuperHack333/videos

Specs:
Model: Toshiba Satellite M840
CPU: Intel Core i5 3210m (2.5Ghz Turbo Boosted to 3.1Ghz)
GPU: AMD Radeon HD 7670m 1GB DDR3
OS: Windows 10 Home 64 bit
Ram: 4GB DDR3
Find all posts by this user
Quote this message in a reply
09-16-2014, 12:32 AM
Post: #8
RE: Direct3D9 support
Again, is there anyway to make this version compatible with Texmod? Is it even possible? Are specific dlls required in the D3D directory? Some insight would be appreciated. Henrik could you chime in?
Find all posts by this user
Quote this message in a reply
09-16-2014, 06:27 AM
Post: #9
RE: Direct3D9 support
You mean this? https://code.google.com/p/texmod/

I don't know why it wouldn't be compatible, but the best solution would be for us to integrate texture replacement in the emulator like Dolphin does. This is planned, we'll see when I get to it..
Find all posts by this user
Quote this message in a reply
09-16-2014, 08:14 AM (This post was last modified: 09-16-2014 09:01 AM by Adhenovan.)
Post: #10
RE: Direct3D9 support
here is some bug remains Henrik with software skinning on , graphical glitch

latest revision v0.9.9.1-458-g94c865b

MHFU
   
Mhp3rd
   

and this one another test with system info (intel old vga)
http://forums.ppsspp.org/showthread.php?...9#pid94269

-edit-

random slowdown , and the log is flooded with this one both mhfu and mhp3rd
   

Experimenting with adhoc over internet system through Amultios custom ppsspp fork, find me in game

Monster Hunter Freedom : Lucis
Monster Hunter Freedom Unite : Lucis
Monster Hunter Portable 3rd: Lucis
Find all posts by this user
Quote this message in a reply
09-18-2014, 12:32 PM
Post: #11
RE: Direct3D9 support
Some of those problems should be fixed now, can you try again? Also, try both with and without "Hardware Transform" and "Software Skinning" enabled.
Find all posts by this user
Quote this message in a reply
09-18-2014, 01:20 PM
Post: #12
RE: Direct3D9 support
That random slowdown may be improved when this is merged:
https://github.com/hrydgard/ppsspp/pull/6917

Although with software skinning on it shouldn't be hit as often.

-[Unknown]
Find all posts by this user
Quote this message in a reply
09-18-2014, 06:54 PM
Post: #13
RE: Direct3D9 support
yeah i can try it again , i will be happy to help

here is the test revision v0.9.9.1-478-g23ade61

this glitch only occured if i changed the setting after the game run
MHFU
Hardware Transform on , software skinning on , disable vertex cache after the game run
   

Hardware Transform on , disable or enable software skinning after the game run , vertex cache off
   

Hardware Transform off , software skinning off , vertex cache off
   
correct graphic changed the setting after the game run

all above options displaying correct graphic after resetting ppsspp
mhfu run full speed with or without software skinning (Good work Big Grin)

Mhp3rd HD test
Hardware Transform on , disable or enable software skinning after the game run , vertex cache on
   

Hardware Transform on , software skinning on , vertex cache on
   
its stable but cant reach full speed this game is not happy with software skinning on

Hardware Transform on , software skinning off, vertex cache on and restarting ppsspp
   
almost full speed and the random slowdown is gone with software skinning off

i think this ancient laptop cant keep up with mhp3rd HD game, its run full speed on quest but not in town with software skinning off , as always good improvement Big Grin

which is better for ppsspp x86 or x64 ? because i can install windows 8 64bit on this ancient laptop , and let me know again if new d3d9 commit is merged i will test it again , good luck with the work ^^

Experimenting with adhoc over internet system through Amultios custom ppsspp fork, find me in game

Monster Hunter Freedom : Lucis
Monster Hunter Freedom Unite : Lucis
Monster Hunter Portable 3rd: Lucis
Find all posts by this user
Quote this message in a reply
09-18-2014, 11:56 PM
Post: #14
RE: Direct3D9 support
Henrik, texture replacement integration would be amazing. And I'm glad to hear that you plan on implementing this feature. An entire neglected gengre (American Football on the PC) of gamers will thank you.

In the meantime, is there anyway to get Texmod or similar program to work with the D3D9 version of the emu? I tried it with Texmod and I keep getting a "D'Oh" error. Maybe something needs to be modified. Could you please take a look?
Find all posts by this user
Quote this message in a reply
09-19-2014, 03:10 AM
Post: #15
RE: Direct3D9 support
First i'd like to say thank you for the Direct3D9 backend, and it was awesome.

I know that the Direct3D9 was still under development, but i just want to ask is there anyone who notice there was bug on game Kamen Rider Chou Climax Heroes ?

Whenever i use special hit which there was some effect, the game speed always became very slow, sometime the game freeze for a moment, and the game will give some flashy thing. It only appears when backend using Direct3D9

   

And here is my system info
       
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: