[vmwgfx] Desktop is clipped to a rectangle and mouse doesn't work in VirtualBox when paravirtualization is enabled

Bug #1971010 reported by Ilia
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Screen and mouse doesn't work

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 30 09:35:20 2022
DistUpgraded: 2022-04-29 07:32:33,356 DEBUG Running PostInstallScript: '/usr/lib/ubuntu-advantage/upgrade_lts_contract.py'
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingInterest: No
GraphicsCard:
 VMware SVGA II Adapter [15ad:0405] (prog-if 00 [VGA controller])
   Subsystem: VMware SVGA II Adapter [15ad:0405]
InstallationDate: Installed on 2021-11-09 (171 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
Lsusb:
 Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Lsusb-t:
 /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/12p, 12M
     |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
MachineType: innotek GmbH VirtualBox
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-27-generic root=UUID=fdb10ec1-b027-47b9-bcc7-9dc7ae1897d8 ro quiet splash
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to jammy on 2022-04-29 (1 days ago)
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.board.name: VirtualBox
dmi.board.vendor: Oracle Corporation
dmi.board.version: 1.2
dmi.chassis.type: 1
dmi.chassis.vendor: Oracle Corporation
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:sku:
dmi.product.family: Virtual Machine
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.110-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.1-1ubuntu2
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2build3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Ilia (iliameme) wrote :
Revision history for this message
Ilia (iliameme) wrote :

This happens after upgrade to latest version. Ubuntu is guest for virtualbox on win10. Video is included: https://drive.google.com/file/d/1C0IOJlqY-n71PDoVgYfVfrsuHKaUMnvD/view?usp=sharing

Revision history for this message
Ilia (iliameme) wrote :

The bug is rather critical as machine is not usable. To report a bug above it takes me an hour(.

affects: ubuntu → xorg (Ubuntu)
Revision history for this message
Ilia (iliameme) wrote :

Funny thing that without any paravirtualization (paravirtualization interface = none in vbox settings) everything works (but of course much slower).

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: [vmwgfx] Screen and mouse doesn't work in VirtualBox

Thanks for the bug report.

Is it just Wayland sessions affected? Have you tried selecting 'Ubuntu on Xorg' at the login screen?

summary: - Screen and mouse doesn't work
+ [vmwgfx] Screen and mouse doesn't work in VirtualBox
affects: xorg (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
affects: ubuntu → mutter (Ubuntu)
summary: - [vmwgfx] Screen and mouse doesn't work in VirtualBox
+ [vmwgfx] Screen and mouse doesn't work in VirtualBox when
+ paravirtualization is enabled
tags: added: vmwgfx
Revision history for this message
Ilia (iliameme) wrote : Re: [vmwgfx] Screen and mouse doesn't work in VirtualBox when paravirtualization is enabled

No, I haven't tried that option. How to enable it if have switched login screen off?

Changed in mutter (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Maybe try reenabling the login screen and then please select 'Ubuntu on Xorg' before you enter your password. Once logged in, please tell us if the bug persists and run:

  journalctl -b0 > journal.txt

and attach the resulting text file here.

Changed in mutter (Ubuntu):
status: New → Incomplete
Revision history for this message
Ilia (iliameme) wrote :

With "xorg (Ubuntu)" it is no more reproducible.

File is attached.

Changed in mutter (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Indeed there seem to be some error messages coming out of Mesa (about vmwgfx) when the login screen uses Wayland. That probably puts the bug in either Mesa or the kernel.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: [vmwgfx] Screen and mouse doesn't work in VirtualBox when paravirtualization is enabled

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mesa (Ubuntu):
status: New → Confirmed
Changed in mutter (Ubuntu):
status: New → Confirmed
Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

I have the exact same bug, using Xorg. VM worked until updated to Jammy, now shows just like in OP's video: Launcher is drawn fully, but only the top left part of the background draws. Dragging windows in working portion of screen with mouse doesn't work.

The paravirtualization setting has no effect, in my experience - tried every setting and system persists to show the issue.

Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

Screenshot showing same behavior, xorg + None for paravirtualization: https://i.imgur.com/6pB3Npc.png

summary: - [vmwgfx] Screen and mouse doesn't work in VirtualBox when
- paravirtualization is enabled
+ [vmwgfx] Desktop wallpaper is clipped to a rectangle and mouse doesn't
+ work in VirtualBox when paravirtualization is enabled
Changed in gnome-shell (Ubuntu):
status: New → Confirmed
summary: - [vmwgfx] Desktop wallpaper is clipped to a rectangle and mouse doesn't
- work in VirtualBox when paravirtualization is enabled
+ [vmwgfx] Desktop is clipped to a rectangle and mouse doesn't work in
+ VirtualBox when paravirtualization is enabled
Revision history for this message
Ilia (iliameme) wrote (last edit ):

Looks like with the latest update the problem is solved.

information type: Public → Private Security
information type: Private Security → Public
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

> Looks like with the latest update the problem is solved.

What packages got updated? Certainly not gnome-shell, mutter or mesa.

no longer affects: mutter (Ubuntu)
no longer affects: gnome-shell (Ubuntu)
no longer affects: mesa (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Ilia (iliameme) wrote :

Unfortunately nothing has changed. So, the bug is actual.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.