Skip to content

[Bug]: Trailing Graphical Artifacts with 3D Acceleration on Linux Guest #71

Description

@ronderner

Version

7.1.10

Host OS Type

Windows

Host Architecture

x86

Guest OS Type

Linux

Guest Architecture

x86

Component

3D Support

What happened?

I installed Guest Additions on Linux (Ubuntu). After installation, I noticed visual artifacts, an example is given below. As I found out, the problem was the lack of modules responsible for 3D support, namely: vboxvideo_drv.so; libvboxvideo.so; vboxadd-x11.service; vboxvideo (instead there is vboxguest). They were also missing in GuestAdditions, that is, the reason is an incomplete file. You can see the result of the check in the console in the photo, or here:

user@user-VirtualBox:~$ cd /media/user/VBox_GAs_7.1.10/
user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$ /media/user/VBox_GAs_7.1.10$ find . -name "vboxvideo_drv.so"
bash: /media/user/VBox_GAs_7.1.10$: Немає такого файла або каталогу
user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$ user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$ find . -name "libvboxvideo.so"
bash: user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$: Немає такого файла або каталогу
user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$ ls -l /usr/lib/xorg/modules/drivers/vboxvideo_drv.so
ls: не вдалося отримати доступ до '/usr/lib/xorg/modules/drivers/vboxvideo_drv.so': Немає такого файла або каталогу
user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$ ls -l /usr/lib/xorg/modules/extensions/libvboxvideo.so
ls: не вдалося отримати доступ до '/usr/lib/xorg/modules/extensions/libvboxvideo.so': Немає такого файла або каталогу
user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$ systemctl status vboxadd-x11.service
Unit vboxadd-x11.service could not be found.
user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: SVGA3D; build: RELEASE; LLVM;
user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$ lsmod | grep vbox
vboxguest              499712  4
user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$

I would like to note that there were no errors during installation or reinstallation, but the artifacts remained. You can see the reinstallation process log below:

```bash
user@user-VirtualBox:~$ cd /media/user/VBox_GAs_7.1.10/
user@user-VirtualBox:/media/user/VBox_GAs_7.1.10$ sudo ./VBoxLinuxAdditions.run
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.1.10 Guest Additions for Linux 100%
VirtualBox Guest Additions installer
Removing installed version 7.1.10 of VirtualBox Guest Additions...
update-initramfs: Generating /boot/initrd.img-6.11.0-29-generic
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 6.11.0-29-generic.
update-initramfs: Generating /boot/initrd.img-6.11.0-29-generic

<img width="1855" height="942" alt="Image" src="https://github.com/user-attachments/assets/a2d88cf5-c739-4bea-91bd-6df7b30db33c" />
<img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/eb4a7b41-0482-4ddb-abf4-a4dfa8180e8d" />
<img width="1920" height="1033" alt="Image" src="https://github.com/user-attachments/assets/fbd5e8d8-d09b-4986-813c-ce15e0828e83" />

### How can we reproduce this?

1.  Create a new VirtualBox VM with Ubuntu 23.10 (x86-64).
2.  In VM Settings -> Display -> Screen, set Graphics Controller to `VMSVGA`, Video Memory to `256MB`, and check `Enable 3D Acceleration`.
3.  Start the Ubuntu VM.
4.  Within the running VM, mount the `VBoxGuestAdditions_7.1.10.iso` by going to the VirtualBox VM menu: `Devices` -> `Insert Guest Additions CD Image...` (It usually mounts automatically to `/media/user/VBox_GAs_7.1.10/`).
5.  Open a terminal in the guest and navigate to the mounted directory.
6.  Run `sudo ./VBoxLinuxAdditions.run` to install Guest Additions.
7.  Reboot the guest OS.

<img width="1920" height="1033" alt="Image" src="https://github.com/user-attachments/assets/8cbb9ea5-8c5b-4fda-8ed5-f9aba7ef0617" />
<img width="1855" height="942" alt="Image" src="https://github.com/user-attachments/assets/d8b3f855-5f2f-430b-9425-62c3c7b59034" />
<img width="1920" height="1080" alt="Image" src="https://github.com/user-attachments/assets/8b3647d9-5dcd-4a71-b942-2df4581e867e" />

### Did you upload *all* of your necessary log files, screenshots, etc.?

- [x] Yes, I've uploaded all pertinent files to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions