Xfce individual windows flickering, lag in terminal, fresh installation.

First I did a fresh installation of FreeBSD 14.4-RELEASE. Had that issue. also, whenever I type in terminal, the typed character isnt displayed until I type some other character, or resize the terminal window.
I made a lot of changes in various files, didnt fix the issue.
Then I asked chatgpt, it told me to disable compositor by using command xfconf-query -c xfwm4 -p /general/use_compositing -s false

Still the issue was not fixed.

Then I googled. followed steps from https://forums.freebsd.org/threads/unable-to-run-xfce.89369/ didnt work

followed steps from my previous post: https://forums.freebsd.org/threads/cant-install-use-xfce.98735/ that did not work either.

Then I made a fresh installation of FreeBSD 14.3-RELEASE in the hopes of resolving the issue. I followed the handbook precisely. https://docs.freebsd.org/en/books/handbook/bsdinstall/ and https://docs.freebsd.org/en/books/handbook/x11/ and https://docs.freebsd.org/en/books/handbook/desktop/ still same issue. (xfce wasnt even starting without /usr/local/etc/X11/xorg.conf.d/nvidia-driver.conf, so I had to create it). I have installed x11/nvidia-driver and nvidia-settings.

I didnt do echo 'proc /proc procfs rw 0 0' >> /etc/fstab because the handbook doesnt say to do it with xfce.

currently my rc.conf has:
Code:
# cat /etc/rc.conf
hostname="cool-hostname"
ifconfig_em0="DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
powerd_enable="YES"
moused_nondefault_enable="NO"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"

kld_list="nvidia-modeset nvidia-drm"
dbus_enable="YES"

and /usr/local/etc/X11/xorg.conf.d/nvidia-driver.conf has:
Code:
Section "Device"
    Identifier "nVIDIA GTX 1650"
    Driver     "nvidia"
EndSection

still the same issue.

How to fix the issue? I am ok with fresh installation.

I have 12th gen i5, 32GB ddr4 RAM, and gtx 1650 without external power version.
 
As terminal in fxce, same problem with sakura or mate-terminal or xterm ?
Give mate-desktop a try.
Disabling composition can sometimes help like you did. But don't try all advices you find. You end up with an "over-configured" configuration.
In that case cd .config ; rm -vfR xf*
 
Are you using x11-wm/picom with Xfce4?
If yes, it's known issue.

If you're on latest branch of ports/pkgs, upgrading NVIDIA things (now at 580.142) would fix at least for flickering issue (reported here).

As you've described you're loading nvidia-drm.ko, what need to be upgraded at minimum are:
And you'll need to install graphics/egl-wayland2.

If you're on quarterly (default for *-RELEASE), you have 2 choices.
  1. Wait until 2026Q2 appears (would be early April).
  2. Switch to latest branch of pkg.
Note that I've never encountered the issue using x11/mate with compiz-reloaded maintained by Ken DEGUCHI as an overlay.
 
Back
Top