Web app shows 1080i source as "1124i 60 Hz" (TV menu/OLED show 1080i)
Firmware version
3.0.0-beta3 (ADV Controller 3.0.0, build 6BAAF3C4)
Board
GBSC PRO
Console or source
Xbox 360, 1080i 60 Hz
Input
Component (YPbPr)
What happens
The web app shows the source as "1124i 60 Hz" (signal chain / Status), while the TV menu and the OLED correctly show 1080i.
/api/info reports a correct 1080i signal, only the label is raw:
"signal": {"none":0,"std":6,"lines":1124,"src_hz10":600,"out_hz10":600,"interlaced":1,"preset":33}
Cause: signalText() in gbs-control/public/app/model/chain.ts prints sig.lines as is (${sig.lines}${i|p} Hz), whereas the firmware menus map the line count to a mode name in sourceRes() (gbs-control/pro/ui/menu-engine.cpp, e.g. near(srcLines, 1125) → "1080i"). For HD sources menuSourceLines() passes the scaler's raw vertical period through (1124 for a 1125-line 1080i frame), so the web app ends up with "1124i". Still the same on main.
Suggestion: use the same mapping as sourceRes() in the web app (480i/240p/576i/288p/480p/576p/720p/1080i/1080p, raw count only as a fallback), so all three UIs read the same.
Did it work on 2.4.1?
Not applicable (unit went from the factory firmware straight to 3.0.0-beta3).
Related, and probably more interesting than the label: with the same Xbox 360 on Component at 720p 60 Hz, the web app (and the TV menu / OLED) show no resolution at all.
/api/info stays at "std":5, "lines":0, "src_hz10":599, "none":0 (10/10 samples). lines is 0 because MenuLineFilter never sees a stable value: reading segment 0 with Developer mode (dev.tv5725_read 00, ~1 s apart) the IF alternates between two states:
| sample | VPERIOD_IF |
status 0x03–0x04 |
|---|---|---|
| 1, 2, 6, 8 | 749 | 18 a0 (720p detected) |
| 3, 4, 5, 7 | 1464 | 00 00 (no standard) |
Raw bytes 0x03..0x08: 18 a0 10 94 da 05 vs 00 00 10 94 70 0b.
1464 is outside 230..1250 and the state flips faster than kStableMs, so the filter keeps resetting. The console log matches: ~58× signal back after 0.0 s roughly every 0.6 s, then Format change: 5 <not stable> ×3.
So the scaler seems to lose the 720p sync intermittently (1464 with cleared status looks like a period counted across a missed vsync). Settings at the time: input.sync_stripper=1, input.adaptive_sync=1, input.digital_sync=0, input.sync_dejitter=0, preset 0x21 (HD bypass). 1080i from the same console/cable is stable (1124).
@tomeq82 the resolution name in the web app is fixed by #91 and will be in the next beta.
For 720p, thanks for the detailed measurements and for #90. I don't have a 720p source to test it, and that value applies to every 720p source, so before merging it I'd like a confirmation on another console: if anyone reading this has a PS2, a PS3 or another 720p source on Component, a test of #90 would help me. One question for you too: does the Xbox 360 behave the same way with another Component cable?
@brisma I wil ltry to check it with PS2 slim model 77004 and - if I will find it - another X360 cable and I will comment at #90
PS2 480i and, 480p showed this for me on Mcbazel ODV-GBS-C.
@Adamanimus thanks for the screenshots. "262i" and "524p" are the same defect as this issue: the web app showed the line count the scaler measures instead of the name of the format. It is already fixed on main (#91): with a PS2 it now reads 480i and 480p, as on the TV menu and the OLED. It comes with the next beta.
Beta4 is out with your fix (#91), thanks again: https://github.com/brisma/gbsc-pro/releases/tag/v3.0.0-beta4
The web app now names the source as the TV menu and the OLED do: 1080i instead of 1124i, and with a PS2 480i and 480p instead of 262i and 524p (@Adamanimus).
I am closing this issue. The Xbox 360's 720p with no resolution shown is a different problem and goes on in #90, where I am still waiting for a test on another console. If the source name is still wrong with some signal, please open a new issue.