please test 19.0.8 from ppa:ubuntu-x-swat/updates

** Changed in: mesa (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1836772

Title:
  Xorg crash on 3d-enabled virgl (Haswell host)

Status in mesa package in Ubuntu:
  Incomplete
Status in xorg-server package in Ubuntu:
  New

Bug description:
  I am running a KVM virtual machine with 3D acceleration (virgl). The
  host is Arch Linux, the guest is Ubuntu 18.04. However, recently, the
  session started crashing just after the login. In xorg logs, I see
  this:

  [    15.338] (WW) modeset(0): Page flip failed: Invalid argument
  [    15.338] (EE) modeset(0): present flip failed
  [    15.397] (WW) modeset(0): Page flip failed: Invalid argument
  [    15.397] (EE) modeset(0): present flip failed
  [    15.418] (WW) modeset(0): Page flip failed: Invalid argument
  [    15.419] (EE) modeset(0): present flip failed
  [    15.440] (WW) modeset(0): Page flip failed: Invalid argument
  [    15.440] (EE) modeset(0): present flip failed
  [    15.460] (WW) modeset(0): Page flip failed: Invalid argument
  [    15.460] (EE) modeset(0): present flip failed
  [    15.975] (WW) modeset(0): Page flip failed: Invalid argument
  [    15.976] (EE) modeset(0): present flip failed
  [    16.039] (WW) modeset(0): Page flip failed: Invalid argument
  [    16.040] (EE) modeset(0): present flip failed
  [    16.064] (WW) modeset(0): Page flip failed: Invalid argument
  [    16.064] (EE) modeset(0): present flip failed
  [    16.096] Failed to compile FS: 0:11(2): error: `color0' undeclared
  0:11(2): error: value of type vec4 cannot be assigned to variable of type 
error
  0:12(2): error: `color1' undeclared
  0:12(2): error: value of type vec4 cannot be assigned to variable of type 
error

  [    16.096] Program source:
  #ifdef GL_ES
  precision mediump float;
  #endif
  #define ATLAS_DIM_INV 0.000976562500000000
  varying vec2 glyph_pos;
  uniform vec4 fg;
  uniform sampler2D atlas;
  void main() {
         vec4 mask = texture2D(atlas, glyph_pos);
         vec4 source = fg;
        color0 = source * mask;
        color1 = source.a * mask;
  }
  [    16.096] (EE)
  Fatal server error:
  [    16.096] (EE) GLSL compile failure

  Downgrading libgl1-mesa-dri from 19.0.2-1ubuntu1.1~18.04.1 to
  18.0.0~rc5-1ubuntu1 helps.

  Arch on Arch does not fail this way. Mesa version is 19.1.1-1 there.

  On the host, the GPU is Intel Haswell:

  00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon
  E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
  [8086:0412] (rev 06)

  The CPU is Intel(R) Core(TM) i7-4770S CPU.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: xorg 1:7.7+19ubuntu7.1
  ProcVersionSignature: Ubuntu 4.15.0-54.58-generic 4.15.18
  Uname: Linux 4.15.0-54-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.7
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Jul 16 20:52:03 2019
  DistUpgraded: Fresh install
  DistroCodename: bionic
  DistroVariant: ubuntu
  DpkgLog:
   
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GraphicsCard:
   Red Hat, Inc. Virtio GPU [1af4:1050] (rev 01) (prog-if 00 [VGA controller])
     Subsystem: Red Hat, Inc. Virtio GPU [1af4:1100]
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no username)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-54-generic 
root=UUID=4fa5252e-51d1-476f-8903-e4d8b7266af0 ro splash quiet vt.handoff=1
  SourcePackage: xorg
  Symptom: display
  Title: Xorg crash
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/01/2014
  dmi.bios.vendor: SeaBIOS
  dmi.bios.version: 1.12.0-20181126_142135-anatol
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-q35-4.0
  dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.12.0-20181126_142135-anatol:bd04/01/2014:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-4.0:cvnQEMU:ct1:cvrpc-q35-4.0:
  dmi.product.name: Standard PC (Q35 + ICH9, 2009)
  dmi.product.version: pc-q35-4.0
  dmi.sys.vendor: QEMU
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.97-1ubuntu1~18.04.1
  version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.0~rc5-1ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx 19.0.2-1ubuntu1.1~18.04.1
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4.3
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1836772/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to