Skip to content

Troubleshooting: Linux video drivers and diagnostics - #8

Open
adamshiervani wants to merge 2 commits into
mainfrom
troubleshooting-linux-video-driver
Open

adamshiervani wants to merge 2 commits into
mainfrom
troubleshooting-linux-video-driver

Conversation

@adamshiervani

@adamshiervani adamshiervani commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Problem

A user with a Lenovo M90q (Intel UHD Graphics 630, Ubuntu 26.04) got no video from OS Services. docs/troubleshooting.md had no entry for the lines in the log, and no list of the commands that show the state of the video drivers, so the cause was found only in a debug session with the user.

What is known

Two driver problems stop the Linux capture pipeline before the encoder opens, and each has its own log line.

The first is a VAAPI driver without a video processing function. The service uses this function to draw the mouse pointer into the video. The free package intel-media-va-driver does not have it on Intel UHD Graphics 630, and the log shows [KMSVAAPI] create cursor VPP config: the requested VAEntryPoint is not supported. The package intel-media-va-driver-non-free fixed the user's video.

The second is a VAAPI driver that does not load, and the log shows Failed to initialise VAAPI connection: -1 (unknown libva error). This one was reproduced on an Intel N100 with LIBVA_DRIVER_NAME set to a name that does not exist.

Fix

docs/troubleshooting.md gets three additions:

  • "Collect diagnostics on Linux", under "Logs": the four commands from the debug session, with what each shows, and the command that restarts the service.
  • An entry for the create cursor VPP config line, with the cause, the vainfo check and the non-free driver package.
  • An entry for the Failed to initialise VAAPI connection line, with the vainfo check, the driver packages and LIBVA_DRIVER_NAME.

The entries do not state how often the lines repeat, because the pull request "The wait between failed capture probes grows up to 30 s" (#6) changes that.

Testing

Each log line and command in the text is the text from the user's log or from the reproduction on the N100. The links to install.md and the anchors in the file resolve. The repository has no documentation lint.

Not in this PR

The copy and paste shortcuts on Linux and a software fallback for video are separate changes and are not documented here.


Note

Low Risk
Documentation-only changes to troubleshooting; no runtime or security impact.

Overview
Adds Linux-focused troubleshooting for OS Services video failures on VAAPI.

Under Logs, a new Collect diagnostics on Linux subsection lists four commands (journal tail, session/GPU permissions, vainfo capability check, display env vars) plus how to restart the user systemctl unit.

Two new collapsible fixes document capture-pipeline errors: missing Intel VideoProc for cursor overlay ([KMSVAAPI] create cursor VPP config…), with guidance to use intel-media-va-driver-non-free when the free driver lacks VPP; and VAAPI failing to load (Failed to initialise VAAPI connection…), with a vainfo-driven checklist for driver packages and LIBVA_DRIVER_NAME.

Reviewed by Cursor Bugbot for commit 1eed84f. Bugbot is set up for automated code reviews on this repo. Configure here.

adamshiervani and others added 2 commits November 20, 2026 11:37
…after login

The troubleshooting page now covers two Linux video failures that a
user debug session found. On some Intel GPUs, the free Intel VAAPI
driver has no video processing function, and the non-free driver
fixes it. When no VAAPI driver loads, vainfo shows the cause.

A new section lists the commands that collect Linux diagnostics, and
a new entry tells you to restart the service when the clipboard does
not answer right after login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The interval between video probes and the clipboard check at session
start change in other pull requests, so the text does not state them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant