i915 crashing when opening some programs on hd 4600

I am having issues running various things on my laptop. Whenever I launch things, like say Firefox, Chrome, a game i915 crashes right away.
I am using graphics/drm-legacy-kmod and i915, I will include a picture (sorry) and a list of loaded modules below. I tried just plain X with twm instead of fluxbox and it did not seem to change anything. Loaded modules: https://pastebin.com/raw/rfwYBLw7

And directly after the crash:

IMG_20200113_090731.jpg


If all I am doing is using a terminal or command line stuff then x11 runs fine.
 
For the i[357]-4xxx processors graphics/drm-kmod is recommended, only in some cases graphics/drm-legacy-kmod. Have you tried it with drm-kmod? For both drivers make sure to set the drm2.ko module, which comes with the port/package, also in /etc/rc.conf:
Code:
kld_list="/boot/modules/drm2.ko /boot/modules/i915kms.ko"
That line works for drm-legacy-kmod, but drm-kmod's dependency (graphics/drm-fbsd12.0-kmod at the time of this post) only contains /boot/modules/drm.ko (which may differ from both the /boot/kernel/drm.ko module that is installed with FreeBSD by default and the /boot/modules/drm2.ko module that comes with the legacy pkg/port. I haven't checked.)
 
Back
Top