Solved Intel Alder Lake does not start the graphics card with FBSD14.2

The laptop is an Asus with I7-1260p graphics card and Intel Alder Lake-P GT2 [Iris Xe Graphics], which previously with 14.1 I had installed drm-515-kmod and everything worked.

Today in 14.2 drm-515-kmod produces a never-ending reboots, so I downgraded to the drm-510-kmod version and was able to continue installing.

The installer already brings with it the gpu-firmware recognizing in this case Alder Lake.

The question is that I configured everything I could, rc.conf, xinitrc ...but I can't get the graphics up.

I leave some screenshots, maybe they say more than me ..

Thanks in advance!
 

Attachments

  • IMG_20241212_125720282.jpg
    IMG_20241212_125720282.jpg
    732.8 KB · Views: 74
  • IMG_20241212_135846472.jpg
    IMG_20241212_135846472.jpg
    1.3 MB · Views: 72
  • IMG_20241212_135723083.jpg
    IMG_20241212_135723083.jpg
    1.1 MB · Views: 72
The middle picture shows that /dev/dri/card0 cannot be opened.
This usually mean that drm driver is not properly initialized.
And found this old topic stating AlderLake graphics support is introduced in Linux 5.13/5.14. So if this is true graphics/drm-510-kmod shouldn't work.

So the choice would be:
To install the pre-built pkg as noted by Emrion in comment #2
If you are NOT building/installing locally using ports, build graphics/drm-515-kmod locally on the computer yourself.
 
Code:
fetch http://pkg.freebsd.org/FreeBSD:14:amd64/kmods_latest_2/packagesite.txz
tar xzf packagesite.txz packagesite.yaml
grep drm-515-kmod packagesite.yaml |sed -e 's/.*All\///' -e 's/".*//'
 
Well, I won't delete my FreeBSD-kmod repo right away. :)

That said, the different parts begin to take place. As I see the thing, now, it just needs a modification in the way pkg operates. It may choose this kmod_latest_2 or kmod_quarterly_2 for fetching the right kmod.

I see the end of the tunnel concerning this problem.
 
Where did that link come from; it looks particularly interesting! Why's it "2"? It almost sounds like it'd be a good idea to add that as a repo for newer kmod packages.
Just my prediction, but maybe it came from 14.2, as 14 is already in "FreeBSD:14:amd64".
And blindly making it the default would make 14.1 stop working.
Should be specific for 14.2.
 
I tested the .conf files (in /usr/local/etc/pkg/repo/). Both don't work (error 404).

It seems that the var ${VERSION_VERSION} isn't expanded (not defined?). If I change it to url: pkg+https://pkg.freebsd.org/${ABI}/kmods_quarterly_2, that works.

If I try to install drm-515-kmod for example, it chooses drm-515-kmod: 5.15.160.1402000_2. Excellent!
But, something is missing in the logic.
 
Well, after reading and re-reading the replies, which I appreciate, I'm going to stick with 14.1 until it finishes its cycle, as I don't (honestly) have the technical knowledge to be able to install 14.2 with the urls/files you mention in the replies, let alone install it on a VT/tty or whatever it's called.

I'll wait for drm-515-kmod-5.15.160 to move to another version or drm-515-kmod-5.15.160_2 maybe, I don't know.
 
Hi gnath !

url: pkg+https://pkg.freebsd.org/${ABI}/kmods_latest_${VERSION_MINOR}

Do I type it as it is in the VT of the 14.2 installation ?

That's exactly what I don't know ... because if I type it like that it doesn't work.
How do I download it ? with fetch ?
 
Back
Top