LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 04-12-2013, 09:39 AM   #1
PeterSteele
Member
 
Registered: Jun 2012
Posts: 218

Rep: Reputation: Disabled
How can I update my virtual video driver?


I'm running CentOS 6.4 and have created a Windows 7 VM using virt-manager. The VM runs fine, but the default video card that the Windows VM sees is a "Standard VGA Graphics Adapter" with a maximum resolutuon of 1280x1024. The problem with this is that I am running the CentOS box on a 30" monitor with a 2560x1600 resolution. By comparison, the 1280x1024 window seems tiny. I'd like to be able to run the Windows VM at the full monitor resolution. Is there a way to accomplish this?
 
Old 04-12-2013, 10:00 AM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , Solaris 10, RHEL
Posts: 1,935
Blog Entries: 1

Rep: Reputation: 188Reputation: 188
Have you tried installing the KVM drivers for Window guests?

http://www.linux-kvm.org/page/Windows7Install
http://www.linux-kvm.org/page/Window...wnload_Drivers

--C
 
Old 04-12-2013, 10:16 AM   #3
PeterSteele
Member
 
Registered: Jun 2012
Posts: 218

Original Poster
Rep: Reputation: Disabled
I wasn't aware this existed. I'll check it out. Thanks.
 
Old 04-12-2013, 12:48 PM   #4
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 844

Rep: Reputation: 91
virtio drivers do not cover the video adapter. You need to switch the video protocol and card to Spice and QXL respectively, and install the QXL drivers from spice-space.org
 
Old 04-12-2013, 03:56 PM   #5
PeterSteele
Member
 
Registered: Jun 2012
Posts: 218

Original Poster
Rep: Reputation: Disabled
The VM is being launched through virt-manager. In looking at the xml description for the VM under virsh, I see the video defined as:

Code:
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
I tried changing the type from cirrus to spice but it didn't the change. I'm also not sure where in the xml description where I would set this QXL value. Any pointers?
 
Old 04-13-2013, 03:11 PM   #6
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 844

Rep: Reputation: 91
http://libvirt.org/formatdomain.html#elementsGraphics
http://libvirt.org/formatdomain.html#elementsVideo
 
Old 04-13-2013, 03:31 PM   #7
PeterSteele
Member
 
Registered: Jun 2012
Posts: 218

Original Poster
Rep: Reputation: Disabled
Thanks, this looks to be what I need.

Peter
 
Old 04-14-2013, 02:53 AM   #8
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 515

Rep: Reputation: 102Reputation: 102
As you use virt-manager, you dont need to poke around the .xml files, just go in the VM details and change the video adapter type to qxl and the display to spice (instead of vnc). Make sure you add a spice channel too - this is for seamless mouse integration, automatic resolution change and clipboard transfer.

You the need to install the spice guest tools for Windows that contains all relevant drivers and stuff:

http://spice-space.org/download.html

PS.
- For automatic resolution change (that fits the guest the viewer window automatically) you need to use spicy (spice-gtk) because the built-in virt-manager viewer cannot do this with the current version.
- Also i found that USB redirection works fully only with the spice redirection (as opposed to the add hardware->host usb device which isnt working fully yet, for example cannot format USB drives).
- The qxl driver is signed, but my Win7 Pro 64 bit VM refused to load the driver - i had to mess around a bit and put Windows in developer mode. On the other hand i had a 32 bit Win7 Home VM that loaded it just fine (with the red warning box, but it worked).
 
Old 04-14-2013, 07:17 AM   #9
PeterSteele
Member
 
Registered: Jun 2012
Posts: 218

Original Poster
Rep: Reputation: Disabled
Thanks for all the information. Looks like I have a plan...
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to update video driver jacatone Linux - Hardware 1 09-22-2009 03:53 AM
How to Update Video Driver taurusx5 Linux - Software 3 03-09-2008 11:54 AM
How do I update my video driver? jacatone Linux - Newbie 2 07-12-2007 06:23 AM
Video card driver update _aXXe_ Debian 4 05-07-2006 10:49 PM
No display - how to update video card driver? WaarrEagle Red Hat 10 12-13-2004 12:27 AM


All times are GMT -5. The time now is 12:51 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration