Raspberry pi IMX477 HQ camera only works sometimes (default OS)

I’m following the instructions for streaming the camera to linux but half the time I try the terminal gets stuck at “New clock: GstSystemClock” or the pipeline fails to preroll and I have to restart the rubik. Sometimes I just quit out of what’s running and try the exact same code and it works fine. I havent been able to figure out what makes it work sometimes and fail others because use I’m not making any changes. pls help!

f you share your pipeline, I might be able to help you figure out what’s causing the issue.

Dear customer
May I inquire which software version you are utilizing?
Could you please describe in detail the operations performed prior to encountering the issue and provide screenshots?