Re: Higher (quadratical) resolution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dennis,

Wow, great help Dennis, you just solved my problem I've been struggling with for the last week and as expected it was something silly. I had upgraded from QEMU 1.0 to 1.2 but all my libvirt domains were still specifying PC-1.1, simply changing them to PC-1.2 allowed the framebuffer to go from 8MB to 16MB enabling the higher resolutions.

However, something else caught my eye that may help solve another problem I was having with dual heads, is your QEMU command generated by libvirt, and if so would you be able to send me a copy of the .XML file that you use (or just the graphics/QXL part)? I'm curious whats generating this part of the command:

-device qxl,id=video1,vram_size=67108864,bus=pci.0,addr=0x6 -device qxl,id=video2,vram_size=67108864,bus=pci.0,addr=0x7

Thanks.

On 13-02-20 12:43 AM, Dennis Böck wrote:
Hi Mike,

Xorg.log attached.
Here is the QEMU command for the VM:
/usr/bin/qemu-kvm -name Fedora18 -S -M pc-1.2 -enable-kvm -m 1024 -smp 2,sockets=2,cores=1,threads=1 -uuid 2711c802-04d1-bed7-fba2-5c9f02fd54b9 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/Fedora18.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/Fedora18.img,if=none,id=drive-virtio-disk0,format=raw -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x3,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=22,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:ec:07:ff,bus=pci.0,addr=0x5 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing -vga qxl -global qxl-vga.vram_size=67108864 -device qxl,id=video1,vram_size=67108864,bus=pci.0,addr=0x6 -device qxl,id=video2,vram_size=67108864,bus=pci.0,addr=0x7 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4

Best regards
Dennis
________________________________________
Von: Mike [ipso@xxxxxxxxxxxxx]
Gesendet: Dienstag, 19. Februar 2013 21:56
An: Marian Krcmarik
Cc: Dennis Böck; spice-devel@xxxxxxxxxxxxxxxxxxxxx
Betreff: Re:  Higher (quadratical) resolution

We're running into a similar problem, however the highest resolution
available to us is 1900x1080 in Linux (Windows is much higher).

Dennis, I'm wondering if you would be so kind as to provide us with your
Xorg.log file from the guest, as well as the QEMU command you use to
start the guest so we could do some comparisons?

Thanks.

On 13-02-19 07:16 AM, Marian Krcmarik wrote:
----- Original Message -----
From: "Dennis Böck" <dennis@xxxxxxxxxxxxxxxxxxxxxxx>
To: spice-devel@xxxxxxxxxxxxxxxxxxxxx
Sent: Wednesday, February 13, 2013 3:53:12 PM
Subject: Re:  Higher (quadratical) resolution

Hi David,

installing all updates for Fedora 18 didn't help, but enabling the
"Test Updates" repository did help - so obviously this feature is
still not officially released.
Now the output of xrandr looks like this:

Screen 0: minimum 320 x 200, current 2560 x 1600, maximum 8192 x 8192
qxl-0 connected 2560x1600+0+0 0mm x 0mm
     2560x1600      60.0*+
     2560x1440      60.0
     2048x1536      60.0
     1920x1440      60.0
     1920x1200      60.0
     1920x1080      60.0
     1600x1200      60.0
     1680x1050      60.0
     1400x1050      60.0
     1600x900       60.0
     1280x1024      60.0
     1440x900       60.0
     1280x960       60.0
     1366x768       60.0
     1360x768       60.0
     1280x800       60.0
     1152x870       60.0
     1152x864       60.0
     1280x768       60.0
     1280x760       60.0
     1280x720       60.0
     1024x768       60.0
     1024x600       60.0
     960x640        60.0
     832x624        60.0
     800x600        60.0
     800x480        60.0
     640x480        60.0
qxl-1 disconnected
qxl-2 disconnected
qxl-3 disconnected

Now the highest resolution which the "Displays" tool offers is
2560x1600 Pixels. Therefore I tried to change the resolution with
the comand:
xrandr --output qxl-0 --mode 2048x2048
But the error message:
xrandr: cannot find mode 2048x2048
was displayed.
Any idea how I could achieve this? (I would prefer a static xorg.conf
but don't know the configuration options)
Adding new modeline worked for me (https://wiki.archlinux.org/index.php/Xrandr), I've added only a line into Monitor section of xorg.conf:
"Modeline "2048x2048_60.00"  358.25  2048 2208 2432 2816  2048 2051 2061 2121 -hsync +vsync"
Best regards and thanks in advance
Dennnis
________________________________________
Von: David Jaša [djasa@xxxxxxxxxx]
Gesendet: Montag, 11. Februar 2013 16:23
An: Dennis Böck
Cc: spice-devel@xxxxxxxxxxxxxxxxxxxxx
Betreff: Re:  Higher (quadratical) resolution

Hi,

Dennis Böck píše v Po 11. 02. 2013 v 15:04 +0000:
Hi David,

I am using Fedora 18 as guest and host system. The output of xrandr
is the following:

Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1920 x
1200
default connected 1024x768+0+0 0mm x 0mm
     1920x1200      60.0
     1920x1080      60.0
     1600x1200      75.0     70.0     65.0     60.0
     1680x1050      60.0
     1400x1050      75.0     60.0
     1600x900       60.0
     1280x1024      75.0     60.0
     1440x900       60.0
     1280x960       60.0
     1366x768       60.0
     1360x768       60.0
     1280x800       60.0
     1152x870       60.0
     1152x864       75.0
     1280x768       60.0
     1280x760       60.0
     1280x720       60.0
     1024x768       75.0*    70.0     60.0
     960x640        60.0
     1024x600       60.0
     832x624        75.0
     800x600        75.0     72.0     60.0     56.0
     800x480        60.0
     640x480        75.0     73.0     60.0

The highest resolution which I can chose from the tool "Display
Settings" ist 1920 x 1200.
So what do I have to change in order to get a resolution of
2048x2048 pixels?
1) make sure that you use qxl driver and you have spice-vdagentd and
spice-vdagent running (at least two processes of the latter - one for
*DM, one for desktop environment)

2) go fullscreen (or generally, resize the window)

Spice in F18 should support arbitrary resolution so if you don't
resolution in the list, you can still resize the client, client then
sends new resolution to the agent and agent sets it.

If it doesn't work for you, the necessary versions may be in updates
or
still in updates-testing.

David

Best regards
Dennis
________________________________________
Von: David Jaša [djasa@xxxxxxxxxx]
Gesendet: Montag, 11. Februar 2013 15:44
An: Dennis Böck
Cc: spice-devel@xxxxxxxxxxxxxxxxxxxxx
Betreff: Re:  Higher (quadratical) resolution

Hi Dennis,

that limit was increased to much higher value few years ago and
there
should be no issue with 2048x2048 screens.

David


Dennis Böck píše v Po 11. 02. 2013 v 11:24 +0000:
Dear Spice-Mailing-List,
since we use quadratically monitors with 2048x2048 pixels and we
need to work in full-screen mode, I would like to use such a
resolution with Spice in my KVM-VM. According to my information
the corresponding KVM graphic card qxl only supports up to 1920
x 1200 pixels. Is there any way to increase this limit?

Best regards and thanks in advance
Dennis
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel
--

David Jaša, RHCE

SPICE QE based in Brno
GPG Key:     22C33E24
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel
--

David Jaša, RHCE

SPICE QE based in Brno
GPG Key:     22C33E24
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

--
Mike


--
Mike


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]