Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Freeze when I close the emu (0.9.9)
07-24-2014, 08:15 PM
Post: #1
Sad Freeze when I close the emu (0.9.9)
PPSSPP 0.9.9 always freeze when I click Exit or alt+f4! Is this a know issue? Or is there anything to temporary fix it?

CPU: Intel Core i7 3770 3.4 GHz (3.9 GHz with turbo boost) 4.23GHz with OC
RAM 8GB DDR3
NVIDIA GTX 770 Gigabyte
Windows 7 Ultimate 64bit
Currently using Driver 337.88 WHQL
Find all posts by this user
Quote this message in a reply
07-24-2014, 09:09 PM (This post was last modified: 07-24-2014 09:11 PM by solarmystic.)
Post: #2
RE: Freeze when I close the emu (0.9.9)
Hmm.. I can't reproduce this issue on my system in signature.

What I did:-

1. Open PPSSPP

2. Close it right away using Alt-F4/Exit button.

By "freeze" I assume you mean that the program is non-responsive and has to be closed using the Task Manager?

What are your system specs? Grab them from PPSSPP (Settings -> System -> Developer Tools -> System Information)

Does it happen in 0.9.8?

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
07-24-2014, 09:41 PM (This post was last modified: 07-24-2014 09:55 PM by Bad Company.)
Post: #3
RE: Freeze when I close the emu (0.9.9)
Yes, I get PPSSPP Has Stopped Working and I have to kill with task manager.

I tried it with 0.95 and it didn't has this problem, I will test the 0.98 now...

Please tell me if there is anyway to dump/log this problem to you guys!

Edit: It happens on 0.98 and 0.97 too.

It doesn't happens on 0.9.6.2 and 0.95

Maybe it's a Nvidia user issue only? (I'm using 337.88 WHQL)


Attached File(s) Thumbnail(s)
   

CPU: Intel Core i7 3770 3.4 GHz (3.9 GHz with turbo boost) 4.23GHz with OC
RAM 8GB DDR3
NVIDIA GTX 770 Gigabyte
Windows 7 Ultimate 64bit
Currently using Driver 337.88 WHQL
Find all posts by this user
Quote this message in a reply
07-24-2014, 10:06 PM (This post was last modified: 07-24-2014 10:07 PM by solarmystic.)
Post: #4
RE: Freeze when I close the emu (0.9.9)
When you get the "PPSSPP Has Stopped Working" dialogue box, can you expand it (click on Show Problem Details), take a screenshot(using Snipping Tool) and post it into your next reply?

I'm interested in the Problem Signature part of the box and the Fault Module Name.

Example:-

[Image: iQHQNekAsLM7I.PNG]

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
07-25-2014, 12:09 AM (This post was last modified: 07-25-2014 12:10 AM by Bad Company.)
Post: #5
RE: Freeze when I close the emu (0.9.9)
That dialogue box doesn't appears here, it only show "PPSSPP Has Stopped Working" close the program or wait the program responds    

When I select close the program it show this     and after that it disappears.

Any other way to log or debug this issue ?

CPU: Intel Core i7 3770 3.4 GHz (3.9 GHz with turbo boost) 4.23GHz with OC
RAM 8GB DDR3
NVIDIA GTX 770 Gigabyte
Windows 7 Ultimate 64bit
Currently using Driver 337.88 WHQL
Find all posts by this user
Quote this message in a reply
07-25-2014, 04:07 AM (This post was last modified: 07-25-2014 04:09 AM by solarmystic.)
Post: #6
RE: Freeze when I close the emu (0.9.9)
(07-25-2014 12:09 AM)Bad Company Wrote:  That dialogue box doesn't appears here, it only show "PPSSPP Has Stopped Working" close the program or wait the program responds

When I select close the program it show this and after that it disappears.

Any other way to log or debug this issue ?

Thanks for the response.

There are other ways to debug the issue, but both ways require some extra effort and time on your part:-

1. Narrow down the exact responsible build using builds from the buildbot.

There are many intermediate builds on the buildbot here. Start with a known build that works on your system and work your way up until you reach a build that causes the issue.

2. Compile PPSSPP using MSVC 2013 Express, run it in Debugging Mode and when it freezes/crashes, get a stack trace in the compiler so that we know what the precise cause of the issue is on your system.

This one is less time consuming than 1, but requires more effort on your part. You'll be essentially building your own version of PPSSPP, and helping us get to the direct root of the matter.

I've written up a very simple, yet detailed step by step guide on the forum here for Windows. It's a very straightforward but lengthy process, and If you've any questions about the process, feel free to ask.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
07-25-2014, 05:16 AM
Post: #7
RE: Freeze when I close the emu (0.9.9)
I'm using a fairly similar system with an older card (9800 GT) without any such crash. I'm not overclocked, though, but that shouldn't be the cause here.

