Desktop freeze running VirtualBox, Intel graphics

Bug #1804885 reported by Michael Thayer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When I start a VirtualBox virtual machine (reproducible with the Ubuntu 18.04/VirtualBox 5.2.22 packages from virtualbox.org) with VMSVGA emulation and 3D pass-through enabled, my system hangs. Sometimes I can recover if I get to a VT fast enough to kill the process. Also, the OOM killer sometimes triggers and kills the process or gnome-shell, but the OOM killer entries in dmesg look like neither of the two are using excessive memory compared to available system RAM. When I switch to the Ubuntu drm-tip kernel packages from the kernel PPA the problem goes away. Debugging shows that the hang occurs during the first glXMakeCurrent call made by the application. It did not occur using the standard Ubuntu kernel but running the application under apitrace. I can provide the trace if that helps.

Short extract from glxinfo running the 4.20 drm-tip kernel:

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) (0x5916)
    Version: 18.2.2
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: xorg 1:7.7+19ubuntu8
Uname: Linux 4.20.0-994-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
BootLog: Error: [Errno 13] Отказано в доступе: '/var/log/boot.log'
CasperVersion: 1.399
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 23 21:13:00 2018
DistUpgraded: 2018-10-08 10:28:22,218 DEBUG Running PostInstallScript: './xorg_fix_proprietary.py'
DistroCodename: cosmic
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, including running git bisection searches
GpuHangFrequency: Several times a day
GpuHangReproducibility: Yes, I can easily reproduce it
GpuHangStarted: Immediately after installing this version of Ubuntu
GraphicsCard:
 Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Lenovo HD Graphics 620 [17aa:2245]
InstallationDate: Installed on 2018-06-12 (164 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
LiveMediaBuild: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
MachineType: LENOVO 20HES0E73E
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.20.0-994-generic root=/dev/mapper/ubuntu--vg-root ro scsi_mod.use_blk_mq=1 quiet splash crashkernel=384M-:128M
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: Upgraded to cosmic on 2018-10-08 (46 days ago)
dmi.bios.date: 09/13/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: N1QET78W (1.53 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20HES0E73E
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN1QET78W(1.53):bd09/13/2018:svnLENOVO:pn20HES0E73E:pvrThinkPadT470:rvnLENOVO:rn20HES0E73E:rvrNotDefined:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad T470
dmi.product.name: 20HES0E73E
dmi.product.sku: LENOVO_MT_20HE_BU_Think_FM_ThinkPad T470
dmi.product.version: ThinkPad T470
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.95-1
version.libgl1-mesa-dri: libgl1-mesa-dri 18.2.2-0ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.2.2-0ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.20.3-0~ubuntu18.10.1~ppa1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-3

Revision history for this message
Michael Thayer (michael-thayer) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Unfortunately this bug was reported while running an unsupported kernel (4.20.0-994-generic) so we are unable to support it here.

Please switch back to the standard Ubuntu kernel and then log a new bug from there by running:

  ubuntu-bug linux

affects: xorg (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Invalid
Revision history for this message
Michael Thayer (michael-thayer) wrote :

Created bug 1805151. Thanks for your time.

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.