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

VirtualBox: VSCode showing an empty window after installation on Ubuntu #10091

Closed
battermann opened this issue Aug 3, 2016 · 15 comments · Fixed by #24523
Closed

VirtualBox: VSCode showing an empty window after installation on Ubuntu #10091

battermann opened this issue Aug 3, 2016 · 15 comments · Fixed by #24523
Assignees
Labels
*as-designed Described behavior is as designed

Comments

@battermann
Copy link

  • VSCode Version: 1.3.1
  • OS Version: Ubuntu 16.04.1 LTS
  • VM: VirtualBox 5.0.24
  • Host: Windows 10

Steps to Reproduce:

  1. Download Visual Studio Code from here: https://code.visualstudio.com/download
  2. Install Paket by double click on .deb file
  3. Launch VSCode via Ubuntu start menu

Then a window opens. But it is completely black with some lighter (gray) squares as you can see here:

code

Remark

I had a similar problem with google chrome. It could be fixed by disabling gpu on start up of chrome.

Verbose CLI output

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
(8:26:51 PM) ### VSCode main.js ###
(8:26:51 PM) /usr/share/code/resources/app { pathArguments: [],
  programStart: 0,
  enablePerformance: false,
  verboseLogging: true,
  debugExtensionHostPort: undefined,
  debugBrkExtensionHost: false,
  logExtensionHostCommunication: false,
  debugBrkFileWatcherPort: undefined,
  openNewWindow: false,
  openInSameWindow: false,
  gotoLineMode: false,
  diffMode: false,
  extensionsHomePath: undefined,
  extensionDevelopmentPath: undefined,
  extensionTestsPath: undefined,
  disableExtensions: false,
  locale: undefined,
  waitForWindowClose: false }
[15247:0803/202652:ERROR:buffer_manager.cc(361)] [.CommandBufferContext.Compositor-0x3f24aeb82420]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
(8:26:54 PM) IPC#vscode:startCrashReporter
[15247:0803/202655:ERROR:texture_manager.cc(2278)] [.CommandBufferContext.RenderCompositor-0x177994c88b00]GL ERROR :GL_INVALID_ENUM : glTexImage2D: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_ENUM : GLES2DecoderImpl::DoBindTexImage2DCHROMIUM: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2113)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_OPERATION : ScopedTextureBinder::ctor: was unhandled
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202655:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
(8:26:56 PM) IPC#vscode-workbenchLoaded
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202656:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2113)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_OPERATION : ScopedTextureBinder::ctor: was unhandled
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202657:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202659:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[15247:0803/202659:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.RenderWorker-0x177994c88c60]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
(8:27:01 PM) Lifecycle#window-before-close 1
(8:27:01 PM) Lifecycle#unload() 1
(8:27:01 PM) Lifecycle#window-before-close 1
(8:27:01 PM) Lifecycle#window-close 1
(8:27:01 PM) Lifecycle#window-all-closed
(8:27:01 PM) Lifecycle#before-quit
(8:27:01 PM) App#will-quit: disposing resources
[15247:0803/202701:ERROR:gles2_cmd_decoder.cc(2109)] [.CommandBufferContext.CompositorWorker-0x3f24aeb82580]GL ERROR :GL_INVALID_ENUM : BackFramebuffer::Destroy: <- error from previous GL command
@vocoded
Copy link

vocoded commented Aug 4, 2016

I hit the same issue under Fedora and VSCode 1.4 - the issue appears to be related to VirtualBox guest additions as described in this thread. Rolling back to 5.0.16 fixed it.

@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Aug 6, 2016
@bpasero bpasero added this to the Backlog milestone Aug 6, 2016
@battermann
Copy link
Author

Thanks for the advise. Actually running VS Code with code --disable-gpu solved the issue for me.

@bpasero
Copy link
Member

bpasero commented Sep 18, 2016

@battermann @vocoded could you give our insider release a try to see if this issue is fixed?
You can give our preview releases a try from: http://code.visualstudio.com/Download#insiders

@battermann
Copy link
Author

Hi @bpasero ,

sorry I cannot confirm that it is fixed for me.

I recorded the behavior:

code

@bpasero
Copy link
Member

bpasero commented Sep 20, 2016

@battermann thanks for giving this a try, seems to be an issue with VirtualBox.

@bpasero bpasero changed the title VSCode showing an empty window after installation on Ubuntu VirtualBox: VSCode showing an empty window after installation on Ubuntu Sep 20, 2016
@Brusalk
Copy link

Brusalk commented Feb 17, 2017

Throwing my hat in the ring here, as I'm still seeing this issue.

I'm running Ubuntu 16.10 with VS Code 1.9.1 - f9d0c68). My symptoms are exactly the same as @battermann recorded.

Running with verbose logging (sample):

