Closed ranolfi closed 5 years ago
I'm experiencing this, too.
I'm also on Arch Linux, using GNOME 3, completely up-to-date (Arch is a rolling release distro).
My graphics card is a Radeon RX 580. I have multiple monitors attached.
This started happening, oh, about a week ago? I suspect a mesa bug, or possibly a bug in the Linux amdgpu driver. But I haven't seen visual corruption in any other applications.
[leaf@alicorn ~]$ yay -Qs mesa
local/glu 9.0.0-5
Mesa OpenGL Utility library
local/lib32-glu 9.0.0-4
Mesa OpenGL utility library (32 bits)
local/lib32-mesa 19.0.5-1
An open-source implementation of the OpenGL specification (32-bit)
local/lib32-vulkan-radeon 19.0.5-1
Radeon's Vulkan mesa driver (32-bit)
local/mesa 19.0.5-1
An open-source implementation of the OpenGL specification
local/mesa-demos 8.4.0-1
Mesa demos and tools incl. glxinfo + glxgears
local/vulkan-radeon 19.0.5-1
Radeon's Vulkan mesa driver
[leaf@alicorn ~]$ yay -Qs radeon
local/lib32-vulkan-radeon 19.0.5-1
Radeon's Vulkan mesa driver (32-bit)
local/radeontool 1.6.3-3
Lowlevel tools to tweak register and dump state on radeon GPUs
local/vulkan-radeon 19.0.5-1
Radeon's Vulkan mesa driver
[leaf@alicorn ~]$ yay -Qs vscode
local/visual-studio-code-bin 1.34.0-2
Visual Studio Code (vscode): Editor for building and debugging modern web
and cloud applications (official binary version)
# ^ this is from the AUR: https://aur.archlinux.org/packages/visual-studio-code-bin/
[leaf@alicorn ~]$ yay -Q linux
linux 5.1.4.arch1-1
For me, the minimap is always corrupt (or does not update correctly) when the VSCode window is bigger in width or bigger in height than my smallest screen, and never corrupt when the window is smaller.
I've attached a .flv video capture (open in VLC or whatever) (zipped because of GitHub) with the characteristic failures.
@ranolfi Do you have multiple monitors, and are they of different sizes?
Edit: My monitor topology:
@leafi Thanks for confirming this is not just me. No, I have only one monitor at this moment.
May I ask, have you restarted your machine (full AC power off cycle) since you last updated your Mesa package? I would do this myself but I can't for another day or so.
I also suspect a bug in either Mesa or the DRM driver, but haven't experienced glitches in any other application as well.
I did restart, yeah - since I updated mesa, and just before adding to this bug issue to see if it would clear up. No effect.
OK, it's probably not a multi-monitor thing then...
Have you looked at your terminal tab? Mine's pretty glitchy in much the same way as the minimap.
On Tue, May 28, 2019 at 12:48 AM Marc Ranolfi notifications@github.com wrote:
@leafi https://github.com/leafi Thanks for confirming this is not just me. No, I have only one monitor at this moment.
May I ask, have you restarted your machine (full AC power off cycle) since you last updated your mesa package? I would do this myself but I can't for another day or so.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/74378?email_source=notifications&email_token=AAQQ6G4UBH72V7J34F5UN63PXRXMDA5CNFSM4HPYOBYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWKUKDA#issuecomment-496321804, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQQ6GZKMKAW4L4FMH2VIPDPXRXMDANCNFSM4HPYOBYA .
Have you looked at your terminal tab? Mine's pretty glitchy in much the same way as the minimap.
Just did; it is indeed!
I also have this issue with the glitchy minimap:
Additionally, I'm using the OneDark Pro color scheme and some "workbench.colorCustomizations"
. Most of the backgrounds are usually a dark blue color, but now everything is a sort of pinkish purple color. I haven't changed those settings.
also RX580, only happens on the visual-studio-code-bin package, not the open-source code(which is in the official arch repo) even though they are at the same version. I don't know exactly what terminal tab, but for me it doesn't happen in the integrated/external terminal or just urxvt which is my terminal(outside vscode).
EDIT:
after restarting i3(and x11) the issue doesnt appear anymore. (edit: it started happening again after a while)
I just noticed a glitch on the scroll/preview sidebar under Arch Linux / Cinnamon. Instead of displaying a preview of the codefile, it displays random garbage from the gpu buffer.
(I recognized some of these sprites from Counter-Strike Source, which I had been playing hours ago)
I found that expanding and then hiding the Extensions view (or any other left-side view) will often temporarily fix this, albeit not consistently.
Also, after closing all files I managed to make it display a previously opened file:
Let me know if I can provide any other useful info.
1.34.0
(also tested with version1.35.0-insider
)Linux x64 5.0.13-arch1-1-ARCH
;Cinnamon 4.0.10
;Mesa 19.0.5
Steps to Reproduce:
Also occurs with all extensions disabled.
(Additional screenshots)