I have ~amd64 gentoo virtualbox guest on ~amd64 gentoo host with nvidia drivers on both. I install the guest additions by running /mnt/cdrom/VBoxLinuxAdditions.run script in the iso file provided by app-emulation/virtualbox-additions.
The host was updated to the latest packages including virtualbox 5.2.4 and the kernel was updated to gentoo-sources-4.14.8-r1.
But when I updated the guest to the latest packages:
1- The guest displays sddm login screen and I can login.
2- The KDE desktop appears but does not respond to the mouse clicks.
3- Although I can use the keyboard to open the 'launcher menu' and select an application e.g konsole, the application window does show. I can see the application did open by logging remotely to the guest.
4- If I try to click on the menu bar, it disappears.
Undoing the kernel update back to gentoo-sources-4.13.12, I got black screen. The problem was VBoxLinuxAdditions.run script does not install vboxvideo.
Downgrading virtualbox on the guest and host back to 5.1.30, everything works.
Please attach `emerge --info`.
Note: 4.14.x is currently not in a good shape. You should downgrade to 4.9.x series at the moment.
But if you like to test, try >=sys-kernel/gentoo-sources-4.14.10-r1 and latest nvidia drivers (>=x11-drivers/nvidia-drivers-387.34).
Does this fix your problem?
guest emerge --info
host emerge --info
I do not think it can be marked resolved.
I have already tested the guest with nvidia driver 387.34 + virtualbox 5.2.4 + kernel 4.14.8-r1.
I will set another guest to test kernel 4.14.10-r1
I updated the guest to kernel 4.14.10-r1. I got black screen.
The bug is still there after upgrading the guest to kernel 4.14.12.