You may have error reporting disabled in Windows settings or something, which might cause it to close like that? Not sure. Installing Visual Studio 2013 Express for Windows Desktop is free and pretty easy, it just eats up some disk space. It will quickly find the cause of the crash, though.

Please note that if you are using Windows 7 but have not yet installed SP1, there is a known problem (in Windows) that may cause PPSSPP to crash (not just at shutdown.) Installing SP1 will fix the bug. If you've already got SP1, then that's not it.

-[Unknown]
Find all posts by this user
Quote this message in a reply
07-25-2014, 06:20 AM
Post: #8
RE: Freeze when I close the emu (0.9.9)
@[Unknown]

Bad Company is using Windows 7 SP1. He attached his system specs here:-

http://forums.ppsspp.org/attachment.php?aid=12213

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
07-25-2014, 05:17 PM (This post was last modified: 07-25-2014 06:05 PM by Bad Company.)
Post: #9
RE: Freeze when I close the emu (0.9.9)
Unfortunate even the most old Automated PPSSPP builds (ppsspp-v0.9.7-1-g95af98b-windows) freeze here Sad

I will try to compile, but I don't know anything about compile, also english is not my native language, it may get complicated for me...

What kind of program I need to compile? (or I just need to have Visual C++ 2013 instaled ? )

Also I tried the lastest build avaliable, but it freeze too -_-

InfoLog ppsspp-v0.9.9-25-gc7a2753-windows

Code:
43:57:855 EmuThread.cpp:121 I[BOOT]: Done.
43:59:927 Config.cpp:858 I[LOAD]: Config saved: C:\Users\Maxi\Desktop\Nova pasta\ppsspp\memstick/PSP/SYSTEM/ppsspp.ini
43:59:928 Config.cpp:870 I[LOAD]: Controller config saved: C:\Users\Maxi\Desktop\Nova pasta\ppsspp\memstick/PSP/SYSTEM/controls.ini
44:00:708 EmuThread.cpp:67 E[COMMON]: Wait for EmuThread timed out.
44:00:708 MsgHandler.cpp:54 E[*]: Warning: Wait for EmuThread timed out.

Edit: OK downloading Microsoft Visual Studio Express 2013 for Windows Desktop here.

Will I need to compile or can I check it with a build already compilied?

CPU: Intel Core i7 3770 3.4 GHz (3.9 GHz with turbo boost) 4.23GHz with OC
RAM 8GB DDR3
NVIDIA GTX 770 Gigabyte
Windows 7 Ultimate 64bit
Currently using Driver 337.88 WHQL
Find all posts by this user
Quote this message in a reply
07-25-2014, 06:16 PM (This post was last modified: 07-25-2014 06:18 PM by solarmystic.)
Post: #10
RE: Freeze when I close the emu (0.9.9)
@Bad Company

You'll need to compile it. Just follow the guide I linked to in my previous post, you just need Microsoft Visual Studio Express 2013 for Windows Desktop and Git Bash.

The instructions for getting a stacktrace (which will help us figure out the exact root cause of the issue) are also on that page.

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
07-25-2014, 08:13 PM (This post was last modified: 07-25-2014 08:20 PM by Bad Company.)
Post: #11
RE: Freeze when I close the emu (0.9.9)
(07-25-2014 06:16 PM)solarmystic Wrote:  @Bad Company

You'll need to compile it. Just follow the guide I linked to in my previous post, you just need Microsoft Visual Studio Express 2013 for Windows Desktop and Git Bash.

The instructions for getting a stacktrace (which will help us figure out the exact root cause of the issue) are also on that page.

OK I got it thanks to you Wink

Beware that I killed the ppsspp with task manager cause it freezed and Visual Studio 2013 didn't closed the program.


