早上开ubuntu虚拟机的时候发现开机界面可以显示,但进去后就黑屏了。
我感觉是图形界面的问题,于是尝试ssh连接,连上了,查看内核情况:
#dmesg
[ 6.065797] cryptd: max_cpu_qlen set to 1000
[ 6.094021] NET: Registered protocol family 40
[ 6.148656] AVX2 version of gcm_enc/dec engaged.
[ 6.148657] AES CTR mode by8 optimization enabled
[ 22.790820] [drm:vmw_cotable_resize [vmwgfx]] *ERROR* Failed waiting for cotable unbind.
[ 22.790845] [drm:vmw_resource_validate [vmwgfx]] *ERROR* Out of device device resources for context guest backed object tables.
[ 22.790850] [drm:vmw_validation_res_validate [vmwgfx]] *ERROR* Failed to validate resource.
[ 33.026133] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
[ 43.267720] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:33:plane-0] flip_done timed out
[ 53.508250] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
[ 63.748037] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:33:plane-0] flip_done timed out
[ 78.848761] [drm:vmw_cotable_resize [vmwgfx]] *ERROR* Failed waiting for cotable unbind.
[ 78.848785] [drm:vmw_resource_validate [vmwgfx]] *ERROR* Out of device device resources for context guest backed object tables.
[ 78.848792] [drm:vmw_validation_res_validate [vmwgfx]] *ERROR* Failed to validate resource.
[ 89.088949] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
[ 99.329846] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:35:Virtual-1] flip_done timed out
[ 109.569247] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:33:plane-0] flip_done timed out
[ 119.809712] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:crtc-0] flip_done timed out
[ 130.051274] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:33:plane-0] flip_done timed out
我去搜索解决方法,网上找不到任何有用的信息。
我想到把CPU的核数降到2个,不用4个,就成功启动了。。。。。。。。
可能是vmware的问题吧。

本文记录了使用vmware虚拟机运行Ubuntu时遇到的开机黑屏问题。通过ssh远程连接,发现可能是图形界面故障。最终通过将CPU核心数从4个减少到2个成功解决了启动问题,疑似与vmware软件有关。
1万+

被折叠的 条评论
为什么被折叠?



