00:00How is it going guys? We are not so far from 1000 subscribers. Please help me reach it.
00:07And also like, share and comment. After installing the graphics driver for my free
00:14BSD computer, I was experiencing random freezes. Mostly when I run or use Firefox.
00:25I will show you the proof. I still do not have remote desktop connection to my FreeBSD machine.
00:41We will do it soon. And you can see that
00:53GPU hang exists. Context reset due to GPU hang.
01:03We installed DRMK mode. It's probably the latest version. I asked AI about this. And it said that
01:13some users reported that the newest version of DRMK mode, which is probably installed,
01:20correct me if I'm wrong since I'm new to FreeBSD. They said that the newest version or the
01:28version that is installed when installing DRMK mode causes the graphics stack to freeze and hang as you saw.
01:40So the desktop environment freezes, but the system keeps running. For instance,
01:49you can see here that I had to restart LightDM, which is responsible on the different desktop
01:57environments. It's a desktop manager, if I'm not mistaken. So the symptoms are the desktop environment
02:07freezes. The CPU hangs, but the computer keeps running. You can switch back and forth between the different consoles
02:15by pressing Ctrl, Alt, F1, F2, F3, F4, I guess until F7. Or through an SSH connection, you can restart
02:26the service of your desktop manager by running the command service. Your desktop manager restart. And the
02:36freezing will be gone and the desktop environment will be re-initiated. However, this doesn't mean
02:44the freezing will stop occurring to you unless you try with the solution that I'm gonna show you now.
02:54And to be honest, I'm not sure if it is definitive solution or it may cause more freezing due to
03:05the bad choice of the version. So the version that is installed is from the Linux kernel 6.12.
03:17When we install on FreeBSD15 DRM-KMOD package, it is from the Linux 6.12 kernel. We will remove it
03:31and try
03:32with another version. So we run PKG delete dash FDRM-KMOD like this. Then Y and enter here.
03:50It's a meta package if I'm not mistaken. That's why the packages that I installed before
03:58were not removed which we can do by running this command auto-remove. Like this. Y and enter. And
04:20the version is confirmed. There was it was quite quick and I'm sure it is
04:376.12 or 6.12 which is for Linux kernel 6.12. And I will show you that in a
04:51second.
04:57This is the command for installing the same package 6.12.
05:056.12. The command of replacing or the package to replace this thing
05:15follows the same pattern DRM dash the version dash KMOD. What version? The version of Linux LTS
05:26because 6.12 is Linux LTS. So what we run here, we shouldn't run this one since we don't want
05:32that
05:32version. We make it like this. DRM dash 66 dash KMOD. Enter. Let's press Y and enter here.
05:53It should install a bunch of packages. This command I run it and make sure that you have
06:01in your slash etc slash rc dot conf a line like this one whether it is for Intel AMD or
06:16Radeon GPUs.
06:17I'm gonna try to reboot the system although I feel skeptical about it since I didn't get
06:22all the needed packages. I guess we need to run
06:34GPU dash firmware
06:40dash Intel dash KMOD like this. Enter.
06:57I guess the command is not like this but like this and press Y and enter.
07:27So you install this package and then you make sure that you have this line over here like this
07:39and then you install this package which will pull the packages that are for this
07:52version of this package and then you can reboot. For this one if your GPU is not Intel. If it
08:02is AMD it needs to be AMD GPU. If it is of an older
08:11model it should be Radeon KMS. You can reboot your system
08:21to get the version of the package DRM KMOD and its
08:29included drivers. You can run PKG info DRM-KMOD
08:42no 66 like this since it is the package that we just installed like this
08:49we can see. We can see that the version is 6.6 and it says
09:01currently corresponding to Linux 6.6 DRM
09:07I'm signing out and see you in another video