Skip to content
Snippets Groups Projects

capsule-capture-libs: Add log severity prefixes, silence a confusing warning about libnvidia-pkcs11

Merged Simon McVittie requested to merge wip/task488 into main
All threads resolved!
  • pv-runtime: Run capsule-capture-libs with --level-prefix

    This will let us highlight warnings and fatal errors from capsule-capture-libs as such.

  • pv-runtime: Silence spurious warnings for libnvidia-pkcs11 on Ubuntu 24.04

    My understanding is that these libraries are dlopen'd by other parts of the Nvidia driver for confidential-computing GPGPU use-cases, and unlikely to be critical for gaming.

    There are currently two implementations, one that depends on OpenSSL 1.1 and one that depends on OpenSSL 3.0. The way they are packaged in Ubuntu means that in 24.04, the one for OpenSSL 1.1 is present but does not have its dependencies satisfied, leading to confusing warning messages from capsule-capture-libs that could confuse our users. Silence those messages by using the new "quiet:" pattern prefix.

    (The message is actually reduced to LOG_DEBUG level rather than being silenced, so CAPSULE_DEBUG=tool will reinstate it if someone needs to look at capsule-capture-libs behaviour in fine detail.)

    steamrt/tasks#488


/cc @refi64 @denittis

Edited by Simon McVittie

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Ludovico de Nittis approved this merge request

    approved this merge request

  • Simon McVittie added 28 commits

    added 28 commits

    • 1101faf6...7b1fc734 - 26 commits from branch main
    • 92df1959 - pv-runtime: Run capsule-capture-libs with --level-prefix
    • 2822b8bb - pv-runtime: Silence spurious warnings for libnvidia-pkcs11 on Ubuntu 24.04

    Compare with previous version

  • Simon McVittie marked this merge request as ready

    marked this merge request as ready

  • Simon McVittie changed the description

    changed the description

  • Simon McVittie resolved all threads

    resolved all threads

  • Simon McVittie enabled an automatic merge when the pipeline for 2822b8bb succeeds

    enabled an automatic merge when the pipeline for 2822b8bb succeeds

  • Simon McVittie mentioned in commit 92d3491e

    mentioned in commit 92d3491e

  • Please register or sign in to reply
    Loading