blurry/un-rendered/distorted popup notification on visual studio code in ubuntu22 running on virtual box

huangapple go评论57阅读模式
英文:

blurry/un-rendered/distorted popup notification on visual studio code in ubuntu22 running on virtual box

问题

我在Visual Studio Code上遇到了弹出消息通知中断的问题。

设置是全新的,在VirtualBox 7上安装了Ubuntu 22.04.2,并且安装了Classic VSC。
我尝试了重新启动和重新安装,但没有成功。有人遇到过这个问题吗?能否建议可能的修复方法?

在我的情况下,添加这一行不起作用,但取消选中3D加速可以解决问题。

英文:

I am facing all notification outages on visual studio code for pop up messages.

The set up is new, on virtualbox 7 with ubuntu 22.04.2 with classic vsc installed.
I have tried restarting, re-installing to no success. has this happened to anyone? Can anyone please suggest a possible fix?

blurry/un-rendered/distorted popup notification on visual studio code in ubuntu22 running on virtual box

in my case, adding the line does not work, but unticking the 3D acceleration does.

blurry/un-rendered/distorted popup notification on visual studio code in ubuntu22 running on virtual box

答案1

得分: 1

这似乎是另一个图形加速问题的案例。您可以按照此处的说明禁用图形加速:https://code.visualstudio.com/updates/v1_40#_disable-gpu-acceleration

  • 打开命令面板(Ctrl+Shift+P)。
  • 运行“首选项:配置运行时参数”命令。
  • 此命令将打开一个 argv.json 文件,用于配置运行时参数。您可能已经在那里看到一些默认参数。
  • 添加 "disable-hardware-acceleration": true
  • 重新启动 VS Code。

如果在 Windows 虚拟机上运行,请参考问题帖子中的截图。

或者根据问题帖子中的说明,尝试在虚拟机设置中关闭3D加速。

英文:

This seems to be another case of graphics accelleration problems. You can disable graphics acceleration following the instructions here: https://code.visualstudio.com/updates/v1_40#_disable-gpu-acceleration

> - Open the Command Palette (Ctrl+Shift+P).
> - Run the Preferences: Configure Runtime Arguments command.
> - This command will open a argv.json file to configure runtime arguments. You might see some default arguments there already.
> - Add "disable-hardware-acceleration": true.
> - Restart VS Code.

if running on windows virtual box, refer to the question post's screenshot.

Or as stated in the question post, try turning off 3D acceleration in the virtual machine settings.

huangapple
  • 本文由 发表于 2023年3月7日 04:52:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/75655734.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定