Commit graph

27485 commits

Author SHA1 Message Date
4abf13ae93 [vk] Enable line stipple and depth bound reg transfer (#59)
It should improve line stipple accuracy and the depth stencilling as part of the ExtendedDynamicState improvements.

Co-authored-by: crueter <crueter@eden-emu.dev>
Signed-off-by: Aleksandr Popovich <popovich@eden-emu.dev>
Co-authored-by: crueter <crueter@crueter.xyz>
Reviewed-on: eden-emu/eden#59
Co-authored-by: Aleksandr Popovich <popovich@eden-emu.dev>
Co-committed-by: Aleksandr Popovich <popovich@eden-emu.dev>
2025-07-26 23:55:56 +08:00
57da00940d [vulkan] add native cubic filtering (#88)
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: eden-emu/eden#88

This implements the use of VK_FILTER_CUBIC_EXT as a replacement for the software-based bicubic window adapting filter, used primarily for texture sampling in upscaled or downscaled surfaces such as UI, transparency effects, and screen-space elements in Unreal Engine 4 titles.

The Vulkan cubic filter is now conditionally enabled if the following are satisfied:

The device supports VK_EXT_filter_cubic

The format used supports VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT

This change improves visual quality while reducing GPU workload by offloading cubic filtering to the driver instead of running custom sampling code in shaders. On supported hardware (e.g. desktop GPUs or high-end Adreno/AMD devices), it results in smoother transitions, improved transparency sampling, and better fidelity with lower shader complexity.

Fallback to the original software bicubic logic remains in place for devices lacking the extension or format capability.

Tested on several UE4 titles and confirmed to preserve or enhance visual output, especially in alpha-blended and UI-heavy scenes.
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2025-07-26 23:50:58 +08:00
55d8911daa [host1x] Fix FFmpeg hardware detection, use hardware native formats. 2025-07-26 23:47:15 +08:00
d744cc6a41 Add linux-amd64 build preset. 2025-07-26 23:23:59 +08:00
fd39eb780a Remove android app id spoof. 2025-07-26 23:23:47 +08:00
002feb9d89 Update boost process dependency for debugger. 2025-07-26 23:21:17 +08:00
05e31d1e76 Use coherent names for source and destination. 2025-07-26 23:20:28 +08:00
ebefd13e5c Cleanup unused variable in dma_pusher.cpp. 2025-07-26 23:19:56 +08:00
fd0cde2a8d Try to implement GPU shutdown properly, remove stubs. 2025-07-26 23:19:26 +08:00
89b70d14bd Update vcpkg.json to include libzip. 2025-07-26 23:17:50 +08:00
1e31a48957 [dynarmic] Align memory slab allocations. 2025-07-26 23:17:15 +08:00
2112c4a3aa [vulkan] Get tick with Flush, remove redundant call to CurrentTick. 2025-07-26 23:10:58 +08:00
57c4859da4 [core/memory] Remove defered heap allocation on Linux. 2025-07-26 23:09:40 +08:00
e18c7ba41d [vulkan] Align transform feedback, sample count query and conditional rendering commands with render pass commands.
Fixed query cache leak in the case of a missed query report sync.
2025-07-26 23:04:35 +08:00
78c138d35f [frontend] Detect windowHandle properly when GRenderWindow is not native. 2025-07-24 14:00:43 +08:00
b6a5462faf [hle/nvdrv] Correct naming and logging conventions in Service.NVDRV. 2025-07-23 18:29:30 +08:00
257a8465fa [video_core] Fix vulkan presentation semaphores.
The presentation semaphores should be associated with swapchain images instead.
2025-07-23 18:26:00 +08:00
2453fd4c78 Fix QCheckBox::stateChanged deprecation. 2025-07-23 18:24:17 +08:00
772352f047 Add ENABLE_WIFI_SCAN option. Use libzip instead of QuaZip. 2025-07-23 18:21:59 +08:00
8cd0d78269 Ran clang-format. Fixed Qt6 deprecations. 2025-07-23 18:07:16 +08:00
a538126eb7
[cmake, desktop] Fix <6.9 build error and quazip fetching (#67)
Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: eden-emu/eden#67
2025-07-15 22:24:40 +02:00
d7574b2878
[android] Update app icon background
thx antabaka

Signed-off-by: crueter <crueter@eden-emu.dev>
2025-07-14 20:51:20 -04:00
e9ca3f4c06
[host1x] Fix FFmpeg crash on Linux (#37)
This fixes the FFmpeg crash on Linux / Steam Deck.

Credit to Maufeat for AVERROR_EOF check.

Co-authored-by: MaranBr <maranbr@outlook.com>
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: eden-emu/eden#37
Co-authored-by: MaranBr <maranbr@eden-emu.dev>
Co-committed-by: MaranBr <maranbr@eden-emu.dev>
2025-07-14 22:30:54 +02:00
a8564a09b7
[host1x] FreeBSD: Fix random crashes due to CUDA/VAAPI check sideeffects (#64)
FreeBSD doesn't support NVDEC, CUDA, and partially supports VAAPI (mostly for firefox).
Implementing VAAPI for other use cases would be a little bit complicated so, I chose to switch it off for FreeBSD.
This PR ensures that FFmpeg will always default to software decoding on FreeBSD, but should remain the same functionalities for other OS's.
The results are slight CPU increases while decoding in software mode, but still neglectable and they don't really harm performance.

Co-authored-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-on: eden-emu/eden#64
Co-authored-by: SDK-Chan <sdkchan@eden-emu.dev>
Co-committed-by: SDK-Chan <sdkchan@eden-emu.dev>
2025-07-14 22:30:07 +02:00
2e092010e6
[cmake] Disable bzip2 requirement for quazip (#63)
caused windows builds to fail

Signed-off-by: crueter <crueter@crueter.xyz>

Reviewed-on: eden-emu/eden#63
Co-authored-by: crueter <crueter@crueter.xyz>
Co-committed-by: crueter <crueter@crueter.xyz>
2025-07-14 06:10:25 +02:00
be59b4f15f
[cmake] Patch QuaZip for windows fix (#60)
Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: eden-emu/eden#60
2025-07-14 04:48:39 +02:00
2be7df287a
[android] Fix crash caused by unreferenced driver (#58)
Previously, if the user selected a per-game driver and that driver was
deleted from the global menu, it would cause a crash, it was because of
a mismatch between FileNotFoundException and NoSuchFileException. To
avoid the inconsistency I just made the check for if a file exists or
not to be separate.

Signed-off-by: Aleksandr Popovich <popovich@eden-emu.dev>

Reviewed-on: eden-emu/eden#58
Co-authored-by: Aleksandr Popovich <popovich@eden-emu.dev>
Co-committed-by: Aleksandr Popovich <popovich@eden-emu.dev>
2025-07-14 02:18:33 +02:00
492903cc7a
[cmake] force quazip to use qt 6
Signed-off-by: Aleksandr Popovich <popovich@eden-emu.dev>
2025-07-13 20:00:38 -04:00
f99488fe3e
[desktop] feat: install firmware from ZIP (#52)
Closes #12

Adds a menu option to install firmware from a packed ZIP.

This PR additionally lays the groundwork to add data import/export via ZIP. In the future, a qt_common subproject should be added to handle common Qt tasks such as this.

Furthermore, to decrease dependency complexity, this also introduces CPM, a wrapper around FetchContent. In theory, this should also lay the groundwork for #8 as well.

Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: eden-emu/eden#52
2025-07-14 01:29:57 +02:00
7b23cd0df4
[dynarmic] fix userconfig casting warn (#55)
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: eden-emu/eden#55
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2025-07-14 00:54:00 +02:00
Ghost
fe4f5a3860
[dynarmic] lea over mov and other stuff (#24)
Co-authored-by: Esther1024 <danishreyjavik@outlook.com>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: eden-emu/eden#24
Co-authored-by: Ghost <>
Co-committed-by: Ghost <>
2025-07-13 23:03:26 +02:00
a0a208db57
[cmake] Fix misplaced comment (#54)
A member of the community notified me that I misplaced a comment so, I corrected it.

Reviewed-on: eden-emu/eden#54
Co-authored-by: SDK Chan <sdkchan@eden-emu.dev>
Co-committed-by: SDK Chan <sdkchan@eden-emu.dev>
2025-07-13 20:58:04 +02:00
Ghost
c47f6615d3
[vk, opengl] Prevent GPU draw call if CBUF binding fails (cbuf0 error handling) (#2)
Add defensive checks to cancel draw calls early if any graphics storage buffer (CBUF) fails to bind properly.

- Modified BindGraphicsStorageBuffer to return false on invalid buffer ID.,
- ConfigureImpl (both OpenGL and Vulkan) now propagates binding failure.,
- Pipeline::Configure returns false if CBUF binding fails.,
- PrepareDraw cancels rendering if pipeline configuration fails.,

This avoids undefined GPU behavior, draw corruption, or crashes caused by uninitialized or invalid constant buffer (CBUF0) access, particularly in games with faulty or missing shader bindings.
Eden Collaborator: <edencollaborator@eden-emu.org>
Authored-by: CamilleLaVey <camillelavey@eden-emu.org>
Signed-off-by: Bix <bix@bixed.xyz>

Co-authored-by: Bix <114880614+Bixbr@users.noreply.github.com>
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: eden-emu/eden#2
Co-authored-by: Ghost <>
Co-committed-by: Ghost <>
2025-07-13 19:27:39 +02:00
1cd51d6545
[android] Fix key install and revert to old icon_bg
`312b3d4743`

Signed-off-by: crueter <crueter@eden-emu.dev>
2025-07-13 01:17:32 -04:00
5091759a47
[vk, opengl] defer checks to topmost call (avoid unnecessary call) (#40)
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: eden-emu/eden#40
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2025-07-13 03:40:48 +02:00
03351a4f8b
[frontend] refactor: extract common firmware & key functions (#38)
Extracts some firmware version/verification functions into
`frontend_common` to reduce duplicate code, especially for the new QML
frontend.

Additionally adds a check for games that are known to require firmware
(e.g. MK8DX) and warns the user if they don't have firmware installed
and attempt to run the game.

Firmware installation is to be in a separate PR.

Signed-off-by: crueter <crueter@eden-emu.dev>
Co-authored-by: Aleksandr Popovich <popovich@eden-emu.dev>
Reviewed-on: eden-emu/eden#38
2025-07-13 03:39:19 +02:00
55a7797378
[desktop] add options to open root, NAND, SDMC, load, and log dirs (#53)
Signed-off-by: crueter <crueter@eden-emu.dev>
Reviewed-on: eden-emu/eden#53
2025-07-13 03:39:01 +02:00
d5c58342e0
[yuzu_cmd] gdbstub option (#43)
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: eden-emu/eden#43
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2025-07-13 03:25:43 +02:00
ae02310bdf
optional multimedia/webengine
Signed-off-by: crueter <crueter@eden-emu.dev>
2025-07-12 18:05:37 -04:00
cd394fc40f revert [android] Snapdragon 865 patches (#23)
revert [android] Snapdragon 865 patches (#23)

Co-authored-by: Aleksandr Popovich <alekpopo@pm.me>
Reviewed-on: https://git.bixed.xyz/Bix/eden/pulls/23

Reverted due to heavy performance hits on Android with higher specifications, will be adjusted to be included in a specific build for older A6XX devices, as 855, 860, 865, 870, meanwhile it does fix critical issues with certain games crashing due to memory and VRAM usage, hits performance on SoC that can do it without this special flags.
2025-07-12 20:10:40 +02:00
3df06da02c revert Align and bias memory stronger
revert [ir] Align and bias memory stronger

Signed-off-by: Aleksandr Popovich <alekpopo@pm.me>
Reviewed-on: eden-emu/eden#229
Co-authored-by: Aleksandr Popovich <alekpopo@pm.me>
Co-committed-by: Aleksandr Popovich <alekpopo@pm.me>

Reverted as showed up issues with buffers on games that weren't expected, it's going to be refined and implemented again with better params.
2025-07-11 19:57:21 +02:00
7f48f4efb6
Add native FreeBSD building functionality (#35)
This commit enables native building on FreeBSD through Cmake + ninja.

Reviewed-on: eden-emu/eden#35
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: SDK-Chan <sdkchan@eden-emu.dev>
Co-committed-by: SDK-Chan <sdkchan@eden-emu.dev>
2025-07-11 10:05:17 +02:00
e5074c90ad
[android] Fix charging indicator and dynamic state setting (#36)
Co-authored-by: Pavel Barabanov <pavelbarabanov94@gmail.com>
Reviewed-on: eden-emu/eden#36
2025-07-11 10:05:01 +02:00
2f421923a6 Update for the Ukrainian translation. Thanks, Rondo. 2025-07-10 18:55:18 +03:00
5402773631 Merge branch 'updated-the-translation' 2025-07-10 17:35:48 +03:00
64f40c8b88
[android] fix strings and defaults
Signed-off-by: crueter <crueter@eden-emu.dev>
2025-07-09 17:02:53 -04:00
591a446bd1
Update links
Signed-off-by: crueter <crueter@eden-emu.dev>
2025-07-09 16:51:15 -04:00
312b3d4743 [android] update icon background (#31)
credit: AntaBaka

Signed-off-by: crueter <crueter@eden-emu.dev>

Reviewed-on: https://git.bixed.xyz/Bix/eden/pulls/31
2025-07-09 17:19:26 +00:00
5bf1199feb translate 2025-07-09 19:11:46 +03:00
97587d5dc9 remove extra string and fix serbian
Signed-off-by: Aleksandr Popovich <popovich@eden-emu.dev>
2025-07-09 14:09:48 +00:00