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
Display on Intel onboard graphics card
#1
(12-14-2012, 10:59 AM)gid15 Wrote: It would be good to open a new thread for this topic. This is a good idea to use 3DStudio for testing.
Could you try the following tests:
- Select "disable optimized VertexInfo reading": any changes?
- in jpcsp.graphics.RE.RenderingEngineFactor, delete/uncomment the line 74:
Code:
// re = new StateProxy(re);

Log 4 is with +"Disable optimized VertexInfo", no changes
Log 5 is without line 74, settings as with Log 4, success!
Log 6 is without line 74, Shaders,Dynamic,UBO, also success!

Tried without line 74 and Shaders alone, unchanged, Shaders+Dynamic also unchanged


Attached Files
.7z   3dstudio-intelgraphics-r2927ctests-2.7z (Size: 768.17 KB / Downloads: 150)
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit
PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit
Reply
#2
(12-14-2012, 12:08 PM)Darth1701 Wrote: Log 6 is without line 74, Shaders,Dynamic,UBO, also success!
Good news!
Next step is to find out which function in StateProxy is causing the issue.

You now have to reenable line 74 in RenderingEngineFactory and uncomment the functions disableVertexAttribArray and enableVertexAttribArray in StateProxy (lines 542 - 562):
Code:
//    @Override
//    public void disableVertexAttribArray(int id) {
//        if (id >= 0 && id <= maxUniformId) {
//            StateBoolean state = vertexAttribArray[id];
//            if (!state.isFalse()) {
//                super.disableVertexAttribArray(id);
//                state.setValue(false);
//            }
//        }
//    }
//
//    @Override
//    public void enableVertexAttribArray(int id) {
//        if (id >= 0 && id <= maxUniformId) {
//            StateBoolean state = vertexAttribArray[id];
//            if (!state.isTrue()) {
//                super.enableVertexAttribArray(id);
//                state.setValue(true);
//            }
//        }
//    }
Is the display then still correct?
If not, try to uncomment all the functions with a name starting with setUniform
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#3
(12-14-2012, 12:37 PM)gid15 Wrote: Is the display then still correct?

No, red screen again.

Settings: Shaders,Dynamic,UBO

Restoring Line 542-562, Removing at

Line 344, Uniform
Line 356, Uniform
Line 366, Uniform
Line 383, Uniform2
Line 401, Uniform3
Line 421, Uniform4
Line 443, UniformMatrix4

Success! Should I try to find out what Uniform is the cause?

EDIT: It is the Line 356, Uniform!

Now what?
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit
PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit
Reply
#4
New log r2927


Attached Files
.rar   LogSetUniform.rar (Size: 170.44 KB / Downloads: 142)
JPCSP games tested with Athlon X2 4850e, 4 GB RAM, Radeon HD 3300 (onboard), OpenGL: 3.3.11653, Windows XP SP3 32-bit
PPSSPP games tested with Intel i3, 4 GB RAM, Intel HD Graphics 2000 (onboard), OpenGL: 3.1.0 Build 6.14.10.5421, Windows XP SP3 32-bit
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)