microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.65k stars 28.68k forks source link

VSCode opens with blank window Ubuntu 23.10 #193586

Closed HayesJohnD closed 11 months ago

HayesJohnD commented 1 year ago

Type: Bug

To reproduce, just open VSCode if it is verrsion code_1.82.2-1694671812_amd64.deb or code-insiders_1.83.0-1695115063_amd64.deb. I uninstalled and reinstalled with the same issue. I removed the configuration .folder and reinstalled to the same effect, even with the code-insiders version.

Dropping back to version code_1.80.2-1690491597_amd64.deb works without any issues, so I pinned this version.

VS Code version: Code 1.80.2 (2ccd690cbff1569e4a83d7c43d45101f817401dc, 2023-07-27T20:41:52.615Z) OS version: Linux x64 6.5.0-5-generic Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen Threadripper 3970X 32-Core Processor (64 x 2200)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|1, 1, 0| |Memory (System)|125.63GB (113.18GB free)| |Process Argv|--unity-launch --crash-reporter-id 54a63820-a9be-48ee-8804-aae05e3318a4| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|plasma| |XDG_CURRENT_DESKTOP|KDE| |XDG_SESSION_DESKTOP|KDE| |XDG_SESSION_TYPE|x11|
Extensions (53) Extension|Author (truncated)|Version ---|---|--- mermaid-markdown-syntax-highlighting|bpr|1.5.2 vscode-eslint|dba|2.4.2 es7-react-js-snippets|dsz|4.4.3 gitlens|eam|14.3.0 prettier-vscode|esb|10.1.0 evolution-gaming--vscode-eslint|evo|1.9.2 myst-highlight|Exe|0.11.0 remotehub|Git|0.60.0 vscode-pull-request-github|Git|0.72.0 cloudcode|goo|2.0.0 vscode-docker|ms-|1.26.1 csharp|ms-|2.1.2 vscode-dotnet-runtime|ms-|1.7.3 vscode-kubernetes-tools|ms-|1.3.13 autopep8|ms-|2023.6.0 black-formatter|ms-|2023.4.1 gather|ms-|2022.3.2 pylint|ms-|2023.6.0 python|ms-|2023.16.0 vscode-pylance|ms-|2023.9.10 jupyter|ms-|2023.8.1002501831 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-powertoys|ms-|0.0.8 vscode-jupyter-slideshow|ms-|0.1.5 remote-containers|ms-|0.309.0 remote-ssh|ms-|0.106.4 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.81.4 vscode-remote-extensionpack|ms-|0.24.0 azure-repos|ms-|0.36.0 cmake-tools|ms-|1.15.31 cpptools|ms-|1.17.5 cpptools-extension-pack|ms-|1.3.0 remote-explorer|ms-|0.4.1 remote-repositories|ms-|0.38.1 remote-server|ms-|1.4.3 vscode-serial-monitor|ms-|0.10.0 vscode-typescript-next|ms-|5.3.20230919 vscode-react-native|msj|1.12.0 material-icon-theme|PKi|4.30.1 vscode-yaml|red|1.14.0 LiveServer|rit|5.7.9 markdown-preview-enhanced|shd|0.7.9 cmake|twx|0.0.17 msft-todo-unofficial|tyl|0.0.17 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30 vscodeintellicode-completions|Vis|1.0.22 vscode-arduino|vsc|0.6.0 vscode-icons|vsc|12.5.0 markdown-all-in-one|yzh|3.5.1 (2 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593:30376534 pythonvs932:30410667 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 pynewext54:30695312 azure-dev_surveyone:30548225 282f8724:30602487 89544117:30613380 showlangstatbar:30737416 a2ce3375:30757347 pythonfmttext:30731395 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 pythonnosmt12:30797651 pythonidxpt:30805730 pythonnoceb:30805159 copilotsettingc:30839828 dsvsc013:30795093 dsvsc014:30804076 diffeditorv1:30821571 dsvsc015cf:30829746 ```
lazka commented 12 months ago

In case it's the same issue, code --disable-gpu makes it work for me. GPU is AMD Radeon™ RX 590 Series

lazka commented 11 months ago

the mesa update today fixed it for me

sbatten commented 11 months ago

@HayesJohnD does @lazka's fix solve the issue?

deepak1556 commented 11 months ago

Very likely related to https://github.com/microsoft/vscode/issues/190437, please provide the output of code --verbose to help us confirm the issue.

VSCodeTriageBot commented 11 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

manuelvillar commented 11 months ago

Very likely related to #190437, please provide the output of code --verbose to help us confirm the issue.

I have the same issue. The output of code --verbose is full of entries like this one:

// Fragment GLSL
#version 300 es

#extension GL_NV_shader_noperspective_interpolation : require
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
uniform sampler2D uTextureSampler_0_S0;
noperspective in highp vec2 vTextureCoords_S0;
flat in highp float vTexIndex_S0;
noperspective in mediump vec4 vinColor_S0;
void main() {
    mediump vec4 outputColor_S0;
    outputColor_S0 = vinColor_S0;
    mediump vec4 texColor;
    {
        texColor = texture(uTextureSampler_0_S0, vTextureCoords_S0, -0.5).xxxx;
    }
    mediump vec4 outputCoverage_S0 = texColor;
    {
        sk_FragColor = outputColor_S0 * outputCoverage_S0;
    }
}

Errors:
link failed but did not provide an info log
[36849:1024/115807.946894:WARNING:angle_platform_impl.cc(48)] ProgramGL.cpp:989 (checkLinkStatus): Program link or binary loading failed with no info log.
[36849:1024/115807.947019:ERROR:shared_context_state.cc(81)] Skia shader compilation error
------------------------
// Vertex SKSL
#extension GL_NV_shader_noperspective_interpolation: require
uniform float4 sk_RTAdjust;in float2 position;in half4 color;flat out half4 vcolor_S0;void main() {// Primitive Processor QuadPerEdgeAAGeometryProcessor
vcolor_S0 = color;sk_Position = position.xy01;}
// Fragment SKSL
#extension GL_NV_shader_noperspective_interpolation: require
flat in half4 vcolor_S0;void main() {// Stage 0, QuadPerEdgeAAGeometryProcessor
half4 outputColor_S0;outputColor_S0 = vcolor_S0;const half4 outputCoverage_S0 = half4(1);{ // Xfer Processor: Porter Duff
sk_FragColor = outputColor_S0 * outputCoverage_S0;}}
// Vertex GLSL
#version 300 es

So it definitely looks like the same issue as https://github.com/microsoft/vscode/issues/190437