Solved Yet another drm-kmod and Intel graphic card problem

Greetings all,

Update:

On newly installed FreeBSD 14.3, I do not seem to be able to make xorg working. I have installed packages
graphics/drm-61-kmod, graphics/gpu-firmware-intel-kmod, the user is in video group, yet after invoking xinit, I am rewarded by a black screen with a non-responsive system including the mouse, (the mouse works in text mode). I cannot switch to another console, the only remedy is power down the system. After correcting a spelling error in .xinitrc the X server starts but within seconds shuts down with
Code:
xinit: connection to X server lost
again with no errors in the /var/log/Xorg.0.log.

I have verified that the i915ks.ko module is loaded, but it does not seem that the intel driver is used:

Code:
# cat /usr/local/etc/X11/xorg.conf.d/card.conf
Section "Device"
  Identifier "Card0"
  Option "DPMS"
  Driver "modesetting"
EndSection
Code:
# grep DRI /var/log/Xorg.0.log
[ 95556.671] (II) modeset(0): [DRI2] Setup complete
[ 95556.671] (II) modeset(0): [DRI2]   DRI driver: crocus
[ 95556.671] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[ 95556.714] (II) Initilizing extension DRI3
[ 95556.804] (II) Initilizing extension XFree86-DRI
[ 95556.851] (II) Initilizing extension DRI2

The /var/log/Xorg.0.log does not indicate any errors (EE).

I have tried both demotion to drm-515-kmod and promotion to drm-kmod, but neither option works.

Kindest regards,

M
 
1. Do you have more than one video adapter ? If so, try to bind to certain PCI slot using BusID option in xorg.conf. What pciconf -vl | grep -A 4 vga shows ?

2. Try installing xf86-video-intel (intel_drv.ko driver for Xorg). It will serve as intermediary between Xorg and i915kms.ko.

3. Remove "Device" section from Xorg configs. Let it do its autodetect tricks.
 
Hi checkpoint,

Re 1 video built in the processor;
re 2 tried that already, no difference;
re 3 tried that, no difference. Although there is allegedly support for devd, # grep devd /var/log/Xorg.0.log does not return anything.

I tried to xinit without .xinitrc, it starts, but again freezes.

I am rather lost as what to do next.

Kindest regards,

M
 
Back
Top