Return to Level1Techs.com

VM Lockup / Freeze when using LG

My LG vm locks up and freezes, I am not seeing any mention of the lockup in journalctl -u libvirtd.service

My hardware setup is an xps 17 laptop, with “powercolor-gaming-station-thunderbolt-3-egfx-enclosure” (found a microcenter) and an AMD R7 360 as the GPU being passed through.

Im on kernel version 5.8.0-generic, as its the only version (5.8.x) that works with the audio for the laptop speakers.

Im looking for anyone who has had similar issues / where to keep looking to debug the issue. There are no logs from the looking-glass-host service in windows (in %temp%, C:/Windows/Temp or the program files location), if there is a way to view the logs for windows, that could help (not much experience with windows)

The freezes happen only when in active use, I have been able to leave the VM running with games / furmark for hours at a time to see if it was high load / power usage issue. It only happens either while in game (only played warframe, happens at random places, could be loading screen, or mid mission, or mid menu), or when a program opens.

Exact behavior of the lockup/freeze is that the LG client drops back to the logo and the output says

| Waiting for the host application to start...
   193639892 [I]               main.c:917  | lg_run                         | Host ready, reported version: B3-145-gae36abb1ca
   193639908 [I]               main.c:918  | lg_run                         | Starting session
   193729219 [I]               main.c:464  | main_frameThread               | Format: FRAME_TYPE_BGRA 2560x1080 stride:2560 pitch:10240 rotation:0
   199925897 [I]               main.c:464  | main_frameThread               | Format: FRAME_TYPE_BGRA 2560x1080 stride:2560 pitch:10240 rotation:0
Switched format to sample rate 48000, sample size 32 and 2 channels.
   859038492 [I]               main.c:464  | main_frameThread               | Format: FRAME_TYPE_BGRA 2560x1080 stride:2560 pitch:10240 rotation:0
   860338206 [I]               main.c:464  | main_frameThread               | Format: FRAME_TYPE_BGRA 2560x1080 stride:2560 pitch:10240 rotation:0
  1024145496 [I]               main.c:464  | main_frameThread               | Format: FRAME_TYPE_BGRA 2560x1080 stride:2560 pitch:10240 rotation:0
  1320567806 [I]               main.c:464  | main_frameThread               | Format: FRAME_TYPE_BGRA 2560x1080 stride:2560 pitch:10240 rotation:0
  1323385505 [I]               main.c:464  | main_frameThread               | Format: FRAME_TYPE_BGRA 2560x1080 stride:2560 pitch:10240 rotation:0
  1347248439 [I]               main.c:464  | main_frameThread               | Format: FRAME_TYPE_BGRA 2560x1080 stride:2560 pitch:10240 rotation:0
  1427044280 [I]               main.c:464  | main_frameThread               | Format: FRAME_TYPE_BGRA 2560x1080 stride:2560 pitch:10240 rotation:0
  1946971191 [I]               main.c:953  | lg_run                         | Waiting for the host to restart...

then the VM (with dedicated keyboard/mouse) doesnt respond to input, and its own display (seperate input to my main display so the fullscreen macthes up) is frozen to the same last frame that was seen to LG client.

The Windows host application logs can be found through the windows start menu

Start->Looking Glass (host)->Looking Glass Logs

You should see two log files there. One for the service and another for the host application itself. the logs are cumulative. See if you can see anything in the host app log.