What specifically didn’t work? I haven’t used the PC sim in a while, but iirc the demo functions all initialize children objects based on the active screen. Step 1 would be to try to create separate screens for each (could involve modifying upstream code but if it’s crucial to avoid that you may be able to find a workaround) and using lv_scr_load to switch between them. That’s assuming switching between demos is possible in the first place, which I’m not sure about.
When I execute the code mentioned above, the lv_demo_music program launches successfully. However, it freezes at the next state, and the LED toggle function I have in the loop too, does not toggle anymore…
Edit:
Move lv_demo_x() to screens, does not help - it freezes if change from screen to screen_1: