Hello Leonardo, or anyone else affected,

Accepted intel-gpu-tools into mantic-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/intel-gpu-
tools/1.27.1-1ubuntu0.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
mantic to verification-done-mantic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-mantic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: intel-gpu-tools (Ubuntu Mantic)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-mantic

** Changed in: intel-gpu-tools (Ubuntu Jammy)
       Status: In Progress => Fix Committed

** Tags added: verification-needed-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to intel-gpu-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1949314

Title:
  intel_gpu_top crashes with intel_gpu_top:
  ../tools/intel_gpu_top.c:1202: print_percentage_bar: Assertion
  `max_len > 0' failed.

Status in intel-gpu-tools package in Ubuntu:
  Fix Released
Status in intel-gpu-tools source package in Jammy:
  Fix Committed
Status in intel-gpu-tools source package in Mantic:
  Fix Committed
Status in intel-gpu-tools source package in Noble:
  Fix Released

Bug description:
  [ Impact ]

  When resizing the terminal window, intel_gpu_top may crash if the window
  becomes small enough. The output when it crashes is:

  intel_gpu_top: ../tools/intel_gpu_top.c:1202: print_percentage_bar: Assertion
  `max_len > 0' failed.

  The fix has been reported and fixed upstream recently :
  https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/143

  The fix has been part of a serie of fixes that improve intel_gpu_top
  UI behavior for some corner cases :
  https://patchwork.freedesktop.org/series/124890/

  The proposed fix consists of backporting these fixes to affected
  Ubuntu releases (Jammy, Mantic and Noble)

  Tvrtko Ursulin (4):
    tools/intel_gpu_top: Fix clients header width when no clients
    tools/intel_gpu_top: Fix client layout on first sample period
    tools/intel_gpu_top: Optimise interactive display a bit
    tools/intel_gpu_top: Handle narrow terminals more gracefully

  NOTES:
  For Noble, all the 4 patches will be backported
  For Mantic, Jammy, only "tools/intel_gpu_top: Handle narrow terminals more 
gracefully" will be backported because the others are not applicable to 
Jammy/Mantic (related to refactoring that happened after Mantic release)

  [ Test Plan ]

  Run intel_gpu_top inside a console
  Resize the console with the mouse to it smallest size

  [ Where problems could occur ]

  The problem occurs when intel_gpu_top try to draw information on the
  console

  [ Other Info ]

  This fix should not cause regression on any other feature.

  ----

  When resizing the terminal window, intel_gpu_top may crash if the
  window become small enough. The output when it crashes is:

  intel_gpu_top: ../tools/intel_gpu_top.c:1202: print_percentage_bar: Assertion 
`max_len > 0' failed.
  Abortado

  I was able to reproduce this crash with tilix and xterm.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: intel-gpu-tools 1.26-2
  ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14
  Uname: Linux 5.13.0-19-generic x86_64
  ApportVersion: 2.20.11-0ubuntu72
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: XFCE
  Date: Sun Oct 31 21:06:01 2021
  InstallationDate: Installed on 2017-06-13 (1601 days ago)
  InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  SourcePackage: intel-gpu-tools
  UpgradeStatus: Upgraded to jammy on 2019-12-22 (679 days ago)
  modified.conffile..etc.cron.daily.apport: [deleted]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-gpu-tools/+bug/1949314/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to