flipperdevices / qFlipper

qFlipper — desktop application for updating Flipper Zero firmware via PC

Home Page:https://update.flipperzero.one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FYI: "Failed to start virtual display" error on initial firmware update

elliotcm opened this issue · comments

Describe the bug
When attempting the first update, a fatal error occurred which the qFlipper did not react to, leaving the update stalled with little to no feedback to the user.

More details:
OS: macOS 13.4.1 (c) (22F770820d)
Computer: Macbook Air, Retina, 13-inch, 2018
Flipper hardware: 12.F7B9C6
Starting firmware: 0.64.3
Target firmware: 0.86.2

To Reproduce
I'm not certain how reproducible it is as it worked fine on the second attempt, this is more about providing information and wondering if we can get clearer feedback to the user in this situation.

Expected behavior

Ideally hoped for the update to go flawlessly, but if an error does occur, expected that the UI would provide some clear feedback that the update had failed (to start?) and provide a way to try again.

Actual behavior

Shortly after hitting update, I noticed the (!) icon on the log button. The main UI was showing something like "Setting up regional data" with a "..." style progress marker, but there was no percentage progress showing yet.

I read the errors in the logs, but since there was no way for me to know that was a fatal error, I waited a few more minutes before deciding to kill the update. I restarted qFlipper (CMD+Q was the only way to cancel the failed update, unfortunately) and the update went without a hitch the second time.

I've attached the log from the failed attempt, and a screenshot showing more debug info.

qFlipper-20230720-071407.txt

Screenshot 2023-07-20 at 07 21 29