[Bug 1883111] Re: [needs-packaging] raspberrypi-userland

Ɓukasz Zemczak 1883111 at bugs.launchpad.net
Tue Jan 12 16:54:28 UTC 2021


** Description changed:

  [Impact]
  
  As part of our HWE efforts for the Raspberry Pi, we need the latest VC
  (GPU) and camera-related libraries (and utilities) on the Raspberry Pi
  for focal as well.
+ 
+ For groovy, we want to pull in the latest fixes/improvements, so that
+ the focal backport has the package in its best state. For this purpose
+ we'll be re-using this bug and the same test case.
  
  [Test Case]
  
  * Install libraspberrypi-bin package
  * Add "start_x=1" and "gpu_mem=128" to /boot/firmware/config.txt (note: must be config.txt and not one of the included files like syscfg.txt)
  * "sudo reboot" to load camera-enabled firmware and enable new udev rules
  * Run "vcgencmd commands" as the normal user and ensure it outputs a list of commands
  * Run "vcgencmd measure_temp" and ensure it outputs a valid temperature (e.g. typically in the region of 60C for an idle Pi4, lower for earlier models)
  * Run "vcgencmd get_camera" as the normal user and ensure it outputs "supported=1 detected=0"
  * If you have a camera module available, shut down the pi, install the camera module (see https://picamera.readthedocs.io/en/release-1.13/quickstart.html for details), then boot it again
  * Run "vcgencmd get_camera" as the normal user and ensure it outputs "supported=1 detected=1"
  * Run "raspivid -t 0" and check the camera's view is displayed on the screen (Ctrl-C to exit)
  
  Repeat for both armhf and arm64.
  
  [Regression Potential]
  
  Can't think of anything really. It's a new package that currently will
  not be installed by default on any device. We plan to preinstall it at
  one point, but then additional testing will be done by certification.
  Right now it's just a set of libraries and utilities that should not be
  harmful in any way.
  
  [Original Description]
  
  Provides VC (GPU) and camera-related libraries (and utilities) on the
  Raspberry Pi.
  
  URL: https://github.com/raspberrypi/userland
  License: BSD-3-Clause
  Notes:
  
  Test builds of packages available from the following PPA:
  https://launchpad.net/~waveform/+archive/ubuntu/userland/+packages built
  from the "debian" branch of https://github.com/waveform80/userland
  
  Upstream does not explicitly version their API (hence the lack of
  version suffixes on the shared objects). Furthermore, the Raspbian
  package isn't *precisely* the same as this one; it includes the closed-
  source vcdbg utility (which for obvious reasons we cannot include here).
  
  The intention is to include this package by default in the Raspberry Pi
  images (and thus in main), and to SRU to Focal; please review
  accordingly.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to raspberrypi-userland in Ubuntu.
https://bugs.launchpad.net/bugs/1883111

Title:
  [needs-packaging] raspberrypi-userland

Status in Ubuntu:
  Fix Released
Status in raspberrypi-userland package in Ubuntu:
  Fix Released
Status in The Focal Fossa:
  Confirmed
Status in raspberrypi-userland source package in Focal:
  Confirmed

Bug description:
  [Impact]

  As part of our HWE efforts for the Raspberry Pi, we need the latest VC
  (GPU) and camera-related libraries (and utilities) on the Raspberry Pi
  for focal as well.

  For groovy, we want to pull in the latest fixes/improvements, so that
  the focal backport has the package in its best state. For this purpose
  we'll be re-using this bug and the same test case.

  [Test Case]

  * Install libraspberrypi-bin package
  * Add "start_x=1" and "gpu_mem=128" to /boot/firmware/config.txt (note: must be config.txt and not one of the included files like syscfg.txt)
  * "sudo reboot" to load camera-enabled firmware and enable new udev rules
  * Run "vcgencmd commands" as the normal user and ensure it outputs a list of commands
  * Run "vcgencmd measure_temp" and ensure it outputs a valid temperature (e.g. typically in the region of 60C for an idle Pi4, lower for earlier models)
  * Run "vcgencmd get_camera" as the normal user and ensure it outputs "supported=1 detected=0"
  * If you have a camera module available, shut down the pi, install the camera module (see https://picamera.readthedocs.io/en/release-1.13/quickstart.html for details), then boot it again
  * Run "vcgencmd get_camera" as the normal user and ensure it outputs "supported=1 detected=1"
  * Run "raspivid -t 0" and check the camera's view is displayed on the screen (Ctrl-C to exit)

  Repeat for both armhf and arm64.

  [Regression Potential]

  Can't think of anything really. It's a new package that currently will
  not be installed by default on any device. We plan to preinstall it at
  one point, but then additional testing will be done by certification.
  Right now it's just a set of libraries and utilities that should not
  be harmful in any way.

  [Original Description]

  Provides VC (GPU) and camera-related libraries (and utilities) on the
  Raspberry Pi.

  URL: https://github.com/raspberrypi/userland
  License: BSD-3-Clause
  Notes:

  Test builds of packages available from the following PPA:
  https://launchpad.net/~waveform/+archive/ubuntu/userland/+packages
  built from the "debian" branch of
  https://github.com/waveform80/userland

  Upstream does not explicitly version their API (hence the lack of
  version suffixes on the shared objects). Furthermore, the Raspbian
  package isn't *precisely* the same as this one; it includes the
  closed-source vcdbg utility (which for obvious reasons we cannot
  include here).

  The intention is to include this package by default in the Raspberry
  Pi images (and thus in main), and to SRU to Focal; please review
  accordingly.

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



More information about the foundations-bugs mailing list