Graphical glitches with NVIDIA GeForce GTX 1650

NOTE: This may be related to this post, but I'm afraid I don't know enough about the subject to be sure.

I am wondering if someone could help me. I am using a NVIDIA GeForce GTX 1650 on FreeBSD 15-RELEASE, running Xorg (not Wayland yet). I usually keep my graphics driver packages locked as, in the past, I have had trouble and was building them myself. However, I foolishly decided today to update the packages.

Now I have graphical issues with things flickering when I have certain apps running. In particular, Xfce Terminal and WezTerm seem to trigger it.

FlickerShort.gif


As you can see, when I move the mouse pointer (or sometimes when I'm just typing in one of the terminals), certain windows flicker along with the launch dock at the bottom, and elements at the top of the screen.

These are the NVIDIA packages I've got installed:

Code:
nvidia-driver-580.126.09                  NVidia graphics card binary drivers for hardware OpenGL rendering
nvidia-drm-latest-kmod-580.126.09.1500068 NVIDIA DRM Kernel Module
nvidia-kmod-580.126.09.1500068            kmod part of NVidia graphics card binary drivers for hardware OpenGL rendering

And here are the relevant parts of the dmesg -a output:

Code:
hdac0: <NVIDIA (0x10fa) HDA Controller> mem 0xfa080000-0xfa083fff irq 17 at device 0.1 on pci1
hdacc0: <NVIDIA (0x0094) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0094) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 6 on hdaa0
pcm3: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 7 on hdaa0
Loading kernel modules: nvidia-drm nvidia-modeset fusefs
nvidia0: <NVIDIA GeForce GTX 1650> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  580.126.09  Wed Jan  7 22:23:03 UTC 2026
[drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[drm] Initialized nvidia-drm 0.0.0 20160202 for nvidia0 on minor 0
hdac0: <NVIDIA (0x10fa) HDA Controller> mem 0xfa080000-0xfa083fff irq 17 at device 0.1 on pci1
hdacc0: <NVIDIA (0x0094) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0094) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 6 on hdaa0
pcm3: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 7 on hdaa0
Loading kernel modules: nvidia-drm nvidia-modeset fusefs
kldload: can't load nvidia-drm: No such file or directory
/etc/rc: WARNING: Unable to load kernel module nvidia-drm
nvidia0: <NVIDIA GeForce GTX 1650> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  470.256.02  Thu May  2 14:22:57 UTC 2024
hdac0: <NVIDIA (0x10fa) HDA Controller> mem 0xfa080000-0xfa083fff irq 17 at device 0.1 on pci1
hdacc0: <NVIDIA (0x0094) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0094) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 6 on hdaa0
pcm3: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 7 on hdaa0
Loading kernel modules: nvidia-drm nvidia-modeset fusefs
nvidia0: <NVIDIA GeForce GTX 1650> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  580.126.09  Wed Jan  7 22:23:03 UTC 2026
[drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[drm] Initialized nvidia-drm 0.0.0 20160202 for nvidia0 on minor 0
hdac0: <NVIDIA (0x10fa) HDA Controller> mem 0xfa080000-0xfa083fff irq 17 at device 0.1 on pci1
hdacc0: <NVIDIA (0x0094) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0094) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 6 on hdaa0
pcm3: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 7 on hdaa0
Loading kernel modules: nvidia-drm nvidia-modeset fusefs
nvidia0: <NVIDIA GeForce GTX 1650> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  580.126.09  Wed Jan  7 22:23:03 UTC 2026
[drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[drm] Initialized nvidia-drm 0.0.0 20160202 for nvidia0 on minor 0
hdac0: <NVIDIA (0x10fa) HDA Controller> mem 0xfa080000-0xfa083fff irq 17 at device 0.1 on pci1
hdacc0: <NVIDIA (0x0094) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0094) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 6 on hdaa0
pcm3: <NVIDIA (0x0094) (HDMI/DP 8ch)> at nid 7 on hdaa0
Loading kernel modules: nvidia-modeset fusefs
nvidia0: <NVIDIA GeForce GTX 1650> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  580.126.09  Wed Jan  7 22:23:03 UTC 2026

Please could somebody tell me if this is a known issue (maybe the one I linked to) and how to fix it? If I uninstall the NVIDIA drivers, and install the older nvidia-driver-470 there is no issue, but I would really like to take advantage of the features in the new version.
 
Don't think that is an nvidia thing at all.

It looks like some problem with raising and lowering windows in your DE.
If that’s the case then why has it only happened since I updated the NVIDIA drivers? And why do the issues disappear if I install a previous version of those drivers?
 
I know the problem goes away loading an older version of the drivers, I'm just seeing if we can get more data.

I'm assuming you've gone through WM/DE settings and verified things related to window raising?
Are you doing "focus follows mouse" or "click to focus"?
If focus follows, set to click to focus and see if the problem persists.

The card/GPU: is it officially supported by the 580 version and the 470? I don't have a list handy but there could be a compatibility with the newer driver.
T-Aoki is kind of the "final version" on things nividia/drm stuff.
 
