batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.96k stars 512 forks source link

[v38] Redream takes a lot of time to boot #10571

Open JuanMiguelBG opened 10 months ago

JuanMiguelBG commented 10 months ago

Batocera build version

v38

Your architecture

Steam Deck

Your Graphic Processor Unit (GPU)

None

Graphical brand

None

Issue description

Redream takes a lot of time to boot. The versions with problems are:

The version included on Batocera v36 (1.5.0-1045-g9f00768) and v37 (1.5.0-1051-g4ba6a39) boots fine.

The problem occurs when redream tries to config the steam deck controller rumble. It tries three times, and in all attempts the timeout is fired. The log line is:

[WARN] SDL failed to init rumble: Haptic: Error uploading effect to the device: Connection timed out

The SDL version of Batocera v38 is v2.28.2.

Expected result

No response

Reproduction steps

Launch a Dreamcast game on Steam Deck, selecting Redream as emulator.

Logs and data

redream.log

JuanMiguelBG commented 9 months ago

I tested with the latest v39 beta (batocera-x86_64-x86_64-39-20231206), with the same error.

dmanlfc commented 9 months ago

This should be reported to Redream, not here. We just use the latest version.

JuanMiguelBG commented 9 months ago

I know, but maybe they pay more attention to you (Batocera team) than to a stranger.

dmanlfc commented 9 months ago

Actually they don't. There is an outstanding bug for over a year with them they haven't acknowledged & resolved.

JuanMiguelBG commented 7 months ago

It seems like a problem with the kernel and SDL with haptics enabled.

Some related issues:

Retroarch - Steam Deck - Long delay in accessing quick menu when bluetooth controller is connected. #14254

SDL - Haptic ioctl freezes on Steam Deck #8071 Kernel - [Bug 218183] - Steam Deck uinput devices freeze on haptic ioctl

SDL - Add basic rumble support to Steam Deck #8760

SDL 2.30 - Add basic rumble support to Steam Deck #8760 - backport commit

JuanMiguelBG commented 7 months ago

Really, I think that the issue is resolved with SDL 2.30.0