New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
--disable-headless does not seem to work #3332
Comments
The render process happens in two stages: In the first one, we calculate the metadata of the composition (duration, dimensions etc.) Then the browser tab (not the browser itself though) closes and more should be opened. It seems like something gets stuck inbetween. Do you have a big input props payload? This could lead to this taking a while. It seems like the disable-headless flag is not broken per se, so I would need a sample project which has this bug in order to investigate. |
I have only created a new project with |
Sorry this is happening to you. However, given with this information, I cannot reproduce. Creating a new video on macOS with Maybe you can elaborate more on your environment (OS, browser). |
Thank you for your efforts. I am currently working on windows 10, this may have an impact. I have tried both the default browser (Thorium) and Chromium. For both the same behavior:
...and then the browser window closes and it gets stuck. |
I can confirm it doesn't work on Windows. I don't know why though. We are going through some changes #3565 and I'll see if we can tackle it in the same go. |
In the future Chrome will completely separate the headless mode out of Chrome. Chrome will not have the --headless flag anymore (actually it is being repurposed into --headless=new, a different version of what we are using now, but they are not recommending it for our usecase) The current headless mode is being extracted into Chrome Headless Shell, which we will have to start using going forward. This one will not allow disabling headless mode anymore - therefore in the long-term we will not be able to support this flag anymore. |
Keeping the issue open because this needs documentation |
Bug Report 馃悰
Hi everyone
I have tried to render the helloworld sample video in non-headless mode. This is to investigate a problem with the <IFrame> component. (more on this later, I will open an issue about this)
I noticed that
--disable-headless
does not seem to work. After sending the render commandremotion render --disable-headless HelloWorld out/video.mp4
the browser window opens but closes immediately and the render process gets stuck.Can someone verify this or is there something wrong with my installation?
Best regards
The text was updated successfully, but these errors were encountered: