Repository navigation
feat: prepare the round 10 build - #27
Merged
Merged
Conversation
The stream loop flipped every vblank, and Mesa's WSI hands out its third image while a flip still waits. A picture so showed about two refreshes after its decode. The presenter now holds one image back and takes the picture after the acquire, and the loop presents when a picture arrives. A flip per picture is also what a variable refresh needs once the output is unpegged. Read from the WSI at the Mesa pin. No console has run it.
Two requests wait on what VideoOut answers: an SDR output for an SDR stream while the console's HDR is on, and a variable refresh. Check 24 asks the output for each colorimetry, then unpegs the refresh and paces flips at rates a fixed 119.88 Hz can't show evenly. Firmware's own kernel log lines beside each step are the result. The SDK's stub lacks the peg calls, so the check looks its four functions up by name: a missing export is a code, not a null call.
The capability word follows the console's HDR setting at an 8-byte record. The kernel log adds two facts the next round builds on: firmware picks the output's colour when VideoOut opens, and the refresh runs VRR pegged at 120 Hz.
A pad's touchpad contacts and its gyro never left the console, so a game's motion aiming and the host pad's touchpad had nothing to read. Each tick now diffs them onto the rich-input plane: fingers keep a wire slot by the pad's own contact id, and the dial or the way out lifts every finger and stops the gyro. scePad's units and axes are sourced, not proven: rad/s and g, +y up, a 1920 by 1080 touch surface.
The dial listed controller mouse, the keyboard, Guide, Quick Access, stream mute and scroll direction, and each did nothing here. Core already turns a flagged pad into a mouse, so the dial only has to ask. The keyboard is the console's own tray over the stream: its keys go to the host as text, X deletes and Done sends Return. Controller mouse and a tap act on the pad that opened the dial.
The settings offer 5.1 and 7.1, and this client reset either to stereo. AudioOut's eight-channel port plays both: the wire's order is FL FR FC LFE BL BR SL SR and the port's trades the last two pairs, so 7.1 swaps them and a 5.1 stream's rear pair lands on the port's surround pair. The port's order is sourced from an emulator, not proven on a console.
A typed host name and the home menu's overlay both wait on console calls nothing has run here. Check 25 resolves a name through std and through libSceNet's resolver, and check 26 reads the system's status record. Each is looked up by name at run time, so an export this firmware lacks is a code and the probe goes on.
The guides still named surround and a keyboard as missing. The notes gain what the new code takes on trust from the PS4's interfaces: the pad's motion units and touch surface, the eight-channel order, the resolver and the status record.
A pad's state carries motion only while its sensor is on, and nothing says the console leaves it on for a title. The pad's open now asks for it by name, so a firmware without the call answers with a code. A state whose accelerometer reads zero on every axis sends no motion: the wire's zero means free fall.
A display that shows 3840x2160 only at 60 Hz gets 1920x1080 from this title: it declares 120 Hz, and the console takes the refresh over the resolution. Keeping such a display at 3840x2160 needs a request for 59.94 Hz, which nothing here knows yet. Check 24 now lists the presets the output takes and asks for both refresh rates through the mode record. The install guide names the console's own switch meanwhile.
The coils' port and the pad's haptics mode are another title's finding, not this one's. Check 27 opens the vibration port for the first signed-in user, plays a tone on the left coil, then the right, and ends on the motors' rumble. Which side buzzed first is the answer the log cannot give.
A game that drives a DualSense's voice coils reached this console as nothing: the session never asked the host for the pad's audio. It does now. Core decodes the 5 ms Opus frames and conceals what the wire lost, and the coils' pair plays on the pad's own vibration port. While frames arrive the pad is in haptics mode and its rumble waits. Half a second after the last one the motors take up where the host left them. No setting: the haptics row is not offered on this console, and every pad here has coils.
The vibration port and the pad's two modes come from another title's recorded run and from duaLib, which the notes now say.
A stream that ended while haptics played left the pad in haptics mode, where the motors' rumble does nothing. The next stream then started with a pad that could not rumble until haptics came and went once.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Round 9 proved the display's HDR bit (
0x181with the console's HDR On,0x101Off, at an 8-byte record). Its kernel log also showed how the console picks the output's mode, which three open requests hang on. This is the round 10 build: one latency fix, the features the client lacked, and the probe checks that decide the rest.What changes for a player
pad_mix, played on the vibration port).Probe checks 24 to 27
output-modenamessystem-statushapticsChecks 24 to 26 look their calls up by name at run time: a missing export is a code, not a null call.
What nothing has proven
No console has run any of this. Taken on trust: scePad's motion units and axes and its 1920x1080 touch surface (the PS4's interface), the eight-channel order (shadPS4), the vibration port and the pad's two modes (another title's recorded run, duaLib).
framesin a test run now counts presents, andmissed_vblanksa picture that waited more than 1.5 periods.Checked here: rustfmt, clippy
-D warningsand 113 tests in a Linux container, the menu scenario on lavapipe, and the console-only bindings under clippy in a scratch copy. The console lane below is the first build of the console-only platform and probe code.Not in
The pad's speaker, a name resolver and system-event polling (checks 25 and 26 first), a variable refresh and an SDR output for an SDR stream (check 24 first, then the WSI).