All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1781515] [NEW] Resolution switch leads to the screen/image being corrupted
@ 2018-07-13  2:11 Diego Viola
  2018-07-13  2:16 ` [Qemu-devel] [Bug 1781515] " Diego Viola
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Diego Viola @ 2018-07-13  2:11 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I am currently using QEMU on a Arch Linux host, the guest OS is also
Arch Linux.

The QEMU version is currently 2.12.0-2 packaged by Arch Linux, the
command line I'm using to fire an Arch VM is:

$ qemu-system-x86_64 -enable-kvm -hda archlinux.qcow2 -m 4G -smp 4

The problem I'm currently having is, after firing the VM and running
startx I want to change the resolution to the native resolution, which
is 1366x768 on my ThinkPad T450, however, after changing the resolution
the image on the guest gets corrupted and it's impossible to see
anything.

At this point I can only turn off the VM. The only workaround I found is
to start the VM with -vga virtio.

The problem in this case occurs with -vga std which is the default video
driver.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1781515

Title:
  Resolution switch leads to the screen/image being corrupted

Status in QEMU:
  New

Bug description:
  I am currently using QEMU on a Arch Linux host, the guest OS is also
  Arch Linux.

  The QEMU version is currently 2.12.0-2 packaged by Arch Linux, the
  command line I'm using to fire an Arch VM is:

  $ qemu-system-x86_64 -enable-kvm -hda archlinux.qcow2 -m 4G -smp 4

  The problem I'm currently having is, after firing the VM and running
  startx I want to change the resolution to the native resolution, which
  is 1366x768 on my ThinkPad T450, however, after changing the
  resolution the image on the guest gets corrupted and it's impossible
  to see anything.

  At this point I can only turn off the VM. The only workaround I found
  is to start the VM with -vga virtio.

  The problem in this case occurs with -vga std which is the default
  video driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1781515/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1781515] Re: Resolution switch leads to the screen/image being corrupted
  2018-07-13  2:11 [Qemu-devel] [Bug 1781515] [NEW] Resolution switch leads to the screen/image being corrupted Diego Viola
@ 2018-07-13  2:16 ` Diego Viola
  2018-07-13  4:06 ` Francisco de la Peña
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Diego Viola @ 2018-07-13  2:16 UTC (permalink / raw)
  To: qemu-devel

Switching the resolution with -vga std was working fine before, I'm not
sure on which version it started having this issue, but it should be on
a recent version.

I use the intel i915 drivers on the host OS.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1781515

Title:
  Resolution switch leads to the screen/image being corrupted

Status in QEMU:
  New

Bug description:
  I am currently using QEMU on a Arch Linux host, the guest OS is also
  Arch Linux.

  The QEMU version is currently 2.12.0-2 packaged by Arch Linux, the
  command line I'm using to fire an Arch VM is:

  $ qemu-system-x86_64 -enable-kvm -hda archlinux.qcow2 -m 4G -smp 4

  The problem I'm currently having is, after firing the VM and running
  startx I want to change the resolution to the native resolution, which
  is 1366x768 on my ThinkPad T450, however, after changing the
  resolution the image on the guest gets corrupted and it's impossible
  to see anything.

  At this point I can only turn off the VM. The only workaround I found
  is to start the VM with -vga virtio.

  The problem in this case occurs with -vga std which is the default
  video driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1781515/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1781515] Re: Resolution switch leads to the screen/image being corrupted
  2018-07-13  2:11 [Qemu-devel] [Bug 1781515] [NEW] Resolution switch leads to the screen/image being corrupted Diego Viola
  2018-07-13  2:16 ` [Qemu-devel] [Bug 1781515] " Diego Viola
@ 2018-07-13  4:06 ` Francisco de la Peña
  2018-07-13  4:27 ` Diego Viola
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Francisco de la Peña @ 2018-07-13  4:06 UTC (permalink / raw)
  To: qemu-devel

Hi Diego,

It seems this is a known limitation[1] because horizontal width is not a
multiple of 8, try 1360x768 as the nearest resolution, which works for
me on guests not supporting QXL drivers.

Regards.

[1] Proposed patch from 2013: https://lists.gnu.org/archive/html/qemu-
devel/2013-03/msg02732.html

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1781515

Title:
  Resolution switch leads to the screen/image being corrupted

Status in QEMU:
  New

Bug description:
  I am currently using QEMU on a Arch Linux host, the guest OS is also
  Arch Linux.

  The QEMU version is currently 2.12.0-2 packaged by Arch Linux, the
  command line I'm using to fire an Arch VM is:

  $ qemu-system-x86_64 -enable-kvm -hda archlinux.qcow2 -m 4G -smp 4

  The problem I'm currently having is, after firing the VM and running
  startx I want to change the resolution to the native resolution, which
  is 1366x768 on my ThinkPad T450, however, after changing the
  resolution the image on the guest gets corrupted and it's impossible
  to see anything.

  At this point I can only turn off the VM. The only workaround I found
  is to start the VM with -vga virtio.

  The problem in this case occurs with -vga std which is the default
  video driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1781515/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1781515] Re: Resolution switch leads to the screen/image being corrupted
  2018-07-13  2:11 [Qemu-devel] [Bug 1781515] [NEW] Resolution switch leads to the screen/image being corrupted Diego Viola
  2018-07-13  2:16 ` [Qemu-devel] [Bug 1781515] " Diego Viola
  2018-07-13  4:06 ` Francisco de la Peña
