X11/xorg doesn't work after sudden shutdown - startx - intel module not found

Good morning, I'm newbie, sorry for mistakes but It is my first post.

I get this problem when I launch startx: it doesn' display X11/Xorg interface:

1-the problem occurred only after a sudden shutdown of the device due to lack of electricity,
before this event xorg worked well.

2- this is my system:

freebsd 13.2
laptop: lenovo
cpu: Intel Core i7-4700MQ

and this is the Video card:
Code:
pciconf -lv | grep -B4 VGA
shows

IMG_20230801_01_vga.png


2-I have seen various official guides including:

- https://docs.freebsd.org/en/books/handbook/x11/
at point 5.3.1

- https://wiki.freebsd.org/GraphicsOld
- https://wiki.freebsd.org/Graphics
- https://wiki.freebsd.org/Graphics/Intel-GPU-Matrix

3 - I have seen various potential solutions and have adopted it but without success such as the following solutions:
- https://forums.freebsd.org/threads/thinkpad-e130-hd-4000-failed-to-load-module-intel.72048/
- https://nudesystems.com/how-to-fix-no-screen-found-xorg-error-on-freebsd/
- https://forums.freebsd.org/threads/...d-to-start-x-server-using-intel-driver.88750/



4- my configuration is as follows:
- user is added to video group
- drm-kmod is installed

rc.conf:
kld_list="i915kms.ko"
IMG_20230801_02_rc.png


5- /usr/local/lib/xorg/modules/drivers/
IMG_20230801_04_xorg_mod_driv.png


6- /usr/local/etc/X11/xorg.conf.d/
IMG_20230801_05_X11_xorg.conf.d.png



- this is the output of Xorg....log:
error load module "intel" (module does not exist, 0)
IMG_20230801_03_Xorg_log.png


If you want I can upload screen:
pkg info



how can I do to return the graphical interface working?

I'm sorry but at the moment I can only provide photos about it since I have no idea how to access the forum without a graphical interface and do the upload of print screens.

Thanks in advance
 
You have an old NVidia card stuck in there too. Where exactly is your monitor attached to? If the monitor is connected to the video card, instead of the onboard video of the mainboard, then you don't need the Intel graphics drivers (graphics/drm-kmod and friends). You need an old version of the NVidia driver; x11/nvidia-driver-470.

I'm sorry but at the moment I can only provide photos about it since I have no idea how to access the forum without a graphical interface and do the upload of print screens.
Ehm. There's this thing called SSH. You can SSH into your FreeBSD host from a desktop system, then copy/paste the information.

Also useful: cat /var/log/Xorg.0.log | nc termbin.com 9999 (You can pipe or redirect all sorts of text output to nc termbin.com 9999)
 
You have an old NVidia card stuck in there too. Where exactly is your monitor attached to? If the monitor is connected to the video card, instead of the onboard video of the mainboard, then you don't need the Intel graphics drivers (graphics/drm-kmod and friends). You need an old version of the NVidia driver; x11/nvidia-driver-470.


Ehm. There's this thing called SSH. You can SSH into your FreeBSD host from a desktop system, then copy/paste the information.

Also useful: cat /var/log/Xorg.0.log | nc termbin.com 9999 (You can pipe or redirect all sorts of text output to nc termbin.com 9999)
Thanks for the answer.
My laptop lenovo is not attached to any external monitor.

Before the electricity was missing the intel drm-kmod driver was working properly without manual configuration and then I was seeing graphical interface correctly, what could I do to restore its operation?
Next I'm going to try to send the print from ssh.
Thanks
 
Reading your Xorg log (with some difficulties), it seems that xorg can't load any driver. I would check the health of your root file system. Are you on zfs or ufs?

If this doesn't help, I would reinstall xorg.
 
Back
Top