Unknown W. Brackets
1633aa689c
Remove the extra process queues hack.
...
It seems like it's not helping anymore so it could be hurting.
2013-11-09 23:08:44 -08:00
Sacha
2c74693f6c
VSync codepath only works on _WIN32 so only show it and check it there.
2013-10-27 23:09:46 +10:00
Sacha
4972e7b680
EnqueueList: Relocate code that depends on compatibility check to simplify the code
2013-10-27 03:49:46 +10:00
Unknown W. Brackets
afb578a325
Use the newer interface for Qt's gpu debugging.
2013-10-20 00:14:39 -07:00
raven02
acb9c49ea2
Try to use a smaller value for cyclesExecuted
2013-10-12 16:20:27 +08:00
raven02
2cdb2d1e1f
Extra cycles execute .Fix #3979 & #3883
2013-10-09 19:45:28 +08:00
Henrik Rydgard
fc8aa7bd8f
Crashfix dumping display lists that start at the start of VRAM (seems to hit this in GTA).
...
Add a couple of comments.
2013-10-07 22:58:46 +02:00
Henrik Rydgård
8f7a9656c8
Merge pull request #4062 from unknownbrackets/debugger
...
Show tabs for depth/stencil in ge debugger, other improvements
2013-10-06 23:59:54 -07:00
Unknown W. Brackets
ff0e9cf32d
Make it possible to flip flags in the ge debugger.
2013-10-06 22:17:56 -07:00
Unknown W. Brackets
0c03dc2dec
Handle it better when viewing an invalid addr.
2013-10-06 22:17:52 -07:00
Unknown W. Brackets
a09119ba04
Correct savestates when dls had context saving.
...
It was wrong, and also they were different between 64/32 bit.
2013-10-06 22:10:44 -07:00
Unknown W. Brackets
74908f6b38
Add errors and rescheduling to sceDmac*.
...
The functionality seems pretty straight-forward.
2013-09-29 16:51:49 -07:00
Henrik Rydgard
424b4cbd5f
Move GE_CMD_BJUMP to GPUCommon. Add the flag. (no actual bbox impl yet)
2013-09-24 14:14:04 +02:00
Unknown W. Brackets
bdfc8bf4b3
Mark texture as maybe changed when running lists.
2013-09-23 23:17:56 -07:00
Unknown W. Brackets
4c3b3484d7
Actually apply the restored gstate.
2013-09-23 23:17:36 -07:00
Unknown W. Brackets
3787471791
Add some initial methods to GPUDebugInterface.
2013-09-22 10:22:33 -07:00
Unknown W. Brackets
eabd8b5302
Add GPU debugging hooks to Host, not yet in use.
2013-09-22 08:14:55 -07:00
Unknown W. Brackets
2e2fa53201
Preseve offsetAddr on stall, instead of reset to 0.
...
Only for new lists is it reset to 0, afaict.
2013-09-21 21:01:41 -07:00
Unknown W. Brackets
881cefbc83
A paused list will allow a context save.
...
Just not stall, drawing, etc.
2013-09-21 21:01:41 -07:00
Unknown W. Brackets
e10ae1530b
Error and reporting for sceGeBreak's second param.
2013-09-21 21:01:40 -07:00
Unknown W. Brackets
e9db63f61d
Refuse to dequeue a running/completed list.
2013-09-21 15:03:30 -07:00
Unknown W. Brackets
c5a709d039
Don't update stall address on completed lists.
2013-09-21 15:03:30 -07:00
Unknown W. Brackets
e7bd716c71
Allocate ge list ids using round robin.
...
Even if you enqueue and then dequeue 0, you don't get it again right away.
2013-09-21 15:03:29 -07:00
Unknown W. Brackets
863eb83e4c
Add support for sceGeGetStack() for debugging.
2013-09-21 10:04:31 -07:00
Unknown W. Brackets
3c954ea0e4
Save the base address in signal calls.
...
It's not saved in regular calls but it is in signal ones.
2013-09-21 00:07:49 -07:00
Unknown W. Brackets
9116b879a4
Restore context even without an interrupt.
2013-09-20 21:03:39 -07:00
Unknown W. Brackets
4078dcd917
Support save/restore of context on list run/finish.
2013-09-20 09:51:44 -07:00
Unknown W. Brackets
bd70d04930
Include GE_CMD_PATCHFACING just in case.
2013-09-20 00:45:48 -07:00
Unknown W. Brackets
50e9e45d65
Check version in each DoState() func.
...
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets
8ae6694e1d
Use a waiting thread list in sceGe as well.
2013-09-08 11:57:44 -07:00
Unknown W. Brackets
08b41df6a2
Change a few more log types.
2013-09-07 13:31:14 -07:00
Unknown W. Brackets
8998a1b303
Don't trash a list the GE interrupt handler needs.
...
Even after it's marked COMPLETED, the CPU needs it to start and finish the
interrupt. Fixes #2956 , where an existing completed list was not having
its interrupt run correctly.
2013-09-01 12:39:45 -07:00
Unknown W. Brackets
dc9b5156d9
Cleanup comment (broke savestates anyway.)
2013-09-01 00:52:25 -07:00
Unknown W. Brackets
15a0f39fa1
Return yet more errors while inside interrupts.
2013-08-28 23:15:13 -07:00
Unknown W. Brackets
211c2bd955
Refuse a few more waits w/ dispatch/intr disabled.
2013-08-28 22:35:05 -07:00
The Dax
4d9eb24f29
Fix hang in Project Diva 2nd in single-threaded mode. Doesn't seem to affect other games, but I don't have every game in existence, so there could be one or two out there that might break from this.
2013-08-24 21:13:34 -04:00
Unknown W. Brackets
8dbcf6572e
Add some additional reporting.
2013-08-24 11:34:38 -07:00
Henrik Rydgard
520453a5bd
Fix gpu cycle call level counting, of course halving the numbers I mentioned in the previous commit comment.
2013-08-23 11:42:15 +02:00
Henrik Rydgard
dfb91d4532
Track number of GPU commands executed per call level.
...
This is to get an idea if it would be beneficial to compile and cache display lists. Looks like it would be for some games, for example in GTA it's often 20k/80k/20k commands per frame - that is 100k executed commands per frame that could potentially just be executed instead of interpreted. Likewise in Wipeout. Of course, this means yet another cache with invalidation issues etc..
2013-08-23 11:29:55 +02:00
Unknown W. Brackets
1ed8edb0d3
Avoid some dangerous hex constant widths.
2013-08-22 23:23:48 -07:00
raven02
e68ddf671c
Temporary fix issue #3167 in non-multithread mode #2
2013-08-15 03:44:20 +08:00
Unknown W. Brackets
49ab98c7fd
Use atomic operations on Android + warning fixes.
2013-08-12 08:51:49 -07:00
Unknown W. Brackets
cf7c718706
Use a timer to keep gpu/cpu in sync periodically.
...
Fixes Diva Extend demo, at least, losing FPS.
2013-08-11 13:41:42 -07:00
Unknown W. Brackets
e0f699fd5f
Use a possibly harmless hack to prevent hangs.
...
Not sure where the problem is, but this fixes it pretty consistently for
me... seems like lists are somehow not being processed after becoming
processable?
2013-08-10 20:03:43 -07:00
Unknown W. Brackets
26c072df51
Don't wait directly from GPUCommon, do it in sceGe.
...
Makes debugging a bit easier.
2013-08-10 18:24:40 -07:00
Unknown W. Brackets
55c07bdc73
Avoid a possible thread sync issue.
...
Could be that it's about to wake listsync, does, and then we wait.
2013-08-10 17:18:31 -07:00
Unknown W. Brackets
abc396cbe1
Sync the GPU thread on list/draw sync.
...
Otherwise, the CPU gets ahead (inside the frame) and games get confused.
I don't think there's any good workaround to avoid this.
2013-08-10 15:16:49 -07:00
Unknown W. Brackets
450e4c7fea
Factor out event queue logic to a template mixin.
2013-08-10 03:33:09 -07:00
Unknown W. Brackets
a80a7690c8
Fix SyncThread() not syncing during last event.
2013-08-09 23:18:37 -07:00
Unknown W. Brackets
e82bae3708
Simplify easy_guard to avoid coding errors.
2013-08-09 22:57:53 -07:00