Bug 102554

Summary: X Server crashes in VM starting from Kubuntu 16.04.2 till 18.04 (dev branch) in guest during logging in
Product: Spice Reporter: Eugene <ken20001>
Component: xorg qxlAssignee: Spice Bug List <spice-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: critical    
Priority: high CC: bugzilla, ken20001
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg log file
Xorg log from Kubuntu 17.10
Xorg log file with backtrace from Kubuntu 18.04 (development branch)

Description Eugene 2017-09-05 22:22:40 UTC
Created attachment 133981 [details]
Xorg log file

Host:
Kubuntu 17.04
Linux 4.13
libvirt-bin 3.6.0
qemu 2.10


Guest:
Kubuntu 16.04.3
Linux 4.10.0-33-generic
xserver-xorg-video-qxl 0.1.4-3ubuntu3
xserver-common 1.18.4-0ubuntu0.3

If not to change default screen resolution 1280x1024 in VM, this issue is not happens. But if screen resolution has been changed to any other, crash happens while login (please, see the log in attachment). This issue started to happen from 16.04.2. In Kubuntu 16.04.1 all is OK.
Comment 1 russianneuromancer 2017-09-05 22:28:03 UTC
Created attachment 133982 [details]
Xorg log from Kubuntu 17.10

Same issue on Kubuntu 17.04 guest and Kubuntu 17.10 guest. Log from Kubuntu 17.10 is attached.

Linux 4.12
X.Org Server 1.19.3
QXL DDX 0.1.5
Comment 2 Eugene 2018-01-12 11:26:20 UTC
Any updates?
Comment 3 Eugene 2018-03-01 20:42:49 UTC
Created attachment 137737 [details]
Xorg log file with backtrace from Kubuntu 18.04 (development branch)
Comment 4 Victor Toso 2018-03-02 08:31:52 UTC
Have you filed the bug with (K)ubuntu? It would be good to know if they have patched with [0] as this was to solve bug with similar issue [1]

[0] https://cgit.freedesktop.org/xorg/driver/xf86-video-qxl/commit/
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1428340
Comment 5 Eugene 2018-03-02 11:53:17 UTC
(In reply to Victor Toso from comment #4)
> Have you filed the bug with (K)ubuntu? It would be good to know if they have
> patched with [0] as this was to solve bug with similar issue [1]
> 
> [0] https://cgit.freedesktop.org/xorg/driver/xf86-video-qxl/commit/
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1428340

https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1719038
Comment 6 Eugene 2018-03-15 21:45:43 UTC
> [0] https://cgit.freedesktop.org/xorg/driver/xf86-video-qxl/commit/
I found this patch works only when qemu-guest-agent in not added to the VM, otherwise crash happens all the times while login. It shows the window which informs that ksmserver is crashed and if to click "okay", it quits to sddm login screen.
Comment 7 GitLab Migration User 2018-06-05 14:20:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/spice/spice-gtk/issues/66.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.