Heavy screen flicker issues on my Razer Blade 15 (mid 2019 base modell) running Ubuntu 18.04 with an NVIDIA RTX 2060

After a few months of using my screen suddenly started to flicker all the time when Im using my nvidia graphics card. The issues are completely gone when I switch to the intel card using prime-select.

Driver Version: 450.51
nvidia-smi:
±----------------------------------------------------------------------------+
| NVIDIA-SMI 450.51.06 Driver Version: 450.51.06 CUDA Version: 11.0 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce RTX 2060 On | 00000000:01:00.0 Off | N/A |
| N/A 48C P8 8W / N/A | 696MiB / 5934MiB | 2% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1370 G /usr/lib/xorg/Xorg 28MiB |
| 0 N/A N/A 1648 G /usr/bin/gnome-shell 24MiB |
| 0 N/A N/A 2015 G /usr/lib/xorg/Xorg 176MiB |
| 0 N/A N/A 2176 G /usr/bin/gnome-shell 292MiB |
| 0 N/A N/A 2584 G …oken=15422181615889160126 60MiB |
| 0 N/A N/A 2916 G …AAAAAAAAA= --shared-files 107MiB |
| 0 N/A N/A 7522 G nvidia-settings 0MiB |
±----------------------------------------------------------------------------+

nvcc --version:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85

sudo lshw -C video:
*-display
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nvidia latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
resources: iomemory:600-5ff iomemory:600-5ff irq:180 memory:57000000-57ffffff memory:6030000000-603fffffff memory:6040000000-6041ffffff ioport:4000(size=128) memory:58000000-5807ffff
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: iomemory:600-5ff iomemory:400-3ff irq:179 memory:6043000000-6043ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff

I tried several things from removing all nvidia-related stuff and reinstalling everything but nothing worked out.
If I can provide more useful information please let me know, I am relatively new to Linux