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

andrum99 1883111 at bugs.launchpad.net
Sun Jan 17 18:33:27 UTC 2021


Tested on focal server using ubuntu-20.04.1-preinstalled-server-
arm64+raspi.img.xz as follows:

  Operating System: Ubuntu 20.04.1 LTS
            Kernel: Linux 5.4.0-1015-raspi
      Architecture: arm64

Tested package versions:
libraspberrypi-bin:arm64 (0~20200520+git2fe4ca3-0ubuntu3~20.04),
libraspberrypi0:arm64 (0~20200520+git2fe4ca3-0ubuntu3~20.04, automatic) 

sudo apt install libraspberrypi-bin
rebooted

Tested:

ubuntu at pi4b-ubuntu-focal:~$ vcgencmd commands
commands="vcos, ap_output_control, ap_output_post_processing, vchi_test_init, vchi_test_exit, pm_set_policy, pm_get_status, pm_show_stats, pm_start_logging, pm_stop_logging, version, commands, set_vll_dir, set_backlight, set_logging, get_lcd_info, arbiter, cache_flush, otp_dump, test_result, codec_enabled, get_camera, get_mem, measure_clock, measure_volts, enable_clock, scaling_kernel, scaling_sharpness, get_hvs_asserts, get_throttled, measure_temp, get_config, hdmi_ntsc_freqs, hdmi_adjust_clock, hdmi_status_show, hvs_update_fields, pwm_speedup, force_audio, hdmi_stream_channels, hdmi_channel_map, display_power, read_ring_osc, memtest, dispmanx_list, get_rsts, schmoo, render_bar, disk_notify, inuse_notify, sus_suspend, sus_status, sus_is_enabled, sus_stop_test_thread, egl_platform_switch, mem_validate, mem_oom, mem_reloc_stats, hdmi_cvt, hdmi_timings, readmr, pmicrd, pmicwr, bootloader_version, bootloader_config, file, vctest_memmap, vctest_start, vctest_stop, vctest_set, vctest_get"


ubuntu at pi4b-ubuntu-focal:~$ vcgencmd measure_temp
temp=34.0'C
ubuntu at pi4b-ubuntu-focal:~$ vcgencmd measure_temp pmic
temp=28.8'C
ubuntu at pi4b-ubuntu-focal:~$ vcgencmd bootloader_config
[all]
BOOT_UART=0
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0

ubuntu at pi4b-ubuntu-focal:~$ tvservice -s
Error getting current display state
ubuntu at pi4b-ubuntu-focal:~$ sudo tvservice -s
vchi_msg_dequeue -> -1(90)
vchi_msg_dequeue -> -1(90)
state 0x1 [TV is off]

So the vcgencmd interface is working, but tvservice is not.

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

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