[virt-tools-list] Issues with Spice and Virgl

Nick Sarnie commendsarnex at gmail.com
Wed Mar 2 01:06:52 UTC 2016


Hi guys, I'm having issues with spice and virgl. If I use virtio with
accel3d=yes and spice with gl=on, I get a black screen after a few seconds
of booting text. It works with SDL and GTK. If I disable either accel3d or
spice gl, it boots with virtio-gpu. The host is gentoo with mesa, spice,
spice-protocol, virglrenderer, spice-gtk, libvirt,all git, virt-manager git
with the 5 gl patches on feb ML, and qemu commit
b82fc321bf02aaceea0beb4dfabb4ca86a9a5ff6 because of an issue with libvirt
that Marc-André knows about. The guest is ubuntu 15.10 with xserver git,
mesa git, and kernel 4.5. I've attached a screenshot, dmesg and Xorg.log
when I get the black screen. I've also included my xml.

Let me know if you have any ideas or need any more information.

Thanks,
sarnex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20160301/6a1ef49a/attachment.htm>
-------------- next part --------------
[    10.086] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[    10.086] 
X.Org X Server 1.18.99.1
Release Date: 2015-11-09
[    10.086] X Protocol Version 11, Revision 0
[    10.086] Build Operating System: Linux 4.5.0-040500rc4-generic i686 
[    10.086] Current Operating System: Linux virgl 4.5.0-040500rc4-generic #201602141731 SMP Sun Feb 14 23:10:09 UTC 2016 i686
[    10.086] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.5.0-040500rc4-generic root=UUID=ea24be00-af05-4269-b75d-a3dde5ebcaa4 ro acpi=off
[    10.086] Build Date: 01 March 2016  06:18:13PM
[    10.086]  
[    10.086] Current version of pixman: 0.33.6
[    10.086] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    10.086] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.086] (==) Log file: "/usr/var/log/Xorg.0.log", Time: Tue Mar  1 19:59:50 2016
[    10.118] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.123] (==) No Layout section.  Using the first Screen section.
[    10.123] (==) No screen section available. Using defaults.
[    10.123] (**) |-->Screen "Default Screen Section" (0)
[    10.123] (**) |   |-->Monitor "<default monitor>"
[    10.124] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    10.124] (**) |   |-->Device "modesetting"
[    10.124] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    10.124] (==) Automatically adding devices
[    10.124] (==) Automatically enabling devices
[    10.124] (==) Automatically adding GPU devices
[    10.124] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    10.165] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[    10.165] 	Entry deleted from font path.
[    10.165] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[    10.165] 	Entry deleted from font path.
[    10.176] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    10.176] 	Entry deleted from font path.
[    10.176] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    10.176] 	Entry deleted from font path.
[    10.176] (==) FontPath set to:
	/usr/share/fonts/X11/misc/,
	/usr/share/fonts/X11/Type1/
[    10.176] (==) ModulePath set to "/usr/lib/xorg/modules"
[    10.176] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    10.178] (II) Loader magic: 0x829e680
[    10.178] (II) Module ABI versions:
[    10.178] 	X.Org ANSI C Emulation: 0.4
[    10.178] 	X.Org Video Driver: 21.0
[    10.178] 	X.Org XInput driver : 22.1
[    10.178] 	X.Org Server Extension : 9.0
[    10.179] (++) using VT number 7