Code:
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\programming\ppsspp\PPSSPPWindows64.exe'. Symbols loaded.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\ddraw.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\dciman32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\dsound.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\comdlg32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\msvcp120.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\dinput8.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Unloaded 'C:\Windows\System32\uxtheme.dll'
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Program Files (x86)\Stardock\ObjectDock\Dock64.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\winsxs\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6229_none​_88dcc0bf2fb1b808\msvcr80.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\xinput1_3.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\hid.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\nvoglv64.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Cannot find or open the PDB file.
I: file\zip_read.cpp:356: I: Not a VFS path: C:\programming\ppsspp\Windows\..\memstick/PSP/shaders . Reading local directory.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\Wldap32.dll'. Cannot find or open the PDB file.
The thread 0x2290 has exited with code 0 (0x0).
The thread 0x216c has exited with code 0 (0x0).
The thread 0x1cb8 has exited with code 0 (0x0).
The thread 0x1c74 has exited with code 0 (0x0).
I: gfx_es2\gl_state.cpp:129: I: GPU Vendor : NVIDIA Corporation ; GL version str: 4.4.0 ; GLSL version str: 4.40 NVIDIA via Cg compiler
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\MMDevAPI.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\propsys.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\AudioSes.dll'. Cannot find or open the PDB file.
'PPSSPPWindows64.exe' (Win32): Loaded 'C:\Windows\System32\avrt.dll'. Cannot find or open the PDB file.
The thread 0x2074 has exited with code 0 (0x0).
'PPSSPPWindows64.exe' (Win32): Unloaded 'C:\Windows\System32\avrt.dll'
The thread 0x22d0 has exited with code 0 (0x0).
The thread 0x23b8 has exited with code 0 (0x0).
The thread 0x1988 has exited with code 0 (0x0).
The thread 0x1be4 has exited with code 0 (0x0).
The thread 0x1914 has exited with code 0 (0x0).
I: NativeApp.cpp:914: I: NativeShutdown called
The thread 0x2104 has exited with code 1 (0x1).
The thread 0x2348 has exited with code 1 (0x1).
The thread 0x1b30 has exited with code 1 (0x1).
The thread 0x1bd4 has exited with code 1 (0x1).
The thread 0x23dc has exited with code 1 (0x1).
The thread 0x1780 has exited with code 1 (0x1).
The thread 0x2368 has exited with code 1 (0x1).
The thread 0x928 has exited with code 1 (0x1).
The thread 0x17d4 has exited with code 1 (0x1).
The thread 0x20fc has exited with code 1 (0x1).
The program '[3904] PPSSPPWindows64.exe' has exited with code 1 (0x1).

CPU: Intel Core i7 3770 3.4 GHz (3.9 GHz with turbo boost) 4.23GHz with OC
RAM 8GB DDR3
NVIDIA GTX 770 Gigabyte
Windows 7 Ultimate 64bit
Currently using Driver 337.88 WHQL
Find all posts by this user
Quote this message in a reply
07-25-2014, 08:39 PM (This post was last modified: 07-25-2014 08:50 PM by solarmystic.)
Post: #12
RE: Freeze when I close the emu (0.9.9)
@Bad Company

You're not supposed to kill it, just let it run.

The moment the freeze/crash happens upon clicking the Exit button in PPSSPP when running it in debugging mode (F5), Visual Studio 2013 should ask you whether or not you would like to "Break" in a dialogue box that should pop up.

Example:-
(click to enlarge image)
[Image: iRKMBVCvAwVd3.PNG]

Then click on the Break button.

After that, look for the Call Stack box on the lower right hand corner of the screen after you click the "Break" button:-

[Image: ibeQjHS3NcaRD7.PNG]

Copy and paste that Call Stack output. That contains the information we need. Don't stop debugging yet and don't force quit PPSSPP from the Task manager.

Your output came from the "Output" box which appears when you've "stopped" debugging and is less useful.

Thanks for your patience and the follow-up, we're nearly there. Smile

EDIT:- If by any chance the Call Stack box doesn't appear when in Debugging Mode, make sure it's enabled by going to the Debug menu -> Window -> click on Call Stack.

[Image: iblp04Upcfq6Zn.png]

PPSSPP Modern Testbed:-
Intel Core i5 4690K @ 4.0 GHz
NVIDIA Geforce GTX 760 2GB GDDR5 VRAM @ 1138/6500 Mhz
16 GB DDR3 RAM @ 1600 MHz
Windows 7 x64 SP1

PPSSPP Ancient Testing Rig:-
Intel Core 2 Duo T9550 @ 2.8GHz
ATI Mobility Radeon 4670 1GB GDDR3 VRAM @ 843/882 MHz
8 GB DDR3 RAM @ 1066 MHz
Windows 7 x64 SP1
Find all posts by this user
Quote this message in a reply
07-27-2014, 05:10 PM (This post was last modified: 07-27-2014 05:20 PM by Bad Company.)
Post: #13
RE: Freeze when I close the emu (0.9.9)
Sorry for this delay (my net wasn't working those days)

Unfortunate, the dialogue box didn't appeared here, so I pressed DEBUG -> Break All, and I got this    

Code:
[External Code]    
>    nvoglv64.dll!0000000069b967c2()    Unknown
    nvoglv64.dll!0000000069bfb000()    Unknown
    nvoglv64.dll!0000000069b9b1b4()    Unknown
    nvoglv64.dll!0000000069f7d1de()    Unknown
    [External Code]    

    [External Code]    
    [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]    
>    nvoglv32.dll!69c0ad45()    Unknown
    nvoglv32.dll!6949eb92()    Unknown
    nvoglv32.dll!69c0fa50()    Unknown
    nvoglv32.dll!69eeb82e()    Unknown
    nvoglv32.dll!69eeb7b5()    Unknown
    [External Code]

Hope this help you guys! And please tell me if you guys need more info!!

CPU: Intel Core i7 3770 3.4 GHz (3.9 GHz with turbo boost) 4.23GHz with OC
RAM 8GB DDR3
NVIDIA GTX 770 Gigabyte
Windows 7 Ultimate 64bit
Currently using Driver 337.88 WHQL
Find all posts by this user
Quote this message in a reply
07-27-2014, 07:35 PM
Post: #14
RE: Freeze when I close the emu (0.9.9)
Hmm. That would be in the NVIDIA driver.

Does this problem happen with both 32 and 64 bit versions of PPSSPP?

At the top, there's a dropdown that says Release, and next to it x64. If you change Release to Debug, and then do the same thing, you may get a much better stack trace. Unfortunately the current one only has NVIDIA driver stuff, and since they aren't kind enough to share details about their driver source code, it doesn't tell us much...

-[Unknown]
Find all posts by this user
Quote this message in a reply
07-28-2014, 12:55 PM (This post was last modified: 07-28-2014 01:26 PM by Bad Company.)
Post: #15
RE: Freeze when I close the emu (0.9.9)
Yep, it happens on both 32 & 64 bit versions of PPSSPP.

Again no dialogue box here -_-, so I pressed Break All, and got the same thing,     then i pressed continue and break all and got this    

Code:
// Copyright (c) 2014- PPSSPP Project.

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 2.0 or later versions.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License 2.0 for more details.

// A copy of the GPL 2.0 should have been included with the program.
// If not, see http://www.gnu.org/licenses/

// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.

#include <list>
#include <memory>
#include "base/mutex.h"
#include "input/input_state.h"
#include "thread/thread.h"
#include "thread/threadutil.h"
#include "Core/Host.h"
#include "Windows/InputDevice.h"
#include "Windows/XinputDevice.h"
#include "Windows/DinputDevice.h"
#include "Windows/KeyboardDevice.h"
#include "Windows/WindowsHost.h"

static volatile bool inputThreadStatus = false;
static volatile bool inputThreadEnabled = false;
static std::thread *inputThread = NULL;
static recursive_mutex inputMutex;
static condition_variable inputEndCond;

extern InputState input_state;

inline static void ExecuteInputPoll() {
    // Hm, we may hold the input_state lock for quite a while (time it takes to poll all devices)...
    // If that becomes an issue, maybe should poll to a copy of inputstate and only hold the lock while
    // copying that one to the real one?
    lock_guard guard(input_state.lock);
    input_state.pad_buttons = 0;
    input_state.pad_lstick_x = 0;
    input_state.pad_lstick_y = 0;
    input_state.pad_rstick_x = 0;
    input_state.pad_rstick_y = 0;
    if (host) {
        host->PollControllers(input_state);
    }
    UpdateInputState(&input_state);
}

static void RunInputThread() {
    setCurrentThreadName("Input");

    // NOTE: The keyboard and mouse buttons are handled via raw input, not here.
    // This is mainly for controllers which need to be polled, instead of generating events.

    while (inputThreadEnabled) {
        ExecuteInputPoll();

        // Try to update 250 times per second.
        Sleep(4);
    }

    lock_guard guard(inputMutex);
    inputThreadStatus = false;
    inputEndCond.notify_one();
}

void InputDevice::BeginPolling() {
    lock_guard guard(inputMutex);
    inputThreadEnabled = true;
    inputThread = new std::thread(&RunInputThread);
    inputThread->detach();
}

void InputDevice::StopPolling() {
    inputThreadEnabled = false;

    lock_guard guard(inputMutex);
    if (inputThreadStatus) {
        inputEndCond.wait(inputMutex);
    }
    delete inputThread;
    inputThread = NULL;
}

I think this freeze is the same "freeze issue" that i get on dolphin when i'm using the OpenGL backend, DX9, DX11 are fine.

Correct me if i'm wrong, PPSSPP 0.9.6.2 and 0.95 uses an old OpenGL ver. and 0.97 is using a more recent ver. of OpenGL (4.4.0 ? )

And about the dolphin freeze when I'm using OpenGL, It always happens and there are no build of dolphin that doesn't freeze with OpenGL, even those VERY old builds freeze here.

CPU: Intel Core i7 3770 3.4 GHz (3.9 GHz with turbo boost) 4.23GHz with OC
RAM 8GB DDR3
NVIDIA GTX 770 Gigabyte
Windows 7 Ultimate 64bit
Currently using Driver 337.88 WHQL
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: