qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1864984] [NEW] "nr_entries is too big" when using virgl
@ 2020-02-27 10:20 Valentin David
  2020-02-27 11:59 ` [Bug 1864984] " Gerd Hoffmann
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Valentin David @ 2020-02-27 10:20 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I have a bootable image where GNOME Shell fails because it hits a limit
in virtio-gpu.

In `hw/display/virtio-gpu.c`, there is a limit for `nr_entries` at
16384. There is no explanation for that limit. But there does not seem
to be any limit on the kernel side.

Raising this limit with a patch to 262144 solves the issue.

Could there be an explanation why this limit is needed? And why this
value? Or could this limit be just removed?

** 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/1864984

Title:
  "nr_entries is too big" when using virgl

Status in QEMU:
  New

Bug description:
  I have a bootable image where GNOME Shell fails because it hits a
  limit in virtio-gpu.

  In `hw/display/virtio-gpu.c`, there is a limit for `nr_entries` at
  16384. There is no explanation for that limit. But there does not seem
  to be any limit on the kernel side.

  Raising this limit with a patch to 262144 solves the issue.

  Could there be an explanation why this limit is needed? And why this
  value? Or could this limit be just removed?

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


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

* [Bug 1864984] Re: "nr_entries is too big" when using virgl
  2020-02-27 10:20 [Bug 1864984] [NEW] "nr_entries is too big" when using virgl Valentin David
@ 2020-02-27 11:59 ` Gerd Hoffmann
  2021-05-06  5:53 ` Thomas Huth
  2021-07-06  4:17 ` Launchpad Bug Tracker
  2 siblings, 0 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2020-02-27 11:59 UTC (permalink / raw)
  To: qemu-devel

/me wonders what gnome shell is doing there ...

It is the number of scatter list entries for resources.  Even in the worst case (no chunks are continous in memory so each single page needs an entry) this is enough for 64 MB.  An 4k display
framebuffer needs less than that.

Removing the limit isn't an option.  Raising maybe.

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

Title:
  "nr_entries is too big" when using virgl

Status in QEMU:
  New

Bug description:
  I have a bootable image where GNOME Shell fails because it hits a
  limit in virtio-gpu.

  In `hw/display/virtio-gpu.c`, there is a limit for `nr_entries` at
  16384. There is no explanation for that limit. But there does not seem
  to be any limit on the kernel side.

  Raising this limit with a patch to 262144 solves the issue.

  Could there be an explanation why this limit is needed? And why this
  value? Or could this limit be just removed?

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


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

* [Bug 1864984] Re: "nr_entries is too big" when using virgl
  2020-02-27 10:20 [Bug 1864984] [NEW] "nr_entries is too big" when using virgl Valentin David
  2020-02-27 11:59 ` [Bug 1864984] " Gerd Hoffmann
@ 2021-05-06  5:53 ` Thomas Huth
  2021-07-06  4:17 ` Launchpad Bug Tracker
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2021-05-06  5:53 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently moving 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 please 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/1864984

Title:
  "nr_entries is too big" when using virgl

Status in QEMU:
  Incomplete

Bug description:
  I have a bootable image where GNOME Shell fails because it hits a
  limit in virtio-gpu.

  In `hw/display/virtio-gpu.c`, there is a limit for `nr_entries` at
  16384. There is no explanation for that limit. But there does not seem
  to be any limit on the kernel side.

  Raising this limit with a patch to 262144 solves the issue.

  Could there be an explanation why this limit is needed? And why this
  value? Or could this limit be just removed?

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


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

* [Bug 1864984] Re: "nr_entries is too big" when using virgl
  2020-02-27 10:20 [Bug 1864984] [NEW] "nr_entries is too big" when using virgl Valentin David
  2020-02-27 11:59 ` [Bug 1864984] " Gerd Hoffmann
  2021-05-06  5:53 ` Thomas Huth
@ 2021-07-06  4:17 ` Launchpad Bug Tracker
  2 siblings, 0 replies; 4+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-06  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/1864984

Title:
  "nr_entries is too big" when using virgl

Status in QEMU:
  Expired

Bug description:
  I have a bootable image where GNOME Shell fails because it hits a
  limit in virtio-gpu.

  In `hw/display/virtio-gpu.c`, there is a limit for `nr_entries` at
  16384. There is no explanation for that limit. But there does not seem
  to be any limit on the kernel side.

  Raising this limit with a patch to 262144 solves the issue.

  Could there be an explanation why this limit is needed? And why this
  value? Or could this limit be just removed?

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


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

end of thread, other threads:[~2021-07-06  4:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-27 10:20 [Bug 1864984] [NEW] "nr_entries is too big" when using virgl Valentin David
2020-02-27 11:59 ` [Bug 1864984] " Gerd Hoffmann
2021-05-06  5:53 ` Thomas Huth
2021-07-06  4:17 ` Launchpad Bug Tracker

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).