Menu

#500 qemu vnc server clips at 2560x1600

closed
nobody
qemu (66)
5
2012-10-09
2009-12-02
No

So I am running using the VESA driver to run an Ubuntu 9.10 guest at 2560x1600 (I had to modify the xserver-video-vesa package to remove an internal screen limit of 2048x2048 in the xorg vesa driver) and everything works great except that the qemu vnc server appears to clip at this resolution. The problem goes away if I run 1900x1200 and it doesn't change if I run 16bit depth or 24bit depth.

I have attached two screenshots, the first is vncing directly into qemu (which exhibits the problem) and the second is vncing to a vnc server I have running in the guest which doesn't have the problem.

I poked around in vnc.c and couldn't see any limits but I feel like its a buffer limit of some kind.

Also if you look very closely at the first image you can see that the first row is drawn correctly all the way across but subsequent rows are not.

If you need more information doesn't hesitate to ask.

Discussion

  • Matthew Colyer

    Matthew Colyer - 2009-12-02

    VNCing directly into qemu (white block descends all the way down the screen, cropped due to 256kb limit)

     
  • Matthew Colyer

    Matthew Colyer - 2009-12-02

    VNCing into a vnc server on the host (appears normal)

     
  • Avi Kivity

    Avi Kivity - 2009-12-13

    Does it work well with SDL? Maybe the problem is not vnc related.

     
  • Matthew Colyer

    Matthew Colyer - 2009-12-17

    The blocks do not show up when run in SDL mode. So I believe the problem is still somehow related to the VNC server.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • Avi Kivity

    Avi Kivity - 2010-01-10

    The cropping is 512 pixels wide, the correct area is 2048 pixels wide, so it does look like some kind of limit.

     
  • Avi Kivity

    Avi Kivity - 2010-01-10

    Confirmed with vncviewer and vinagre, so unlikely to be a client problem.

     
  • Avi Kivity

    Avi Kivity - 2010-01-11

    Can you try changing VNC_MAX_WIDTH in vnc.h?

     
  • Matthew Colyer

    Matthew Colyer - 2010-01-11

    Changing VNC_MAX_WIDTH to 2560 works. Thanks for figuring that out, would you be able to commit that change?

     
  • Brian Jackson

    Brian Jackson - 2010-02-10

    This change has been applied to qemu upstream, so it will therefore be in the next qemu-kvm release. Enjoy!

     

Log in to post a comment.

MongoDB Logo MongoDB