Solved When switching the TTY console via CTRL+ALT+F*, the image remains from the desktop

Hi.
FreeBSD 14.2-Release
sddm, xfce.
When switching between TTY consoles via CTRL+ALT+F1 to F8, the image from the graphic table remains, but at the same time I can enter commands into the switched console.
Those. I enter my login and password blindly, I can enter commands, they are executed, but at the same time I have my last desktop picture.

This problem is not reproduced on FreeBSD 13.* and 14.1, only on 14.2-Release.

Who has the same? What is the problem, how to fix the glitch?
Thank you.
 
Please specify your hardware and specifically your GPU and the exact version of drivers (drm or else) you use.
 
Please specify your hardware and specifically your GPU and the exact version of drivers (drm or else) you use.
CPU: Intel i7-4770k
GPU: Integrated Graphics Chipset: Intel(R) HD Graphics 4600 (Haswell GT2)

xf86-video-intel-2.99.917.923_1,1.pkg
libva-2.22.0.pkg
libva-intel-driver-2.4.1_3.pkg
libva-intel-hybrid-driver-1.0.2_3.pkg
libdrm-2.4.123,1.pkg
drm-kmod-20220907_3.pkg
drm-61-kmod-6.1.92.1401000_3.pkg
gpu-firmware-kmod-20241114,1.pkg
gpu-firmware-intel-kmod-alderlake-20230625.1401000.pkg
gpu-firmware-intel-kmod-broxton-20230625.1401000.pkg
gpu-firmware-intel-kmod-cannonlake-20230625.1401000.pkg
gpu-firmware-intel-kmod-dg1-20230625.1401000.pkg
gpu-firmware-intel-kmod-dg2-20230625.1401000.pkg
gpu-firmware-intel-kmod-elkhartlake-20230625.1401000.pkg
gpu-firmware-intel-kmod-geminilake-20230625.1401000.pkg
gpu-firmware-intel-kmod-icelake-20230625.1401000.pkg
gpu-firmware-intel-kmod-kabylake-20230625.1401000.pkg
gpu-firmware-intel-kmod-rocketlake-20230625.1401000.pkg
gpu-firmware-intel-kmod-skylake-20230625.1401000.pkg
gpu-firmware-intel-kmod-tigerlake-20230625.1401000.pkg

In general, the installation is quite simple:
Code:
pkg install xorg sddm xfce xfce4-pulseaudio-plugin xfce4-taskmanager xfce4-clipman-plugin xfce4-xkb-plugin
pkg install drm-kmod libva-intel-driver libva-utils xf86-video-intel

Code:
# cat /etc/rc.conf
syslogd_flags="-ss"
hostname="test1"

#ifconfig_vtnet0="DHCP"
ifconfig_re0="DHCP"

sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"

sddm_enable="YES"
dbus_enable="YES"
hald_enable="YES"

kld_list="acpi acpi_video i915kms"

without xorg.conf
 
Emrion, thx. Installing drm-61-kmod from https://github.com/Emrion/FreeBSD-kmod solved my problem.
But information from "vainfo" stopped being displayed
Code:
# vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.22.0
libva error: vaGetDriverNames() failed with unknown libva error
vaInitialize failed with error code -1 (unknown libva error),exit


and firefox no longer sees hardware support for decoding from the GPU and does not see the video card.
Instead of "Intel -- Mesa Intel(R) HD Graphics 4600 (HSW GT2)" is shown
Code:
WebGL 1 Driver Renderer Mesa -- llvmpipe (LLVM 15.0.7, 256 bits)
WebGL 1 Driver Version 4.5 (Compatibility Profile) Mesa 24.1.7
 
How do you get the "14.2-drm-61-kmod-6.1.92_3.pkg" file?
Are you just building this port from /usr/ports/graphics/drm-61-kmod?
Precisely. It's an habit I took along the minor upgrades to compile these kind of modules in a just upgraded FreeBSD system (the testing one) and install the generated pkg files on others, as needed, just after their upgrades.

Recently, seeing the amount of posts concerning some kmod dysfonctions after each minor upgrade, I created this github repos to share the ones I compiled.

Note that I hope to delete my FreeBSD-kmod repo soon because of the emergence of an integrated FreeBSD base solution. There is a discussion about this solution here: https://forums.freebsd.org/threads/...ch-after-upgrade-from-bapt.96058/#post-682842

That said, you can always compile it yourself, on your machine. Many people prefer to do so.
Update your ports with git pull.

Then, cd in the right drm-xxx-kmod port:
make clean
make install-missing-packages
make reinstall

make install-missing-packages installs all the dependencies needed with pkg instead of using the ports system, it really saves time.

There is no need to rebuild gpu-firmware-kmod as they are just binary firmwares.
 
Back
Top