aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-04Check KeyboardMode in GUI (#4343)1.1.862WilliamWsyHK
* Update SoftwareKeyboard to send KeyboardMode to UI * Update GTK UI to check text against KeyboardMode * Update Ava UI to check text against KeyboardMode * Restructure input validation * true when text is not empty * Add English validation text for SoftwareKeyboardMode * Add Chinese validation text for SoftwareKeyboardMode * Update base on feedback --------- Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
2023-06-03Implement shader storage buffer operations using new Load/Store instructions ↵1.1.861gdkchan
(#4993) * Implement storage buffer operations using new Load/Store instruction * Extend GenerateMultiTargetStorageOp to also match access with constant offset, and log and comments * Remove now unused code * Catch more complex cases of global memory usage * Shader cache version bump * Extend global access elimination to work with more shared memory cases * Change alignment requirement from 16 bytes to 8 bytes, handle cases where we need more than 16 storage buffers * Tweak preferencing to catch more cases * Enable CB0 elimination even when host storage buffer alignment is > 16 (for Intel) * Fix storage buffer bindings * Simplify some code * Shader cache version bump * Fix typo * Extend global memory elimination to handle shared memory with multiple possible offsets and local memory
2023-06-03ava: Fix Input Touch (#5204)1.1.860Ac_K
2023-06-03ava: Fix Open Applet menu enabled (#5206)1.1.859Ac_K
Currently, the `Open Applet` menu is still enabled when a guest is running, which is wrong. This is not fixed by refreshing the property binding on `IsEnabled`.
2023-06-03Armeilleure: Fix support for Windows on ARM64 (#5202)1.1.858Mary
* Armeilleure: Fix support for Windows on ARM64 Tested on Windows DevKit 2023. * Address gdkchan's comments
2023-06-03Allow BGRA images on Vulkan (#5203)1.1.857gdkchan
2023-06-03ava: Fix exit dialog while guest is running. (#5207)1.1.856Ac_K
* ava: Fix exit dialog while guest is running. There is currently an issue while a game runs, the content dialog creation method check if `IsGameRunning` is true to show the popup. But the condition here is wrong (`window` is null) so it throw a NullException silently in `Dispatcher.UIThread`. This is now fixed by using the right casting. * improve condition * Fix spacing
2023-06-01nuget: bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.1 (#5192)1.1.855dependabot[bot]
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.6.0 to 17.6.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.6.0...v17.6.1) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01UI: Fix empty homebrew icon (#5189)1.1.854Ac_K
* UI: Fix empty homebrew icon We currently don't check the icon size when we read it from the homebrew data. That could cause issues at UI side since the buffer isn't null but empty. Extra check have been added UI side too. (I cleaned up some files during my research too) Fixes #5188 * Remove additional check * Remove unused using
2023-06-01Give Library header DockPanel explicit height (#5160)1.1.853Théo Arrouye
2023-06-01Add issue template for missing shader instructions (#5048)ExE Boss
* Add issue template for missing shader instructions * fixup! Add issue template for missing shader instructions * Update .github/ISSUE_TEMPLATE/missing_shader_instruction.yml --------- Co-authored-by: Ac_K <Acoustik666@gmail.com>
2023-06-01[Logger] Add print with stacktrace method (#5129)1.1.852TSRBerry
* Add print with stacktrace method * Adjust logging namespaces * Add static keyword to DynamicObjectFormatter
2023-06-01nuget: bump DynamicData from 7.13.8 to 7.14.2 (#5148)1.1.851dependabot[bot]
Bumps [DynamicData](https://github.com/reactiveui/DynamicData) from 7.13.8 to 7.14.2. - [Release notes](https://github.com/reactiveui/DynamicData/releases) - [Changelog](https://github.com/reactivemarbles/DynamicData/blob/main/ReleaseNotes.md) - [Commits](https://github.com/reactiveui/DynamicData/compare/7.13.8...7.14.2) --- updated-dependencies: - dependency-name: DynamicData dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01Only run one workflow for a PR at a time (#5137)1.1.850TSRBerry
2023-06-01Vulkan: Include DepthMode in ProgramPipelineState (#5185)1.1.849riperiperi
2023-05-31GPU: Dispose Renderer after running deferred actions (#5144)1.1.848riperiperi
* GAL: Dispose Renderer after running deferred actions Deferred actions from disposing physical memory instances always dispose the resources in their caches. The renderer can't be disposed before these resources get disposed, otherwise the dispose actions will not actually run, and the ThreadedRenderer may get stuck trying to enqueue too many commands when there is nothing consuming them. This should fix most instances of the emulator freezing on close. * Wait for main render commands to finish, but keep RenderThread alive til dispose * Address some feedback. * No parameterize needed * Set thread name as part of constructor * Port to Ava and SDL2
2023-05-31Avalonia UI: Fix letter "x" in Ryujinx logo being cut off (#5176)1.1.847yell0wsuit
Also make the pronunciation center-aligned
2023-05-31Skip draws with zero vertex count (#5149)1.1.846gdkchan
2023-05-31Share ResourceManager vertex vertex A and B shaders (#5181)1.1.845gdkchan
2023-05-31macOS Headless Fixes (#5167)1.1.844Isaac Marovitz
* Default hypervisor to disabled * Include MVK on macOS * Properly sign headless builds on macOS * Force Vulkan on macOS * Suggestions
2023-05-30Add Context Menu Option to Run Application (#5154)1.1.843Patrick Hovsepian
2023-05-30Linux: Automatically increase vm.max_map_count if it's too low (#4702)1.1.842TSRBerry
* memory: Check results of pinvoke calls * Increase vm.max_map_count when running Ryujinx * Add SupportedOSPlatform attribute for WindowsApiException * Revert increasing vm.max_map_count via script * Add LinuxHelper to detect and increase vm.max_map_count With GUI dialogs, this should be a bit more user-friendly. * Supply arguments as a list to RunPkExec * Add error logging in case RunPkExec() fails * Prevent Gtk from crashing
2023-05-29nuget: bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0 (#4986)1.1.841dependabot[bot]
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.5.0 to 17.6.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.5.0...v17.6.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29Make sure blend is disabled if render target has integer format (#5122)1.1.840gdkchan
* Make sure blend is disabled if render target has integer format * Change approach to avoid permanently mutating state
2023-05-29Workaround for MoltenVK barrier issues (#5118)1.1.839gdkchan
2023-05-29Fix incorrect vertex attribute format change (#5112)1.1.838gdkchan
* Fix incorrect vertex attribute format change * Only change vertex format if the host supports the new format
2023-05-29Fix #5108: Allow surround sound for SDL2 in more scenarios (#5131)1.1.837Simon Wegendt
2023-05-28Linux: Use gamemode if it is available when using Ryujinx.sh. (#4938)1.1.836subanz
* Linux: Detect if gamemode is installed and start it when launching Ryujinx. When using the Ryujinx.sh script to start the emulator check if gamemoderun exists and use it if it does. Gamemode mode on Linux changes some system settings to make performance during gaming more consistent mainly by changing the CPU governor to performance. https://github.com/FeralInteractive/gamemode * Removed if statement. * Fix due to wrong assumption about the output of which. Checks if the which output contains a no match response, otherwise use gamemoderun. Using a case statement because it makes substring matching possible in sh and also it turns out that adding an empty string after env throws an error because env attempts to parse it as a paramater. * Missed a couple semicolons. * Different approach for checking if gamemode is available. Should hopefully work across all implementations of which. * Remove unneeded which command. * Change code to keep launch command to a single line.
2023-05-28Add support for VK_EXT_depth_clip_control. (#5027)1.1.835cstamford
* Add support for VK_EXT_depth_clip_control. * Code review feedback Minor formatting Co-authored-by: gdkchan <gab.dark.100@gmail.com> * Check .DepthClipControl to make sure the host actually supports the feature. * Review feedback: remove Vulkan platform switch, relying on QueryHostSupportsDepthClipControl to drive the behaviour - OpenGL returns true, and any future platforms that don't support the [-1, 1] depth mode can return false for the transformation. --------- Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2023-05-28chore: Update Avalonia to 0.10.21 (#5124)1.1.834Mary
2023-05-28About window: Add changelog link under ver. number (#5095)1.1.833yell0wsuit
2023-05-28Update LastPlayed date on emulation end. (#5056)1.1.832Théo Arrouye
2023-05-28Improve macOS updater (#5064)1.1.831siegmund-heiss-ich
* Fix macOS Updater (once again) * Also fix my brain's issues * Move set -e that lsof doesn't trigger exit 1 * Resolve yesterdays brain malfunction 2 * Revert "Move set -e that lsof doesn't trigger exit 1" This reverts commit 589a630610fff26f6a549d82c73be61b74187327. * Also check if PID exists * Remove lsof and instead check for running processes * Remove empty lines * Increase max iterations * Address feedback * Remove obsolete check for child processes * Update comments * Update comments * I swear this is the last commit * lsof + ps check
2023-05-28Added Custom Path case when saving screenshots (#5086)1.1.830Daniel Shala
2023-05-28actions: revert timeout-minutes changes for PR workflow1.1.829Mary
Varibales aren't exposed to PRs...
2023-05-28actions: Workaround YAML limitation for timeout-minutes1.1.828Mary
Because Github Actions wants an int, we use fromJSON to hack around this.
2023-05-28Use variables to configure job timeouts (#5123)1.1.827TSRBerry
2023-05-26Ryujinx.Ava: fixes for random hangs on exit (#4827)1.1.826jhorv
* Attempt at fixing hang on exit by ending the WindowNotificationManager notification loop, so that the Thread running it can exit. * explicitly apply the NotificationManager template to allow the notification loop to begin * NotificationHelper - remove explicity call to ApplyTemplate(). Change to ManualResetEventSlim so we can cancel the Wait on it. * add a timeout to AudioRenderSystem.Stop()'s waiting for the termination signal, log a warning if this timeout occurs, and continue execution * NotifiationHelper - cancel first, the CompleteAdding() * Remove AudioRenderSystem._terminationEvent, redundant * NotificationHelper - use host.Closing event to trigger cancellation instead of _notifationManager.DetachedFromLogicalTree * Change NotificationHelper to use an explicit Thread for background work. Wait on the cancellationToken's WaitHandle so the Thread doesn't have to deal with async. Wrap foreach in try/catch (OperationCanceledException) to swallow the escaping exception from the GetConsumingEnumerable(). * adjust formatting of AsyncWorkQueue constructor to use object initializers consistently * use AsyncWorkQueue to do everything I added in SetNotificationManager() * Revert "use AsyncWorkQueue to do everything I added in SetNotificationManager()" This reverts commit f0e78366b8776ec8e2fef8ab023c0db1833155d3. * use AsyncWorkQueue to handle the Thread-related changes previously made to NotificationHelper.SetNotificationHelper(). Wrap it in Lazy<T> and force instantiation in the TemplateApplied event handler to accomodate for the fact that AsyncWorkQueue starts immediately, and the notification dispatch loop was being delayed by _templateAppliedEvent. * impl changes suggested by AcK77 * impl changes suggested by AcK77 (more)
2023-05-26Force reciprocal operation with value biased by constant to be precise on ↵1.1.825gdkchan
macOS (#5110) * Force operations to be precise in some cases on SPIR-V * Make it a bit more strict, add comments * Shader cache version bump
2023-05-25Fix resolution scaling of image operation coordinates (#5102)1.1.824gdkchan
* Fix resolution scaling of image operation coordinates * Shader cache version bump
2023-05-25Fix mod names (#5088)1.1.823TSRBerry
2023-05-25Generate scaling helper functions on IR (#4714)1.1.822gdkchan
* Generate scaling helper functions on IR * Delete unused code * Split RewriteTextureSample and move gather bias add to an earlier pass * Remove using * Shader cache version bump
2023-05-25Truncate vertex attribute format if it exceeds stride on MoltenVK (#5094)1.1.821gdkchan
* Truncate vertex attribute format if it exceeds stride on MoltenVK * Fix BGR format * Move vertex attribute check to pipeline creation to avoid costs * No need for this to be public
2023-05-25Update release.yml (#5058)1.1.820Isaac Marovitz
2023-05-23Vulkan: Do not set storage flag for multisample textures if not supported ↵1.1.819gdkchan
(#5060)
2023-05-22Implement p2rc, p2ri, p2rr and r2p.cc shaders (#5031)1.1.818makigumo
* implement P2rC, P2rI, P2rR shaders * implement R2p.CC shader * bump CodeGenVersion * address feedback
2023-05-22Revert "Bump MVK Version (#5057)" (#5061)1.1.817gdkchan
This reverts commit c2e4c8f98e5d49749f8691fd0982a746339f8211.
2023-05-22Bump MVK Version (#5057)1.1.816Isaac Marovitz
2023-05-22Ava UI: Input Menu Redesign (#4990)1.1.815Isaac Marovitz
* Cleanup * Remove redundant locales * Start SVG Fixes… Better +/- buttons Fix the grips Bumpers Better directional pad More SVG stuff Grip adjustments Final stuff * Make image bigger * Border radius * More cleanup * Restructure * Restructure Rumble View * Use compiled bindings where possible * Round those pesky corners * Ack Suggestions * More suggestions * Update src/Ryujinx.Ava/UI/Views/Input/RumbleInputView.axaml.cs Co-authored-by: Ac_K <Acoustik666@gmail.com> --------- Co-authored-by: Ac_K <Acoustik666@gmail.com>
2023-05-21Fix crash in SettingsViewModel when Vulkan isn't available (#4985)1.1.814jhorv
* fix crash when Vulkan isn't available * add VulkanRenderer.GetPhysicalDevices() overload that provides its own Vk API object and logs on failure * adjustments per AcK77