I'm assuming you've gone through WM/DE settings and verified things related to window raising?
Are you doing "focus follows mouse" or "click to focus"?
I'm using Xfce, and the settings are all out-of-the-box. It's set to click to focus, and no changes are happening between the NVIDIA driver switching when I change versions from 580 to 470.

Here is the output of xfconf-query -c xfwm4 -lv in case it helps:

Code:
/general/activate_action                 bring
/general/borderless_maximize             true
/general/box_move                        false
/general/box_resize                      false
/general/button_layout                   O|SHMC
/general/button_offset                   0
/general/button_spacing                  0
/general/click_to_focus                  true
/general/cycle_apps_only                 false
/general/cycle_draw_frame                true
/general/cycle_hidden                    true
/general/cycle_minimized                 false
/general/cycle_minimum                   true
/general/cycle_preview                   true
/general/cycle_raise                     false
/general/cycle_tabwin_mode               0
/general/cycle_workspaces                false
/general/double_click_action             maximize
/general/double_click_distance           5
/general/double_click_time               250
/general/easy_click                      Alt
/general/focus_delay                     250
/general/focus_hint                      true
/general/focus_new                       true
/general/frame_border_top                0
/general/frame_opacity                   100
/general/full_width_title                true
/general/horiz_scroll_opacity            false
/general/inactive_opacity                100
/general/maximized_offset                0
/general/mousewheel_rollup               true
/general/move_opacity                    100
/general/placement_mode                  center
/general/placement_ratio                 20
/general/popup_opacity                   100
/general/prevent_focus_stealing          false
/general/raise_delay                     250
/general/raise_on_click                  true
/general/raise_on_focus                  false
/general/raise_with_any_button           true
/general/repeat_urgent_blink             false
/general/resize_opacity                  100
/general/scroll_workspaces               true
/general/shadow_delta_height             0
/general/shadow_delta_width              0
/general/shadow_delta_x                  0
/general/shadow_delta_y                  -3
/general/shadow_opacity                  50
/general/show_app_icon                   false
/general/show_dock_shadow                true
/general/show_frame_shadow               true
/general/show_popup_shadow               false
/general/snap_resist                     false
/general/snap_to_border                  true
/general/snap_to_windows                 false
/general/snap_width                      10
/general/theme                           Default
/general/tile_on_move                    true
/general/title_alignment                 center
/general/title_font                      Sans Bold 9
/general/title_horizontal_offset         0
/general/title_shadow_active             false
/general/title_shadow_inactive           false
/general/title_vertical_offset_active    0
/general/title_vertical_offset_inactive  0
/general/titleless_maximize              false
/general/toggle_workspaces               false
/general/unredirect_overlays             true
/general/urgent_blink                    false
/general/use_compositing                 true
/general/vblank_mode                     auto
/general/workspace_count                 1
/general/workspace_names                 [Workspace 1,Workspace 2,Workspace 3,Workspace 4]
/general/wrap_cycle                      true
/general/wrap_layout                     true
/general/wrap_resistance                 10
/general/wrap_windows                    true
/general/wrap_workspaces                 false
/general/zoom_desktop                    true
/general/zoom_pointer                    true

The card/GPU: is it officially supported by the 580 version and the 470? I don't have a list handy but there could be a compatibility with the newer driver.
Yes, it's officially supported by both versions.
 
Click to focus: that rules out any focus follows mouse (I prefer focus follows mouse so I usually have to tweak things so windows don't autoraise on me).
I'm at the point of "out of ideas" other than "there is a nvidia-drm-515" plus a few other versions. I'm not sure what the difference is between the nvidia-drm-61-kmod and nvidia-drm-66-kmod but may be worth a test.
 
Did you try with another compositor like x11-wm/picom ? I also have some strange things with the Xfce one and my GT 610.
I am using x11-wm/picom with x11/mate and x11-wm/fvwm3 to suppress tearing with Xorg and it does a good job.
If the issue is happening when you're using picom, nvidia is working on it but even the latest Production branch of driver 580.126.18 states it fixed.
Known workaround for it is to disable picom.
I've never used picom, but using compiz in conjunction with Mate DE on RTX A400 (Ampere generation of architecture) without the issue. And both picom and compiz are forked from compton.

Another possibility would be to try without graphics/nvidia-drm-*-kmod (old way) if 470, which doesn't support graphics/nvidia-drm-*-kmod, works fine.
Manual configuration for Xorg is needed just as 470 in this case.

Note that upgrades of ports for 580.126.18 is under review (accepted) and waiting for landing anyway, but wouldn't be merged into 2026Q1.
 
Did you try with another compositor like x11-wm/picom ? I also have some strange things with the Xfce one and my GT 610.
I am using x11-wm/picom with x11/mate and x11-wm/fvwm3 to suppress tearing with Xorg and it does a good job.
Thanks, I may try this, as maybe it will be a workaround until the defect is fixed. I'm not sure if the issue is unique to my graphics card though and, if so, if a bug has been logged for it.

I may just wait until 580.126.18 is in the LATEST ports tree, and use the 470 driver in the meantime as it makes it impossible to work in Terminal, which I spend a lot of time doing :)
 
Back
Top