WEBVTT

00:00:00.240 --> 00:00:07.520
you're just putting the finishing touches on your brand new gaming rig

00:00:04.480 --> 00:00:09.280
cables organized graphics card in

00:00:07.520 --> 00:00:13.519
side panel on and you're about to get going fast

00:00:12.480 --> 00:00:18.320
but then wait wha what is this

00:00:15.839 --> 00:00:22.080
i'm sorry you need what no we'll just turn all this stuff off

00:00:20.080 --> 00:00:27.039
here we go wait a minute

00:00:23.840 --> 00:00:28.240
some of this stuff isn't even optional

00:00:27.039 --> 00:00:35.280
and making matters worse this is just the

00:00:31.439 --> 00:00:37.680
stuff that microsoft is telling us about

00:00:35.280 --> 00:00:44.879
i mean all i wanted to do was get some frags

00:00:40.879 --> 00:00:47.120
not join the freaking botnet

00:00:44.879 --> 00:00:47.120
hey

00:00:48.160 --> 00:00:53.760
i think i know something that might help with that oh my god wendell from level

00:00:51.840 --> 00:00:57.760
one text how's it going what are you doing in my closet

00:00:56.160 --> 00:01:04.239
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

00:01:01.440 --> 00:01:09.439
can't help you fix your gaming problem okay well hey let's give it a shot

00:01:07.360 --> 00:01:14.640
and while we're at it you know what else is worth a shot origin pc origin pc

00:01:12.720 --> 00:01:19.200
offers beautiful custom desktops and laptops such as their evo 15s that

00:01:16.720 --> 00:01:25.520
weighs only 4.3 pounds and is under an inch thick featuring smooth 144hz 1080p

00:01:22.720 --> 00:01:29.759
or 4k displays and an NVIDIA GeForce gtx 1070 max q be sure to check them out at

00:01:27.759 --> 00:01:31.920
the link below i don't know if i messed it up because i wasn't sure what i was

00:01:30.799 --> 00:01:42.720
supposed to do so i went back in the closet no no that's fine

00:01:42.720 --> 00:01:48.159
the last time i checked the graphics

00:01:45.840 --> 00:01:53.759
driver in particular situation on Linux was abominable and when it comes to wine

00:01:51.680 --> 00:01:58.880
i mean any newer titles pretty much anything requiring directx 10 or directx

00:01:56.320 --> 00:02:04.159
11 was a total mess like has any of that changed actually uh

00:02:01.680 --> 00:02:07.680
the everything you said was wrong what you're referring to is Linux is

00:02:05.439 --> 00:02:12.080
actually gnu slash Linux or as i've recently taken to calling it gnu plus

00:02:09.679 --> 00:02:15.200
Linux and the driver situation has improved dramatically

00:02:18.000 --> 00:02:23.680
you know both AMD and NVIDIA have put a lot of work into their drivers AMD has

00:02:22.000 --> 00:02:27.760
got a really amazing open source driver in the very latest Linux kernels and on

00:02:25.680 --> 00:02:31.440
the wine side of things we've got dxvk which is a real-time directx translation

00:02:29.680 --> 00:02:36.160
layer to vulkan so you can play games like the witcher 3.

00:02:33.360 --> 00:02:40.080
in terms of performance vega 64 and a 1080 ti were competitive with one

00:02:38.000 --> 00:02:44.800
another in some titles especially Linux titles Linux optimized titles natively

00:02:42.720 --> 00:02:47.840
at the beginning of the year but NVIDIA driver updates and things like that have

00:02:46.239 --> 00:02:52.959
led to other optimizations so it's leapfrog again and freesync is not quite

00:02:50.560 --> 00:02:56.640
ready yet in the newer Linux kernels from AMD so that's still a little bit of

00:02:54.800 --> 00:03:01.920
a problem with the very very bleeding edge kernels but the situation's really

00:02:58.879 --> 00:03:04.400
changed and improved okay so

00:03:01.920 --> 00:03:07.280
i have at it i'm i'm gonna let you drive because you're running an AMD graphics

00:03:05.760 --> 00:03:10.720
card we're gonna update the Linux kernel to something a little newer than what

00:03:09.040 --> 00:03:15.760
ubuntu supports by default now if you're running an NVIDIA graphics card you wouldn't need to do this but you would

00:03:13.440 --> 00:03:20.560
definitely need to get the binary driver from NVIDIA in order to you know take

00:03:18.720 --> 00:03:24.480
advantage of the latest and greatest uh running your 1080 or 1080 ti or whatever

00:03:22.800 --> 00:03:27.920
recent graphics are so we get the ubuntu kernel upgrade utility

00:03:26.239 --> 00:03:31.519
basically all we have to do is paste some stuff into the command line so with

00:03:30.080 --> 00:03:36.959
the ubuntu kernel update utility installed yeah we can just do uku

00:03:35.680 --> 00:03:41.440
and at the time of this video i think 4.7.5

00:03:39.239 --> 00:03:44.799
4.17.5 is going to be the most recent version running 17.4 because we were

00:03:43.680 --> 00:03:50.159
messing around with the system a little bit before but you just hit install

00:03:48.640 --> 00:03:53.680
and you'll have to put in the password and this is going to go and get a newer

00:03:51.760 --> 00:03:57.200
version of the kernel booting previous kernels blah blah blah

00:03:55.599 --> 00:04:02.560
blah blah okay now at this point all we're going to do is reboot and it'll use the newer kernel by default

00:04:00.720 --> 00:04:05.920
so by default we've got ubuntu but if we do advanced options we can see that

00:04:04.319 --> 00:04:10.080
we've got all of our kernels so we started out on 4.15 and then we got 4.17

00:04:09.200 --> 00:04:14.959
yep and now that we're on the newest kernel we need to update the other

00:04:13.760 --> 00:04:21.040
the other sort of side of things the kernel gives us the driver but we also need mesa updates and that sort of thing

00:04:18.880 --> 00:04:25.120
so there's another ppa for that which is an extension to ubuntu so we're gonna do

00:04:23.040 --> 00:04:29.120
the same thing and add a repository which will give us mesa mesa and opengl

00:04:27.919 --> 00:04:33.680
or sort of the other side of the graphics driver so like you need the bottom half for the hardware and the top

00:04:32.000 --> 00:04:37.919
half for the software side of it for games with the ppa installed you can see that

00:04:36.560 --> 00:04:40.800
there's a ton of stuff that's going to get updated so this is all stuff that

00:04:39.680 --> 00:04:45.040
doesn't really matter for you Intel intelxserver.org

00:04:43.440 --> 00:04:48.800
now you wouldn't need to do this if you were just going to run steam games

00:04:46.880 --> 00:04:52.880
native steam games sure this is just for wine and dxvk and getting the bleeding

00:04:51.600 --> 00:04:56.960
edge out of that so what's this we've got gallium 9 which

00:04:55.680 --> 00:05:00.560
i'm not going to install because we we don't really need it per se but i'll

00:04:59.040 --> 00:05:06.000
mention it because it will let you run directx 9 titles it's older it's not as

00:05:03.040 --> 00:05:09.680
supported there are other options but this is the options that you have for

00:05:08.000 --> 00:05:14.240
plugging stuff into wine so that you can get more functionality out of wine so we

00:05:11.759 --> 00:05:19.600
should probably explain what wine is for the uninitiated wine is not an emulator

00:05:17.680 --> 00:05:22.880
it's like an emulator but it's not an emulator and see wine stands for wine is

00:05:21.440 --> 00:05:26.960
not an emulator see that's the joke and it's terrible

00:05:24.800 --> 00:05:32.240
wine is a re-implementation of certain Windows apis to make

00:05:29.120 --> 00:05:34.320
applications available on Linux and so

00:05:32.240 --> 00:05:38.000
you can run a Windows application under Linux and the Windows application thinks

00:05:36.000 --> 00:05:41.360
Windows is there but not all of Windows is there you know sometimes even Windows

00:05:39.840 --> 00:05:45.840
owned utilities don't know that it's not Windows and so you can use that to run

00:05:43.440 --> 00:05:50.000
some Windows games but not a lot and we've got lutress which will give us

00:05:47.680 --> 00:05:55.199
runners a script for scripts for running games like the witcher 3. okay so

00:05:52.880 --> 00:05:59.759
hopefully y'all have been keeping up if not don't worry we're going to have

00:05:57.280 --> 00:06:03.600
links to all of these sources and also to wendell's forum

00:06:01.600 --> 00:06:08.000
down in the video description so the worst is over it actually gets a lot

00:06:05.520 --> 00:06:12.080
easier from here so easy that i could do it

00:06:09.840 --> 00:06:16.000
definitely really really okay fine

00:06:13.680 --> 00:06:22.479
okay let's just do this so we've got lutress all ready can you kind

00:06:18.720 --> 00:06:24.560
of explain what lutetris does so

00:06:22.479 --> 00:06:28.080
it's a lot to ask a user to manage all the different versions of wine and the

00:06:25.680 --> 00:06:31.840
command line bs and i would agree that's not really the best user experience

00:06:29.680 --> 00:06:34.880
right people have written scripts to make it easier because when you think

00:06:33.280 --> 00:06:39.120
about the witcher 3 you can't just run the witcher 3 because

00:06:37.039 --> 00:06:42.080
you probably also need steam and so but it's not the Linux version of steam you

00:06:40.639 --> 00:06:46.800
need the Windows version of steam so that has to run underwine or some kind

00:06:44.160 --> 00:06:50.560
of emulation layer as well so lutrus gives you a script you just hit an

00:06:48.080 --> 00:06:53.360
install button on the webpage and some person has gone through the hell of

00:06:52.000 --> 00:06:59.440
developing that before you hit install

00:06:56.880 --> 00:07:02.960
was that a lewd scene oh never mind i thought that was a

00:07:01.120 --> 00:07:05.120
raised rump okay you know what let's just

00:07:05.360 --> 00:07:11.919
okay so continue install

00:07:10.000 --> 00:07:15.199
this is so easy i can do it here we go so

00:07:13.360 --> 00:07:19.039
our steam account is logging in and there it is and this is the Windows

00:07:16.639 --> 00:07:22.240
version of steam Windows steam the only thing that doesn't work under wine is

00:07:20.479 --> 00:07:25.199
the copy protection now witcher 3 works fine with copy protection right but

00:07:23.919 --> 00:07:29.520
that's not true of every title like far cry 5 interesting

00:07:27.520 --> 00:07:34.960
there it is okay witcher 3 wild hunt so i just click play let's hope

00:07:31.440 --> 00:07:34.960
can i get a can i get a finger cross

00:07:37.039 --> 00:07:42.400
hey there are a couple of bugs here and

00:07:40.240 --> 00:07:44.580
there in the game but it's it's pretty much okay

00:07:43.520 --> 00:07:48.960
it's rendering you know if i would have told you a year

00:07:47.360 --> 00:07:53.680
ago that we could have real-time directx translation to vulcan you'd probably call me a crazy person hey why can't i

00:07:52.319 --> 00:07:59.599
just go into the menu in the middle of a cutscene new modern game developers like holy

00:07:57.440 --> 00:08:02.800
what's happened with games is that they've made far more

00:08:01.039 --> 00:08:07.759
assumptions about the amount of [ __ ] time that i have like if my baby starts

00:08:04.960 --> 00:08:11.280
crying i don't want to miss the cutscene i need to be able to pause

00:08:09.440 --> 00:08:18.080
maybe gaming hasn't changed maybe it's me maybe i have a life so

00:08:13.759 --> 00:08:20.240
this is really cool so it's a dp vk or

00:08:18.080 --> 00:08:24.639
dxv dxvk just think directx to vulcan total game

00:08:22.400 --> 00:08:28.400
changer Linux gaming is better than ever but like come on

00:08:26.479 --> 00:08:32.640
how many times have we heard no no really really Linux gaming is better

00:08:30.319 --> 00:08:35.680
than ever that's a fair point i mean if you need something right now and you

00:08:34.640 --> 00:08:40.399
just don't want to think about it and you don't want to mess with the libraries you can run a full virtual

00:08:38.640 --> 00:08:46.000
machine you can run a full Windows virtual machine and do all your gaming

00:08:42.719 --> 00:08:47.040
that way can i ulta 4 out of a game

00:08:46.000 --> 00:08:50.800
cool it actually closes a lot faster yeah

00:08:49.120 --> 00:08:54.800
that's one thing that i've always loved about anything that's not Windows so why

00:08:53.200 --> 00:08:59.440
don't you tell us about using a vm if you want to use a vm

00:08:57.680 --> 00:09:02.560
you will need to pass through a second graphics card okay so do we have one we

