mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-11 06:17:23 +00:00
[doc] troubleshooting: Touchup
This commit is contained in:
committed by
Geoffrey McRae
parent
4d980d81b9
commit
3fb757fefd
@@ -1,9 +1,9 @@
|
|||||||
Troubleshooting
|
Troubleshooting
|
||||||
###############
|
###############
|
||||||
|
|
||||||
Start with the symptom below. Avoid changing polling, synchronization or
|
When diagnosing issues, start with the guide below. Avoid changing polling,
|
||||||
renderer options until the basic server, shared-memory and version checks
|
synchronization or renderer options until the basic server, shared-memory and
|
||||||
pass.
|
version checks pass.
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
@@ -32,7 +32,7 @@ When asking for help, it is important to include the following:
|
|||||||
|
|
||||||
All of this information is helpful, and should not be excluded.
|
All of this information is helpful, and should not be excluded.
|
||||||
|
|
||||||
.. _when_launching_looking_glass_the_desktop_doesnt_appear:
|
.. _issue_monitor_missing:
|
||||||
|
|
||||||
The Looking Glass monitor is missing in Windows
|
The Looking Glass monitor is missing in Windows
|
||||||
-----------------------------------------------
|
-----------------------------------------------
|
||||||
@@ -42,33 +42,37 @@ The Looking Glass monitor is missing in Windows
|
|||||||
3. Open the IDD helper and its log directory. See :ref:`idd_diagnostics`.
|
3. Open the IDD helper and its log directory. See :ref:`idd_diagnostics`.
|
||||||
4. In ``looking-glass-idd.txt``, confirm that IVSHMEM opened with the expected
|
4. In ``looking-glass-idd.txt``, confirm that IVSHMEM opened with the expected
|
||||||
size and that at least one configured display mode fits.
|
size and that at least one configured display mode fits.
|
||||||
5. Increase IVSHMEM if every suitable mode was filtered. Restart the VM after
|
5. Increase the IVSHMEM size and restart the VM if every suitable mode was
|
||||||
changing its size.
|
filtered.
|
||||||
6. Ensure the legacy Host service is disabled. Only one Looking Glass Server
|
- See :ref:`libvirt_determining_memory`
|
||||||
implementation should use the Looking Glass IVSHMEM device.
|
6. Ensure the legacy host service is disabled. Only one Looking Glass Server
|
||||||
|
implementation should use the IVSHMEM device.
|
||||||
|
|
||||||
A missing passed-through GPU does not by itself prevent the IDD display from
|
A missing passed-through GPU does not by itself prevent the IDD display from
|
||||||
appearing. The IDD can start in software mode, although that mode is slower and
|
appearing. The IDD can start in software mode, although that mode is slower and
|
||||||
SDR-only.
|
SDR-only.
|
||||||
|
|
||||||
|
.. _issue_stuck_on_loading:
|
||||||
|
|
||||||
The client remains on the waiting screen
|
The client remains on the waiting screen
|
||||||
----------------------------------------
|
----------------------------------------
|
||||||
|
|
||||||
* Confirm that the Windows Looking Glass monitor is active and producing a
|
* Confirm that the Windows Looking Glass monitor is active.
|
||||||
desktop.
|
* Check that the client has selected the same KVMFR device or shared-memory file
|
||||||
* Check that the client selected the same KVMFR device or shared-memory file as
|
as the VM, if you have more than one.
|
||||||
the VM.
|
|
||||||
* Confirm that the Linux user has read and write access to that device.
|
* Confirm that the Linux user has read and write access to that device.
|
||||||
* Use matching client and IDD releases. A KVMFR or LGMP protocol mismatch is a
|
* Make sure you are using the same Looking Glass client version as the IDD.
|
||||||
hard incompatibility.
|
|
||||||
* If ``/dev/kvmfr0`` is a regular file instead of a character device, stop the
|
* If ``/dev/kvmfr0`` is a regular file instead of a character device, stop the
|
||||||
VM, remove that accidental file and load KVMFR before starting the VM again.
|
VM, remove that accidental file and load KVMFR before starting the VM again.
|
||||||
|
See :ref:`KVMFR device verification <ivshmem_kvmfr_verification>`
|
||||||
|
|
||||||
|
.. _issue_image_slow:
|
||||||
|
|
||||||
The image is slow or stutters
|
The image is slow or stutters
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
Open the timing graphs with :kbd:`ScrLk` + :kbd:`T` and follow
|
Open the timing graphs with :kbd:`ScrLk` + :kbd:`T` and follow
|
||||||
:ref:`client_performance`. Also check:
|
:ref:`client_performance`. Also check that:
|
||||||
|
|
||||||
* the IDD helper reports GPU acceleration rather than software processing;
|
* the IDD helper reports GPU acceleration rather than software processing;
|
||||||
* ``lgmp:allowDMA=yes`` is using a direct import when the host driver supports
|
* ``lgmp:allowDMA=yes`` is using a direct import when the host driver supports
|
||||||
@@ -78,10 +82,12 @@ Open the timing graphs with :kbd:`ScrLk` + :kbd:`T` and follow
|
|||||||
* the compositor is not adding an unexpected frame queue; and
|
* the compositor is not adding an unexpected frame queue; and
|
||||||
* the fastest active client or OBS source is requesting the intended cadence.
|
* the fastest active client or OBS source is requesting the intended cadence.
|
||||||
|
|
||||||
Do not set the guest to an extreme refresh rate merely to raise UPS. The IDD
|
Do not set the guest to an extreme refresh rate attempting to raise UPS. The IDD
|
||||||
can acquire newer frames and skip superseded ones before transport, but the
|
can acquire newer frames and skip superseded ones before transport, but the
|
||||||
guest still pays the cost of rendering them.
|
guest still pays the cost of rendering them.
|
||||||
|
|
||||||
|
.. _issue_keyboard_mouse_input:
|
||||||
|
|
||||||
Keyboard or mouse input does not work
|
Keyboard or mouse input does not work
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
||||||
@@ -90,8 +96,8 @@ Keyboard or mouse input does not work
|
|||||||
* Only one LGMP client owns direct input. Close another controlling client if
|
* Only one LGMP client owns direct input. Close another controlling client if
|
||||||
necessary.
|
necessary.
|
||||||
* If SPICE video fallback is active, keep ``spice:input=yes``. The client uses
|
* If SPICE video fallback is active, keep ``spice:input=yes``. The client uses
|
||||||
the VM's default PS/2 keyboard and mouse and intentionally switches input
|
the VM's default PS/2 keyboard and mouse, and switches input to follow the
|
||||||
with the video source.
|
video source.
|
||||||
* If ``input:captureOnly=yes``, press :kbd:`ScrLk` to enter capture mode.
|
* If ``input:captureOnly=yes``, press :kbd:`ScrLk` to enter capture mode.
|
||||||
|
|
||||||
See :ref:`client_input` for normal, automatic keyboard and capture modes.
|
See :ref:`client_input` for normal, automatic keyboard and capture modes.
|
||||||
@@ -114,7 +120,7 @@ Keyboard shortcuts are not captured on GNOME Wayland
|
|||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
|
|
||||||
Capture mode may fail to capture compositor shortcuts like
|
Capture mode may fail to capture compositor shortcuts like
|
||||||
:kbd:`Alt` + :kbd:`Tab` or :kbd:`Alt` + Middle Click—they go to GNOME instead of
|
:kbd:`Alt` + :kbd:`Tab` or :kbd:`Alt` + :kbd:`Mouse3`—they go to GNOME instead of
|
||||||
the guest VM.
|
the guest VM.
|
||||||
|
|
||||||
When Looking Glass first requests to inhibit shortcuts, GNOME shows a
|
When Looking Glass first requests to inhibit shortcuts, GNOME shows a
|
||||||
@@ -135,6 +141,8 @@ To verify the permission was set:
|
|||||||
|
|
||||||
flatpak permissions gnome shortcuts-inhibitor
|
flatpak permissions gnome shortcuts-inhibitor
|
||||||
|
|
||||||
|
.. _issue_usb_audio_not_playing:
|
||||||
|
|
||||||
USB audio does not appear or play
|
USB audio does not appear or play
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
@@ -146,10 +154,17 @@ USB audio does not appear or play
|
|||||||
* Check the client startup log. If USB audio creation failed before
|
* Check the client startup log. If USB audio creation failed before
|
||||||
connection, Looking Glass falls back to classic SPICE audio and reports why.
|
connection, Looking Glass falls back to classic SPICE audio and reports why.
|
||||||
|
|
||||||
|
.. seealso::
|
||||||
|
|
||||||
|
:ref:`client_usb_audio`
|
||||||
|
|
||||||
|
.. _issue_microphone_missing:
|
||||||
|
|
||||||
The microphone is unavailable
|
The microphone is unavailable
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
The current PipeWire backend supports recording; the PulseAudio backend does
|
The PipeWire audio backend supports recording from the microphone, but the
|
||||||
not. Ensure the client selected PipeWire, then check ``audio:micDefault`` and
|
PulseAudio backend does not. Ensure the client has selected the PipeWire
|
||||||
the microphone indicator. Press :kbd:`ScrLk` + :kbd:`C` to change the default
|
backend, then check ``audio:micDefault`` and the microphone indicator. Press
|
||||||
permission and :kbd:`ScrLk` + :kbd:`E` to toggle recording.
|
:kbd:`ScrLk` + :kbd:`C` to change the default permission and :kbd:`ScrLk` +
|
||||||
|
:kbd:`E` to toggle recording.
|
||||||
|
|||||||
Reference in New Issue
Block a user