microsoft / microsoft/vscode

Rendering Fail After Zoom+Scroll

Open
#325,040 0 comments 0 reactions 1 assignee Claimed by @alexdima View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

Reproduction Steps

1. Enable `editor.experimentalGpuAcceleration`.
2. Open a relatively large source file (mine is approximately 700 lines).
3. Use Ctrl + Mouse Wheel to zoom in or out.
4. Scroll through the file repeatedly, changing the zoom level occasionally.
5. After some time, portions of the editor begin rendering incorrectly.

Actual Result

* Large rectangular sections of the editor become completely black.
* Multi-line inline AI suggestions are also affected; instead of rendering the suggested text, a solid black rectangle is drawn over both the suggestion and the underlying code.
* Once the issue starts, the Developer Console is repeatedly flooded with:

* `Attempt to create a texture atlas page past the limit 16`

Expected Result

* The editor should continue rendering correctly regardless of scrolling or zoom level.
* Inline suggestions should render normally.
* No texture atlas errors should be logged.

Additional Information

* Setting `editor.experimentalGpuAcceleration` to **Off** immediately resolves the issue.
* I have not been able to reproduce the problem with GPU acceleration disabled.
* The issue appears to be related to glyph texture atlas exhaustion, based on the repeated "Attempt to create a texture atlas page past the limit 16" errors.

VS Code version: Code 1.128.0 (fc3def6774c76082adf699d366f31a557ce5573f, 2026-07-07T15:14:24-07:00)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|13th Gen Intel(R) Core(TM) i9-13900HX (32 x 2419)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0xa788 [Intel(R) UHD Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=31.0.101.4502 *ACTIVE*
GPU1: VENDOR= 0x10de, DEVICE=0x27e0 [NVIDIA GeForce RTX 4080 Laptop GPU], DRIVER_VERSION=32.0.15.9579
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.7309
Machine model name:
Machine model version:
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
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|63.73GB (45.42GB free)|
|Process Argv|--crash-reporter-id 8a1a4995-cb9f-42ae-88ef-7ca5d4d59f01|
|Screen Reader|no|
|VM|0%|
Extensions (5)

Name|Identifier|Author|Version
---|---|---|---
LSL-FP|dalghost.lsl-fp|DalGhost|1.2.1
Python Debugger|ms-python.debugpy|ms-python|2026.6.0
Python|ms-python.python|ms-python|2026.4.0
Live Preview|ms-vscode.live-server|ms-vscode|0.4.19
PowerShell|ms-vscode.powershell|ms-vscode|2025.4.0

A/B Experiments

```
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31538736
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478678
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
capi_b_098a3278:31544978
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
h08i8180_copy:31475368
ddid_t:31478206
hmra_i5g22:31518061
ja75b849:31547460
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
a1ije391_t:31540920
g4a0e106:31529594
8hfba999:31537718
prpt_ctrl:31518467
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31533504
d7b18187:31526828
nes-curr-leftover-1500:31538366
h561g132:31533256
sessions_5:31532894
chatquotatrajectorynudge-enabled:31547390
ihg5j128:31534457
f412h606:31546039
9gg7f176:31542112
nes-nc-ctrl:31546581

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.