Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal window fails to initialize after splash screen #8868

Closed
nacix opened this issue Aug 27, 2023 · 31 comments
Closed

Terminal window fails to initialize after splash screen #8868

nacix opened this issue Aug 27, 2023 · 31 comments
Labels

Comments

@nacix
Copy link

nacix commented Aug 27, 2023

Version: 1.0.198
Plugins: N/A

Platform: Ubuntu VM
Build: 22.04.3 LTS
Arch: ARM64
Package: tabby-1.0.198-linux-arm64.deb

Platform: Windows 10
Build: 22H2 | 19045.3208
Arch: x64
Package: tabby-1.0.198-setup-x64.exe

Describe the problem:

The terminal window fails to properly display after exiting the splash screen.

On Win10, the splash screen window will briefly animate, then cut to black until closed. The window control buttons are blacked-out, but reappear on-hover. On Ubuntu, the window disappears completely after the splash screen, while the app itself remains open. v1.0.197 works as-expected for Windows. (haven't tried building for ARM64)

Reproduction:

  1. Install Tabby v1.0.198
  2. Run the app
  3. Splash screen will appear with a partially-loaded progress bar, flicker briefly, and either cut to black or disappear.
  4. App will continue to run until closed

image

@nacix nacix added the T: Bug label Aug 27, 2023
@saudiqbal
Copy link

Same problem with me on Kubuntu

@celsofranssa
Copy link

Same here with Win11

@navono
Copy link

navono commented Aug 28, 2023

start with black screen
image

@IshwariMulkalwar
Copy link

same issue on mac M2

@huangwch
Copy link

same issue on mac intel

@DiracSpace
Copy link

Same issue on Pop!_OS 22.04 LTS

@Eugeny
Copy link
Owner

Eugeny commented Aug 28, 2023

Could you please check if this build works for you? https://github.com/Eugeny/tabby/actions/runs/5996401087

GitHub
A terminal for a more modern age. Contribute to Eugeny/tabby development by creating an account on GitHub.

@blimpa
Copy link

blimpa commented Aug 28, 2023

Same problem on Pop!_OS 22.04 LTS. The nightly build (https://github.com/Eugeny/tabby/actions/runs/5996401087) didn't fix it :(

GitHub
A terminal for a more modern age. Contribute to Eugeny/tabby development by creating an account on GitHub.

@Eugeny
Copy link
Owner

Eugeny commented Aug 28, 2023

Can you try running tabby from another terminal with --debug and see if there are any hints in the debug log?

@xiangxiren
Copy link

same issue on win10

@IamYipi
Copy link

IamYipi commented Aug 28, 2023

I got this in win10:

PS C:\Program Files\Tabby> .\Tabby.exe --debug
PS C:\Program Files\Tabby>
[15036:0828/102030.057:ERROR:node_bindings.cc(426)] Error parsing Node.js cli flags
electron: [DEP0062]: `node --debug` and `node --debug-brk` are invalid. Please use `node --inspect` and `node --inspect-brk` instead.

I have installed node v16.19.1

@Eugeny
Copy link
Owner

Eugeny commented Aug 28, 2023

Can you check:

  • if there's anything in the terminal if you run Tabby without flags
  • if not, whether pressing Ctrl-Shift-i opens the debug console when Tabby is open
  • if not, run it with --inspect and open chrome://inspect in Chrome which will allow you to connect to the main process' debug console

Thanks!

@IamYipi
Copy link

IamYipi commented Aug 28, 2023

win10 issue

  • Without flags:
PS C:\Program Files\Tabby> .\Tabby.exe
PS C:\Program Files\Tabby>
[Glasstron/DWM] Trying to load the native module...
[Glasstron/DWM] Native module loaded
(node:13228) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Tabby --trace-deprecation ...` to show where the warning was created)
  • Debug console not working
  • Flag --inspect same issue like first point

Pls help, thanks btw!

@nacix
Copy link
Author

nacix commented Aug 28, 2023

Alright I ran the nightly build on my ARM64 instance, and it spat this GPU init error at me with --debug

[49644:0828/083005.932811:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization

The portable and installer builds worked for me on Win10, but I installed them over v1.0.197. I'm curious if anything would break if I tried a fresh install.

image

@nacix
Copy link
Author

nacix commented Aug 28, 2023

Okay yeah things broke (fullscreen still works though 🎉)

x64 Win10

image

@IvRogoz
Copy link

IvRogoz commented Aug 28, 2023

start with black screen image

Same Issue

@Issues-translate-bot
Copy link
Collaborator

The translator bot has detected that this issue body's language is not English, and has translated it automatically.


start with black screen image

Same Issue

@IvRogoz
Copy link

IvRogoz commented Aug 28, 2023

v1.0.197 works

@Issues-translate-bot
Copy link
Collaborator

The translator bot has detected that this issue body's language is not English, and has translated it automatically.


v1.0.197 works

@raatti
Copy link

raatti commented Aug 28, 2023

Can confirm v1.0.198 doesn't work on Win11, also the nightly .199 linked in thread doesn't work either, just splashscreen and then black box.

@nacix
Copy link
Author

nacix commented Aug 28, 2023

Here's the output I was able to get from chrome://inspect with the --inspect flag:

Running v1.0.199-nightly.0 on x64 Win10

Console Output
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/dist/main.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/node-pty/lib/index.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/node-pty/lib/windowsTerminal.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/node-pty/lib/terminal.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/node-pty/lib/windowsPtyAgent.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/node-pty/lib/eventEmitter2.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/node-pty/lib/windowsConoutConnection.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/node-pty/lib/shared/conout.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/node-pty/lib/utils.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/get-caller-file/index.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/main.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/builder-util-runtime/out/index.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/builder-util-runtime/out/CancellationToken.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/builder-util-runtime/out/ProgressCallbackTransform.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/builder-util-runtime/out/publishOptions.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/builder-util-runtime/out/rfc2253Parser.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/builder-util-runtime/out/uuid.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/builder-util-runtime/out/xml.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/lazy-val/out/main.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/DownloadedUpdateHelper.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/ElectronAppAdapter.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/AppAdapter.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/electronHttpExecutor.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/providers/GenericProvider.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/util.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/providers/Provider.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/providerFactory.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/providers/BitbucketProvider.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/providers/GitHubProvider.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/providers/KeygenProvider.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/providers/PrivateGitHubProvider.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/AppImageUpdater.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/BaseUpdater.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/differentialDownloader/FileWithEmbeddedBlockMapDifferentialDownloader.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/differentialDownloader/DifferentialDownloader.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/differentialDownloader/DataSplitter.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/differentialDownloader/downloadPlanBuilder.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/differentialDownloader/multipleRangeDownloader.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/differentialDownloader/ProgressDifferentialDownloadCallbackTransform.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/MacUpdater.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/NsisUpdater.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/differentialDownloader/GenericDifferentialDownloader.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for Tabby/resources/app.asar/node_modules/electron-updater/out/windowsExecutableCodeSignatureVerifier.js.map: System error: net::ERR_FILE_NOT_FOUND

Edit: For the time being, upgrading to the latest version from an existing build of v1.0.197 (or just running the old build) should work fine.

@Lovinoes
Copy link

Same Issue on Windows 11 Professional - latest stable

grafik

@ldurand-it
Copy link

Hello ! I Have same issue on Debian 12.
image

@Eugeny
Copy link
Owner

Eugeny commented Aug 28, 2023

Could really use any hint on how to reproduce this since I've already tested on 6 computers, Windows, Mac and Linux among them :(

@raatti
Copy link

raatti commented Aug 28, 2023

image

Windows 11 Pro version 22H2 build 22621.2215
Brave browser & Chrome installed, Nvidia GTX1080Ti with latest Nvidia drivers on Windows, 16GB of RAM. 2 monitors.
Running tabby on monitor 1. It shows splashscreen animation but then stops and splashscreen becomes black box.
Debug keycombo not working and no difference running with --inspect.

Can reproduce at home computer and office laptop (win11pro).

@nacix
Copy link
Author

nacix commented Aug 28, 2023

Could really use any hint on how to reproduce this since I've already tested on 6 computers, Windows, Mac and Linux among them :(

The issue only seems to pop-up when you do a fresh install of Tabby. You can upgrade from previous versions fine, but new ones don't work.

I just installed a fresh build on Win10 and found that it's missing a config.yaml file and Tabby doesn't create one at runtime. If I throw in a config.yaml from another version, the app runs fine - even on a fresh install.

@saudiqbal
Copy link

I upgraded on Kubuntu and I got this problem, I downgraded back and Tabby starts again.

@raatti
Copy link

raatti commented Aug 28, 2023

Can confirm on 2 Windows machines: install version 197 setup settings, save and upgrade to 198 , it works.

@DunaSAMA
Copy link

By downloading the old version v1.0.187, and then updating to v1.0.198, it can be used normally in win 11.

@Eugeny
Copy link
Owner

Eugeny commented Aug 29, 2023

That was it, thanks - fix incoming!

@bigFin
Copy link

bigFin commented Dec 1, 2023

Is this related? #8730

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests