Fedora 40 Looking Glass Demo

  Рет қаралды 1,457

David Scott

David Scott

11 күн бұрын

Was finally able to make the switch to Linux! Simultaneous native Windows and Linux experience using Fedora 40, looking glass and moonlight/sunshine streaming. Will use the windows VM for gaming and for Visual Studio (I’m a dotnet dev). And Linux for everything else! This is so fun! ‪@ChrisTitusTech‬ thanks for the inspiration with your videos!
VM Bridge setup:
When creating the NIC for your vm, set it up to use the bridge you create from the link, and replace the first 3 numbers of the mac address from your a real hardware NIC to assist with bypassing anti-cheat.
www.server-world.info/en/note...
Looking Glass Setup:
looking-glass.io/docs/B7-rc1/...
I set mine up using the Standard shared memory file. Because of this, when I startup my pc, my vm cannot start due to permissions on the shared memory file. This can be fixed with the following commands:
sudo rm /dev/shm/looking-glass # remove the file so that the vm can start
sudo virsh start win11 # start the vm
sudo chmod 777 /dev/shm/looking-glass # allow the LG client (you) to access the file
I turned mine into a shell script to save me some time on startup, Will figure out how to automate this
Looking Glass Config
Create a .looking-glass-config file in your home directory. This will be loaded when you start looking glass without any command line args. You can map a keyboard shortcut such as Super+W that calls looking-glass-client in your System Keyboard settings.
Here is the reference page for setting up your file:
looking-glass.io/docs/B7-rc1/...
Screen Solutions (Dummy Plug alternatives).
You don't need a dummy plug. Probably.
If your screen has multiple inputs, and you can access a free port on the VM's Card, This is your simplest Solution. For looking glass, I plugged a DisplayPort Cable into my left monitor, Linux is using HDMI 1 on that monitor. This depends on how your monitor treats displayport connections on StandBy. In my case, The displayport connection stays active when the monitor is set to HDMI 1, Even when the HDMI is unplugged and the monitor is on Standby. (Fun fact, GSync is enabled in windows on this screen, and looking glass seems to be able to pass it along to Freesync/GSync in Linux)
If you do not have access to any ports, then you can install IddSampleDriver in the VM as a virtual monitor for the VM to use. This is what I am doing for the left Windows screen. Ensure to edit options.txt and add any specific resolutions that you need, install the driver and set it as the Primary display. Some graphics options are unavailable though as the "display" is not connected to the gpu directly, GSync is not available in this mode. The Non HDR Driver appears to be more Stable right now.
If you want to display your second monitor with Sunshine/Moonlight then you just need to configure sunshine to use the correct display.
And finally! Ifigure out that I could use Sunshine/Moonlight to use my tablet as a dsiplay for Linux. Connect an extra HDMI cable to an unused port on your Linux host's GPU, then configure Sunshine to share that display

Пікірлер: 36
@IMakeStuff92
@IMakeStuff92 7 күн бұрын
Everything here is just super. Thanks for asking!
@egokhanturk
@egokhanturk 8 күн бұрын
Nice setup. Good job
@DavidScott51
@DavidScott51 8 күн бұрын
Thanks!
@kunjorox171
@kunjorox171 6 күн бұрын
Ty sir
@mohxiie
@mohxiie 8 күн бұрын
That is fucking impressive, I have been looking for something like this for a VERY long time. What's your PC specs?
@DavidScott51
@DavidScott51 8 күн бұрын
5800x, with 6 cores passed to the VM with AMD RX580 for Linux and a 4070Ti for Windows. 32GB RAM halfway split
@whyunlux
@whyunlux 7 күн бұрын
tutorial please, i got everything working properly but i have a Asus Tuf A17 laptop and no second monitor, i can passthrough properly and use looking glass but i am unable to get 144hz on it, and thoughts on how to fix that?, also my looking-glass doesnt work without using a video driver in the vm hardware. would love your input on this
@DavidScott51
@DavidScott51 7 күн бұрын
Install IddSampleDriver from its Mike the tech. Make sure to edit the options.txt to make sure resolution/refresh you want is there, before you install it. Then make it the primary monitor. I would recommend the non hdr one
@carloslegrutier
@carloslegrutier 2 сағат бұрын
How practical is to dynamically share RAM with guest from Linux (host). I have 32gb but I kinda need those for Linux (with a 16c). Also, are you using dedicated partition (or disk) for the desk or an image, do you know if there is a NTFS performance overhead (back in the days, with VMware sector/cluster missalignment was a thing)
@DavidScott51
@DavidScott51 2 сағат бұрын
I used a virtual disk stored on my linux nvme drive to get the vm configured, then once it was ready I switched it over to a dedicated nvme drive, performance was about the same. The qemu system can do memory ballooning and windows can actually handle that, but it's not recommended for my use case.
@NUDELMOB
@NUDELMOB 7 күн бұрын
Is the sunshine server only for that little tablet like screen in the middle? I didn't quite catch the point of it in the video
@DavidScott51
@DavidScott51 7 күн бұрын
Looking Glass is running the right windows screen which is the primary display, Sunshine is driving the driving the left screen and is configured to display only the secondary monitor. SuperDisplay is running the tablet. I may try to have a sunshine stream from my host to the vm so that I can display gnome on the tablet
@NUDELMOB
@NUDELMOB 7 күн бұрын
@@DavidScott51 Ah I get it now, thank you. Of course that seems to make it much more easy to control the switching instead of having to change inputs on the monitors. I think a proper full video, going over the configuration and such would be appreciated by some :)
@goodtimeschan
@goodtimeschan 7 күн бұрын
Hi David, you've got a really nice setup there. Could you please tell me if it would be possible to implement such a system on a laptop with an Intel iGPU and an NVIDIA dedicated GPU?
@DavidScott51
@DavidScott51 7 күн бұрын
In theory it should be possible. You would have to use idd sample driver to simulate a proper display. If the laptops display is wired to the discrete gpu, you might have a problem as the display would effectively be connected to the vm with no display out to Linux. Others have the display connected to the igpu and the discrete is for render jobs which would be better for this use case.
@goodtimeschan
@goodtimeschan 7 күн бұрын
@@DavidScott51 That is my case, the discrete GPU works through the iGPU which is wired to the display. So, in theory it should be possible then, right? Btw, I can change the GPU on-the-fly on Linux using PRIME, I actually use EnvyControl.
@klementineQt
@klementineQt 8 күн бұрын
This looks like such a nice setup. I've got an iGPU and an RX 5700 XT, and I'd rather just use Proton for gaming myself, but sadly, I think I'm out of luck even with a passthrough setup because the reason I'd want to do so would be for anti-cheat purposes, and I'm not sure how reliably I could hide the VM and whether it's worth the risk of getting banned. I really wish Ubisoft would just flip the switch on Battleye for Proton for R6 Siege :/ I haven't daily driven in 6 years and I miss Linux so bad. I do have an old chromebook running ubuntu server for discord bots and other little things but I want Arch on my main rig
@DavidScott51
@DavidScott51 8 күн бұрын
Anti cheat is laughably easy to bypass with QEMU. The only thing you need to do that isn’t already in the looking glass installation guide is to setup a network bridge and modify the vm’s MAC address start with the same first 3 numbers as a real NIC, as then it will be considered whatever brand the one you copied it from. I have only tested with halo infinite and master chief collection. Which uses easy anti cheat
@is-ig4ny
@is-ig4ny 7 күн бұрын
Hi! Would something like this be possible with an AMD CPU and GPU? I would love to migrate to Linux, but I still need Fusion360, which currently doesn't even work with Wine. Your setup looks really clean btw 👏
@DavidScott51
@DavidScott51 7 күн бұрын
It requires 2 gpus. If your amd cpu has onboard graphics. That counts. If you just have the one GPU you can setup Single passthrough, but that’s even more complicated. You have to setup virsh start stop hooks to handle the switch between the 2 OS’s loading and unloading drivers and whatever display manager you’re using. And only 1 can use it at a time
@is-ig4ny
@is-ig4ny 7 күн бұрын
@@DavidScott51 Fortunately, CPU does actually have onboard graphics. Is there a tutorial out there on something similar to what you have in the video? It look so fricking smooth.
@DavidScott51
@DavidScott51 7 күн бұрын
@@is-ig4ny I followed Chris Titus's "Ultimate system" streams, the official looking glass instructions and some of my own research. I'll put some links in the description when I get the chance.
@is-ig4ny
@is-ig4ny 7 күн бұрын
I also have an older 1650 Super card that I believe might be suitable for this. How was your experience with reducing the RAM by half? I currently have 32GB, but I'm starting to realize that might be overkill for single-player games.
@DavidScott51
@DavidScott51 7 күн бұрын
@@is-ig4ny So far, so good. 16Gb each is plenty for a workstation.
@FUSSSEL
@FUSSSEL 8 күн бұрын
You need two gpus right? E.g. an igpu for linux and a regular gpu...
@DavidScott51
@DavidScott51 8 күн бұрын
Correct! I have a Rx580 for Linux, and a 4070ti for the vm. My cpu is a 5800x
@rinaenemabaka8840
@rinaenemabaka8840 7 күн бұрын
Can u make a tutorial
@DavidScott51
@DavidScott51 6 күн бұрын
I have added a bunch of resources to the description, I hope that helps! I might get around to making a tutorial, We'll see.
@RovelStars
@RovelStars 7 күн бұрын
links, docs?
@DavidScott51
@DavidScott51 6 күн бұрын
I have added a bunch of resources to the description, I hope that helps!
@Rednunzio
@Rednunzio 8 күн бұрын
4k monitor with gnome ?
@DavidScott51
@DavidScott51 8 күн бұрын
These are 1440p
@mrblack7348
@mrblack7348 7 күн бұрын
I don't understand what is he doing?
@DavidScott51
@DavidScott51 7 күн бұрын
I wanted to give Linux a proper try. So I setup dual boot. But my favourite game is a pain to run in Linux, so I would always have to restart my computer to boot into Windows to play my game. There are other programs that I use that have the same problem. So I used a bunch of free open source software to give myself a gaming virtual machine with Windows installed on it, that lets me access Windows at the same time as Linux, with Looking Glass being the key software that lets me game on the VM from my Linux Desktop without adding any video/audio/input latency
@TheReacher24
@TheReacher24 7 күн бұрын
@@DavidScott51do you play any games with anticheat that have a problem with gaming on a vm? I know specifically easy anticheat has a vm toggle in it where you can’t play any games using it under a vm.
@DavidScott51
@DavidScott51 7 күн бұрын
@@TheReacher24 halo infinite actually uses the vm check. I had to figure out how to bypass it when I setup my first gaming vm on my Proxmox server (player 2!). Basically all you need to do is have the vm be given “real” hardware ids. In qemu it’s just a host passthrough checkbox for the cpu, an xml tweak for the motherboard/system and finally replace the first 3 values in the virtual Nic’s MAC address with the values from a real NIC. I just copied the first 3 from my motherboard nic
Windows & macOS can't do this, but Linux can!
15:55
The Linux Experiment
Рет қаралды 806 М.
Fedora vs Debian and Arch Linux
17:32
Chris Titus Tech
Рет қаралды 494 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 8 МЛН
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 28 МЛН
MacBooks FINALLY Have Competition
7:13
Dave2D
Рет қаралды 779 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 232 М.
How To Make Your Boring macOS Terminal Amazing With Alacritty
16:33
Josean Martinez
Рет қаралды 123 М.
The END of DISTRO HOPPING? All Linux distros in one single system with VanillaOS
16:34
Why I Can't Use Linux - My Top 3 Reasons
26:05
Tek Syndicate
Рет қаралды 80 М.
Fedora 40 is Out - Kernel 6.8, Gnome 46, and Steam Gaming!
13:46
10 things I WISH I knew when switching to Linux
11:52
InfinitelyGalactic
Рет қаралды 42 М.
😨 Это реально Самый Высокий миф в Майнкрафт
37:29