LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-29-2013, 08:01 PM   #1
YourPadre
LQ Newbie
 
Registered: Apr 2005
Location: Guadalajara, Mexico
Posts: 10

Rep: Reputation: 0
Unhappy Black screen with virt-manager


Hi

I have a server OpenSuse 12.3 x64 with libvirt 1.0.2-1.3.1 and somes VM.

Before I managed the VM's using virt-manager 0.9.4 with slackware 14.0.

Now with slackware 14.1 and the recent slackbuild file for virt-manager 0.10.0, when I open a VM only appear a black screen, or rarely in the top of the window a small part of the VM's "monitor".

The VM's uses Video cirrus and Monitor VNC.

Any idea?
 
Old 11-30-2013, 01:12 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,863

Rep: Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231Reputation: 2231
I haven't had any problems with qxl drivers and spice-gtk. That with RedHat 6.4 and Kubuntu 13.whatever clients.
 
Old 12-01-2013, 05:22 AM   #3
Melville
LQ Newbie
 
Registered: Dec 2013
Posts: 3

Rep: Reputation: Disabled
I can confirm it and reproduce, but it is issue with qemu and not virt-manager. It affects only one display backend: gtk (has nothing to do with chosen vga). Example:

Code:
$ qemu-kvm -cdrom some-linux-distro.iso
Will give blank/black screen, because by default "-display gtk" is used. On other hand:

Code:
$ qemu-kvm -display sdl -cdrom some-linux-distro.iso
Works just fine (not sure how to set that in virt-manager, because I don't use it). Not sure what is the issue. Doesn't affect me, because I use spice output anyway. Downgrading qemu for the start probably would help pinpointing this problem (checking if gtk display is also not working on Slackware 14.1 in previous versions of qemu).
 
Old 12-01-2013, 06:50 PM   #4
YourPadre
LQ Newbie
 
Registered: Apr 2005
Location: Guadalajara, Mexico
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Melville View Post
Works just fine (not sure how to set that in virt-manager, because I don't use it). Not sure what is the issue. Doesn't affect me, because I use spice output anyway. Downgrading qemu for the start probably would help pinpointing this problem (checking if gtk display is also not working on Slackware 14.1 in previous versions of qemu).
I don't know how work virt-manager too but I thougth that it was connecting to qemu-kvm at the OpenSuse server and using VNC to see the "screen" in my computer, so I don't see any reason to downgrade qemu-kvm because it is the same version, the only difference is slackware, from 14 to 14.1.

I'll install slackware (both 14 and 14.1) in a VM using a local vmware player (inside of my current slackware 14.1) to make some test.

Last edited by YourPadre; 12-02-2013 at 12:22 AM.
 
Old 12-02-2013, 03:36 AM   #5
Melville
LQ Newbie
 
Registered: Dec 2013
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by YourPadre View Post
I don't know how work virt-manager too but I thougth that it was connecting to qemu-kvm at the OpenSuse server and using VNC to see the "screen" in my computer, so I don't see any reason to downgrade qemu-kvm because it is the same version, the only difference is slackware, from 14 to 14.1.

I'll install slackware (both 14 and 14.1) in a VM using a local vmware player (inside of my current slackware 14.1) to make some test.
If I understand OpenSuse is a host and Slackware guest inside VM? That wasn't 100% clear in previous post.
 
Old 12-02-2013, 10:27 PM   #6
YourPadre
LQ Newbie
 
Registered: Apr 2005
Location: Guadalajara, Mexico
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Melville View Post
If I understand OpenSuse is a host and Slackware guest inside VM? That wasn't 100% clear in previous post.
No.
a) OpenSuse is the host. Here runs qemu-kvm.
b) Slackware has virt-manager. It manages the host and connects to VM using VNC to "see" the VM screen.
c) The VM are windows and linux.

With Slackware (point b), I used the version 14 before and the VNC works. Now with v14.1 it doesn't works the VNC.
 
Old 12-03-2013, 02:34 AM   #7
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Rep: Reputation: 70
I can confirm that I'm having the same problem. I'm using Slackware 14.1 as host, Windows XP as guest. SDL and VNC displays work fine, GTK doesn't. I'm using qemu directly on the command line.
 
Old 12-03-2013, 06:06 AM   #8
GPLeChuck
LQ Newbie
 
Registered: Dec 2013
Location: Dublin, Ireland
Distribution: Slackware 14.1
Posts: 2

Rep: Reputation: Disabled
Hi guys,

Having the same issue with the black screen after upgrading libvirt, qemu, virt-manager and related packages from the 14.1 Slackbuilds...

Same thing when connecting to existing guest VMs using virt-viewer.

The VMs and libvirt\qemu are fine, I can connect to guests over SSH. I think Melvilles right that its the display backend thats an issue here. If I create a new VM, it displays OK in the virt-manager console. Not at my home computer right now so can't confirm, but I bet comparing the qemu ps output from a blank VM and a newly added VM would show the difference.

Maybe the domain XML files for the old guest VMs can be edited to change the parameters that qemu boots them with, but haven't looked into this yet.
 
Old 12-03-2013, 08:16 AM   #9
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Rep: Reputation: 70
I should mention that the gtk display doesn't work for a freshly installed Windows XP guest vm for me - a vm which has been created from scratch on Slackware 14.1 host
 
Old 12-03-2013, 12:39 PM   #10
GPLeChuck
LQ Newbie
 
Registered: Dec 2013
Location: Dublin, Ireland
Distribution: Slackware 14.1
Posts: 2

Rep: Reputation: Disabled
UGH sincere apologies, the black screen persists for new VMs also. I started to create a new VM previously, to test, and the installation screen appeared in the console, so I thought all was well with the display and stopped the installation - as I didn't need a new VM for any other reason.

Just had a quick look, and worked around it by using SPICE. Tried this for one of the guest VMs and it worked OK.

http://www.linux-kvm.org/page/SPICE

In virt-manager, set the video model to QLX and the display type to SPICE
I had SSH access to the guest, so logged in and installed spice-vdagent

After a reboot, I can access the guest VM using spice client : spicec -h 127.0.0.1 -p 5900

Hope this helps
 
Old 02-06-2014, 10:45 PM   #11
YourPadre
LQ Newbie
 
Registered: Apr 2005
Location: Guadalajara, Mexico
Posts: 10

Original Poster
Rep: Reputation: 0
Smile

Today, February 6, the problem was fixed after run "sbopkg update" and install all virt-manager related packages.

Thanks to the persons who work in the slackbuild files.
 
Old 02-06-2014, 11:17 PM   #12
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,890

Rep: Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927Reputation: 1927
Actually the problem was fixed with cairo update in 14.1 and current
 
1 members found this post helpful.
Old 02-16-2014, 11:15 AM   #13
xj25vm
Member
 
Registered: Jun 2008
Posts: 399

Rep: Reputation: 70
Quote:
Originally Posted by willysr View Post
Actually the problem was fixed with cairo update in 14.1 and current
Yes, thanks for that. I confirm that updating cairo from 1.12.14 to 1.12.16 one Slack 14.1 64bit has re-enabled the sdl output.
 
1 members found this post helpful.
  


Reply

Tags
virt-manager


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Debian 5 05-29-2009 02:02 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Linux - Newbie 2 05-28-2009 08:51 AM
getting a black screen when I try to run beryl-manager adityavpratap Ubuntu 2 06-26-2007 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration