Return to Level1Techs.com

Looking Glass - Triage

helpdesk
lookingglass

#1381

But I can assign all cores into VM, I KNOW there is MANY people which says IT IS NOT RECOMMENDED, but I read a lot of testings and questions on stack exchange and it is not true, that you shouldn’t assign all cores into VM, for example here https://unix.stackexchange.com/questions/325932/virtualbox-is-it-a-bad-idea-to-assign-more-virtual-cpu-cores-than-number-of-phy

And saying that VM can consume all CPU power is bullshit too, because host is “master”, host’s OS scheduler assign CPU time to all processes and VM.


#1382

The problem is not that. It’s task switching and the system being starved for cpu resources

If you’re pinning all 4 cores, you don’t have enough cpu power to do everything you’re asking it to do, so performance will take a hit.

Also, the guest vm can utilize all the cpu resources of the host if all cores are assigned.

Look at the priority on your vm sometime.


#1383

But if on host machine there will be nothing running except one VM running with 1 game, I don’t think there will be any performance hit.


#1384

It entirely depends on the game. FTL, for example, won’t be a problem, but battlefield will.

My recommendation is to assign 3 cores to your vm. Leave one core for your host os.


#1385

I don’t play Battlefield, I play games like WarThunder, Fallout 76, EVE Online, City Skylines.

Yes I can assign 3 cores and then 4 and test it, and then I will see FPS, Input lag, Looking Glass FPS.

If I get more than 60 FPS, It will be enough (Most games are GPU intensive, except games like City Skylines).


#1386

So I’m not really sure what you’re asking here.

Fallout 76 will pin 4 cores easily. Not sure about warthunder. Eve isn’t super intensive on anything, so I wouldn’t be concerned about it. Cities skylines is the real concern. Are you unable to play it on Linux?


#1387

I use dual boot (many years) and I hate it, I would like to move to Linux completely without dual boot, and I found GPU passthrough and Looking Glass (I tested GPU passthrough and it worked on my hardware).


#1388

Okay, have you encountered the performance problems with your passthrough setup, without looking glass? I’m curious if it’s a vm config problem.


#1389

I know it’s not related to LG but warthunder and cities skylines both have native Linux releases that work well from my experience and Eve runs perfectly in wine. I checked around and it looks like you can play fallout 76 in wine too with lutris and dxvk


#1390

Okay, have you encountered the performance problems with your passthrough setup, without looking glass? I’m curious if it’s a vm config problem.

No I didn’t encounter the performance problems without Looking Glass, but on other hand I only tried some games (I didn’t play it much).

For example this guy allocated all cores to VM too https://www.youtube.com/watch?v=Ww2xpxkhitk and played many games and made lot of tests and there was no performance hit, only around 2-5%.

I know it’s not related to LG but warthunder and cities skylines both have native Linux releases that work well from my experience and Eve runs perfectly in wine. I checked around and it looks like you can play fallout 76 in wine too with lutris and dxvk

Thanks :slight_smile: I didn’t know that.


#1391

Here’s the output for the segfault
https://pastebin.com/CezqGZb9
Let me know if you need anything else


#1392

Imagine if there was LG like custom PCI card :slight_smile: for example with HDMI IN port, and some chip on it which just grabs frame from HDMI IN (from graphics card) into some shareable memory with CPU (for host), like dream :slight_smile:


Looking Glass capture card
#1393

It’s called a “Capture Card”, they exist. Please don’t take this thread off topic, this thread is for LG Triage, not general discussion. If you wish to discuss LG outside of help and support, please create a new thread on this forum. The community here is very welcome and open to discussing idea’s and concepts.


#1394

Dumb tip for anyone else sitting with a black client window and no errors:

Maximise the client window!

(If this has been covered already, please delete this. I’ve embarrassed myself enough already!) :smiley:


#1395

This is a documented issue that is likely fixed by the patch in:


#1396

lol, thought it might be! But it’s working now. Hopefully other noobs will find this.


#1398

So after posting to the wrong place before see Looking Glass client outputs purple screen for reference I have now downgraded my looking-glass-client using the AUR package rather than the git version and installed my nvidia drivers for my 970 but I’m still just getting a purple output on looking-glass-client in either mode but my second monitor displays correctly.


#1399

Oh looks like my ivshmem driver didn’t install in Windows properly so that could possible be the cause.


#1400

It certainly will be, the host can’t communicate with the client without it.


#1401

OK, so I’ve installed the ivshmem driver again by right clicking on the inf and installing and the ivshmem-test shows everything as passing now looking-glass-client is connecting in both Spice and non-spice mode but the output is just a black screen but the looking-glass-host does seem to show something is happening.

Am I running the host correctly as currently I am using an Admin rights cmd and running looking-glass-host.exe.-f which seems to be the only way I can get it to run but want to make sure this is correct.