GitSquared / edex-ui

A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
GNU General Public License v3.0
40.9k stars 2.59k forks source link

2.2.5 macOS framebuffer errors #1047

Closed rinchen closed 3 years ago

rinchen commented 3 years ago

Technical information

Using version:

Running on:

How comfortable you are with your system and/or IT in general:


Problem

2.2.5 won't go full screen at start nor when you manually attempt to toggle full screen. Framebuffer errors appear in the output. Also, the app consistently asks for network access on startup.

$ ./eDEX-UI ▶ start Starting eDEX-UI v2.2.5 ℹ info With Node 12.16.3 and Electron 10.2.0 ℹ info Renderer is Chrome 85.0.4183.121 ▶ Startup Initialized timer... ℹ info Base config dir is /Users/joey/Library/Application Support/eDEX-UI ☐ pending Mirroring internal assets... ☐ pending Loading settings file... ☐ pending Resolving shell path... ℹ info Shell found at /bin/bash ✔ success Settings loaded! ☐ pending Creating new terminal process on port 3000 ✔ success Terminal back-end initialized! ☐ pending Starting multithreaded calls controller... ✔ success Multithreaded controller ready ℹ info Creating window... ☒ complete Frontend window created! … watching Waiting for frontend connection... ℹ info Multithread worker started at 99201 ℹ info Multithread worker started at 99202 ℹ info Multithread worker started at 99203 ℹ info Multithread worker started at 99207 ℹ info Multithread worker started at 99205 ℹ info Multithread worker started at 99209 ℹ info Multithread worker started at 99212 [99133:0217/151014.430402:ERROR:gles2_cmd_decoder.cc(7062)] [.RendererMainThread-0x7ff903045c00]GL ERROR :GL_INVALID_OPERATION : glGetIntegerv: incomplete framebuffer [99133:0217/151014.430539:ERROR:gles2_cmd_decoder.cc(7062)] [.RendererMainThread-0x7ff903045c00]GL ERROR :GL_INVALID_OPERATION : glGetIntegerv: incomplete framebuffer [99133:0217/151014.440391:ERROR:gles2_cmd_decoder.cc(7062)] [.RendererMainThread-0x7ff903045c00]GL ERROR :GL_INVALID_OPERATION : glGetIntegerv: incomplete framebuffer [99133:0217/151014.440440:ERROR:gles2_cmd_decoder.cc(7062)] [.RendererMainThread-0x7ff903045c00]GL ERROR :GL_INVALID_OPERATION : glGetIntegerv: incomplete framebuffer [99133:0217/151014.448218:ERROR:gles2_cmd_decoder.cc(4968)] [.RendererMainThread-0x7ff903045c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete [99133:0217/151014.448467:ERROR:gles2_cmd_decoder.cc(4968)] [.RendererMainThread-0x7ff903045c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete [99133:0217/151014.497382:ERROR:gles2_cmd_decoder.cc(4968)] [.RendererMainThread-0x7ff903045c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete [99133:0217/151014.497532:ERROR:gles2_cmd_decoder.cc(4968)] [.RendererMainThread-0x7ff903045c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete ✔ success Connected to frontend! ◼ Startup Timer run for: 11.70s [99133:0217/151014.617945:ERROR:gles2_cmd_decoder.cc(4968)] [.RendererMainThread-0x7ff903045c00]GL ERROR :GL_INVALID_FRAMEBUFFER_OPERATION : glClear: framebuffer incomplete ℹ info Resized TTY to 138 027 ℹ info UpdateChecker: Running latest version. ☒ complete Shutting down... ☒ complete Terminal exited { exitCode: 0, signal: 1 } undefined

GitSquared commented 3 years ago

The app needs network access to display some of its widgets, doesn't granting it make the permission pop-up go away?

The framebuffers errors should be unrelated. Are you running on Apple Silicon? I'm pushing a new version in a few minutes, v2.2.6, that will have experimental apple m1 builds (look for the macos arm64 download).

rinchen commented 3 years ago

Hi @GitSquared,

The errors do not show up until I give the program network access (which as mentioned earlier is a dialog showing up at every launch).

As for hardware, see attached.

Screen Shot 2021-02-22 at 10 22 19
rinchen commented 3 years ago

I just tried 2.2.6 and the framebuffer errors are gone but the network access and lack of full screen remain.

Screen Shot 2021-02-22 at 10 30 11
GitSquared commented 3 years ago

Thanks for trying it out.

rinchen commented 3 years ago

Edit settings gives an error

Screen Shot 2021-02-24 at 09 54 45

✖ error TypeError: electron.shell.openItem is not a function: Uncaught TypeError: electron.shell.openItem is not a function ⬤ debug at file:///Applications/eDEX-UI.app/Contents/Resources/app.asar/ui.html 1:16 ✖ error Lost connection to frontend

I attempted to save the settings to a file. I got a positive response that it was saved to settings.json but for the life of me I can't find the file.

GitSquared commented 3 years ago

You should be able to find the file in ~/Library/Application Support/eDEX-UI. Maybe try to delete everything in that folder and start edex again.

Re: Firewall, if you can "block the app from asking permission" or similar, do it - i'll investigate why it's asking for this

rinchen commented 3 years ago

Deleting the App Support directory got me full screen. 👍

rinchen commented 3 years ago

I removed the firewall entry and reattempted twice but I still get the prompt. Also now that I'm looking at it I found another bug.

Screen Shot 2021-02-24 at 13 27 13
wrac4242 commented 3 years ago

1052 had that issue, it seems to be fixed soon, possibly try running from source to see if it still is an issue

GitSquared commented 3 years ago

So only thing left here is the firewall pop-up issue.

ghost commented 3 years ago

Whenever I make any change to the default settings.json, it refuses to go to fullscreen after a restart. Removing settings.json allows it to go full screen again. I'm on OS X 10.13.6.

ghost commented 3 years ago

When settings.json is created, the forceFullscreen key is not included, so defaults to false. Adding the key manually allows it to go to full screen. I haven't figured out yet why using the menu item doesn't work.