@ 2018-07-13  4:27 ` Diego Viola
  2020-11-12 15:37 ` Thomas Huth
  2021-01-12  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: Diego Viola @ 2018-07-13  4:27 UTC (permalink / raw)
  To: qemu-devel

Hi Francisco, thanks for your quick reply.

I've tried `xrandr --output Virtual-1 --mode 1360x768' with -vga std and
I also get a corrupted image.

I'm attaching a screenshot of what the screen corruption looks like
after changing the resolution.

Thanks.

** Attachment added: "qemu.png"
   https://bugs.launchpad.net/qemu/+bug/1781515/+attachment/5163111/+files/qemu.png

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1781515

Title:
  Resolution switch leads to the screen/image being corrupted

Status in QEMU:
  New

Bug description:
  I am currently using QEMU on a Arch Linux host, the guest OS is also
  Arch Linux.

  The QEMU version is currently 2.12.0-2 packaged by Arch Linux, the
  command line I'm using to fire an Arch VM is:

  $ qemu-system-x86_64 -enable-kvm -hda archlinux.qcow2 -m 4G -smp 4

  The problem I'm currently having is, after firing the VM and running
  startx I want to change the resolution to the native resolution, which
  is 1366x768 on my ThinkPad T450, however, after changing the
  resolution the image on the guest gets corrupted and it's impossible
  to see anything.

  At this point I can only turn off the VM. The only workaround I found
  is to start the VM with -vga virtio.

  The problem in this case occurs with -vga std which is the default
  video driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1781515/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1781515] Re: Resolution switch leads to the screen/image being corrupted
  2018-07-13  2:11 [Qemu-devel] [Bug 1781515] [NEW] Resolution switch leads to the screen/image being corrupted Diego Viola
                   ` (2 preceding siblings ...)
  2018-07-13  4:27 ` Diego Viola
@ 2020-11-12 15:37 ` Thomas Huth
  2021-01-12  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2020-11-12 15:37 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1781515

Title:
  Resolution switch leads to the screen/image being corrupted

Status in QEMU:
  Incomplete

Bug description:
  I am currently using QEMU on a Arch Linux host, the guest OS is also
  Arch Linux.

  The QEMU version is currently 2.12.0-2 packaged by Arch Linux, the
  command line I'm using to fire an Arch VM is:

  $ qemu-system-x86_64 -enable-kvm -hda archlinux.qcow2 -m 4G -smp 4

  The problem I'm currently having is, after firing the VM and running
  startx I want to change the resolution to the native resolution, which
  is 1366x768 on my ThinkPad T450, however, after changing the
  resolution the image on the guest gets corrupted and it's impossible
  to see anything.

  At this point I can only turn off the VM. The only workaround I found
  is to start the VM with -vga virtio.

  The problem in this case occurs with -vga std which is the default
  video driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1781515/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1781515] Re: Resolution switch leads to the screen/image being corrupted
  2018-07-13  2:11 [Qemu-devel] [Bug 1781515] [NEW] Resolution switch leads to the screen/image being corrupted Diego Viola
                   ` (3 preceding siblings ...)
  2020-11-12 15:37 ` Thomas Huth
@ 2021-01-12  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: Launchpad Bug Tracker @ 2021-01-12  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1781515

Title:
  Resolution switch leads to the screen/image being corrupted

Status in QEMU:
  Expired

Bug description:
  I am currently using QEMU on a Arch Linux host, the guest OS is also
  Arch Linux.

  The QEMU version is currently 2.12.0-2 packaged by Arch Linux, the
  command line I'm using to fire an Arch VM is:

  $ qemu-system-x86_64 -enable-kvm -hda archlinux.qcow2 -m 4G -smp 4

  The problem I'm currently having is, after firing the VM and running
  startx I want to change the resolution to the native resolution, which
  is 1366x768 on my ThinkPad T450, however, after changing the
  resolution the image on the guest gets corrupted and it's impossible
  to see anything.

  At this point I can only turn off the VM. The only workaround I found
  is to start the VM with -vga virtio.

  The problem in this case occurs with -vga std which is the default
  video driver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1781515/+subscriptions


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-12  4:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13  2:11 [Qemu-devel] [Bug 1781515] [NEW] Resolution switch leads to the screen/image being corrupted Diego Viola
2018-07-13  2:16 ` [Qemu-devel] [Bug 1781515] " Diego Viola
2018-07-13  4:06 ` Francisco de la Peña
2018-07-13  4:27 ` Diego Viola
2020-11-12 15:37 ` Thomas Huth
2021-01-12  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.