eladash
ce98c962f8
cellgcm: use offset table to get the corresponding address to io address
2018-05-29 19:57:28 +03:00
eladash
c2b2dee56d
cellgcm/sys_rsx: fix multiple io maps at the same effective address and vice verse
...
from hw testing, as long as the io address is valid, it returns CELL_OK, even when it doesn't make much sense
2018-05-29 19:57:28 +03:00
eladash
97515a0941
sys_rsx/cellgcm: return EINVAL if the io map requast's size is 0
2018-05-29 19:57:28 +03:00
eladash
0a7902d313
sys_rsx: fix mem_handle id
2018-05-29 19:57:28 +03:00
eladash
8eab9fe36c
sys_rsx: fix unused pointer dereferencing
2018-05-29 19:57:28 +03:00
kd-11
d48f391b41
lv2: Ease the pain of lower end CPUs
...
- Avoid busy waiting in usleep code as much as possible, instead yield
- Also avoid busy_wait for SPU concurrency choker
2018-05-29 13:54:30 +03:00
kd-11
83f9be2524
rsx: Promote FIFO optimizations outside of strict mode
...
- The benefits of FIFO optimizations are huge in some cases.
The optimizations also do not break any tested applications so no need to disable with strict mode
- A debug option is provided to disable this behaviour for testing
2018-05-29 13:54:30 +03:00
kd-11
be13a776f4
lv2: Reimplement sys_timer_usleep
...
- Matches ps3 accuracy for all tested values with few exceptions
- Do not enter the host OS kernel if waiting for less than 500us to avoid scheduler issues
2018-05-29 13:54:30 +03:00
kd-11
2adb2ebb00
overlays: Avoid race condition on remove-on-update views
...
- Improves cleanup code to consist of 2 parts, remove then dispose. Remove
does not deallocate the item until dispose is called on it, allowing the
backends to first deallocate external references.
- Caller is responsible for managing list locking and tracking disposable list
of items when external references have been cleaned up before using
dispose method.
2018-05-29 13:54:30 +03:00
kd-11
0fc67aa2f6
gl: fix wcb regression
...
- Partial framebuffers and blit targets are possible!
2018-05-24 10:36:04 +03:00
kd-11
493d4e8613
fixup - Improve invalidated region checks for performance
2018-05-24 10:36:04 +03:00
kd-11
b030d1900c
rsx: Fixup - fix broken memory protection fail caused by region respec
...
- Some applications will alternate memory between framebuffer and texture data
2018-05-24 10:36:04 +03:00
kd-11
f38f61d110
vk: Clean up memory allocation and fix GPUOpen VMA for Radeon
2018-05-23 19:07:08 +03:00
kd-11
92b5a705d8
fixup - locking
2018-05-23 19:07:08 +03:00
kd-11
b957eac6e8
rsx: Avoid calling any blocking callbacks from threads that are not rsx::thread
...
- Defers on_notity_memory_unmapped to only run from within rsx context
- Avoids passive_lock + writer_lock deadlock
2018-05-23 19:07:08 +03:00
kd-11
d2bf04796f
Optimized cached write-through
...
- Allows grabbing an unsynchronized memory block if overwriting contents
anyway
- Allows flushing only specified range of memory
2018-05-23 19:07:08 +03:00
kd-11
f8d999b384
fixup - range check
2018-05-23 19:07:08 +03:00
kd-11
fbf6581249
rsx: Fix segmented memory access for rsx::super_ptr
2018-05-23 19:07:08 +03:00
kd-11
d283200e13
vk: Do not do extension test if in a fast context (enum only)
2018-05-23 19:07:08 +03:00
kd-11
3f14bc6961
rsx: Silence some meaningless error
2018-05-23 19:07:08 +03:00
kd-11
f2a3167193
rsx: Lower format compatibility severity since it confuses some people
2018-05-23 19:07:08 +03:00
kd-11
8fcd5c1e5a
rsx: Texture cache fixes
...
1. rsx: Rework section synchronization using the new memory mirrors
2. rsx: Tweaks
- Simplify peeking into the current rsx::thread instance.
Use a simple rsx::get_current_renderer instead of asking fxm for the same
- Fix global rsx super memory shm block management
3. rsx: Improve memory validation. test_framebuffer() and
tag_framebuffer() are simplified due to mirror support
4. rsx: Only write back confirmed memory range to avoid overapproximation errors in blit engine
5. rsx: Explicitly mark clobbered flushable sections as dirty to have them
removed
6. rsx: Cumulative fixes
- Reimplement rsx::buffered_section management routines
- blit engine subsections are not hit-tested against confirmed/committed memory range
Not all applications are 'honest' about region bounds, making the real cpu range useless for blit ops
2018-05-23 19:07:08 +03:00
pauls-gh
f8a0be8c3e
Performance enhancement - Vulkan memory allocator ( #4635 )
...
* Incorporates the vulkan memory allocator from the AMD GPUOpen project
2018-05-23 17:02:35 +03:00
Nekotekina
c5d8d50908
Move SPU LLVM log file
2018-05-23 15:36:29 +03:00
Nekotekina
3e580afe21
SPU: remove passive lock (fixup)
2018-05-23 15:36:29 +03:00
scribam
2270b8d15c
vulkan: link with vulkan-1.lib instead of VKstatic.1.lib
2018-05-23 13:54:27 +03:00
Megamouse
b230b0df0d
Qt: Workaround for yet another hidden column resize
2018-05-22 16:27:33 +01:00
Megamouse
62efe6e5be
Qt: set smaller default log frame height
2018-05-22 16:27:33 +01:00
Megamouse
7c031c2330
Qt: remove redundant visibility check in FixNarrowColumns
2018-05-22 16:27:33 +01:00
Megamouse
40d2341ef1
Qt: resize game list columns by default with slight spacing
2018-05-22 16:27:33 +01:00
Megamouse
f1670a9ea0
Qt: disable resizing trophy tables to contents by default
2018-05-22 16:27:33 +01:00
Megamouse
325048a134
Qt: apply header states after populating the tables
2018-05-22 16:27:33 +01:00
Megamouse
bff9a06f9f
Qt: simplify occasions of restoreState
2018-05-22 16:27:33 +01:00
Megamouse
31101b4828
Qt: use correct menu icon for "Play last played game" on booting RPCS3
2018-05-22 16:27:33 +01:00
Megamouse
598008868e
Qt: include QButtonGroup in settings_dialog.cpp in order to fix Qt 5.11
2018-05-22 16:27:33 +01:00
Nekotekina
72574b11ff
SPU: use reservation spinlocks on writes (non-TSX)
...
This should decrease contention by avoiding global lock
2018-05-21 21:56:14 +03:00
Nekotekina
182259e4a5
cellSaveData fix
2018-05-21 21:47:04 +03:00
kd-11
c9669818eb
Facepalm
...
- overlays: Do not free self handle!!!!
2018-05-21 15:55:25 +03:00
Nekotekina
6fd402bcf8
Transactions: drop RDTSC usage
...
Use simple increment (minor optimization)
2018-05-21 00:18:37 +03:00
Nekotekina
fb0f5f0c8b
Fix vm::reservation_notifier
2018-05-21 00:18:37 +03:00
Nekotekina
7a6db3dd7e
spu_getll_tx: diagnose loop count
2018-05-21 00:18:37 +03:00
Nekotekina
295f782b30
spu_putlluc_tx: diagnose loop count
2018-05-21 00:18:37 +03:00
Nekotekina
a33f297315
Replace notifier::lock_shared() with try_lock_shared()
...
Also add notify_one(), try_lock() and unlock()
Move some code in cond.cpp
2018-05-21 00:18:37 +03:00
Nekotekina
8d5bbfb850
Update SPU dump: print current MFC cmd
2018-05-21 00:18:37 +03:00
Nekotekina
33a1c743a4
Transactions: move loops inside
...
Rewrite loops in assembler (minor optimization)
2018-05-21 00:18:37 +03:00
kd-11
f6f45b8699
Native UI refactored ( #4623 )
...
Refactor and improve native overlays
2018-05-20 23:05:00 +03:00
Megamouse
68fff54a8b
cellSaveData: don't return after funcStat was successful in savedata_op
...
also add some missing constants
2018-05-20 23:16:11 +04:00
Megamouse
c61049b76f
Qt: Fix missing rows in our beloved trophy manager
2018-05-20 14:29:56 +04:00
Megamouse
f8bbdc39c5
Qt: Change Trophy Manager to use item selection instead of double click
2018-05-20 14:29:56 +04:00
Megamouse
4c03348e60
Qt: Restrict trophy manager combo box size
2018-05-20 14:29:56 +04:00
Megamouse
95951c31f8
Qt: Fix obnoxious glitch where game list columns ended up with 0 width
...
Qt can be messy at times
2018-05-19 21:59:13 +01:00
Megamouse
67637dfaa4
Qt: Fix compat download exception
2018-05-19 21:59:13 +01:00
scribam
bf2f00a163
log: add Vulkan header version
2018-05-19 10:59:10 +03:00
scribam
6c5c89a4a3
3rdparty: remove Vulkan/Vulkan-LoaderAndValidationLayers
2018-05-19 10:59:10 +03:00
Megamouse
4e8ce7fac0
Qt: Enable all play options for the last played game on StartUp
...
- main_window::CreateThumbnailToolbar into main_window::Init
- also moved the log message for "Recent Game Not Valid" from Error to Warning (only the common occurance)
2018-05-18 21:30:16 +01:00
Megamouse
6b3eebc907
Qt: trophy manager - fix trophy sorting by ID + handle some warnings
2018-05-18 23:17:10 +04:00
Megamouse
9269d8a370
Qt: resize initial game list headers to minimal size if necessary
...
we do this on showing columns already
2018-05-18 23:17:10 +04:00
Megamouse
99c52a0d0c
Qt: use column names instead of numbers in gui_settings
2018-05-18 23:17:10 +04:00
Megamouse
d1a9afbd67
Qt: refactor game list column initialization
2018-05-18 23:17:10 +04:00
Megamouse
2b8f96dcec
Qt: refactor Get-/SetGamelistColVisibility
2018-05-18 23:17:10 +04:00
Megamouse
9c025be831
Qt: improve game list header behavior
2018-05-18 23:17:10 +04:00
Megamouse
aee03114fd
Qt: rsx debugger replace wrong setSectionResize command
2018-05-18 23:17:10 +04:00
Megamouse
bb8e89f84a
Qt: add game icons to the trophy manager
...
and fix some header behaviour
2018-05-18 23:17:10 +04:00
Megamouse
6f0bad34f4
Qt: remove trophy_tree_widget_item.h
2018-05-18 23:17:10 +04:00
Megamouse
d275c36e0a
Qt: trophy manager overhaul
2018-05-18 23:17:10 +04:00
Megamouse
4e5cceb03e
TROPUSR: add GetUnlockedTrophiesCount()
2018-05-18 23:17:10 +04:00
Nekotekina
67391322f4
Transactions: touch memory only after a failure
...
Minor optimization
2018-05-17 22:19:26 +03:00
Nekotekina
39088e5005
SPU: Allow waiting on LR+TM events (fixup)
2018-05-17 21:21:15 +03:00
Nekotekina
7afda26c69
spu_putllc_tx: preload a little more (WIN32)
2018-05-17 18:58:08 +03:00
Nekotekina
58e4d49bb5
Fixup (endless loop)
2018-05-17 18:33:44 +03:00
scribam
8f975e2329
cmake: improve pthread inclusion
2018-05-17 18:42:44 +04:00
scribam
3dfe46fc42
cmake: use -Wno-unused-command-line-argument only with clang (gcc doesn't have this option)
2018-05-17 18:42:44 +04:00
scribam
580c8b8803
cmake: remove leftover from #4329 about X11
2018-05-17 18:42:44 +04:00
scribam
5ef1cab30b
cmake: update cotire to 1.8.0
2018-05-17 18:42:44 +04:00
pauls-gh
fdef77d779
Set Windows timer resolution to 0,5ms ( #4579 )
...
* Fix for https://github.com/RPCS3/rpcs3/issues/4569
(Win 10 update 1803 performance regression)
2018-05-17 15:00:22 +04:00
Megamouse
2eae06454b
Qt: simplify horizontal header text alignment in the gamelist
...
Needs reset of the gamelist state in the settings to work properly.
Also added minor refactor
2018-05-17 14:27:45 +04:00
Megamouse
29318803a6
Qt: add sanity check to remove game (prevent nasty system flush).
...
and minor code refactor
2018-05-17 14:27:45 +04:00
Megamouse
ff2c05da50
Qt: Use pointer to game info instead of index in game list
...
this should fix differences between model and view
2018-05-17 14:27:45 +04:00
Megamouse
cafcac9ccd
Qt: streamline custom config refresh in game list and thus ignore scroll
...
move l_GetItem lambda into custom_table_widget_item constructor
2018-05-17 14:27:45 +04:00
Megamouse
e43afa7148
Qt: streamline game removal in game list and fix followed item selection
2018-05-17 14:27:45 +04:00
Megamouse
9a1c0e4577
Qt: merge custom context menu functions
2018-05-17 14:27:45 +04:00
Megamouse
baec681c9e
Qt: minor fix for compat downloader
2018-05-17 14:27:45 +04:00
Megamouse
8b54552ddf
Qt: use NoEditTriggers instead of ItemIsEditable flags in the gamelist
2018-05-17 14:27:45 +04:00
Megamouse
1cff1ca03e
Qt: add "Move Support" column to the gamelist and load the info from psf
2018-05-17 14:27:45 +04:00
Megamouse
3ba133f485
Qt: fix gamelist sort by adding a sort_role to custom_list_widget_item
2018-05-17 14:27:45 +04:00
Megamouse
28e19a1d14
Qt: use GameInfo's bootable instead of GUI_GameInfo's bootable member
2018-05-17 14:27:45 +04:00
Megamouse
49a4015d5d
Qt: Hide firmware and path columns by default
2018-05-17 14:27:45 +04:00
Florent Castelli
253248349f
Link against the top-level LLVM targets only
...
Dependencies are still linked through usage requirements.
2018-05-16 23:35:53 +01:00
Florent Castelli
afd55da8cb
Add EXCLUDE_FROM_ALL to add_subdirectory calls
2018-05-16 23:35:53 +01:00
scribam
70e2873e69
Compilation fix for GCC 8 (at least)
2018-05-17 00:53:31 +04:00
Zion Nimchuk
705525510e
re-enable LLVM for travis and build AppImages with LLVM 6
2018-05-17 00:01:53 +04:00
Nekotekina
367f039523
Build transactions at runtime
...
Drop _xbegin family intrinsics due to bad codegen
Implemented `notifier` class, replacing vm::notify
Minor optimization: detach transactions from global mutex on TSX path
Minor optimization: don't acquire vm::passive_lock on PPU on TSX path
2018-05-16 17:31:58 +03:00
Nekotekina
fd525ae1cf
Implement build_function_asm
...
Uses ASMJIT to build function at startup
2018-05-16 15:48:35 +03:00
scribam
fd8aae5725
emu: remove wait_engine files
...
These files are empty and do not serve any purpose currently
2018-05-16 03:56:06 +04:00
scribam
7518200c7e
ps3emu_api: remove leftover files
...
Initial removal has been started with commit 6dd2c78b1b
2018-05-16 03:56:06 +04:00
scribam
196f985283
hle: improve cellSync2 error checks and logging
2018-05-15 22:59:34 +04:00
sftt
27004eb934
Avoid illegal available_user_memory in sys_memory ( #4399 )
...
jarveson says "the comment and minus can be completely deleted/reverted" in 17cf24d0ed
2018-05-15 17:40:45 +01:00
scribam
04ad49de4d
typos
2018-05-14 21:14:39 +04:00
isJuhn
fc23243d01
Fix setParam in cellHddGameCheck
2018-05-14 16:56:47 +01:00
Jan Beich
2cfb2428d2
build/cmake: pass -DNDEBUG by default like msvc
...
Downstream may override CMAKE_CXX_FLAGS_RELEASE in order to enforce
consistent optimization flags for every package. If -DNDEBUG is lost
RPCS3 may run slower and fall victim to assertions in bundled libs.
2018-05-14 16:01:19 +01:00