/usr/bin/prime-select:BrokenPipeError:/usr/bin/prime-select@374:enable_profile:_disable_nvidia:_update_initramfs

Bug #1965520 reported by errors.ubuntu.com bug bridge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-prime (Ubuntu)
Triaged
High
Alberto Milone
Bionic
Triaged
High
Alberto Milone
Focal
Fix Released
High
Alberto Milone

Bug Description

[Impact]

 * The progress bar that is drawn to keep track of the update-initramfs process can result, sometimes, in a BrokenPipe error. In no way does this affect the final result of the actual operation, yet it causes the progress bar to crash.

[Test Plan]

 * Install the nvidia-prime package and , and then execute "sudo prime-select intel" so that NVIDIA can be disabled, and the update-initramfs command is called. This might need repeating (i.e. going back and forth from "sudo prime-select intel" to "sudo prime-select on-demand" until the BrokenPipe error shows up.

[Where problems could occur]

 * This can cause no regression, since it does not alter the actual functioning on nvidia-prime, and the change has been in Impish since its release.

[Other Info]

______
The Ubuntu Error Tracker has been receiving reports about a problem regarding nvidia-prime. This problem was most recently seen with package version 0.8.16.1, the problem page at https://errors.ubuntu.com/problem/cd1fe5ff88b744e0d29132fef0be40627b6614e0 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

tags: removed: groovy hirsute
Changed in nvidia-prime (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Alberto Milone (albertomilone)
no longer affects: nvidia-prime (Ubuntu Impish)
Changed in nvidia-prime (Ubuntu Focal):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Alberto Milone (albertomilone)
Changed in nvidia-prime (Ubuntu Bionic):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Alberto Milone (albertomilone)
description: updated
description: updated
tags: removed: impish
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello errors.ubuntu.com, or anyone else affected,

Accepted nvidia-prime into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nvidia-prime/0.8.16~0.20.04.2 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-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. 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 nvidia-prime (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Dirk Su (dirksu) wrote :

Installed nvidia-prime 0.8.16~0.20.04.2 from proposed channel. Tested with command "prime-select on-demand | false" won't get error and traceback information.

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for nvidia-prime has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nvidia-prime - 0.8.16~0.20.04.2

---------------
nvidia-prime (0.8.16~0.20.04.2) focal; urgency=medium

  [ Jeremy Szu ]
  * Set on-demand mode as default nvidia mode (LP: #1942307)

  [ Alberto Milone ]
  * prime-select:
    - Detect chassis type and enable RTD3 only
      on laptops (LP: #1942788).
    - on-demand mode doesn't need to depend on
      RTD3 (LP: #1942789).
    - Don't check the current profile when setting
      a profile (LP: #1946476).
    - Handle BrokenPipeError (LP: #1965520).

 -- Alberto Milone <email address hidden> Thu, 28 Oct 2021 16:40:04 +0200

Changed in nvidia-prime (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.