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

Dave Jones 1883111 at bugs.launchpad.net
Thu Jan 28 17:04:05 UTC 2021


@andrum99 many thanks for testing! At the moment, the tvservice
interface is not expected to work on arm64 (or at least most bits of it
- the last time I tested it, it could detect an HDMI screen was attached
but that was about it).

It should (mostly) work on armv7l but the userland package here is
deliberately out of date as immediately after this, arm64 support was
removed upstream (to be re-added later once a full 64-bit Raspberry Pi
OS becomes available). Hence, we have a choice between an up to date
userland with nothing on arm64 (not a great option, as vcgencmd is a
dependency of rpi-eeprom for extracting the bootloader configuration),
or having an out of date userland which (mostly, at least camera-wise)
works on both archs.

-- 
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:
  Fix Released
Status in raspberrypi-userland source package in Groovy:
  Fix Released

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