Enabling iGPU on select machines

Some might want to utilize the onboard GPU on certain Intel CPUs, this is beneficial if you are streaming via PLEX, Jellyfin or EMBY (Please note that PLEX requires Plex Pass and EMBY requires a license as well).

At the time of writing this guide iGPU is only available on Hetzner machines, and we can only guarantee that it is working on machines with the 1275v5 CPU - If you are in doubt, drop in a ticket.

!THIS GUIDE IS ONLY VALID FOR PEOPLE ON THE MEDIATEMPLATE OR THOSE THAT ARE ON DEBIAN 10!

First we elevate to root from your user:

sudo su -

Once we are there, we have to edit a file:

nano /etc/modprobe.d/blacklist-hetzner.conf

Once we have this file open, you will see a bunch of lines, the ones we need to focus on are the lines that says "blacklist i915" and "blacklist i915_bdw, you have to comment those out with a # - So the file will look like this once you are done:

<snip>
### i915 driver blacklisted due to various bugs
### especially in combination with nomodeset
#blacklist i915
#blacklist i915_bdw
<snip>

You then go ahead and save it with ctrl+x - Hit enter to save as the same filename (This is important).

Once you have done this - We need to edit the grub details, there's a small line that we have to remove:

nano /etc/default/grub

In this file you will see the configuration that grub (Your bootloader) reads in on every boot, you have to remove the "nomodeset" command from the commandline.

Line as it is when you open the file: 
GRUB_CMDLINE_LINUX_DEFAULT="nomodeset consoleblank=0"

Edit the line so its says:
GRUB_CMDLINE_LINUX_DEFAULT="consoleblank=0"

Once done, save it again with ctrl+x - Hit enter to save as the same filename (This is important).

Last step is to update grub so that it knows what you are asking for so run:

update-grub

And you are essentially done - The machine needs a reboot to apply the change which you can do by simply typing: reboot

If you wish to verify that the iGPU is enabled, you can run the below command to see the output, the important ones are card0 and renderD128

Run: ls -la /dev/dri

It will output similar details as below which confirms it is enabled

total 0
drwxr-xr-x  3 root root        100 Feb  3 13:47 .
drwxr-xr-x 19 root root       3640 Feb  3 13:47 ..
drwxr-xr-x  2 root root         80 Feb  3 13:47 by-path
crw-rw----  1 root video  226,   0 Feb  3 13:47 card0
crw-rw----  1 root render 226, 128 Feb  3 13:47 renderD128

As always, if you have issues then please reach out!

Помог ли вам данный ответ? 5 Пользователи нашли это полезным (5 голосов)