vmware虚拟机ubuntu开机黑屏问题解决

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

早上开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的问题吧。

评论 10
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值