[14262:0216/201844:ERROR:gles2_cmd_decoder.cc(2295)] [.RenderWorker-0x82633a60a00]GL ERROR :GL_INVALID_OPERATION : ScopedTextureBinder::ctor: was unhandled
[14262:0216/201844:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x82633a60a00]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[14262:0216/201844:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x82633a60a00]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[14262:0216/201844:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x82633a60a00]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[14262:0216/201844:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x82633a60a00]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[14262:0216/201844:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x82633a60a00]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[14262:0216/201844:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x82633a60a00]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[14262:0216/201844:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x82633a60a00]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[14262:0216/201844:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x82633a60a00]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[14262:0216/201844:ERROR:gles2_cmd_decoder.cc(2291)] [.RenderWorker-0x82633a60a00]GL ERROR :GL_INVALID_VALUE : ScopedTextureBinder::dtor: <- error from previous GL command
[14262:0216/201844:ERROR:logger.cc(46)] Too many GL errors, not reporting any more for this context. use --disable-gl-error-limit to see all errors.
[14236:0216/201844:INFO:CONSOLE(48)] "%c[IPC Library: Watcher]", source: file:////usr/share/code/resources/app/out/vs/workbench/electron-browser/workbench.main.js (48)
[14236:0216/201844:INFO:CONSOLE(48)] "%c[IPC Library: Watcher]", source: file:////usr/share/code/resources/app/out/vs/workbench/electron-browser/workbench.main.js (48)
[14236:0216/201845:INFO:CONSOLE(48)] "%c[IPC Library: Watcher]", source: file:////usr/share/code/resources/app/out/vs/workbench/electron-browser/workbench.main.js (48)
[14236:0216/201845:INFO:CONSOLE(48)] "%c[IPC Library: Watcher]", source: file:////usr/share/code/resources/app/out/vs/workbench/electron-browser/workbench.main.js (48)

@internetz
Copy link

Same issue here with code-insider 1.11.0-insider
Starting code-insider on console works fine.

readlink -f $(which code-insiders)
/usr/share/code-insiders/bin/code-insiders

But /usr/share/applications/code-insiders.desktop contains

Exec=/usr/share/code-insiders/code-insiders --new-window %U

So the bin/ path part is missing in the .desktop file

The script in the bin/ path adds an additional shell variable ELECTRON_RUN_AS_NODE=1

ELECTRON_RUN_AS_NODE=1 /usr/share/code-insiders/bin/../code-insiders /usr/share/code-insiders/bin/../resources/app/out/cli.js

So setting ELECTRON_RUN_AS_NODE=1 is missing when /usr/share/code-insiders/code-insiders is started directly from the .desktop file

@bpasero
Copy link
Member

bpasero commented Mar 15, 2017

@Tyriar can you check #10091 (comment)

@Tyriar
Copy link
Member

Tyriar commented Mar 17, 2017

@internetz does adding the bin/ in the path fix the problem? This was originally there as the application was behaving a bit weird when it came to pinning the desktop entry in Ubuntu. That appears to be fixed now though (after a quick test).

You can try this yourself by changing the desktop entry in sudo vim or something, then running sudo desktop-file-install /usr/share/applications/code-insiders.desktop and waiting a few seconds.

@internetz
Copy link

I'm using KDE Neon (Ubutnu 16.04 based distro)

cat /etc/lsb-release 
DISTRIB_ID=neon
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="KDE neon User Edition 5.9
uname -a
Linux xc 4.4.0-67-generic #88-Ubuntu SMP Wed Mar 8 16:34:45 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

This problem only occurs with code-insiders (acfe846). code runs fine in all cases.
Commands that work:

code-insiders
/usr/share/code-insiders/bin/code-insiders
ELECTRON_RUN_AS_NODE=1 /usr/share/code-insiders/code-insiders /usr/share/code-insiders/resources/app/out/cli.js
export ELECTRON_RUN_AS_NODE=1
/usr/share/code-insiders/code-insiders /usr/share/code-insiders/resources/app/out/cli.js

Commands that DON'T work

/usr/share/code-insiders/code-insiders
/usr/share/code-insiders/code-insiders /usr/share/code-insiders/resources/app/out/cli.js

Clicking the icon and running the .desktop file does not work either

The error message is always:

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

'Not working' means the window opens but there are no tabs or sidebar. Just all black. Only the menu is on top but not functional. Ctrl+N does not open new tabs. Ctrl+B does not open the sidebar.
I searched for error logs but did not find any. Toggle developer tools is working, but there are no logs in the console tab. The DOM-Elements tab shows an almost empty body-tag and no div with class monaco-shell-content. If there are any log-files you know about let me know and I will send them.

@internetz
Copy link

Ok I found how to reproduce it.

The last line in my .bashrc is

fish

But you can use zsh or sh as well as last line.
Opening a second shell in the .bashrc seems to be the cause for this behaviour. As mentioned before this is new in code-insiders. No problems with code.

@Tyriar
Copy link
Member

Tyriar commented Mar 20, 2017

@internetz launching through the dash in Ubuntu shouldn't trigger ~/.bashrc though? Technically but only to fetch the shell environment, but that shouldn't cause anything like this.

Do you think adding bin/ to the .desktop file would resolve the issue?

@internetz
Copy link

Yes adding bin/ helps.

It sounds weird and it shouldn't source the ~/.bashrc but somehow it does. I tested it on a fresh ubuntu 16.04 install in a virtual box with code and code-insiders (without extensions). And it is reproducible. Adding zsh as last line to the ~/.bashrc does prevent code-insiders from a proper startup when clicking on the desktop icon. The current code version 1.10.2 runs fine.

@bpasero bpasero added workbench and removed bug Issue identified by VS Code Team member as probable bug labels Apr 7, 2017
@Tyriar
Copy link
Member

Tyriar commented Apr 20, 2017

The desktop entry now uses the bin/ script. #24523

@Tyriar Tyriar closed this as completed Apr 20, 2017
@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug and removed upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Apr 20, 2017
@Tyriar Tyriar modified the milestones: April 2017, Backlog Apr 20, 2017
@Tyriar
Copy link
Member

Tyriar commented Apr 27, 2017

I reverted this change due to #24961

It you're running into this due to running another program in your .bashrc I recommend either detecting the environment you're running in or if it's a shell, change $SHELL.

@Tyriar Tyriar added *as-designed Described behavior is as designed and removed bug Issue identified by VS Code Team member as probable bug labels Apr 27, 2017
@Tyriar Tyriar removed this from the April 2017 milestone Apr 27, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants