Hi, First of all I am new to freebsd, so I apologize in advance if I make a mistake about something.
I had used freebsd before, but I only used it for about a week on the same pc. I recently installed the latest freebsd release, installed xorg and tried to install some desktop environments like kde or gnome, but something went wrong, for some reason they were running slow when compositing was enabled. In the end I ended up installing xfce (other desktops like lxqt or cinnamon ended up with a segmentation fault and in the end it was the only one I could run without problems). Later I noticed that when running a program that it made more use of graphics acceleration than normal (especially the 2d acceleration). X began to become slow and closed, when reviewing the messages on the console something like this would appear:
I have an old 4 series chipset; the intel G41 express chipset with the integrated Intel Graphics Media Accelerator X4500 video card. I am using the i915kms module included in the base system, modesetting ddx and mesa dri. Also have installed legacy intel vaapi driver. I was originally using the intel ddx driver. but I changed it to modesetting after reading that it was recommended for use in intel gpu, after the change the times in which the problem occurs decreased. And xorg no longer ends with a segmentation fault (when opening specific applications, but keeps doing so for no apparent reason at random times). But now every time that cpu hung happens there is corruption on the screen, flickering, incorrectly displayed items, non-updated areas of the screen and other things that are not solved by terminating xorg and starting it again. A reboot is required to fix it temporarily.
I am using the latest release as indicated before:
I saw a similar open bugs reported from some time ago: PR 194766 PR 227870
Attached file output from "hw.dri.0.info.i915_error_state" content, i don't know if it helps for something.
Edit: After seeing bug report PR 194766 changed "drm.i915.semaphores" to "1" , and xorg no longer has segmentation failures absolutely. But now any graphical application that makes greater use of graphical acceleration ends up with segmentation failures. (For example if i execute a game this end with segfault, but it no longer causes the whole x server to crash). But still presenting corruption sometimes in xorg. In addition to: at seeing the kernel output the same problem of gpu hang continues to occur.
I had used freebsd before, but I only used it for about a week on the same pc. I recently installed the latest freebsd release, installed xorg and tried to install some desktop environments like kde or gnome, but something went wrong, for some reason they were running slow when compositing was enabled. In the end I ended up installing xfce (other desktops like lxqt or cinnamon ended up with a segmentation fault and in the end it was the only one I could run without problems). Later I noticed that when running a program that it made more use of graphics acceleration than normal (especially the 2d acceleration). X began to become slow and closed, when reviewing the messages on the console something like this would appear:
Code:
error: [drm:pid12:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
info: [drm] capturing error event; look for more information in sysctl hw.dri.0.info.i915_error_state
error: [drm:pid:12:i915] *ERROR* Chip reset has failed... Declaring GPU Hung
I have an old 4 series chipset; the intel G41 express chipset with the integrated Intel Graphics Media Accelerator X4500 video card. I am using the i915kms module included in the base system, modesetting ddx and mesa dri. Also have installed legacy intel vaapi driver. I was originally using the intel ddx driver. but I changed it to modesetting after reading that it was recommended for use in intel gpu, after the change the times in which the problem occurs decreased. And xorg no longer ends with a segmentation fault (when opening specific applications, but keeps doing so for no apparent reason at random times). But now every time that cpu hung happens there is corruption on the screen, flickering, incorrectly displayed items, non-updated areas of the screen and other things that are not solved by terminating xorg and starting it again. A reboot is required to fix it temporarily.
I am using the latest release as indicated before:
$ uname -v
FreeBSD 12.2-RELEASE-p1 GENERIC
I saw a similar open bugs reported from some time ago: PR 194766 PR 227870
Attached file output from "hw.dri.0.info.i915_error_state" content, i don't know if it helps for something.
Edit: After seeing bug report PR 194766 changed "drm.i915.semaphores" to "1" , and xorg no longer has segmentation failures absolutely. But now any graphical application that makes greater use of graphical acceleration ends up with segmentation failures. (For example if i execute a game this end with segfault, but it no longer causes the whole x server to crash). But still presenting corruption sometimes in xorg. In addition to: at seeing the kernel output the same problem of gpu hang continues to occur.