Issues with grapics drivers on Thinkpad P15

I can’t seem to configure my graphics drivers. Every configuration I try has issues. I already read a lot in the Arch Wiki and beginning to get a bit frustrated.

When I use Intel graphics only, the system is way too slow to work on it. Well, that was in the beginning when I had the Intel/PRIME drivers which were installed during the installation.

I then tried the Reverse PRIME mode (seems to be the same as NVidia only) which brings good results at first glance, but when I reboot I get an issue with the cursor. The are around it is smaller or blinking, which is quite annoying. I also have a multimonitor setup and the laptop screen is flickering at times. This is the xorg.conf from the Arch Wiki I am using. I added Full Composition Pipeline to get rid of the tearing.

Section "ServerLayout"
        Identifier "layout"
        Screen 0 "intel"
        Inactive "nvidia"
        Option "AllowNVIDIAGPUScreens"
EndSection

Section "Device"
        Identifier "nvidia"
        Driver "nvidia"
EndSection

Section "Screen"
        Identifier "nvidia"
        Option         "metamodes" "DP-0.1: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-0.2: nvidia-auto-select +2560+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
        Device "nvidia"
EndSection

Section "Device"
        Identifier "intel"
        Driver "modesetting"
        BusID "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "intel"
        Device "intel"
EndSection

I then tried the NVidia settings xorg.conf file, which works well for the two external monitors, but then the laptop screen doesn’t work.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 470.63.01

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL U2518D"
    HorizSync       30.0 - 90.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro T1000"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0.2"
    Option         "metamodes" "DP-0.1: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-0.2: nvidia-auto-select +2559+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

No I tried getting back to the Intel driver by deleting all xorg.conf file and when I boot the machine with external monitors, I get a black screen. When I boot it without the external monitors, it works.

I have been trying for days now. NVidia on Linux is horrible :confused: