任天堂Switch 2平台近期迎来一项技术突破,开发者成功在单一主机上同时运行两个PPSSPP PSP模拟器实例,并借助GameShare协议将其中一个实例的画面与音频实时串流至远程客户端 1。这一实验性分支的核心目标在于验证主机端双游戏独立运行能力以及跨设备共享画面的可行性 1。
为实现双实例的内存隔离,开发团队通过重命名7351个COMDAT组和27173个全局符号解决了底层冲突问题,并修复了因链接器错误导致的构造函数丢弃现象 1。在渲染层面,作为“Guest”的第二实例采用了独立的Vulkan离屏路径,以1280x720分辨率和60帧每秒的频率进行输出,同时共享OunceVK驱动会话 1。此外,团队还实现了PCM音频从Host端正确路由至Client端的技术方案 1。
截至2026年11月19日,标记为 switch2-gameshare-guest-audio-working(commit 50cd977)的构建版本已在实机上完成了关键功能验证 1。测试确认客户端能够正常接收画面显示且声音播放无误,双屏幕控制可见性也符合预期 1。尽管基本功能已跑通,但该分支在长时间运行下的持续性能表现仍有待进一步的物理环境验证 1。
A technical experiment has successfully demonstrated the ability to run two instances of the PPSSPP PlayStation Portable emulator concurrently on a single Nintendo Switch 2, while streaming the video and audio output of one instance to a remote client using the GameShare protocol 1. The core objective was to achieve parallel execution of two emulator processes on the host console, allowing a second user or device to view and hear the gameplay of the "guest" instance independently from the primary game running locally 1.
To accomplish memory isolation between the dual instances, developers renamed 7,351 COMDAT groups and 27,173 global symbols within the codebase 1. This process also involved fixing an issue where the linker was incorrectly discarding constructor functions 1. On the rendering side, the guest instance operates using a separate Vulkan offscreen path configured for 1280x720 resolution at 60 frames per second, while sharing the underlying OunceVK driver session with the host 1. Additionally, the team implemented correct routing for PCM audio data from the host system to the client device 1.
As of November 19, 2026, the experimental branch confirmed that both screen control visibility on the host and sound playback on the client were functioning correctly on physical hardware 1. The build tag associated with this milestone, which included working audio capabilities, is identified as switch2-gameshare-guest-audio-working with commit hash 50cd977 1. While basic functionality for displaying images and transmitting sound has been verified, further physical testing is still required to determine the long-term performance stability of this setup 1.
评论
还没有评论,欢迎留下第一条。