[Solved] Black screen on manjaro linux host

Discussions about using Linux guests in VirtualBox.
Post Reply
yan97ao
Posts: 3
Joined: 18. Aug 2021, 03:30

[Solved] Black screen on manjaro linux host

Post by yan97ao »

Hi folks

I install virtualbox on an manjaro host with linux510 and linux510-virtualbox-host-modules
ksnip_20210818-093208.png
ksnip_20210818-093208.png (52.84 KiB) Viewed 5426 times

Code: Select all

filename:       /lib/modules/5.10.59-1-MANJARO/extramodules/vboxdrv.ko.xz
version:        6.1.26 r145957 (0x00300000)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     384D5079D63E907132614A5
depends:        
retpoline:      Y
name:           vboxdrv
vermagic:       5.10.59-1-MANJARO SMP preempt mod_unload 
parm:           force_async_tsc:force the asynchronous TSC mode (int)
While I setup an new VM and try to install OS from ISO file, the preview screen keep black.
This is my vbox.log
vbox.log
(99.84 KiB) Downloaded 17 times
Thx
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Black screen on manjaro linux host

Post by mpack »

Your question concerns the guest OS, not the host - unless you are saying that the host has the black screen?

So the actual subject matter is: black screen on RedHat guest. I'll move the topic to "Linux Guests".

Unfortunately the log is truncated before it says anything interesting (*), except: 64MB is not enough graphics RAM when you enable 3D acceleration. You have plenty of RAM, so I would max out this parameter.

Likewise I'd give 2 CPU cores to the guest.

(*) do not capture logs while the VM is still running and the log file is therefore still being written to.

Then, if the problem continues, please provide a complete zipped log.
yan97ao
Posts: 3
Joined: 18. Aug 2021, 03:30

Re: Black screen on manjaro linux host

Post by yan97ao »

mpack wrote:Your question concerns the guest OS, not the host - unless you are saying that the host has the black screen?

So the actual subject matter is: black screen on RedHat guest. I'll move the topic to "Linux Guests".

Unfortunately the log is truncated before it says anything interesting (*), except: 64MB is not enough graphics RAM when you enable 3D acceleration. You have plenty of RAM, so I would max out this parameter.

Likewise I'd give 2 CPU cores to the guest.

(*) do not capture logs while the VM is still running and the log file is therefore still being written to.

Then, if the problem continues, please provide a complete zipped log.
Thank you mpack,
I have tried with blow settings:
1. Centos 7.9, Centos 8.4 and Ubuntu 20.04 ISO image
2. enable or disable EFI boot
3. enable or disable 3D acceleration
4. enable or disable nested virtualization
5. with 4 Core, 8192MB RAM and 128mb graphics RAM

All I got is a black preview screen(even the virtualbox logo didn't show) and lines in log:

Code: Select all

ERROR [COM]: aRC=VBOX_E_VM_ERROR (0x80bb0003) aIID={4680b2de-8690-11e9-b83d-5719e53cf1de} aComponent={DisplayWrap} aText={Could not take a screenshot (VERR_NOT_SUPPORTED)}, preserve=false aResultDetail=-37
IMO, this is due to some misconfigure of my guest settings or host environment.

I started the VM for about 4min and shutted it down.This is the whole
vbox.zip
(35 KiB) Downloaded 12 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Black screen on manjaro linux host

Post by mpack »

Please do not thrash, i.e. please do not change settings just to see what the effect is. The only time to change a setting is when you already know what the effect is - or have been asked to do so by someone who knows. Most of the settings you list are at best irrelevant, and at worst can cause additional problems.

1. Choose whichever ISO contains the Linux distribution you need to install.
2. EFI can normally be left disabled unless you have a specific reason to enable it.
3. 3D acceleration should be enabled. However you may wish to leave it disabled until an OS has been installed, since the guest installer can't make any use of graphics acceleration.
4. Nested virtualization is irrelevant and should always be disabled, unless you really need to run one VM inside another.
5. The best settings a 2 cores, 8192MB RAM, 128MB graphics RAM.

Once the VM is stable with the above settings then we can turn to the real problem, which will be something to do with the guest configuration. Unfortunately I'm not a Linux expert, especially not for any of the distros you mention (I find them bloated: I much prefer Manjaro with the lightweight XFCE desktop).
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Black screen on manjaro linux host

Post by mpack »

Thanks for your log. I have had a look, and I don't see any sign that your VM attempts to boot at all. I'm not convinced that any EFI boot code exists on that CD/DVD.

Please disable EFI and perhaps try a different ISO.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Black screen on manjaro linux host

Post by fth0 »

On the host, another hypervisor (e.g. KVM) is already running. This prevents VirtualBox from starting the guest. You can only run KVM or VirtualBox at a time.
yan97ao
Posts: 3
Joined: 18. Aug 2021, 03:30

Re: Black screen on manjaro linux host

Post by yan97ao »

Thank you, mpack and fth0, both of you are very kind!
Just as you say:
My VM just didn't boot at all. Because another hypervisor(libvirt/KVM) is already run a QEMU VM.
I shut them down, and vbox works fine.

Again, very much appreciate your help!
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Black screen on manjaro linux host

Post by mpack »

I'm glad you're up and running again.
Post Reply