[Bug 504368] Re: sdl window intermittently scales instead of resizing
I cannot reproduce with KWin FWIW, but have an openbox box somewhere (no pun intended). Can you apply the attached debug patch, reproduce your bug (move with alt+click) and attach the output? If the log grows too large, try: uniq -f1 -c log What version of SDL are you using? ** Patch added: "Debug QEMU SDL patch" https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/504368/+attachment/3702480/+files/debug-sdl.patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/504368 Title: sdl window intermittently scales instead of resizing To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/504368/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
Window manager varies. In the original report it was openbox (as I believe I stated, in comment #7). Current window manager is xfwm4. For the screenshot provided, I intentionally moved the window with Alt+left_click as I knew this would trigger the issue (also indicated in comment #7). However, as stated before, the issue happens seemingly randomly on its own without moving the window or interacting with it in any way. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/504368 Title: sdl window intermittently scales instead of resizing To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/504368/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
Scaling can be triggered by: - Pressing ctrl-alt-{minus,plus} (on certain keyboard layouts) - a SDL_VIDEORESIZE event SDL_VIDEORESIZE is always sent on an X ConfigureNotify event when a SDL_VideoSurface is active. (SDL_VideoSurface is NULL if a resize was done in SDL_SetVideoMode). So it really must be a window manager or something sending this resize event. What WM are you using? Notes, SDL_VIDEORESIZE (and other events) may be eaten: - in the very early start-up stage[1] (causing the issue mentioned in comment 13) - during switches to and from fullscreen - (some other paths that do not affect QEMU) [1]: http://bugzilla.libsdl.org/show_bug.cgi?id=1859 ** Bug watch added: bugzilla.libsdl.org/ #1859 http://bugzilla.libsdl.org/show_bug.cgi?id=1859 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/504368 Title: sdl window intermittently scales instead of resizing To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/504368/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
As requested here's a screenshot of the scaled window. The expected behavior is that the window be resized to the dimensions of the guest. Pressing Ctrl+Alt+u within this window corrects the issue and the window is in fact resized to the guest dimensions. ** Attachment added: "Screenshot - 06112013 - 03:30:06 PM.png" https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/504368/+attachment/3701167/+files/Screenshot%20-%2006112013%20-%2003%3A30%3A06%20PM.png -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/504368 Title: sdl window intermittently scales instead of resizing To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/504368/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 504368] Re: sdl window intermittently scales instead of resizing
On 26 April 2012 18:23, Serge Hallyn <504...@bugs.launchpad.net> wrote: > This may be the root cause of bug 986192 I guess not. That bug is TwinView specific but this issue happens with any graphics. In fact, in qemu 1.5 this issue is no longer present. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/504368 Title: sdl window intermittently scales instead of resizing To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/504368/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
I have attached a screenshot that shows the *contents* of a SDL window *not* being scaled despite the window being maximized. Is this the same issue or not? If not, can you attach a screenshot describing the issue? ** Attachment added: "screenshot of maximized window with scaling bug" https://bugs.launchpad.net/qemu/+bug/504368/+attachment/3700925/+files/screenshot.png -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/504368 Title: sdl window intermittently scales instead of resizing To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/504368/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
My window manager maximizes all windows. I am running kvm 0.14. Initially the VM is displayed 1:1 in the top left corner leaving large portion of the window black. Resizing the window or rebooting the VM causes the output to be scaled which is horrendous. There are three issues here: there is no way to force the window to be the size of the VM output nor is there a way to display the VM output 1:1 regardless of window size nor is there any possibility to make the VM output scale proportionally. Pressing Ctrl+Alt+u definitely does not disable scaling for me although it causes the VM output to disappear momentarily causing the window to flash. I guess setting window size can be achieved with some WM hint (and should be a command line option and possibly a option configurable from the monitor). Obviously, not all outputs can set the hint and not all WMs will respect it. However, setting the hint *and* resizing to the desired size should give the correct size in most cases. http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#NORESIZE The other issue is that scaling does not respect aspect ratio leading to horrendous VM output. I don't think there is any use case for non- proportional scaling. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/504368 Title: sdl window intermittently scales instead of resizing To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/504368/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
You can disable scaling by hitting ctrl-alt-u. What's probably happening is that the window manager is generating an extraneous scaling event. I'm going to move this to wishlist as we should provide better user controls of this behavior. ** Changed in: qemu Importance: Undecided => Wishlist ** Changed in: qemu Status: New => Triaged -- sdl window intermittently scales instead of resizing https://bugs.launchpad.net/bugs/504368 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
Just had it happen again. Simply started the VM, didn't touch the SDL window for it at all, guest wound up scaled. Here's the xwininfo output for the SDL window: xwininfo: Window id: 0x6e3 "QEMU (winxp-work)" Absolute upper-left X: 640 Absolute upper-left Y: 367 Relative upper-left X: 1 Relative upper-left Y: 20 Width: 720 Height: 480 Depth: 24 Visual Class: DirectColor Border width: 0 Class: InputOutput Colormap: 0x6ec (not installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +640+367 -560+367 -560-353 +640-353 -geometry 720x480+639+347 -- sdl window intermittently scales instead of resizing https://bugs.launchpad.net/bugs/504368 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
I frequently relocate my VM displays. My host system's window manager is openbox. Normally, for moving any window about my screen, I utilize the ALT+left-click feature to drag the window about. This has the added benefit of ensuring I don't accidentally resize the window. Most of my guests are Windows based at the moment. When the display scales it tends to remain the size of the booting splash screen. I just tried some different methods of starting the VMs and dragging the displays about. If I'm performing an ALT+left-click drag when the display wants to resize it seems to switch to scaling instead. So, this may be part of it, but I am very certain I've seen the same result when simply starting the VM and not touching the display in any way. -- sdl window intermittently scales instead of resizing https://bugs.launchpad.net/bugs/504368 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 504368] Re: sdl window intermittently scales instead of resizing
On Wed, Mar 3, 2010 at 8:03 AM, Jamin W. Collins wrote: > @Anthony, > I can assure you that I've seen the scaling without resizing the client > window in any way. Simply starting the VM and leaving it untouched > periodically results in a scaled display. Jamin- What about 'moving' the client window? I have not seen it rescale at random, but I have seen it rescale if I move the window before X comes up. -- sdl window intermittently scales instead of resizing https://bugs.launchpad.net/bugs/504368 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
@Dustin, I've experienced the problem with a rebuild of the lucid package for karmic. The package is in my PPA, https://launchpad.net/~jcollins/+archive/jaminppa. @Anthony, I can assure you that I've seen the scaling without resizing the client window in any way. Simply starting the VM and leaving it untouched periodically results in a scaled display. -- sdl window intermittently scales instead of resizing https://bugs.launchpad.net/bugs/504368 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
If you accidentally resize the window (even by 1-pixel), then it will stay in scaled mode even during guest geometry changes. It sucks from a usability perspective. Clever suggestions about how we can support scaling in a more friendly way are certainly appreciated. -- sdl window intermittently scales instead of resizing https://bugs.launchpad.net/bugs/504368 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
Anthony, can you explain the behavior here? At the very least, we should be able to get something into the documentation. On Karmic (qemu-kvm-0.11) I noticed some strange behavior. If I physically "moved" the window before X was fully up in the guest, the image would be scaled in a strange way. I do not see this behavior in Lucid's qemu-kvm 0.12.3. Jamin, do you? ** Also affects: qemu Importance: Undecided Status: New ** Changed in: qemu-kvm (Ubuntu) Status: New => Incomplete -- sdl window intermittently scales instead of resizing https://bugs.launchpad.net/bugs/504368 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
** Changed in: qemu-kvm (Ubuntu) Importance: Undecided => Low -- sdl window intermittently scales instead of resizing https://bugs.launchpad.net/bugs/504368 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
Reported upstream also: https://sourceforge.net/tracker/?func=detail&aid=2930756&group_id=180599&atid=893831 ** Bug watch added: SourceForge.net Tracker #2930756 http://sourceforge.net/support/tracker.php?aid=2930756 -- sdl window intermittently scales instead of resizing https://bugs.launchpad.net/bugs/504368 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 504368] Re: sdl window intermittently scales instead of resizing
** Attachment added: "BootDmesg.txt" http://launchpadlibrarian.net/37560230/BootDmesg.txt ** Attachment added: "CurrentDmesg.txt" http://launchpadlibrarian.net/37560231/CurrentDmesg.txt ** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/37560232/Dependencies.txt ** Attachment added: "Lspci.txt" http://launchpadlibrarian.net/37560233/Lspci.txt ** Attachment added: "Lsusb.txt" http://launchpadlibrarian.net/37560234/Lsusb.txt ** Attachment added: "ProcCpuinfo.txt" http://launchpadlibrarian.net/37560235/ProcCpuinfo.txt ** Attachment added: "ProcInterrupts.txt" http://launchpadlibrarian.net/37560236/ProcInterrupts.txt ** Attachment added: "ProcModules.txt" http://launchpadlibrarian.net/37560237/ProcModules.txt ** Attachment added: "RelatedPackageVersions.txt" http://launchpadlibrarian.net/37560238/RelatedPackageVersions.txt ** Attachment added: "UdevDb.txt" http://launchpadlibrarian.net/37560239/UdevDb.txt ** Attachment added: "UdevLog.txt" http://launchpadlibrarian.net/37560240/UdevLog.txt ** Attachment added: "XsessionErrors.txt" http://launchpadlibrarian.net/37560241/XsessionErrors.txt -- sdl window intermittently scales instead of resizing https://bugs.launchpad.net/bugs/504368 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs