Solved Screen flickering with NVIDIA

Hi mates!
I'm using NVIDIA RTX 3060 Ti, connected to my 165 Hz main monitor via DisplayPort 1.4. I'm using Xorg as my window manager, KDE5 as the desktop environment.
If I open browser or another application, screen goes blank a few seconds maybe less.
My xorg.conf
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 470.86

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

Section "Files"
EndSection

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

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

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    BusID          "PCI:3:0:0"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
My rc.conf
Code:
clear_tmp_enable="YES"
sendmail_enable="NONE"
hostname="beast"
ifconfig_re0="DHCP"
sshd_enable="YES"
ntpdate_enable="YES"
ntpd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
kld_list="nvidia-modeset"
dbus_enable="YES"
linux_enable="YES"
And Xorg.0.log
Code:
[  4320.534] (--) NVIDIA(GPU-0): AOC Q27G2G3R3B (DFP-0): connected
[  4320.534] (--) NVIDIA(GPU-0): AOC Q27G2G3R3B (DFP-0): Internal DisplayPort
[  4320.534] (--) NVIDIA(GPU-0): AOC Q27G2G3R3B (DFP-0): 2670.0 MHz maximum pixel clock
[  4320.534] (--) NVIDIA(GPU-0):
[  4320.539] (--) NVIDIA(GPU-0): DFP-1: disconnected
[  4320.539] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[  4320.539] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[  4320.539] (--) NVIDIA(GPU-0):
[  4320.540] (--) NVIDIA(GPU-0): DFP-2: disconnected
[  4320.540] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[  4320.540] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[  4320.540] (--) NVIDIA(GPU-0):
[  4320.540] (--) NVIDIA(GPU-0): DFP-3: disconnected
[  4320.540] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[  4320.540] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[  4320.540] (--) NVIDIA(GPU-0):
[  4320.541] (--) NVIDIA(GPU-0): DFP-4: disconnected
[  4320.541] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[  4320.541] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[  4320.541] (--) NVIDIA(GPU-0):
[  4320.542] (--) NVIDIA(GPU-0): DFP-5: disconnected
[  4320.542] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[  4320.542] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[  4320.542] (--) NVIDIA(GPU-0):
[  4320.542] (--) NVIDIA(GPU-0): DFP-6: disconnected
[  4320.542] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort
[  4320.542] (--) NVIDIA(GPU-0): DFP-6: 2670.0 MHz maximum pixel clock
[  4320.542] (--) NVIDIA(GPU-0):
[  4320.543] (--) NVIDIA(GPU-0): DFP-7: disconnected
[  4320.543] (--) NVIDIA(GPU-0): DFP-7: Internal TMDS
[  4320.543] (--) NVIDIA(GPU-0): DFP-7: 165.0 MHz maximum pixel clock
[  4320.543] (--) NVIDIA(GPU-0):
 
Which FreeBSD version are you running ( uname -a), and which x11/nvidia-driver version is installed?
Code:
$ uname -a
FreeBSD beast 13.2-RC1 FreeBSD 13.2-RC1 releng/13.2-n254563-13264ea9a370 GENERIC amd64
$ pkg info | grep nvidia
nvidia-driver-515.86.01_1      NVidia graphics card binary drivers for hardware
Flickering or blank screen? All apps? KDE version?
Flickering. Yes, if I open any application.
Having an xorg.conf usually is a bad idea and deprecated.
Ok, try without it
 
Found solution. Need to disable Flipping in nvidia-settings tool
1678312463284.png
 
Back
Top