hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.04k stars 2.15k forks source link

Games Crash after opening them #6224

Closed FireChaos closed 10 years ago

FireChaos commented 10 years ago

I'm using build v0.9.8-1020-g48d4c4c (latest at the moment) and when I love a game, eg Sonic Rivals 2, Yu-Gi-Oh GX Tag Force 3. Sometimes it shows this message and I click some times, the sound and music work fine, but the menu, the game,or anything else is a blackscreen. But other times the emulator crashes. untitled Here's the message

hrydgard commented 10 years ago

A log would be very useful.

thedax commented 10 years ago

Not to mention platform, device specs..

Edit: I'll assume this is Android or something, since Tag Force 3 loads fine on Windows for me.

sum2012 commented 10 years ago

I am waiting test code: http://forums.ppsspp.org/showthread.php?tid=11496

FireChaos commented 10 years ago

Alright, sorry for not giving the needed things, My CPU is "Intel(R) Pentium(R) CPU G620 @ 2.60GHz" as seen from the My Computer>Properties. I'm playing on Windows x64bit, and my graphics card is NVIDIA GeForce 210. The latest builds change the way how the games are played. Builds ago, the overbright fix was releashed and was lagging, but not with the overbright screen. I don't get an error when it closes. How to get logs would be appreciated so i can share it :D

sum2012 commented 10 years ago

@FireChaos Run InfoLog.bat ppsspplog.txt will be produce

sum2012 commented 10 years ago

I test my notebook. I find that the cause is from v0.9.8-219-g4714574 https://github.com/hrydgard/ppsspp/commit/47145745dcc6879c7035d2e4c43bfb2e5131002e Interesting,same version on my another problem in my desktop computer in #6075

sum2012 commented 10 years ago

try revert part of code still fail :<

const int attribs31[] = {
    WGL_CONTEXT_MAJOR_VERSION_ARB, 3,
    WGL_CONTEXT_MINOR_VERSION_ARB, 1,
    WGL_CONTEXT_FLAGS_ARB, enableGLDebug ? WGL_CONTEXT_DEBUG_BIT_ARB : 0,
    0
};

HGLRC   m_hrc;
if(wglewIsSupported("WGL_ARB_create_context") == 1) {
    m_hrc = wglCreateContextAttribsARB(hDC, 0, attribs31);
//  m_hrc = wglCreateContextAttribsARB(hDC, 0, attribs44);
unknownbrackets commented 10 years ago

Well most likely that means your device says it supports OpenGL 3.1, but crashes when we try to use it. May be a buggy old driver.

-[Unknown]

FireChaos commented 10 years ago

Weird. Launching InfoLog.bat and loading both roms,the emulator crashes.(as stated) When I open the ppsspp.txt it is blank!

sum2012 commented 10 years ago

@FireChaos Can you try v0.9.8-218-g51fb157 and v0.9.8-219-g4714574 in http://buildbot.orphis.net/ppsspp/ ?

FireChaos commented 10 years ago

@sum2012 Build 218 is bright, and runs without lags. however, build 219 does the same as the latest builds.

sum2012 commented 10 years ago

@unknownbrackets I know now,It also need CheckGLExtensions(); change

FireChaos commented 10 years ago

So will this issue be resolved with a new build later?

sum2012 commented 10 years ago

@FireChaos You try update nvidia driver first

FireChaos commented 10 years ago

@sum2012 If I update them, they will lag more the computer!

sum2012 commented 10 years ago

@FireChaos Try this build https://drive.google.com/file/d/0B3OaSdeV0L8kSmd3S3ZhR2pFTjA/edit?usp=sharing You need enable this setting and require restart 1

FireChaos commented 10 years ago

that works! Thank you! The only problem to fix now, is this lag...

sum2012 commented 10 years ago

Try install old driver 2014/6/6 下午5:50 於 "FireChaos" notifications@github.com 寫道:

that works! Thank you! The only problem to fix now, is this lag...

— Reply to this email directly or view it on GitHub https://github.com/hrydgard/ppsspp/issues/6224#issuecomment-45320257.

FireChaos commented 10 years ago

The game is now at 11/30 Fps... :(

FireChaos commented 10 years ago

So should I close this?

sum2012 commented 10 years ago

I think yes

FireChaos commented 10 years ago

What about the issue with the FPS?

sum2012 commented 10 years ago

Try reset to default (Need re-start ppsspp) 2

FireChaos commented 10 years ago

Resetting does nothing but only to add 2-3 more FPS. I have 14/30 FPS with PSPx1

sum2012 commented 10 years ago

Can you picture it ? System -> Developer Tools -> System Information -> Device info You need to picture OpenGL version

FireChaos commented 10 years ago

I used the build 1088 now, Buffered Rendering is exactly the same as Non-Buffered (a black screen without the game showing, but I can see the HUD.) and max fps is 15/30 now. @sum2012. My OpenGL version is 3.3.0

FireChaos commented 10 years ago

Print screen doesn't work on PPSSPP

sum2012 commented 10 years ago

Sorry,I don't have idea

FireChaos commented 10 years ago

I'll make a new thread after some builds. Closing this one