[    10.179] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    10.184] (II) xfree86: Adding drm device (/dev/dri/card0)
[    10.203] (--) PCI:*(0:0:2:0) 1af4:1050:1af4:1100 rev 1, Mem @ 0xfd800000/8388608, 0xfe000000/8388608, 0xfebd2000/4096, BIOS @ 0x????????/65536
[    10.204] (II) Open ACPI successful (/var/run/acpid.socket)
[    10.205] (II) LoadModule: "glx"
[    10.264] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    10.280] (II) Module glx: vendor="X.Org Foundation"
[    10.280] 	compiled for 1.18.99.1, module version = 1.0.0
[    10.280] 	ABI class: X.Org Server Extension, version 9.0
[    10.280] (==) AIGLX enabled
[    10.280] (II) LoadModule: "modesetting"
[    10.280] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    10.282] (II) Module modesetting: vendor="X.Org Foundation"
[    10.282] 	compiled for 1.18.99.1, module version = 1.18.99
[    10.282] 	Module class: X.Org Video Driver
[    10.282] 	ABI class: X.Org Video Driver, version 21.0
[    10.282] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    10.286] (II) modeset(0): using drv /dev/dri/card0
[    10.287] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    10.287] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    10.287] (**) modeset(0): Option "SWcursor" "on"
[    10.287] (==) modeset(0): RGB weight 888
[    10.287] (==) modeset(0): Default visual is TrueColor
[    10.287] (II) Loading sub module "glamoregl"
[    10.287] (II) LoadModule: "glamoregl"
[    10.287] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    10.306] (II) Module glamoregl: vendor="X.Org Foundation"
[    10.306] 	compiled for 1.18.99.1, module version = 1.0.0
[    10.306] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    10.306] (II) glamor: OpenGL accelerated X.org driver based.
[    10.497] (II) glamor: EGL version 1.4 (DRI2):
[    10.519] (II) modeset(0): glamor initialized
[    10.520] (II) modeset(0): Output Virtual-1 has no monitor section
[    10.520] (II) modeset(0): EDID for output Virtual-1
[    10.520] (II) modeset(0): Printing probed modes for output Virtual-1
[    10.520] (II) modeset(0): Modeline "1024x768"x59.9   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync (47.8 kHz P)
[    10.520] (II) modeset(0): Modeline "4096x2160"x60.0  556.74  4096 4104 4136 4176  2160 2208 2216 2222 +hsync -vsync (133.3 kHz e)
[    10.520] (II) modeset(0): Modeline "4096x2160"x59.9  556.19  4096 4104 4136 4176  2160 2208 2216 2222 +hsync -vsync (133.2 kHz e)
[    10.520] (II) modeset(0): Modeline "2560x1600"x60.0  348.50  2560 2752 3032 3504  1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[    10.520] (II) modeset(0): Modeline "2560x1600"x60.0  268.50  2560 2608 2640 2720  1600 1603 1609 1646 +hsync -vsync (98.7 kHz e)
[    10.520] (II) modeset(0): Modeline "1920x1440"x60.0  234.00  1920 2048 2256 2600  1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[    10.520] (II) modeset(0): Modeline "1856x1392"x60.0  218.25  1856 1952 2176 2528  1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[    10.520] (II) modeset(0): Modeline "1792x1344"x60.0  204.75  1792 1920 2120 2448  1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[    10.520] (II) modeset(0): Modeline "2048x1152"x60.0  162.00  2048 2074 2154 2250  1152 1153 1156 1200 +hsync +vsync (72.0 kHz e)
[    10.520] (II) modeset(0): Modeline "1920x1200"x59.9  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[    10.520] (II) modeset(0): Modeline "1920x1200"x60.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz e)
[    10.520] (II) modeset(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 -hsync -vsync (67.5 kHz e)
[    10.520] (II) modeset(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[    10.520] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[    10.520] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
[    10.520] (II) modeset(0): Modeline "1400x1050"x60.0  121.75  1400 1488 1632 1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[    10.520] (II) modeset(0): Modeline "1400x1050"x59.9  101.00  1400 1448 1480 1560  1050 1053 1057 1080 +hsync -vsync (64.7 kHz e)
[    10.520] (II) modeset(0): Modeline "1600x900"x60.0  108.00  1600 1624 1704 1800  900 901 904 1000 +hsync +vsync (60.0 kHz e)
[    10.520] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[    10.520] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[    10.520] (II) modeset(0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[    10.520] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[    10.520] (II) modeset(0): Modeline "1366x768"x59.8   85.50  1366 1436 1579 1792  768 771 774 798 +hsync +vsync (47.7 kHz e)
[    10.520] (II) modeset(0): Modeline "1366x768"x60.0   72.00  1366 1380 1436 1500  768 769 772 800 +hsync +vsync (48.0 kHz e)
[    10.520] (II) modeset(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[    10.520] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[    10.520] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[    10.520] (II) modeset(0): Modeline "1280x768"x59.9   79.50  1280 1344 1472 1664  768 771 778 798 -hsync +vsync (47.8 kHz e)
[    10.520] (II) modeset(0): Modeline "1280x768"x60.0   68.25  1280 1328 1360 1440  768 771 778 790 +hsync -vsync (47.4 kHz e)
[    10.520] (II) modeset(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[    10.520] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    10.520] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    10.520] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    10.520] (II) modeset(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[    10.520] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    10.520] (II) modeset(0): Output Virtual-1 connected
[    10.520] (II) modeset(0): Using exact sizes for initial modes
[    10.520] (II) modeset(0): Output Virtual-1 using initial mode 1024x768 +0+0
[    10.520] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    10.520] (==) modeset(0): DPI set to (96, 96)
[    10.520] (II) Loading sub module "fb"
[    10.520] (II) LoadModule: "fb"
[    10.520] (II) Loading /usr/lib/xorg/modules/libfb.so
[    10.524] (II) Module fb: vendor="X.Org Foundation"
[    10.524] 	compiled for 1.18.99.1, module version = 1.0.0
[    10.524] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    10.524] (==) Depth 24 pixmap format is 32 bpp
[    10.656] (==) modeset(0): Backing store enabled
[    10.656] (==) modeset(0): Silken mouse enabled
[    10.658] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    10.659] (==) modeset(0): DPMS enabled
[    10.659] (II) modeset(0): [DRI2] Setup complete
[    10.659] (II) modeset(0): [DRI2]   DRI driver: virtio_gpu
[    10.659] (II) modeset(0): [DRI2]   VDPAU driver: virtio_gpu
[    10.659] (--) RandR disabled
[    10.663] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    10.663] (II) AIGLX: enabled GLX_ARB_create_context
[    10.663] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    10.663] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[    10.663] (II) AIGLX: enabled GLX_INTEL_swap_event
[    10.663] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    10.663] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    10.663] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    10.663] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    10.666] (II) AIGLX: Loaded and initialized virtio_gpu
[    10.666] (II) GLX: Initialized DRI2 GL provider for screen 0
[    10.671] (II) modeset(0): Damage tracking initialized
[    10.673] (II) modeset(0): Setting screen physical size to 270 x 203
[    10.900] (II) config/udev: Adding input device QEMU QEMU USB Tablet (/dev/input/event1)
[    10.900] (**) QEMU QEMU USB Tablet: Applying InputClass "evdev pointer catchall"
[    10.900] (II) LoadModule: "evdev"
[    10.901] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    10.903] (II) Module evdev: vendor="X.Org Foundation"
[    10.903] 	compiled for 1.18.99.1, module version = 2.10.1
[    10.903] 	Module class: X.Org XInput Driver
[    10.903] 	ABI class: X.Org XInput driver, version 22.1
[    10.904] (II) Using input driver 'evdev' for 'QEMU QEMU USB Tablet'
[    10.904] (**) QEMU QEMU USB Tablet: always reports core events
[    10.904] (**) evdev: QEMU QEMU USB Tablet: Device: "/dev/input/event1"
[    10.960] (--) evdev: QEMU QEMU USB Tablet: Vendor 0x627 Product 0x1
[    10.960] (--) evdev: QEMU QEMU USB Tablet: Found 3 mouse buttons
[    10.960] (--) evdev: QEMU QEMU USB Tablet: Found scroll wheel(s)
[    10.960] (--) evdev: QEMU QEMU USB Tablet: Found relative axes
[    10.960] (--) evdev: QEMU QEMU USB Tablet: Found absolute axes
[    10.960] (--) evdev: QEMU QEMU USB Tablet: Found x and y absolute axes
[    10.960] (--) evdev: QEMU QEMU USB Tablet: Found absolute touchscreen
[    10.960] (II) evdev: QEMU QEMU USB Tablet: Configuring as touchscreen
[    10.960] (II) evdev: QEMU QEMU USB Tablet: Adding scrollwheel support
[    10.960] (**) evdev: QEMU QEMU USB Tablet: YAxisMapping: buttons 4 and 5
[    10.960] (**) evdev: QEMU QEMU USB Tablet: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    10.960] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.7/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input3/event1"
[    10.960] (II) XINPUT: Adding extended input device "QEMU QEMU USB Tablet" (type: TOUCHSCREEN, id 6)
[    10.960] (WW) evdev: QEMU QEMU USB Tablet: touchpads, tablets and touchscreens ignore relative axes.
[    10.960] (II) evdev: QEMU QEMU USB Tablet: initialized for absolute axes.
[    10.960] (**) QEMU QEMU USB Tablet: (accel) keeping acceleration scheme 1
[    10.960] (**) QEMU QEMU USB Tablet: (accel) acceleration profile 0
[    10.960] (**) QEMU QEMU USB Tablet: (accel) acceleration factor: 2.000
[    10.960] (**) QEMU QEMU USB Tablet: (accel) acceleration threshold: 4
[    10.961] (II) config/udev: Adding input device QEMU QEMU USB Tablet (/dev/input/js0)
[    10.961] (II) No input driver specified, ignoring this device.
[    10.961] (II) This device may have been added with another device file.
[    10.961] (II) config/udev: Adding input device QEMU QEMU USB Tablet (/dev/input/mouse0)
[    10.961] (II) No input driver specified, ignoring this device.
[    10.961] (II) This device may have been added with another device file.
[    10.962] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    10.962] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    10.962] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    10.962] (**) AT Translated Set 2 keyboard: always reports core events
[    10.962] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    10.962] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    10.962] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    10.962] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    10.962] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    10.962] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 7)
[    10.962] (**) Option "xkb_rules" "evdev"
[    10.962] (**) Option "xkb_model" "pc105"
[    10.962] (**) Option "xkb_layout" "us"
[    10.962] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event2)
[    10.962] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev pointer catchall"
[    10.962] (II) Using input driver 'evdev' for 'ImExPS/2 Generic Explorer Mouse'
[    10.963] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[    10.963] (**) evdev: ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event2"
[    10.963] (--) evdev: ImExPS/2 Generic Explorer Mouse: Vendor 0x2 Product 0x6
[    10.963] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found 9 mouse buttons
[    10.963] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found scroll wheel(s)
[    10.963] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found relative axes
[    10.963] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
[    10.963] (II) evdev: ImExPS/2 Generic Explorer Mouse: Configuring as mouse
[    10.963] (II) evdev: ImExPS/2 Generic Explorer Mouse: Adding scrollwheel support
[    10.963] (**) evdev: ImExPS/2 Generic Explorer Mouse: YAxisMapping: buttons 4 and 5
[    10.963] (**) evdev: ImExPS/2 Generic Explorer Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    10.963] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input2/event2"
[    10.963] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 8)
[    10.963] (II) evdev: ImExPS/2 Generic Explorer Mouse: initialized for relative axes.
[    10.963] (**) ImExPS/2 Generic Explorer Mouse: (accel) keeping acceleration scheme 1
[    10.963] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration profile 0
[    10.963] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[    10.963] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[    10.963] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse1)
[    10.963] (II) No input driver specified, ignoring this device.
[    10.963] (II) This device may have been added with another device file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg
Type: application/octet-stream
Size: 33342 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20160301/6a1ef49a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_ubuntu-virgl_2016-03-01_20:01:17.png
Type: image/png
Size: 5114 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20160301/6a1ef49a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ubuntu-virgl.xml
Type: text/xml
Size: 3533 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20160301/6a1ef49a/attachment.xml>


More information about the virt-tools-list mailing list