you're just putting the finishing touches on your brand new gaming rig
cables organized graphics card in
side panel on and you're about to get going fast
but then wait wha what is this
i'm sorry you need what no we'll just turn all this stuff off
here we go wait a minute
some of this stuff isn't even optional
and making matters worse this is just the
stuff that microsoft is telling us about
i mean all i wanted to do was get some frags
not join the freaking botnet
hey
i think i know something that might help with that oh my god wendell from level
one text how's it going what are you doing in my closet
it's a long story uh you know what no never mind since you're here can you help me with my sponsor spot no but i
can't help you fix your gaming problem okay well hey let's give it a shot
and while we're at it you know what else is worth a shot origin pc origin pc
offers beautiful custom desktops and laptops such as their evo 15s that
weighs only 4.3 pounds and is under an inch thick featuring smooth 144hz 1080p
or 4k displays and an NVIDIA GeForce gtx 1070 max q be sure to check them out at
the link below i don't know if i messed it up because i wasn't sure what i was
supposed to do so i went back in the closet no no that's fine
the last time i checked the graphics
driver in particular situation on Linux was abominable and when it comes to wine
i mean any newer titles pretty much anything requiring directx 10 or directx
11 was a total mess like has any of that changed actually uh
the everything you said was wrong what you're referring to is Linux is
actually gnu slash Linux or as i've recently taken to calling it gnu plus
Linux and the driver situation has improved dramatically
you know both AMD and NVIDIA have put a lot of work into their drivers AMD has
got a really amazing open source driver in the very latest Linux kernels and on
the wine side of things we've got dxvk which is a real-time directx translation
layer to vulkan so you can play games like the witcher 3.
in terms of performance vega 64 and a 1080 ti were competitive with one
another in some titles especially Linux titles Linux optimized titles natively
at the beginning of the year but NVIDIA driver updates and things like that have
led to other optimizations so it's leapfrog again and freesync is not quite
ready yet in the newer Linux kernels from AMD so that's still a little bit of
a problem with the very very bleeding edge kernels but the situation's really
changed and improved okay so
i have at it i'm i'm gonna let you drive because you're running an AMD graphics
card we're gonna update the Linux kernel to something a little newer than what
ubuntu supports by default now if you're running an NVIDIA graphics card you wouldn't need to do this but you would
definitely need to get the binary driver from NVIDIA in order to you know take
advantage of the latest and greatest uh running your 1080 or 1080 ti or whatever
recent graphics are so we get the ubuntu kernel upgrade utility
basically all we have to do is paste some stuff into the command line so with
the ubuntu kernel update utility installed yeah we can just do uku
and at the time of this video i think 4.7.5
4.17.5 is going to be the most recent version running 17.4 because we were
messing around with the system a little bit before but you just hit install
and you'll have to put in the password and this is going to go and get a newer
version of the kernel booting previous kernels blah blah blah
blah blah okay now at this point all we're going to do is reboot and it'll use the newer kernel by default
so by default we've got ubuntu but if we do advanced options we can see that
we've got all of our kernels so we started out on 4.15 and then we got 4.17
yep and now that we're on the newest kernel we need to update the other
the other sort of side of things the kernel gives us the driver but we also need mesa updates and that sort of thing
so there's another ppa for that which is an extension to ubuntu so we're gonna do
the same thing and add a repository which will give us mesa mesa and opengl
or sort of the other side of the graphics driver so like you need the bottom half for the hardware and the top
half for the software side of it for games with the ppa installed you can see that
there's a ton of stuff that's going to get updated so this is all stuff that
doesn't really matter for you Intel intelxserver.org
now you wouldn't need to do this if you were just going to run steam games
native steam games sure this is just for wine and dxvk and getting the bleeding
edge out of that so what's this we've got gallium 9 which
i'm not going to install because we we don't really need it per se but i'll
mention it because it will let you run directx 9 titles it's older it's not as
supported there are other options but this is the options that you have for
plugging stuff into wine so that you can get more functionality out of wine so we
should probably explain what wine is for the uninitiated wine is not an emulator
it's like an emulator but it's not an emulator and see wine stands for wine is
not an emulator see that's the joke and it's terrible
wine is a re-implementation of certain Windows apis to make
applications available on Linux and so
you can run a Windows application under Linux and the Windows application thinks
Windows is there but not all of Windows is there you know sometimes even Windows
owned utilities don't know that it's not Windows and so you can use that to run
some Windows games but not a lot and we've got lutress which will give us
runners a script for scripts for running games like the witcher 3. okay so
hopefully y'all have been keeping up if not don't worry we're going to have
links to all of these sources and also to wendell's forum
down in the video description so the worst is over it actually gets a lot
easier from here so easy that i could do it
definitely really really okay fine
okay let's just do this so we've got lutress all ready can you kind
of explain what lutetris does so
it's a lot to ask a user to manage all the different versions of wine and the
command line bs and i would agree that's not really the best user experience
right people have written scripts to make it easier because when you think
about the witcher 3 you can't just run the witcher 3 because
you probably also need steam and so but it's not the Linux version of steam you
need the Windows version of steam so that has to run underwine or some kind
of emulation layer as well so lutrus gives you a script you just hit an
install button on the webpage and some person has gone through the hell of
developing that before you hit install
was that a lewd scene oh never mind i thought that was a
raised rump okay you know what let's just
okay so continue install
this is so easy i can do it here we go so
our steam account is logging in and there it is and this is the Windows
version of steam Windows steam the only thing that doesn't work under wine is
the copy protection now witcher 3 works fine with copy protection right but
that's not true of every title like far cry 5 interesting
there it is okay witcher 3 wild hunt so i just click play let's hope
can i get a can i get a finger cross
hey there are a couple of bugs here and
there in the game but it's it's pretty much okay
it's rendering you know if i would have told you a year
ago that we could have real-time directx translation to vulcan you'd probably call me a crazy person hey why can't i
just go into the menu in the middle of a cutscene new modern game developers like holy
what's happened with games is that they've made far more
assumptions about the amount of [ __ ] time that i have like if my baby starts
crying i don't want to miss the cutscene i need to be able to pause
maybe gaming hasn't changed maybe it's me maybe i have a life so
this is really cool so it's a dp vk or
dxv dxvk just think directx to vulcan total game
changer Linux gaming is better than ever but like come on
how many times have we heard no no really really Linux gaming is better
than ever that's a fair point i mean if you need something right now and you
just don't want to think about it and you don't want to mess with the libraries you can run a full virtual
machine you can run a full Windows virtual machine and do all your gaming
that way can i ulta 4 out of a game
cool it actually closes a lot faster yeah
that's one thing that i've always loved about anything that's not Windows so why
don't you tell us about using a vm if you want to use a vm
you will need to pass through a second graphics card okay so do we have one we
do somewhere
so we'll need to shut this down because that's hot plug graphics cards it's not
a thing yet are you sure are you sure i'm not did you watch my
video no i didn't total madness there it is
there it is it's a thing if you've got it's a thing
no it's a thing it's finally becoming a thing because
laptop users need it not the enterprise which is funny oh we should probably get
the other monitor AMD and NVIDIA in the same system this is heresy
sorry you want the other one i'll grab it so then this is not that dissimilar to
what i've set up before with unraid so this is just red hat kvm yep running in
ubuntu yep and then we've got an extra SSD for Windows an extra graphics card
to pass through yup and an extra keyboard and mouse because
why not because why not okay so
what do we do we just boot up the virtual machine damn
the configuration we just set it up we do the i o mmu groups for pass through
and we tell it the graphics card we go into usb devices and find a keyboard and
mouse and map them and then we just let the machine boot up so this is it this
is just the full fat Windows experience
now overhead wise from what i've seen in the past we're looking
at anywhere from as little as two or three percent to as much as you know 10
or more in terms of a performance hit but
any is there anything else i should be aware of about running it this way it
shows up as an AMD epic processor just because
there is a performance in some scenarios but mostly it's okay some things are faster like super position
interesting now you got the NVIDIA drivers installed
uh in spite of the infamous code 43 error code 43 is a thing that shows up
when NVIDIA and video drivers detect they're running as a virtual machine so
you have to set a configuration option in the in the virtual machine on the
Linux side of things to hide the fact that the machine's virtualized and then code 43 goes away
right which is kind of annoying and silly right because they just want you to buy
a quadro or better right now it's also kind of annoying and silly
that this monitor that you could use for things other than gaming not on Windows
on Linux but you know it's not super convenient
so there's also looking glass one of our
forum members jeff at host vision he's put a lot of work into it i've put a lot
of work into it i think you may need to go run it
okay okay oh cool look at that how's the
latency oh not bad yeah this is a direct memory to memory
copy uh using the directx capture API so the same capture that you get so even
just then it was actually faster than your native monitor to handle the mode
switch interesting
and so this way you could run your Windows
vm with full hardware acceleration but as fast as we can copy the frames from
the guest to the host you can run it
and how do i make it full screen um
i think you didn't think of that yet no there's a guy there's a command line option for that
but first
damn it you guys
this is a bad guy oh look at that it is
and honestly like we don't know what we're doing as far as opengl programming
goes so if there's if there's any opengl programmers that want to contribute to
the project out there you are more than welcome it's open source it's on github
what more could you ask for uh full screen
uh that's a command line yeah i think i saw a hiccup there that
i'm not sure if i saw over on the other side either yeah there will be some it's
not perfect but we're getting there it's not bad for alpha software it's not bad
at all so there you have it i hope this was a fun and enlightening look at just
how far the humble penguin has come in the last couple of years guys we're
gonna have links to wendell's channel it's level one text we'll have that down below as well as their amazing looking
glass software and more information on how to get something like this running
for yourself but in the meantime just let us know in
the comments below if you're running something like this what
kind of challenges you've run into and if there's any other great educational
resources that you can provide for people who are into gaming on Linux
disclaimer though
the experience off-camera was not as
perfect and smooth as we you know made it out to be i mean fair
point you've been working on this for how long now quite a while to help us do
this video which by the way thank you so much happy to do it and uh the step by
step gotta have the guides that's pretty much it guys thanks for
watching unless unless you're a small business
owner or a freelancer in which case stick around because freshbooks has got
an offer for you their small business accounting software is custom built for
how you want to work it's a simple way to be more productive more organized and
to get paid faster you can create and
send professional looking invoices in less than 30 seconds you can set up
online payments with just a couple of clicks and get paid up to four days faster you can see when your client has
opened your invoice for the first time to put an end to the guessing games and
they've got the full experience available on the go for both iOS and
Android so for your unrestricted 30-day free trial go to freshbooks.com
tech tips and enter Linus tech tips in the how did you hear about us section
not tech tips like i said just now so thanks for watching guys if this video
sucked well you know where that button is but if it was awesome get subscribed hit that like button or check out the
link to where to buy the stuff it's all free free
at the link in the video description also down there is our merch store which has cool shirts like this one in our
community forum which you should totally join
and also level one texas forum you can join that too
it's all good we love you