0
0
mirror of https://notabug.org/litucks/torzu.git synced 2025-04-24 09:05:13 +00:00

27239 Commits

Author SHA1 Message Date
spectranator
945de31fb9 Removed unusued and duplicate YUZU_NO_PRECOMPILED_HEADERS 2025-04-16 2025-04-16 21:51:17 +02:00
spectranator
634acab40b Update some Android dependencies and fix build by making boost-process optional (#120)
Based on #119

Co-authored-by: Ramiro <ramiro.depaoli@gmail.com>
Co-authored-by: spectranator <spectranator@y2nlvhmmk5jnsvechppxnbyzmmv3vbl7dvzn6ltwcdbpgxixp3clkgqd.onion>
Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/120
2025-04-16 19:47:40 +00:00
spectranator
8561b75518 Replaced shasum with perl in Arch Linux package dependency list as shasum doesn't exist anymore 2025-04-13 22:49:56 +00:00
spectranator
15d00322a0 In containerized AppImage build script, actually install all required boost components 2025-04-13 19:53:19 +02:00
spectranator
7bd0bfbb0c Do not attempt to find boost in dynarmic if its target already exists 2025-04-13 17:45:01 +02:00
spectranator
829fad8b66 Updated vcpkg baseline for updated Boost library 2025-04-13 14:59:01 +00:00
spectranator
b539eef054 Updated revert list with previous commit 2025-04-13 16:11:38 +02:00
spectranator
f7849077e1 Removed Git SCM string anonymization as it's proven quite useless and hindering in understanding bug report 2025-04-13 16:10:03 +02:00
spectranator
35f4aa964f Fixed about dialog window being too small for content 2025-04-13 16:01:45 +02:00
spectranator
5b478bdb9c Link against all required Boost components 2025-04-13 13:05:27 +02:00
spectranator
b10bcac0cf Added loose snippets for Windows build on Linux guide 2025-04-13 00:21:17 +00:00
spectranator
cfbaa32d66 Updated minimum Boost version in Linux build guide 2025-04-13 00:14:42 +00:00
spectranator
125f4e2372 Updated vcpkg for updated Boost 2025-04-12 2025-04-12 23:27:30 +02:00
spectranator
4e6bf7e82e In containerized AppImage build script allow CPM to be used with Clang 2025-04-12 22:48:09 +02:00
spectranator
76516783d3 Optionally use Clang for containerized AppImage build 2025-04-12 22:33:53 +02:00
spectranator
a426de1c51 Optionally use CPM in containerized AppImage build 2025-04-12 22:12:47 +02:00
spectranator
335570dfd3 In containerized AppImage build use Clang and allow thin/fat LTO for smaller and more optimized AppImages 2025-04-12 21:18:30 +02:00
spectranator
1319089702 Also mention Citron in README 2025-04-12 18:48:29 +02:00
spectranator
a640bbee41 Allow Yuzu to be built using Clang-CL for better compiler optimizations for Windows
Also updates Boost to 1.88.0
2025-04-12 18:46:13 +02:00
spectranator
709f70a3b2 Fix shader compile error if source directory path contains spaces 2025-04-12 12:28:22 +00:00
spectranator
977ed0063a Implemented dependency collection via CPM.cmake 2025-04-12 04:10:29 +02:00
spectranator
7c17d72b1a Restored accidentally removed IRC section in README 2025-04-11 19:10:12 +00:00
spectranator
ff2e94b286 Updated SDL to fix pipewire related compile error 2025-04-11 15:32:53 +02:00
spectranator
5de4fd6c76 Minor fixes around cleanup code in containerized AppImage build script 2025-04-06 22:48:56 +00:00
Zephyron
8f1b45003b service/vi: Improve OpenDisplay validation
Updates the OpenDisplay function in IApplicationDisplayService to properly
validate display names. Instead of only accepting "Default", now validates
against all known valid display names: "Default", "External", "Edid",
"Internal", and "Null".

- Changes log level from WARNING to DEBUG since this is no longer stubbed
- Adds proper validation for all valid display names
- Returns ResultOperationFailed for invalid display names
- Improves logging by including the requested display name
2025-04-06 23:41:57 +02:00
Zephyron
f78b30dbc4 cmake: Optimize Android VVL download logic
Improve the Vulkan Validation Layer (VVL) download logic for Android by checking
for the final library file instead of just the zip archive. This prevents
unnecessary re-downloads and extractions when the library is already in place.

The check now looks for libVkLayer_khronos_validation.so in the final
destination path before attempting to download and extract the archive.
2025-04-06 23:14:29 +02:00
Zephyron
e7e5906892 vulkan: Improve memory allocation robustness
Enhances the Vulkan memory allocator with better OOM handling and memory
alignment:

* Add memory recovery by cleaning up empty allocations before failing
* Implement proper fallback to non-device-local memory
* Simplify memory alignment handling for different vendors
* Add better error logging for allocation failures
* Add IsEmpty() helper to track unused allocations
* Fix alignment requirements for Adreno (4KB) vs other vendors

These changes improve the robustness of memory allocation, particularly
in low-memory situations, and streamline vendor-specific alignment
requirements.
2025-04-06 23:08:13 +02:00
spectranator
1526678a53 Removed "limited development" section from readme
It's not like I want the project to become "super public" again, I just dislike the way that section is written. It mostly still applies.
2025-04-06 22:47:41 +02:00
spectranator
2384d30c2a AppImage runtime scripts rewrite (now functional on Steam Deck!) 2025-04-06 2025-04-06 21:32:47 +02:00
spectranator
e52e4ca429 Removed leftover Debian container AppImage build debug code 2025-04-06 20:59:06 +02:00
spectranator
a16e593fa8 Made AppImages way more robust, compatible and reproducible using containerization and by using system-provided glibc 2025-04-06 19:15:22 +02:00
EmulationEnjoyer
f8ae0e4f2a Register ssl:s service to fix game hangs (#109)
Fixes an infinite timeout hanging issue when booting "Xenoblade Chronicles X: Definitive Edition"
(may apply to other titles as well)

>  Service.SM <Info> core\hle\service\sm\sm.cpp:GetServiceImpl:187: Waiting for service ssl:s to become available

ref: 51800e249b

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/109
Co-authored-by: EmulationEnjoyer <emulationenjoyer@noreply.localhost>
Co-committed-by: EmulationEnjoyer <emulationenjoyer@noreply.localhost>
2025-04-06 11:52:50 +00:00
spectranator
b23dea24cd Added note about recent infrastructure issues to readme 2025-04-06 13:48:37 +02:00
spectranator
eaa9c9e3a4 Updatd Vulkan Memory Allocator 2025-02-22 17:57:15 +01:00
spectranator
3d24fc2f00 Updated SPIRV and Vulkan externals 2025-02-22 17:52:59 +01:00
deftdawg
6ead429195 Fix: Joycon udev rules not applying due to typo in dist/72-yuzu-input.rules (#106)
Fixes - https://github.com/NixOS/nixpkgs/issues/374238

Without this Joycons are only detectable/usable when running yuzu/torzu as sudo/root (however sound does not work as sudo/root).

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/106
Co-authored-by: deftdawg <deftdawg@noreply.localhost>
Co-committed-by: deftdawg <deftdawg@noreply.localhost>
2025-02-04 23:05:52 +00:00
spectranator
914def23f6 Note dead email address in readme 2025-01-22 20:45:33 +00:00
EmulationEnjoyer
3f6a2bac86 Implement HID function stub "SetGestureOutputRanges" (#105)
Add function stub for "SetGestureOutputRanges" in HID service

Fixes userspace panic when booting Donkey Kong Country Returns HD:

> Debug <Critical> core\hle\service\service.cpp:operator ():78: Assertion Failed!
Unknown / unimplemented function '92(<unknown>)': port='hid' cmd_buf={[0]=0x6, [1]=0x8000000C, [2]=0x1, [3]=0x0, [4]=0x4F434653, [5]=0x0, [6]=0x0, [7]=0x0, [8]=0x49434653}
> Service.AM <Info> core\hle\service\am\service\application_functions.cpp:SetTerminateResult:187: (STUBBED) called, result=0x1a80a (2010-0212)
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:Break:52: Userspace PANIC! info1=0x0000001086D02C4C, info2=0x0000000000000004
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:operator ():33: debug_buffer_err_code=1A80A
> Debug.Emulated <Critical> core\hle\kernel\svc\svc_exception.cpp:Break:102: Emulated program broke execution! reason=0x0000000000000000, info1=0x0000001086D02C4C, info2=0x0000000000000004

ref: 132077e18f

![](https://i.imgur.com/hbBnlYs.png)

Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/105
Co-authored-by: EmulationEnjoyer <emulationenjoyer@noreply.localhost>
Co-committed-by: EmulationEnjoyer <emulationenjoyer@noreply.localhost>
2025-01-22 20:42:58 +00:00
Laconix
bc4239dd9f Turn off predictive back gesture to fix hardware back button not working in android 13 or higher 2025-01-10 06:17:51 +00:00
FireBurn
20ac5cd42b Include memory header
This stops build failures for missing std::shared_ptr which is in multiple files

Signed-off-by: FireBurn <mike@fireburn.co.uk>
2025-01-10 06:16:46 +00:00
reg_server
d306ebea30 Linux Build Fixes
- fixed AppImage not accepting arguments (for example -f -g ROM_file to start directly)
- adjusted AppImage build.sh so it can find Qt libs on Fedora (#98)
- perl-Digest-SHA package is needed for shasum on Fedora
- added option do disable linking against LLVM 17 (Steam Deck specific)
- updated build-for-linux.md (Steam Deck specific)
2025-01-03 19:49:07 +01:00
spectranator
02cfee3f18 Remove hard fmt version requirement in main CMakeLists.txt 2024-12-15 17:51:34 +01:00
Zuckerwatte1
86f6184375 Add 12gb DRAM option (#90)
This adds the option to allow the emulator to use 12gb of RAM for something like really big texture packs.

Co-authored-by: smiRaphi <neogt404@gmail.com>
Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/90
Co-authored-by: Zuckerwatte1 <zuckerwatte1@noreply.localhost>
Co-committed-by: Zuckerwatte1 <zuckerwatte1@noreply.localhost>
2024-12-15 15:14:54 +00:00
spectranator
a04ba7cd1e Mention IRC in readme 2024-11-23 16:49:24 +00:00
EmulationEnjoyer
bb142c9657 shader/recompiler: Revert NVN storage buffer bias range
- Return to original NVN bias values which better cover the full range of storage buffer accesses:
- offset_begin: 0x110 -> 0x100
- offset_end: 0x610 -> 0x700

The wider range ensures we catch all valid storage buffer accesses
while maintaining the same alignment requirements.

ref: 2564e721df
2024-11-15 12:16:49 +00:00
EmulationEnjoyer
266eb0d318 arm: Skip duplicate consecutive addresses in backtrace output
ref: aa56430f2a
2024-11-15 12:16:49 +00:00
EmulationEnjoyer
d231c26e22 chore(HLE): Update HLE API version constants
- Updated Horizon OS version to 19.0.1 and NintendoSDK version to 1.0. Adjusted `VERSION_HASH`, `DISPLAY_VERSION`, and `DISPLAY_TITLE` to match the new firmware versions.

ref: fcb6444037
2024-11-15 12:16:49 +00:00
EmulationEnjoyer
247f61e1f9 perf(VideoCore): Refactor DispatchIndirect
- Added automatic safe or unsafe processing for better emulation accuracy.

ref: 8cae0310e3
2024-11-15 12:16:49 +00:00
EmulationEnjoyer
154aab7c4b feat(shader): implement geometry shader invocation info
- Update EmitInvocationInfo in SPIRV backend to handle geometry shader stage

ref: 1266fad681 (diff-4cbf73a98ed4ad649a4a6f38b569bc31fcf68cf7)
2024-11-15 12:16:49 +00:00
EmulationEnjoyer
56f062ac4d core: Add new error modules to ErrorModule enum
- Add support for homebrew error modules to improve error handling
2024-11-15 12:16:49 +00:00