00:09:01.519 --> 00:09:04.880
do somewhere

00:09:05.120 --> 00:09:10.480
so we'll need to shut this down because that's hot plug graphics cards it's not

00:09:08.399 --> 00:09:15.040
a thing yet are you sure are you sure i'm not did you watch my

00:09:12.480 --> 00:09:17.839
video no i didn't total madness there it is

00:09:15.920 --> 00:09:22.000
there it is it's a thing if you've got it's a thing

00:09:19.920 --> 00:09:25.120
no it's a thing it's finally becoming a thing because

00:09:23.279 --> 00:09:29.040
laptop users need it not the enterprise which is funny oh we should probably get

00:09:26.720 --> 00:09:32.800
the other monitor AMD and NVIDIA in the same system this is heresy

00:09:31.519 --> 00:09:38.000
sorry you want the other one i'll grab it so then this is not that dissimilar to

00:09:36.000 --> 00:09:43.519
what i've set up before with unraid so this is just red hat kvm yep running in

00:09:41.360 --> 00:09:47.440
ubuntu yep and then we've got an extra SSD for Windows an extra graphics card

00:09:45.680 --> 00:09:51.760
to pass through yup and an extra keyboard and mouse because

00:09:49.519 --> 00:09:54.000
why not because why not okay so

00:09:52.880 --> 00:09:58.160
what do we do we just boot up the virtual machine damn

00:09:56.080 --> 00:10:02.240
the configuration we just set it up we do the i o mmu groups for pass through

00:10:00.560 --> 00:10:06.000
and we tell it the graphics card we go into usb devices and find a keyboard and

00:10:04.080 --> 00:10:12.080
mouse and map them and then we just let the machine boot up so this is it this

00:10:07.920 --> 00:10:14.640
is just the full fat Windows experience

00:10:12.080 --> 00:10:18.399
now overhead wise from what i've seen in the past we're looking

00:10:16.240 --> 00:10:23.760
at anywhere from as little as two or three percent to as much as you know 10

00:10:21.120 --> 00:10:26.880
or more in terms of a performance hit but

00:10:25.200 --> 00:10:30.720
any is there anything else i should be aware of about running it this way it

00:10:28.640 --> 00:10:35.120
shows up as an AMD epic processor just because

00:10:33.600 --> 00:10:39.360
there is a performance in some scenarios but mostly it's okay some things are faster like super position

00:10:38.240 --> 00:10:44.720
interesting now you got the NVIDIA drivers installed

00:10:42.160 --> 00:10:49.120
uh in spite of the infamous code 43 error code 43 is a thing that shows up

00:10:47.440 --> 00:10:52.800
when NVIDIA and video drivers detect they're running as a virtual machine so

00:10:50.480 --> 00:10:56.160
you have to set a configuration option in the in the virtual machine on the

00:10:54.560 --> 00:11:00.560
Linux side of things to hide the fact that the machine's virtualized and then code 43 goes away

00:10:59.200 --> 00:11:05.200
right which is kind of annoying and silly right because they just want you to buy

00:11:03.120 --> 00:11:09.600
a quadro or better right now it's also kind of annoying and silly

00:11:07.680 --> 00:11:13.680
that this monitor that you could use for things other than gaming not on Windows

00:11:11.519 --> 00:11:17.920
on Linux but you know it's not super convenient

00:11:14.720 --> 00:11:20.079
so there's also looking glass one of our

00:11:17.920 --> 00:11:22.959
forum members jeff at host vision he's put a lot of work into it i've put a lot

00:11:21.360 --> 00:11:25.519
of work into it i think you may need to go run it

00:11:24.480 --> 00:11:29.360
okay okay oh cool look at that how's the

00:11:27.519 --> 00:11:34.000
latency oh not bad yeah this is a direct memory to memory

00:11:31.040 --> 00:11:37.600
copy uh using the directx capture API so the same capture that you get so even

00:11:36.079 --> 00:11:41.240
just then it was actually faster than your native monitor to handle the mode

00:11:39.120 --> 00:11:44.880
switch interesting

00:11:42.880 --> 00:11:49.040
and so this way you could run your Windows

00:11:46.320 --> 00:11:54.480
vm with full hardware acceleration but as fast as we can copy the frames from

00:11:51.440 --> 00:11:56.800
the guest to the host you can run it

00:11:54.480 --> 00:11:59.360
and how do i make it full screen um

00:11:57.680 --> 00:12:04.560
i think you didn't think of that yet no there's a guy there's a command line option for that

00:12:02.079 --> 00:12:04.560
but first

00:12:05.440 --> 00:12:08.480
damn it you guys

00:12:08.480 --> 00:12:13.200
this is a bad guy oh look at that it is

00:12:11.600 --> 00:12:17.360
and honestly like we don't know what we're doing as far as opengl programming

00:12:15.519 --> 00:12:20.079
goes so if there's if there's any opengl programmers that want to contribute to

00:12:18.639 --> 00:12:24.639
the project out there you are more than welcome it's open source it's on github

00:12:22.480 --> 00:12:27.519
what more could you ask for uh full screen

00:12:25.600 --> 00:12:30.480
uh that's a command line yeah i think i saw a hiccup there that

00:12:29.040 --> 00:12:34.800
i'm not sure if i saw over on the other side either yeah there will be some it's

00:12:32.880 --> 00:12:38.880
not perfect but we're getting there it's not bad for alpha software it's not bad

00:12:36.959 --> 00:12:44.079
at all so there you have it i hope this was a fun and enlightening look at just

00:12:41.519 --> 00:12:47.279
how far the humble penguin has come in the last couple of years guys we're

00:12:45.760 --> 00:12:53.600
gonna have links to wendell's channel it's level one text we'll have that down below as well as their amazing looking

00:12:51.360 --> 00:12:56.320
glass software and more information on how to get something like this running

00:12:55.040 --> 00:13:00.320
for yourself but in the meantime just let us know in

00:12:58.320 --> 00:13:04.079
the comments below if you're running something like this what

00:13:02.160 --> 00:13:08.079
kind of challenges you've run into and if there's any other great educational

00:13:06.079 --> 00:13:14.480
resources that you can provide for people who are into gaming on Linux

00:13:11.600 --> 00:13:14.480
disclaimer though

00:13:14.880 --> 00:13:20.880
the experience off-camera was not as

00:13:18.160 --> 00:13:24.320
perfect and smooth as we you know made it out to be i mean fair

00:13:22.880 --> 00:13:28.320
point you've been working on this for how long now quite a while to help us do

00:13:26.399 --> 00:13:32.959
this video which by the way thank you so much happy to do it and uh the step by

00:13:31.120 --> 00:13:35.839
step gotta have the guides that's pretty much it guys thanks for

00:13:34.720 --> 00:13:40.639
watching unless unless you're a small business

00:13:38.480 --> 00:13:44.959
owner or a freelancer in which case stick around because freshbooks has got

00:13:42.800 --> 00:13:48.399
an offer for you their small business accounting software is custom built for

00:13:46.720 --> 00:13:53.839
how you want to work it's a simple way to be more productive more organized and

00:13:50.800 --> 00:13:55.600
to get paid faster you can create and

00:13:53.839 --> 00:13:59.199
send professional looking invoices in less than 30 seconds you can set up

00:13:57.680 --> 00:14:05.120
online payments with just a couple of clicks and get paid up to four days faster you can see when your client has

00:14:03.519 --> 00:14:08.880
opened your invoice for the first time to put an end to the guessing games and

00:14:07.600 --> 00:14:14.480
they've got the full experience available on the go for both iOS and

00:14:12.160 --> 00:14:18.959
Android so for your unrestricted 30-day free trial go to freshbooks.com

00:14:16.560 --> 00:14:23.279
tech tips and enter Linus tech tips in the how did you hear about us section

00:14:20.800 --> 00:14:26.079
not tech tips like i said just now so thanks for watching guys if this video

00:14:24.720 --> 00:14:31.360
sucked well you know where that button is but if it was awesome get subscribed hit that like button or check out the

00:14:28.880 --> 00:14:34.560
link to where to buy the stuff it's all free free

00:14:33.120 --> 00:14:39.279
at the link in the video description also down there is our merch store which has cool shirts like this one in our

00:14:37.199 --> 00:14:41.600
community forum which you should totally join

00:14:42.320 --> 00:14:49.519
and also level one texas forum you can join that too

00:14:45.680 --> 00:14:49.519
it's all good we love you
