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

High CPU usage in VirtualBox #15

Closed
zzhiyi opened this issue Jun 17, 2017 · 6 comments

Comments

Projects
None yet
2 participants
@zzhiyi
Copy link

commented Jun 17, 2017

Installed in virtualbox 5.1.22 as guest on Windows 10 15063 x64 host and Deepin Linux is updated to latest version(up to date 2017-06-17). deepin-wm can completely consume one of the cpu core, causing GUI lags and high CPU usage. In perf top, copy_user_generic_string is showed as the top of usage function. Killing deepin-wm can help for a while but it will repeat it again very soon.
1
2

@sonald

This comment has been minimized.

Copy link
Contributor

commented Jun 27, 2017

deepin-wm requires direct rendering capable environment. (check out xdriinfo output). vmware has no problem of rendering 3d apps. I'm not sure VB is capable of that. Press win+shift+tab to use alternative wm (deepin-metacity) temporarily.

@zzhiyi

This comment has been minimized.

Copy link
Author

commented Jun 28, 2017

$ xdriinfo
libGL is too old.
$ uname -a
Linux eric-pc 4.9.0-deepin5-amd64 #1 SMP PREEMPT Deepin 4.9.8-5 (2017-05-02) x86_64 GNU/Linux

To my understanding, if this is because of VirtualBox not capable of 3d rendering. It should be high CPU usage all the time. I come across this behavior often when I open a terminal doing something, and then CPU usage will at some point go high and never go down unless I kill it.

@sonald

This comment has been minimized.

Copy link
Contributor

commented Jul 3, 2017

xdriinfo gives a hint. There is something wrong with your xorg video driver. My guess is that you got a NV card and tried to install nvidia driver ?

@zzhiyi

This comment has been minimized.

Copy link
Author

commented Jul 3, 2017

No. I use VirtualBox on a laptop with a Intel integrated graphic card and a Nvidia 940M. I think VBox is using the Intel integrated graphic card and not using the other one. One thing that I did that concerns GPU maybe that I installed VBox Guest Additions.

@zzhiyi

This comment has been minimized.

Copy link
Author

commented Jul 14, 2017

use update-alternatives --config x-window-manager and choose deepin-metacity and press win + shift + tab seems to help. Thanks. At least deepin-wm is not running.

@sonald

This comment has been minimized.

Copy link
Contributor

commented Jul 19, 2017

without working direct rendering, there's no way to run deepin-wm correctly. VB's virtual video driver seems not suitable for 3d.

@zzhiyi zzhiyi closed this Jul 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.