Difference between revisions of "FAQ"

From Looking Glass
Jump to navigation Jump to search
Line 1: Line 1:
 
= Frequently Asked Questions =
 
= Frequently Asked Questions =
  
== How does Looking Glass work? ==
+
== General ==
 +
 
 +
=== How does Looking Glass work? ===
 
Please see the following video that covers this:
 
Please see the following video that covers this:
  
 
https://www.youtube.com/watch?v=U44lihtNVVM
 
https://www.youtube.com/watch?v=U44lihtNVVM
  
== The mouse doesn't stay aligned with the host. ==
+
=== Why is my UPS (Updates Per Second) so low? ===
This is due to windows mouse acceleration, it can be disabled with the following registry magic:
 
http://donewmouseaccel.blogspot.com.au/2010/03/markc-windows-7-mouse-acceleration-fix.html
 
 
 
Contrary to the title this works just fine on Windows 10
 
 
 
== Why is my UPS (Updates Per Second) so low? ==
 
 
There are several reasons why this can happen, the most common is your capture resolution. At the time of this writing, the windows capture methods struggle to capture high resolutions under certain circumstances, as a general rule of thumb anything greater then 1200p (1920x1200) starts to suffer from performance issues.
 
There are several reasons why this can happen, the most common is your capture resolution. At the time of this writing, the windows capture methods struggle to capture high resolutions under certain circumstances, as a general rule of thumb anything greater then 1200p (1920x1200) starts to suffer from performance issues.
  
Line 19: Line 15:
 
Some titles do some strange things at early initialization that cause capture performance issues. One such title is the Unigine Valley benchmark where the capture rate is limited to 1/2 the actual rate. For an unknown reason to both myself and the Unigine developers a simple task switch (alt+tab) in and out resolves the issue. This is not a Looking Glass bug.
 
Some titles do some strange things at early initialization that cause capture performance issues. One such title is the Unigine Valley benchmark where the capture rate is limited to 1/2 the actual rate. For an unknown reason to both myself and the Unigine developers a simple task switch (alt+tab) in and out resolves the issue. This is not a Looking Glass bug.
  
== I'm having mouse issues ==
+
=== Is my GPU supported? ===
Mouse integration is not top priority right now. Consider passing through a hardware mouse. If you can't or won't...
 
 
 
== Have you tried hitting Scroll Lock to toggle mouse capture mode? ==
 
Disable guest mouse acceleration (see: Read me first!)
 
Yes, sometimes the cursor position doesn't update until you click. It's a QEMU problem. See the points above.
 
 
 
== Is my GPU supported? ==
 
 
Your guest GPU almost certainly supports DXGI. Use DxDiag to confirm that you have support for WDDM 1.2 or greater.
 
Your guest GPU almost certainly supports DXGI. Use DxDiag to confirm that you have support for WDDM 1.2 or greater.
  
Line 37: Line 26:
 
Where is the host application for Linux?
 
Where is the host application for Linux?
 
The "Windows host application" is actually the display server, which runs in the guest VM. The only thing that needs to run in your Linux host OS is the `looking-glass-client` application
 
The "Windows host application" is actually the display server, which runs in the guest VM. The only thing that needs to run in your Linux host OS is the `looking-glass-client` application
 +
 +
== Mouse Issues ==
 +
 +
=== The mouse doesn't stay aligned with the host. ===
 +
This is due to windows mouse acceleration, it can be disabled with the following registry magic:
 +
http://donewmouseaccel.blogspot.com.au/2010/03/markc-windows-7-mouse-acceleration-fix.html
 +
 +
Contrary to the title this works just fine on Windows 10
 +
 +
Some other things to try:
 +
* Have you tried pressing Scroll Lock to toggle mouse capture mode?
 +
* Try keeping the client window the same size as the guest's resolution.
 +
 +
=== The cursor position doesn't update until I click ===
 +
Make sure you have removed the Virtual Tablet Device from the Virtual Machine. Due to the design of windows absolute pointing devices break applications/games that require cursor capture and as such Looking Glass does not support them.

Revision as of 12:12, 9 October 2019

Frequently Asked Questions

General

How does Looking Glass work?

Please see the following video that covers this:

https://www.youtube.com/watch?v=U44lihtNVVM

Why is my UPS (Updates Per Second) so low?

There are several reasons why this can happen, the most common is your capture resolution. At the time of this writing, the windows capture methods struggle to capture high resolutions under certain circumstances, as a general rule of thumb anything greater then 1200p (1920x1200) starts to suffer from performance issues.

Another cause can be how the game or application you are running is configured. Because of the way windows integrate with the WDM (Windows Desktop Manager) running applications in "Full Screen" mode may in some cases cause a large performance penalty. Try switching to windowed full-screen mode, the difference in performance can be like night and day. Titles known to be affected by this are Fallout76, The BattleField Series and SCUM.

Some titles do some strange things at early initialization that cause capture performance issues. One such title is the Unigine Valley benchmark where the capture rate is limited to 1/2 the actual rate. For an unknown reason to both myself and the Unigine developers a simple task switch (alt+tab) in and out resolves the issue. This is not a Looking Glass bug.

Is my GPU supported?

Your guest GPU almost certainly supports DXGI. Use DxDiag to confirm that you have support for WDDM 1.2 or greater.

The server-side (guest) probing error "Capture is not possible, unsupported device or driver" indicates NVidia duplication has failed, not that DXGI has failed. You can make the error go away by specifying "-c DXGI" Why do I need Spice if I don't want a Spice display device? You don't need Display Spice enabled. Looking Glass has a Spice client built in to provide some conveniences, but you can disable it with the "-s" argument.

Note that without Spice, you will not be sending mouse/keyboard events to the guest. Where is the host application for Linux? The "Windows host application" is actually the display server, which runs in the guest VM. The only thing that needs to run in your Linux host OS is the `looking-glass-client` application

Mouse Issues

The mouse doesn't stay aligned with the host.

This is due to windows mouse acceleration, it can be disabled with the following registry magic: http://donewmouseaccel.blogspot.com.au/2010/03/markc-windows-7-mouse-acceleration-fix.html

Contrary to the title this works just fine on Windows 10

Some other things to try:

  • Have you tried pressing Scroll Lock to toggle mouse capture mode?
  • Try keeping the client window the same size as the guest's resolution.

The cursor position doesn't update until I click

Make sure you have removed the Virtual Tablet Device from the Virtual Machine. Due to the design of windows absolute pointing devices break applications/games that require cursor capture and as such Looking Glass does not support them.