Skip to content

ARMSX2 2.9.6

Latest

Choose a tag to compare

@jpolo1224 jpolo1224 released this 24 Nov 17:41
· 1 commit to master since this release

ARMSX2 2.9.6

image

New

DualShock 3 button pressure over USB. With Direct USB control (PlayStation pads) on in Settings > Controls, a DualShock 3 connected by cable is read straight from USB: PS2 games that read button pressure respond to how hard you press, as they do with a DualShock 2, and the pad rumbles. Several DualShock 3s can be connected at once; each takes the next free player and lights that player's LED. A newly connected pad starts when you press its PS button. (#1010) done by @0t4k0n and @bmdhacks

image

The newest GPU driver after each update. The first time you open a new version, ARMSX2 checks for the newest release of its own GPU driver for your GPU: MaliSX2 on Mali, and ARMSX2's Turnip on the Adreno 600 and 700 series. If you're on another driver or an older release, it offers the new one with Download and install or Not now, and either answer holds until the next update. done by @bmdhacks

image

MaliSX2 installed but not selected. On a Mali GPU that MaliSX2 drives, the driver notice now tells you when MaliSX2 is installed but another driver is selected, and the GPU Driver list in Settings > Renderer gets a Switch to it button. Without MaliSX2 installed, the notice says where to get it. done by @bmdhacks

A smaller app. The APK carries one emulator core that reads the device's memory page size when it loads, in place of separate cores for 4K and 16K page devices. The APKs are about 11 MB smaller (the a15 is 67 MB instead of 78 MB), and the app keeps one core on your device instead of two. done by @bmdhacks

image

Faster

Draw state remembered. The hardware renderer keeps the state it worked out for a draw and reuses it when a draw comes with the same registers and the same facts about its target and texture, so repeated draws skip that work on the GS thread. A draw that continues the last draw's targets skips looking them up again. done by @bmdhacks

image

Draw batching decided as draws arrive. Vulkan's draw batching places each draw in its group as it arrives and records the groups later in one go. Games that draw the same geometry twice, a base pass and a second pass over it, get each pass batched in runs of its own, and each kind of draw opens a group as soon as its recent runs show it pays off. done by @bmdhacks

image

One call per run on ARMSX2's Turnip. With ARMSX2's Turnip driver, a run of batched draws goes to the driver in a single call. On the Adreno 650 with Turnip, batched draws keep the GPU from stalling by sampling at most four textures through the texture sampler and filtering the rest themselves. done by @bmdhacks

Palette copies. Games that expand paletted textures on the GS send thousands of small palette copies a frame. After the first copy of a run, the rest are made with the setup it left instead of each going through the whole draw path. done by @bmdhacks

image

Hidden pixels skipped sooner. The pixel shaders tell the GPU driver that they never raise a pixel's depth, so the driver can drop hidden pixels before shading them. done by @bmdhacks

image

VU1 code compiled once. A game that moves its VU1 routines around VU memory, or changes the code next to them, reuses the code already compiled for each routine instead of compiling it again. The optimized versions of busy routines are built once for every copy, and the VU program cache brings both back at the next start. done by @bmdhacks

image

Recompiler block index. The EE and IOP recompilers keep their index of compiled blocks by memory page, so adding a block moves one page's entries instead of the whole index, which trims hitches when a game loads new code. (#1033) done by @jaypume and @bmdhacks

Vertex packets. Two more ways games pack their vertices, colours with fogged positions and NOP-padded texture, colour and position triples, take the fast vertex path. (#1029) done by @sunshineinabox

Optimized build trained on this release. The profile behind the optimized build is retrained on this release's code across the same 16 games, plus God of War II on the software renderer, so the software renderer's code is optimized too. done by @bmdhacks

Fixed

Textures on Qualcomm's driver. On Qualcomm's own Vulkan driver, every draw samples its own texture, where draws after a batch could show another one (Need for Speed: Underground 2's background showed the game's font sheet). Draw batching's run program stays off on that driver; Turnip, MaliSX2 and every other driver keep it. done by @bmdhacks

image

Spider-Man 3 with draw batching. Spider-Man 3 keeps running when a batch fills its texture slots or buffers and starts a new one, where that could close the app. done by @bmdhacks

Adreno 610 with Turnip. Batched draws always reach the GPU with the data written for them, where some could be drawn from stale data. done by @bmdhacks

Games with thousands of VU1 programs. The VU program cache stays within its size limit (a sixteenth of the device's RAM, from 64 to 256 MB) and keeps the programs used most recently, so a game that stores tens of thousands of VU1 programs starts every time, where it could close at every start until the cache was cleared. done by @bmdhacks

The IOP thread on Android 8 and 9. Games with the IOP thread on, such as Gran Turismo 4, start on Android 8 and 9, where they closed at start. done by @bmdhacks

image

Renderer settings in game. Changing a setting that restarts the renderer from the in-game menu, such as Use Blit Swap Chain or Disable Shader Cache, no longer holds the menu while the renderer restarts: that took about 1.9 s on a Retroid Pocket Duo and 5.5 s on an Odin 1 Lite, long enough for Android's "isn't responding" message. Found by @ygordreyer (#868). done by @bmdhacks

Analog triggers. On controllers that report each trigger both as an axis and as a button, a trigger bound to a stick direction or a pressure button keeps its analog travel, where it jumped to a full press partway down (#674). done by @bmdhacks

After a GPU reset. When the GPU driver loses the device and ARMSX2 opens a new one, the renderer lets go of everything it held from the old device, so the game carries on instead of closing or freezing on Turnip. done by @bmdhacks

Resolutions below 1x. At 0.25x, 0.5x and 0.75x, every render target gets an exact scaled size, so the picture no longer drifts by up to half a pixel across the screen. done by @bmdhacks

Tales of Destiny. The sky and the Draconis keep their colours in the opening flight instead of turning fog grey: the game database gives all seven releases VU1 clamp mode Extra. done by @bmdhacks

Trance Vibrator. Rez's three vibration strengths reach your controller as three strengths, where every level played at about full strength. (#1038) done by @adamhope

Crashes. These no longer close the app: a memory access that starts in the last bytes of the PS2's fast memory window, and a VU1 branch in another branch's delay slot whose target is VU1's last instruction pair. done by @bmdhacks

image

More accurate

EE timing. The EE charges each stretch of game code what the PS2's CPU takes to run it, from a model of its two pipelines (which instructions pair, how long results take and which units can't overlap) measured on an SCPH-30001 console, in both the interpreter and the recompiler. SYNC.P, ERET and taking an exception cost what they cost on the console. done by @bmdhacks

VU microcode. microVU and the VU1 interpreter match the console at the top of VU memory (return addresses, stop addresses and branches that wrap around), at the end of programs stopped by T and D bits, and for the words the IbitHack game fix reads while running. A VU program upload that wraps past the end of VU memory replaces the compiled code at its start too, on VU0 and on VU1 with the VU1 thread off. done by @bmdhacks

Linux

One AppImage for every arm64 device. The release carries one Linux AppImage, ARMSX2-2.9.6-Linux-arm64.AppImage, in place of the 4K and 16K page versions: it reads the page size at startup and runs on ARMv8.0 cores without LSE, such as the Cortex-A53 in H700, RK3326 and RK3562 handhelds and boards. (#1037, #1046) done by @loki666, @archie2x and @bmdhacks

PanVK on Bifrost Mali GPUs. With Mesa's PanVK on a Bifrost Mali (G31, G51, G52, G71, G72 or G76), as on many ROCKNIX boards, render passes cover only the area their draws touch, a game's depth stays compressed unless it needs stencil, and destination alpha tests read the screen instead of making a temporary depth buffer. (#1026) done by @sunshineinabox

Panels mounted sideways. Under the SDL frontend without a desktop, the picture, Big Picture and the on-screen display are turned to match a portrait panel in a landscape case, such as the Retroid Pocket Flip 2's. done by @bmdhacks

Pausing a game started by a front end. A game started from the command line, as EmulationStation does, pauses and opens its pause menu instead of quitting. done by @bmdhacks

Clock format. Big Picture's Interface settings get a Clock Format choice for the menu and pause menu clocks: System Default, 12-Hour or 24-Hour, and the 12-hour clock shows AM or PM in every language. (#993) done by @Matheus290 and @bmdhacks

Raspberry Pi 5. On boards whose firmware describes no CPU clusters, such as the Raspberry Pi 5, ARMSX2 sees one cluster, so thread pinning stays off and the software renderer uses its worker threads. Android devices that report their CPUs the same way get the same fix. (#911) done by @CardamaS99 and @bmdhacks

Pad scripts over PINE. Tools connected over PINE can hold a controller's input, play pad scripts timed to the frame from a save state, and record pad input to replay it frame for frame. done by @bmdhacks

All the speed work above is in the Linux builds as well.

image

@jpolo1224 for new translations.