rpcs3 icon indicating copy to clipboard operation
rpcs3 copied to clipboard

Early SingStar games don't play song preview

Open DaniElectra opened this issue 1 year ago • 2 comments

Quick summary

When browsing through the songs in early SingStar games, the song preview video isn't played and only the cover is shown.

Details

On a real PS3, SingStar shows a video preview of the currently hovered song after a few seconds of being hovered. However, this doesn't happen early SingStar games (i.e. before the interface redesign) on RPCS3. Newer SingStar games like MegaHits are not affected by this issue.

When opening the song list, the following errors appear which are probably related to the issue:

·W 0:01:10.405356 {PPU[0x100003c] Thread (MovieVideoDecoder) [HLE:0x00c85184, LR:0x006a5538]} cellVdec: cellVdecQueryAttrEx(type=*0xd0167db4, attr=*0xd0167dc0)
·E 0:01:10.405372 {PPU[0x100003c] Thread (MovieVideoDecoder) [HLE:0x00c85184, LR:0x006a5538]} SYS: 'cellVdecQueryAttrEx' failed with 0x80610101 : CELL_VDEC_ERROR_ARG [1]

After doing more research, it seems that it tries to use codec type 2, which isn't documented on RPCS3. This was found by adding an additional log in the code:

·W 0:01:10.405367 {PPU[0x100003c] Thread (MovieVideoDecoder) [HLE:0x00c85184, LR:0x006a5538]} cellVdec: cellVdecQueryAttr (type=2, profile=4)

Looking up in the game files I've found some references to video encodings which suggest that type 2 would be m4v, though I'm not certain if this is actually the case since there doesn't seem to be any decoder library for M4V on the PS3, only an encoder libm4venc.sprx

	kVideoEncoding_m2v = 0
	kVideoEncoding_avc = 1
	kVideoEncoding_m4v = 2

EDIT: This issue only appears when game updates are not installed. Installing updates seems to make the game use type 5 (DivX) instead.

EDIT 2: The original SingStar game is not affected by this issue.

Attach a log file

SingStar Queen [BCES00494].log.gz

Attach capture files for visual issues

imagen

System configuration

OS: Arch Linux x86_64 (Linux 6.10.0-zen1-2-zen) Desktop Environment: KDE Plasma 6.1.3 - Wayland CPU: AMD Ryzen 7 5700U (16) @ 4,37 GHz GPU: AMD Radeon Graphics - Lucienne [Integrated] GPU Driver: radv - Mesa 24.1.4 RAM: 16 GB

Other details

No response

DaniElectra avatar Jul 24 '24 22:07 DaniElectra

What happens if you set cellVdec to LLE ?

Megamouse avatar Aug 02 '24 15:08 Megamouse

Using LLE on libvdec.sprx allows the song preview to play as expected

Captura de pantalla_20240802_175855

SingStar Vol 2 [BCES00235].log.gz

DaniElectra avatar Aug 02 '24 17:08 DaniElectra