Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692616 - black screen with qemu + qxl + spicy or virt-viewer after world update
Summary: black screen with qemu + qxl + spicy or virt-viewer after world update
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-20 14:00 UTC by email200202
Modified: 2019-08-22 09:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Spicy display screenshot (Screenshot_20190820_132814.png,10.98 KB, image/png)
2019-08-20 14:00 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2019-08-20 14:00:57 UTC
Created attachment 587620 [details]
Spicy display screenshot

My setup is app-emulation/qemu-4.0.0-r50, net-misc/spice-gtk-0.37-r2, and x11-drivers/xf86-video-qxl-0.1.5. The VM and the host are both ~amd64 Gentoo Linux.

The startup script:
qemu-system-x86_64 --enable-kvm  -daemonize \
        -name ${NAME} \
        -machine type=pc,accel=kvm \
        -cpu host \
        -smp 2 \
        -vga none -device qxl-vga,vgamem_mb=32 \
        ${CDROM} \
        ${DRIVEA} ${DRIVEB} \
        -m 2G  \
        -soundhw ac97 \
        -device usb-tablet \
        -device virtio-balloon \
        -netdev tap,id=net0,script=/root/qemu-ifup \
        -device virtio-net-pci,netdev=net0,mac=${MAC_ADDR}  \
        -usb \
        -device ich9-usb-ehci1,id=usb \
        -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,multifunction=on \
        -device ich9-usb-uhci2,masterbus=usb.0,firstport=2 \
        -device ich9-usb-uhci3,masterbus=usb.0,firstport=4 \
        -chardev spicevmc,name=usbredir,id=usbredirchardev1 \
        -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1 \
        -chardev spicevmc,name=usbredir,id=usbredirchardev2 \
        -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2 \
        -chardev spicevmc,name=usbredir,id=usbredirchardev3 \
        -device usb-redir,chardev=usbredirchardev3,id=usbredirdev3 \
        -spice port=${SPICE_PORT},addr=127.0.0.1,disable-ticketing \
        -device virtio-serial-pci \
        -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \
        -chardev spicevmc,id=spicechannel0,name=vdagent \

The spicy command:
spicy --title ${NAME} -p ${SPICE_PORT}

It was working for more than 10 months. The problem developed in the last two days after 'world' update. 

The VM boots normally but after X starts the VM display becomes black with the "session" in the middle (see the attached snapshot). I can still login to the VM using ssh.

virt-viewer gave me the same results as spicy.

I tried to upgrade/downgrade all the relevant packages but I couldn't find which package update caused the problem.
Comment 1 email200202 2019-08-20 14:43:31 UTC
Update:

(1) I got GUI in spicy when I removed the line "-vga none -device qxl-vga,vgamem_mb=32 \". In this case VM is not qxl driver.

(2) The GUI came in gtk window with qxl driver when I added "-Display gtk".



The problem occurs when qxl driver with spice display. I checked the VM logs. The qxl driver starts with no errors even when back screen is displayed.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-08-22 09:13:38 UTC
Please use this bug tracker to report *bugs* as and when you find them. This is a support request and belongs on our support forums: web, e-mail or IRC, and not on this bug tracker.