

My PC is getting hot now and the fan is pretty loud.

UPDATE: Finally plugged in both Display Port and HDMI to docking station. I could try the HDMI cable in the docking station, too.but I'm kind of scared to after spending so much time trying to get my dual-monitor setup working. I have one monitor connected to my USB-C port via HDMI, and one monitor connected to the docking station via Display Port. Package intel-media-va-driver-non-free focal (20.04LTS) (video): VAAPI driver for the Intel GEN8+ Graphics family multiverse impish (21.10) (video): VAAPI. Install the package with the following command: for Ubuntu 16.04 (32 bits) sudo gdebi intel-graphics-update-tool2.

My setup: Ubuntu 16.04.2 on a Dell XPS 9350 using a StarTech USB3DOCKHDPC. I have an intel i5 w/ Intel HD graphics (1000) I installed: Install the package with the following command: for Ubuntu 16.04 (64 bits) sudo gdebi intel-graphics-update-tool2. But no lag, scrolling is super smooth, no problems other than the occasional flashes. HOWEVER, sometimes Chrome does some strange flashing. I had to go to System Settings > Displays and fix some issues cause for some reason it had my built-in display inside the HDMI monitor and the Display Port monitor was turned off. Restarted my computer and now there is no more lag on either of my two monitors. I navigated to /etc/X11/ and ran the command "sudo gedit nf" to create a new file and then copied and pasted jerrinot's file ( this file ) and saved it. Jerrinot's method worked for me! For anyone confused, my nf file in /usr/share/doc/xserver-xorg-video-intel-hwe-16.04/nf looks exactly the same as giuliocoluccia's.
