Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Low video resolution
igadoter
 Posted: Jul 30 2015, 02:31 PM
Quote Post


SLF Member
***

Group: Members
Posts: 54
Member No.: 3337
Joined: 13-January 15









Hi,

I am completely new to virtualization in SL. I am running SL 6.4, I created virtual machine, but I am unable
to set video memory larger than 9 MB, also the maximal video resolution for guest is 640x480, which is too
small. I need much higher resolutions.

Any hints ?
PMEmail Poster
^
helikaon
 Posted: Jul 31 2015, 01:38 PM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









Hi,
i suppose the the KVM machine is Linux? if it is, then, id go some like this:

CODE

1. edit HW details of the VM ('show virtual hw details' icon) - change video card to 'vga' (from cirrus)

2. vi /etc/X11/xorg.conf.d/xorg.conf

Section "Monitor"
Identifier "Monitor1"
HorizSync 31.5 - 90
VertRefresh 50.0 - 180.0
Option "PrefferedMode" "1280x1024_60.00"
EndSection

Section "Device"
Identifier "Device1"
Driver "vesa"
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1280×1024"
EndSubSection
EndSection


cheers,

--------------------
PMEmail Poster
^
igadoter
 Posted: Aug 3 2015, 10:06 AM
Quote Post


SLF Member
***

Group: Members
Posts: 54
Member No.: 3337
Joined: 13-January 15









The guest is Plan 9 system, at this moment I am worried most about that supervisor sets maximal
amount of graphic memory to 9MB, I can't change this, It deos not matter what type of graphic card.
PMEmail Poster
^
helikaon
 Posted: Oct 19 2015, 08:57 AM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 836
Member No.: 4
Joined: 8-April 11









QUOTE (igadoter @ Aug 3 2015, 10:06 AM)
The guest is Plan 9 system, at this moment I am worried most about  that supervisor sets maximal
amount of graphic memory to 9MB, I can't change this, It deos not matter what type of graphic card.


Hi,
sorry, this topic slipped off my radar 'a bit' (me being at vacation at the time) and i found it 'again' while having a bit of time and reading forums.

I know you read/post to our forums - could you share (if you will) how you solved the Plan 9 problem?

I find it interesting very much. I dont know Plan 9 - but after internet search it turns out to be a very interesting OS.
What are you using it for? Wiki says it's EOL since 2002 ..


Anyway as for the low res - yes, KVM is topped at 9MB per guest by default and it can't be changed in 'virt-manager'.

But you can change it from CLI (eg. from my laptop):

List domains:
CODE

virsh list --all
Id    Name                           State
----------------------------------------------------
-     389DS-final                    shut off
-     389DS-final-clone-bck          shut off
-     389DS-final-clone-dirsrv1      shut off
-     389DS-final-clone-dirsrv1-clone-bck shut off
-     node1                          shut off
-     node2                          shut off
-     vm03-win764-dpdhl              shut off
-     win7pc04                       shut off


Change domains (eg. my windows guest):
find the 'vram' setting and increase it from default to what you need
CODE

virsh edit win7pc04
<model type='vga' vram='18432' heads='1'/>


restart libvirt:
CODE

service libvirtd restart


Now you see it in virt-manager too.

cheers,


--------------------
PMEmail Poster
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll