Markus Wick
48492bbb9b
video_core/gpu_thread: Keep the write lock for allocating the fence.
Else the fence might get submited out-of-order into the queue, which makes testing them pointless.
Overhead should be tiny as the mutex is just moved from the queue to the writing code.
5 years ago
Markus Wick
37ae463f9e
video_core/gpu_thread: Implement a ShutDown method.
This was implicitly done by `is_powered_on = false`, however the explicit method allows us to block until the GPU is actually gone.
This should fix a race condition while removing the other subsystems while the GPU is still active.
5 years ago
Markus Wick
b529aba9ce
common/threadsafe_queue: Provide Wait() method.
It shall block until there is something to consume in the queue.
And use it for the GPU emulation instead of the spin loop.
This is only in booting the emulator, however in BOTW this is the case for about 1 second.
5 years ago
bunnei
7b2593bf33
Merge pull request #6130 from degasus/better_assert_handling
common: Move assert failure handling into a cpp file.
5 years ago
bunnei
0faeb989ae
Merge pull request #6153 from lioncash/svcrange
process_capability: Handle extended SVC range
5 years ago
bunnei
0b402075bf
Merge pull request #6161 from Morph1984/audio-update-12.x
service: audio: Update service function tables
5 years ago
Morph
8e0af1dfc7
hwopus: Update to 12.x
5 years ago
bunnei
f09282ad86
Merge pull request #6146 from lat9nq/vp9_empty_memcpy
vp9: Avoid memcpy with null pointers
5 years ago
Lioncash
7737db89aa
process_capability: Handle extended SVC range
12.x extended the range of SVC IDs, so we need to expand the range of
bits that need to be tested.
The upside of this is that we can eliminate a range check, given the
whole range is used.
5 years ago
lat9nq
3c453e0df0
vp9: Avoid memcpy with null pointers
Avoid sending null pointer to memcpy as reported by Undefined Behaviour
Sanitizer. Replaces the std::memcpy calls in SpliceVectors with
std::copy calls. Opting to replace all the memcpy's with copy's.
Co-authored-by: LC <mathew1800@gmail.com>
5 years ago
LC
9bdff13849
Merge pull request #6141 from lat9nq/cfg_gphcs_stack_use
configure_graphics: Prevent stack-use-after-scope
5 years ago
Markus Wick
0372a0e723
common: Move assert failure handling into a cpp file.
Advantage: Altering the handler does not need a full recompilation.
Disadvantage: noreturn is droped, so the caller is a bit slower.
We quite often run yuzu with a YOLO assertion handler. In fact, only very few
games run at all with asserts. This patch allows developers to patch the handler
without recompiling everything. The overhead of the missing "noreturn" attribute
shoul be negletable.
5 years ago
lat9nq
140f317b01
configure_graphics: Prevent stack-use-after-scope
Address Sanitizer reports stack-use-after-scope on line 231
`vulkan_devices.push_back(QString::fromStdString(name));`. Instead of
using a pointer, copy the string into a std::string and use that,
instead.
5 years ago
Morph
b14441691b
Merge pull request #6139 from Morph1984/cmake-fix-build
ci: Fix MSVC build with CMake 3.20.0
5 years ago
Morph
b4263319af
ci: Fix MSVC build with CMake 3.20.0
5 years ago
bunnei
779794e15f
Merge pull request #6127 from german77/udpSingleConnection
InputCommon: Improve UDP communications
5 years ago
bunnei
05b3e99a44
Merge pull request #6132 from MerryMage/code_size
arm_dynarmic: Increase size of code cache
5 years ago
Morph
9e5d91019c
Merge pull request #6131 from german77/rightjoyconSLSR
HID: Fix SL and SR buttons for right joycon
5 years ago
MerryMage
62b59f3588
arm_dynarmic: Increase size of code cache
5 years ago
german77
20af0c010f
HID: Fix SL and SR buttons for right joycon
5 years ago
bunnei
f738babbb5
Merge pull request #6129 from degasus/cmake_libzip
externals/cmake: Fix case spelling of libzip.
5 years ago
bunnei
7f4b5d966e
Merge pull request #6128 from bunnei/update-dynarmic-2
externals: dynarmic: Update to latest rev. to increase code size.
5 years ago
Markus Wick
4a9fadecfe
externals: Fix case spelling of libzip.
CMake is case senstive, so Libzip vs LIBZIP was a bug.
Upstream calls themself libzip, so let's pick this naming.
5 years ago
bunnei
a895f930f9
externals: dynarmic: Update to latest rev. to increase code size.
- The current limits are being hit in yuzu with some games.
- This should fix the slowdowns in newer updates for Super Smash Bros. Ultimate.
5 years ago
bunnei
b6875a22dc
Merge pull request #6106 from MerryMage/nullptr-jit
[test] arm_dynarmic: Always have a 'valid' jit instance
5 years ago
bunnei
614276856e
Merge pull request #6126 from Morph1984/stub-SetAlbumImageTakenNotificationEnabled
ISelfController: Stub SetAlbumImageTakenNotificationEnabled
5 years ago
german77
129c89b47d
Use a single connection for UDP server, make connection test longer and check all pads instead of only the first one
5 years ago
Rodrigo Locatti
d5d46ed43b
Merge pull request #5927 from ameerj/astc-compute
video_core: Accelerate ASTC texture decoding using compute shaders
5 years ago
bunnei
6e2bb2060f
Merge pull request #6116 from german77/userArgument
yuzu/main: Add user command line argument
5 years ago
Morph
33d60831da
ISelfController: Stub SetAlbumImageTakenNotificationEnabled
This service call sets an internal flag whether a notification is shown when an image is captured.
Currently we do not support capturing images via the capture button, so this can be stubbed for now.
5 years ago
bunnei
4f41c6158f
Merge pull request #6124 from jbeich/vulkan+opengl
vulkan_common: enable OpenGL interop on other Unices
5 years ago
bunnei
9c9f9c4a41
Merge pull request #6109 from german77/gestureID
HID: Initialize correctly the gesture finger_id and filter invalid inputs
5 years ago
Jan Beich
acf5e9c9b7
vulkan_common: enable OpenGL interop on other Unices
5 years ago
bunnei
46b99b4fd3
Merge pull request #6102 from ogniK5377/fd-pass
nvdrv: Pass device fd and handle device create methods for device opening and closing
5 years ago
bunnei
bc3de9a754
Merge pull request #6118 from MerryMage/dynarmic
externals: Update dynarmic to c28f13af
5 years ago
bunnei
5ad8524139
Merge pull request #6115 from bunnei/fix-kernel-init
hle: kernel: Initialize preemption task after schedulers.
5 years ago
MerryMage
03c692a995
externals: Update dynarmic to c28f13af
AVX-512 bugfixes
5 years ago
german77
b29c5da11d
yuzu/main: Add user command line argument
5 years ago
bunnei
993f38c894
Merge pull request #6114 from Morph1984/friend-log
service: friend: Change logging class from ACC to Friend
5 years ago
bunnei
e8dd3eca47
hle: kernel: Initialize preemption task after schedulers.
- Fixes a startup crash that occurs if CoreTiming tries to preempt before kernel initialization completes.
5 years ago
Morph
599ce7de46
service: friend: Change logging class from ACC to Friend
5 years ago
Narr the Reg
f10bf91ef4
HID: Initialize correctly the gesture finger_id and filter invalid results
5 years ago
ameerj
e0977af861
astc_decoder: Refactor for style and more efficient memory use
5 years ago
Chloe Marcec
a0ae0a6a59
nvdrv: Pass device fd and handle device create methods for device opening and closing
We pass the fd to the ioctl as well as alert the device when it's opened or closed to allow for fd unique actions to take place
5 years ago
bunnei
7342c3cd10
Merge pull request #6101 from ogniK5377/alloc-as-ex
nvdrv: Change InitializeEx to AllocAsEx
5 years ago
bunnei
8222fb86bc
Merge pull request #6108 from jbeich/freebsd-async-shaders
gl_device: unblock async shaders on other Unix systems
5 years ago
Jan Beich
b273871baf
gl_device: unblock async shaders on other Unix systems
Mesa is the primary OpenGL provider on all FreeDesktop systems.
For example, iris is used on Intel GPU + FreeBSD by default.
5 years ago
MerryMage
eb3ece5770
arm_dynarmic: Always have a 'valid' jit instance
5 years ago
bunnei
463dbdcdda
Merge pull request #6100 from bunnei/arm-fix
core: arm_dynarmic: Ensure JIT state is saved/restored on page table changes.
5 years ago
bunnei
70bf7dfc5c
Merge pull request #6092 from ivan-boikov/cancel-dir-select
Fix cancelation of getExistingDirectory dialog
5 years ago