This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
16 bit color depth bug with NVIDIA card
#1
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
   

PPSSPP use 32 bit color depth
   

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
   

   

32 bit color depth, true color
   

   

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.


Attached Files Thumbnail(s)
   
Reply
#2
find A XBRZ filter plugin for JPCSP. code https://github.com/shenweip/XBRZ4JPCSP
Reply
#3
(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.
Reply
#4
(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.
Reply
#5
(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!
Reply
#6
(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)
       

Enable saving GE to textures

       

XBRZ4JPCSP plugin not work

JPCSP
           

PPSSPP
           

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
           

JPCSP (save stencil to Memory)
           

PPSSPP (Buffered rendering)

           
Reply
#7
(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.
Reply
#8
(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.
Reply
#9
xBRZ plugin has been enabled in r3440. The instructions are in the included README file. Smile
Reply
#10
xBRZ now work,
   

but you must enable xBRZ before you load UMD, or xBRZ not work, and every will be crush
   

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

it is slow when CG video is play,
   
I thik use xBRZ in CG video is wrong, xBRZ should just use in subtitle
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)