EmuNewz Network

Full Version: 16 bit color depth bug with NVIDIA card
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
My friend gdmk tell me something wrong with GVG NEXT PLUS
This game is use 32 bit color depth, but jpcsp use 16bit color depth.
This bug just found in NVIDIA card
jpcsp 16 bit color depth
[attachment=15440]

PPSSPP use 32 bit color depth
[attachment=15441]

Kingdom Hearts Birth by Sleep Final Mix which game allow you choose 16 bit color depth or 32 bit color depth

16 bit color depth
[attachment=15442]

[attachment=15443]

32 bit color depth, true color
[attachment=15444]

[attachment=15445]

so gdmk suggest jpcsp use 32 bit color depth defualt also.

btw PPSPP run Kingdom Hearts Birth by Sleep Final Mix so good ,and the Texture Scaling , xBRZ is beautiful.
find A XBRZ filter plugin for JPCSP. code https://github.com/shenweip/XBRZ4JPCSP
(01-17-2014, 11:29 AM)onelight Wrote: [ -> ]find A XBRZ filter plugin for JPCSP. code https://github.com/shenweip/XBRZ4JPCSP

This is really interesting. Do you think the author would mind if I added support for this plugin in JPCSP?
I could adapt the code and implement xBRZ in Java, but I think it would be nice to use this feature as a plugin.
(01-17-2014, 03:52 PM)Hykem Wrote: [ -> ]
(01-17-2014, 11:29 AM)onelight Wrote: [ -> ]find A XBRZ filter plugin for JPCSP. code https://github.com/shenweip/XBRZ4JPCSP

This is really interesting. Do you think the author would mind if I added support for this plugin in JPCSP?
I could adapt the code and implement xBRZ in Java, but I think it would be nice to use this feature as a plugin.

I think it is ok, you can added support for this plugin in JPCSP. But this plugin is Experimental, you need update it and fix some bug. You should also fix some bug in GVG next plus and Kingdom Hearts Birth by Sleep Final Mix.
(01-18-2014, 08:29 AM)onelight Wrote: [ -> ]
(01-17-2014, 03:52 PM)Hykem Wrote: [ -> ]
(01-17-2014, 11:29 AM)onelight Wrote: [ -> ]find A XBRZ filter plugin for JPCSP. code https://github.com/shenweip/XBRZ4JPCSP

This is really interesting. Do you think the author would mind if I added support for this plugin in JPCSP?
I could adapt the code and implement xBRZ in Java, but I think it would be nice to use this feature as a plugin.

I think it is ok, you can added support for this plugin in JPCSP. But this plugin is Experimental, you need update it and fix some bug. You should also fix some bug in GVG next plus and Kingdom Hearts Birth by Sleep Final Mix.

I've added experimental support for XBRZ4JPCSP plugin in r3438. This will also be used for any other plugins we might develop or receive.
All that's needed is to copy the .dll inside the new plugins folder and paste it into the lib/[OS ARCHITECTURE] folder (same place as xuggler's .dll file).

As for the color issue, I'm still looking into it. Are there any settings that fix this? For example, does saving GE to textures also uses 16-bit or it gets translated to 32-bit? Thanks!
(01-18-2014, 05:58 PM)Hykem Wrote: [ -> ]
(01-18-2014, 08:29 AM)onelight Wrote: [ -> ]
(01-17-2014, 03:52 PM)Hykem Wrote: [ -> ]
(01-17-2014, 11:29 AM)onelight Wrote: [ -> ]find A XBRZ filter plugin for JPCSP. code https://github.com/shenweip/XBRZ4JPCSP

This is really interesting. Do you think the author would mind if I added support for this plugin in JPCSP?
I could adapt the code and implement xBRZ in Java, but I think it would be nice to use this feature as a plugin.

I think it is ok, you can added support for this plugin in JPCSP. But this plugin is Experimental, you need update it and fix some bug. You should also fix some bug in GVG next plus and Kingdom Hearts Birth by Sleep Final Mix.

I've added experimental support for XBRZ4JPCSP plugin in r3438. This will also be used for any other plugins we might develop or receive.
All that's needed is to copy the .dll inside the new plugins folder and paste it into the lib/[OS ARCHITECTURE] folder (same place as xuggler's .dll file).

As for the color issue, I'm still looking into it. Are there any settings that fix this? For example, does saving GE to textures also uses 16-bit or it gets translated to 32-bit? Thanks!

As for the color issue
Use only GE graphics (32-bit but blinks)
[attachment=15511] [attachment=15512]

Enable saving GE to textures

[attachment=15513] [attachment=15514]

XBRZ4JPCSP plugin not work

JPCSP
[attachment=15515] [attachment=15516] [attachment=15519]

PPSSPP
[attachment=15517] [attachment=15518] [attachment=15520]

And shenweip want to tell you, some bug need fix
https://github.com/hrydgard/ppsspp/issues/4408
https://github.com/hrydgard/ppsspp/commi...e0921613e9

@shenweip @gid15
may be the light and shadow is the big problem which jpcsp need fix
JPCSP
[attachment=15521] [attachment=15522] [attachment=15523]

JPCSP (save stencil to Memory)
[attachment=15524] [attachment=15526] [attachment=15525]

PPSSPP (Buffered rendering)

[attachment=15527] [attachment=15528] [attachment=15529]
(01-17-2014, 03:52 PM)Hykem Wrote: [ -> ]
(01-17-2014, 11:29 AM)onelight Wrote: [ -> ]find A XBRZ filter plugin for JPCSP. code https://github.com/shenweip/XBRZ4JPCSP

This is really interesting. Do you think the author would mind if I added support for this plugin in JPCSP?
I could adapt the code and implement xBRZ in Java, but I think it would be nice to use this feature as a plugin.
XBRZ in java !? I don't dare to think it may run fast this way.
(01-19-2014, 10:18 PM)hlide Wrote: [ -> ]
(01-17-2014, 03:52 PM)Hykem Wrote: [ -> ]
(01-17-2014, 11:29 AM)onelight Wrote: [ -> ]find A XBRZ filter plugin for JPCSP. code https://github.com/shenweip/XBRZ4JPCSP

This is really interesting. Do you think the author would mind if I added support for this plugin in JPCSP?
I could adapt the code and implement xBRZ in Java, but I think it would be nice to use this feature as a plugin.
XBRZ in java !? I don't dare to think it may run fast this way.

Hehe, indeed. A lot of the texture scaling and filtering algorithms are too demanding for Java. This plugin approach gives much better results.

@onelight: Sorry, I forgot to mention the plugin is still disabled (internally), since I was still researching some graphical issues.

Also, I've found out what's going on with the 16-bit color depth, but I need to discuss it with gid first before making any changes.
Turns out we're correctly handling the textures in 32-bit format (internal format), but in the final frame buffer update (line 309 in sceDisplay) the sub texture being set (setTexSubImage at line 1698) is 16-bit (in Kingdom Hearts case).
In fact, if you comment out that portion of code you can see that the underlying texture is indeed 32-bit. While glTexImage2D uses an internal format (defined by us to be 32-bit), glTexSubImage2D doesn't and relies on the pixel format we are passing.
xBRZ plugin has been enabled in r3440. The instructions are in the included README file. Smile
xBRZ now work,
[attachment=15571]

but you must enable xBRZ before you load UMD, or xBRZ not work, and every will be crush
[attachment=15572]

If you disbale xBRZ after you enabe xBRZ and run jpcsp, xBRZ still work

it is slow when CG video is play,
[attachment=15573]
I thik use xBRZ in CG video is wrong, xBRZ should just use in subtitle
Pages: 1 2