Stephen Miller
7e7574ac18
Delete unused fds in sceNetEpollDestroy and sys_socketclose
...
This issue would cause memory leaks in some EA titles, also just generally makes it harder to debug stuff when the fd table is flooded with closed sockets and epolls.
2026-01-29 14:03:35 -06:00
georgemoralis
220e5f67e7
NetFixes : workaround for Epolls on P2P sockets ( #3933 )
...
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* return error on P2P sockets
* error message improved
2026-01-17 21:33:14 +02:00
Rodrigo Cioletti
138425fdf4
Network: Fixed null string crash on sceNetResolverCreate ( #3872 )
...
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
* Network: Fixed null string crash on sceNetResolverCreate
* Assigned an empty string for better code styling
* Fixed wrong commit
2025-12-21 15:50:49 +02:00
Stephen Miller
7031f5968e
Better return stub ( #3773 )
...
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Gets THE PLAYROOM (CUSA00001) further.
2025-11-05 18:32:24 +02:00
Marcin Mikołajczyk
a6f5e4c7dc
net: silence some epoll logs ( #3654 )
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2025-09-25 12:41:31 -07:00
Marcin Mikołajczyk
976d12f4e6
Epolls are file descriptors ( #3622 )
...
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* net: Register epolls in file descriptor table
* fstat: stub epoll, resolver
* Fake async hostname resolution
* net: epoll fixes
* epoll: actually close the file descriptor
2025-09-22 22:57:51 +03:00
Marcin Mikołajczyk
7bd3eb485f
Epoll ( #3476 )
...
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* Epoll
* Change companion util stub to return NO_EVENT
* Revert "Change companion util stub to return NO_EVENT"
This reverts commit 8dd9913cda39b641cd3b65925e1f31fa713e8a24.
* added wepoll
* shallow..
* dist branch
* updated wepoll
* compiles on windows
---------
Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2025-09-18 11:53:04 +03:00
Gabriel
7101caa80b
Fix: Extend strlcpy implementation to Linux builds ( #3616 )
...
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* Fix: Add libbsd dependency for Linux builds
Adds conditional libbsd support to resolve strlcpy undefined reference
on Linux systems. Includes proper CMake detection and header includes.
* Fix: Use internal strlcpy implementation for Linux
- Extend existing Windows strlcpy implementation to Linux
- Remove libbsd dependency from CMakeLists.txt
- Resolves undefined reference to strlcpy on glibc systems
Uses the project's existing approach instead of adding external dependencies.
2025-09-17 20:45:28 -07:00
squidbus
21a1888857
build: Fix a couple more warnings. ( #3598 )
2025-09-13 15:33:42 -07:00
Stephen Miller
f4531fd927
Core: Remove checks for symbol version_major and version_minor ( #3540 )
...
* Remove checks for module version_major and version_minor
Following this rule broke linking for some libraries, and introduced extra effort needed to get some homebrew running.
* Clang
* Fix rebase
* Disable libSceSsl HLE
Real hardware uses a title workaround to determine if base libSceSsl is needed. Currently, this title workaround applies to absolutely nothing.
2025-09-08 19:30:03 -07:00
Marcin Mikołajczyk
2f701311f2
Sockets fixes ( #3392 )
...
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* Print errnos as decimal
* SetSocketOptions: prevent setting SO_TYPE
* Extract net error handler
* Change the local IP retrieval method
* Fix windows
2025-08-06 08:00:29 +03:00
kalaposfos13
a362f20dae
Implement ORBIS_NET_CTL_INFO_HTTP_PROXY_CONFIG ( #3366 )
2025-08-03 11:15:13 +03:00
Marcin Mikołajczyk
8b1b0fa0dc
Implement simple DNS name resolution ( #3318 )
...
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* Implement simple DNS name resolution
* Remove conversion of getaddrinfo errors to string
---------
Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2025-07-25 19:05:28 +03:00
Marcin Mikołajczyk
61ce393673
inet_ntop and inet_pton ( #3317 )
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2025-07-25 09:53:41 +03:00
kalaposfos13
499451bb80
Standardize RegisterLib names for HLE libraries ( #3234 )
2025-07-16 12:23:03 +03:00
georgemoralis
7f0503bf8b
Implemented sceNetInetNtop in RE ( #3003 )
...
* implemented sceNetInetNtop in RE
* some logging
* added freebsd_inet_ntop4
* freebsd_inet_ntop6
* fixups based on reviews
* review fixes
2025-05-29 11:59:34 +03:00
georgemoralis
e6a144ddb0
[Libs] sceNet IV ( #2867 )
...
* dummy returns in p2p sockets
* added logging for sceNetSetsockopt
* possible fix for ORBIS_NET_SO_LINGER set
* logging for getsockoption as well
* disable kernel getsockname (seems to create issues with cyberpunk)
* some fixes with SetSocketOptions
* arggg
* posix_getsockname try
* mutex protection
* removed duplicated include (diegolix29)
* posix_getsockname appears to have issues in cyberpunk , comment it for now
2025-05-13 08:54:38 +03:00
georgemoralis
bb59cd81fa
[Libs] sceNet ( #2815 )
...
* implemented sceNetGetMacAddress
* added all error codes
* added ORBIS_NET_CTL_INFO_DEVICE , ORBIS_NET_CTL_INFO_MTU
* RE sceNetConnect
* sceNetBind RE
* RE sceNetAccept
* RE sceNetGetpeername ,sceNetGetsockname
* fixup
* RE sceNetListen ,sceNetSetsockopt
* sceNetShutdown,sceNetSocket,sceNetSocketAbort,sceNetSocketClose
* sceSend,sceSendTo,sceSendMsg
* sceNetRecv,sceNetRecvFrom,sceNetRecvMsg RE
* some kernel net calls
* init winsock2
* logging
* sockets interface
* added winsock to SCE* error codes conversion
* implemented net basic calls
* some net calls implementation
* clang fixes
* fixes for linux+macOS
* more fix
* added sys_accept implementation
* more posix net calls
* implemented sys_getsockname
* fixed redirection
* fixed posix socket?
* posix_sendto , recvfrom
* added sys_socketclose
* unsigned error log
* added setsocketoptions
* added more posix net calls
* implement getsocketOptions
* stubbed p2p calls
2025-04-30 17:58:39 +03:00
georgemoralis
dbdbb40c0b
Network libs fixes , stubs and more ( #1324 )
...
* some rework on netctl calls
* added libs stubs using from RE6
* added ORBIS_NET_CTL_INFO_IP_ADDRESS case in sceNetCtlGetInfo
* added sceNetInetPton
* some dummy functions and change some functions to debug level
* clang format fix
* fix for sceNetInetPton
* posix OS fix?
* linux + macOS fixes?
* fix?
* sceSharePlayGetCurrentConnectionInfo
2024-10-11 10:37:36 +03:00
Dzmitry Dubrova
75c92a7cd1
net: Stub sceNetErrnoLoc ( #1271 )
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2024-10-06 22:34:55 +03:00
georgemoralis
ccf02d0aed
Revert "sceNetAccept sleep and SDLAudio::AudioOutOutput latency and cpu improvements ( #507 )"
...
This reverts commit d66d129357 .
2024-09-11 12:56:41 +03:00
kh0nsu
d66d129357
sceNetAccept sleep and SDLAudio::AudioOutOutput latency and cpu improvements ( #507 )
...
* Add 5-second sleep on sceNetAccept as this can be called in an infinite loop and would normally block (this isn't ideal for non-blocking sockets but it's all stubs at the moment anyway)
* SDLAudio::AudioOutOutput: protect against invalid handle, support NULL input (wait only), replace fixed 65536 with an amount based on settable latency target (20ms for now)
* Fix whitespace
---------
Co-authored-by: j <j@local>
2024-09-11 08:57:05 +03:00
TheTurtle
1d1c88ad31
control_flow_graph: Initial divergence handling ( #434 )
...
* control_flow_graph: Initial divergence handling
* cfg: Handle additional case
* spirv: Handle tgid enable bits
* clang format
* spirv: Use proper format
* translator: Add more instructions
2024-08-16 20:05:37 +03:00
TheTurtle
a7c9bfa5c5
shader_recompiler: Small instruction parsing refactor/bugfixes ( #340 )
...
* translator: Implemtn f32 to f16 convert
* shader_recompiler: Add bit instructions
* shader_recompiler: More data share instructions
* shader_recompiler: Remove exec contexts, fix S_MOV_B64
* shader_recompiler: Split instruction parsing into categories
* shader_recompiler: Better BFS search
* shader_recompiler: Constant propagation pass for cmp_class_f32
* shader_recompiler: Partial readfirstlane implementation
* shader_recompiler: Stub readlane/writelane only for non-compute
* hack: Fix swizzle on RDR
* Will properly fix this when merging this
* clang format
* address_space: Bump user area size to full
* shader_recompiler: V_INTERP_MOV_F32
* Should work the same as spirv will emit flat decoration on demand
* kernel: Add MAP_OP_MAP_FLEXIBLE
* image_view: Attempt to apply storage swizzle on format
* vk_scheduler: Barrier attachments on renderpass end
* clang format
* liverpool: cs state backup
* shader_recompiler: More instructions and formats
* vector_alu: Proper V_MBCNT_U32_B32
* shader_recompiler: Port some dark souls things
* file_system: Implement sceKernelRename
* more formats
* clang format
* resource_tracking_pass: Back to assert
* translate: Tracedata
* kernel: Remove tracy lock
* Solves random crashes in Dark Souls
* code: Review comments
2024-07-30 23:32:40 +02:00
georgemoralis
a810e47876
few more sceNet work
2024-06-28 23:00:01 +03:00
georgemoralis
e54d574241
implemented a part of sceNet calls
2024-06-27 18:42:36 +03:00
GPUCode
5e2ac6c72b
src: Reorganize and cleanup libraries
2024-04-14 00:37:17 +03:00