qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1799792] [NEW] Broken scaling with gtk, gl=on on a hidpi display
@ 2018-10-24 20:31 Sebastian Krzyszkowiak
  2019-10-31 23:22 ` [Bug 1799792] Re: Broken scaling with gtk,gl=on " Ernst Sjöstrand
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Sebastian Krzyszkowiak @ 2018-10-24 20:31 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Tested on QEMU 3.0.0 on Arch Linux.

I'm using a hidpi screen, and therefore use those environment variables
in order to have GTK+ apps properly scaled:

GDK_SCALE=2
GDK_DPI_SCALE=0.5

However, QEMU, when launched with "-display gtk,gl=on" option, doesn't
scale the window content properly, as seen on the attached screenshot.

Switching to "-display gtk,gl=off" and "-display sdl,gl=on" makes it
work fine.

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "Screenshot_20181024_222447.png"
   https://bugs.launchpad.net/bugs/1799792/+attachment/5205039/+files/Screenshot_20181024_222447.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/1799792

Title:
  Broken scaling with gtk,gl=on on a hidpi display

Status in QEMU:
  New

Bug description:
  Tested on QEMU 3.0.0 on Arch Linux.

  I'm using a hidpi screen, and therefore use those environment
  variables in order to have GTK+ apps properly scaled:

  GDK_SCALE=2
  GDK_DPI_SCALE=0.5

  However, QEMU, when launched with "-display gtk,gl=on" option, doesn't
  scale the window content properly, as seen on the attached screenshot.

  Switching to "-display gtk,gl=off" and "-display sdl,gl=on" makes it
  work fine.

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

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

* [Bug 1799792] Re: Broken scaling with gtk,gl=on on a hidpi display
  2018-10-24 20:31 [Qemu-devel] [Bug 1799792] [NEW] Broken scaling with gtk, gl=on on a hidpi display Sebastian Krzyszkowiak
@ 2019-10-31 23:22 ` Ernst Sjöstrand
  2020-11-13 16:03 ` Thomas Huth
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Ernst Sjöstrand @ 2019-10-31 23:22 UTC (permalink / raw)
  To: qemu-devel

Also happens on Ubuntu 19.10

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

Title:
  Broken scaling with gtk,gl=on on a hidpi display

Status in QEMU:
  New

Bug description:
  Tested on QEMU 3.0.0 on Arch Linux.

  I'm using a hidpi screen, and therefore use those environment
  variables in order to have GTK+ apps properly scaled:

  GDK_SCALE=2
  GDK_DPI_SCALE=0.5

  However, QEMU, when launched with "-display gtk,gl=on" option, doesn't
  scale the window content properly, as seen on the attached screenshot.

  Switching to "-display gtk,gl=off" and "-display sdl,gl=on" makes it
  work fine.

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


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

* [Bug 1799792] Re: Broken scaling with gtk,gl=on on a hidpi display
  2018-10-24 20:31 [Qemu-devel] [Bug 1799792] [NEW] Broken scaling with gtk, gl=on on a hidpi display Sebastian Krzyszkowiak
  2019-10-31 23:22 ` [Bug 1799792] Re: Broken scaling with gtk,gl=on " Ernst Sjöstrand
@ 2020-11-13 16:03 ` Thomas Huth
  2020-11-13 18:10 ` Sebastian Krzyszkowiak
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2020-11-13 16:03 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/1799792

Title:
  Broken scaling with gtk,gl=on on a hidpi display

Status in QEMU:
  Incomplete

Bug description:
  Tested on QEMU 3.0.0 on Arch Linux.

  I'm using a hidpi screen, and therefore use those environment
  variables in order to have GTK+ apps properly scaled:

  GDK_SCALE=2
  GDK_DPI_SCALE=0.5

  However, QEMU, when launched with "-display gtk,gl=on" option, doesn't
  scale the window content properly, as seen on the attached screenshot.

  Switching to "-display gtk,gl=off" and "-display sdl,gl=on" makes it
  work fine.

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


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

* [Bug 1799792] Re: Broken scaling with gtk,gl=on on a hidpi display
  2018-10-24 20:31 [Qemu-devel] [Bug 1799792] [NEW] Broken scaling with gtk, gl=on on a hidpi display Sebastian Krzyszkowiak
  2019-10-31 23:22 ` [Bug 1799792] Re: Broken scaling with gtk,gl=on " Ernst Sjöstrand
  2020-11-13 16:03 ` Thomas Huth
@ 2020-11-13 18:10 ` Sebastian Krzyszkowiak
  2020-11-18 15:32 ` lilydjwg
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Sebastian Krzyszkowiak @ 2020-11-13 18:10 UTC (permalink / raw)
  To: qemu-devel

Still happening in QEMU 5.1.0

** Changed in: qemu
       Status: Incomplete => 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/1799792

Title:
  Broken scaling with gtk,gl=on on a hidpi display

Status in QEMU:
  New

Bug description:
  Tested on QEMU 3.0.0 on Arch Linux.

  I'm using a hidpi screen, and therefore use those environment
  variables in order to have GTK+ apps properly scaled:

  GDK_SCALE=2
  GDK_DPI_SCALE=0.5

  However, QEMU, when launched with "-display gtk,gl=on" option, doesn't
  scale the window content properly, as seen on the attached screenshot.

  Switching to "-display gtk,gl=off" and "-display sdl,gl=on" makes it
  work fine.

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


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

* [Bug 1799792] Re: Broken scaling with gtk,gl=on on a hidpi display
  2018-10-24 20:31 [Qemu-devel] [Bug 1799792] [NEW] Broken scaling with gtk, gl=on on a hidpi display Sebastian Krzyszkowiak
                   ` (2 preceding siblings ...)
  2020-11-13 18:10 ` Sebastian Krzyszkowiak
@ 2020-11-18 15:32 ` lilydjwg
  2020-11-18 16:06 ` lilydjwg
  2021-05-11  5:35 ` Thomas Huth
  5 siblings, 0 replies; 7+ messages in thread
From: lilydjwg @ 2020-11-18 15:32 UTC (permalink / raw)
  To: qemu-devel

I have the same issue, but unfortunately I cannot work around it: gl=off
doesn't work with vfio-display-dmabuf, and sdl segfaults when the guest
OS tries to enter GUI.

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

Title:
  Broken scaling with gtk,gl=on on a hidpi display

Status in QEMU:
  New

Bug description:
  Tested on QEMU 3.0.0 on Arch Linux.

  I'm using a hidpi screen, and therefore use those environment
  variables in order to have GTK+ apps properly scaled:

  GDK_SCALE=2
  GDK_DPI_SCALE=0.5

  However, QEMU, when launched with "-display gtk,gl=on" option, doesn't
  scale the window content properly, as seen on the attached screenshot.

  Switching to "-display gtk,gl=off" and "-display sdl,gl=on" makes it
  work fine.

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


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

* [Bug 1799792] Re: Broken scaling with gtk,gl=on on a hidpi display
  2018-10-24 20:31 [Qemu-devel] [Bug 1799792] [NEW] Broken scaling with gtk, gl=on on a hidpi display Sebastian Krzyszkowiak
                   ` (3 preceding siblings ...)
  2020-11-18 15:32 ` lilydjwg
@ 2020-11-18 16:06 ` lilydjwg
  2021-05-11  5:35 ` Thomas Huth
  5 siblings, 0 replies; 7+ messages in thread
From: lilydjwg @ 2020-11-18 16:06 UTC (permalink / raw)
  To: qemu-devel

unset GDK_SCALE GDK_DPI_SCALE works for me. It was GDK_SCALE=2
GDK_DPI_SCALE=0.5 as KDE would have set.

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

Title:
  Broken scaling with gtk,gl=on on a hidpi display

Status in QEMU:
  New

Bug description:
  Tested on QEMU 3.0.0 on Arch Linux.

  I'm using a hidpi screen, and therefore use those environment
  variables in order to have GTK+ apps properly scaled:

  GDK_SCALE=2
  GDK_DPI_SCALE=0.5

  However, QEMU, when launched with "-display gtk,gl=on" option, doesn't
  scale the window content properly, as seen on the attached screenshot.

  Switching to "-display gtk,gl=off" and "-display sdl,gl=on" makes it
  work fine.

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


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

* [Bug 1799792] Re: Broken scaling with gtk,gl=on on a hidpi display
  2018-10-24 20:31 [Qemu-devel] [Bug 1799792] [NEW] Broken scaling with gtk, gl=on on a hidpi display Sebastian Krzyszkowiak
                   ` (4 preceding siblings ...)
  2020-11-18 16:06 ` lilydjwg
@ 2021-05-11  5:35 ` Thomas Huth
  5 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2021-05-11  5:35 UTC (permalink / raw)
  To: qemu-devel

This is an automated cleanup. This bug report has been moved to QEMU's
new bug tracker on gitlab.com and thus gets marked as 'expired' now.
Please continue with the discussion here:

 https://gitlab.com/qemu-project/qemu/-/issues/262


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

** Bug watch added: gitlab.com/qemu-project/qemu/-/issues #262
   https://gitlab.com/qemu-project/qemu/-/issues/262

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

Title:
  Broken scaling with gtk,gl=on on a hidpi display

Status in QEMU:
  Expired

Bug description:
  Tested on QEMU 3.0.0 on Arch Linux.

  I'm using a hidpi screen, and therefore use those environment
  variables in order to have GTK+ apps properly scaled:

  GDK_SCALE=2
  GDK_DPI_SCALE=0.5

  However, QEMU, when launched with "-display gtk,gl=on" option, doesn't
  scale the window content properly, as seen on the attached screenshot.

  Switching to "-display gtk,gl=off" and "-display sdl,gl=on" makes it
  work fine.

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


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

end of thread, other threads:[~2021-05-11  5:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-24 20:31 [Qemu-devel] [Bug 1799792] [NEW] Broken scaling with gtk, gl=on on a hidpi display Sebastian Krzyszkowiak
2019-10-31 23:22 ` [Bug 1799792] Re: Broken scaling with gtk,gl=on " Ernst Sjöstrand
2020-11-13 16:03 ` Thomas Huth
2020-11-13 18:10 ` Sebastian Krzyszkowiak
2020-11-18 15:32 ` lilydjwg
2020-11-18 16:06 ` lilydjwg
2021-05-11  5:35 ` Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).