Solved Intel GMA 4500M GPU with latest Xorg does not work

I've been bit by the Intel GPU issue so I kept graphics/cairo downgraded to 1.10 until yesterday. I mainly use ports-mgmt/pkg for managing FreeBSD so, when I recently discovered the WITH_NEW_XORG feature has been activated, I upgraded the whole system:

Code:
postsnap fetch update
pkg upgrade

Now Xorg does not work anymore and I am stuck in the text console. This is the relevant excerpt from /var/log/Xorg.0.log that shows the problem: the Xorg server keep respawning itself (and crashes again) every 30 seconds.

Code:
[  2878.075] (--) Using syscons driver with X support (version 2.0)
[  2878.075] (++) using VT number 9

[  2878.095] drmOpenDevice: node name is /dev/dri/card0
[  2878.096] drmOpenDevice: open result is 10, (OK)
[  2878.096] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[  2878.096] drmOpenDevice: node name is /dev/dri/card0
[  2878.097] drmOpenDevice: open result is 10, (OK)
[  2878.097] drmOpenByBusid: drmOpenMinor returns 10
[  2878.097] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[  2878.097] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[  2878.097] (EE) No devices detected.
[  2878.097] 
Fatal server error:
[  2878.097] no screens found

I tried to start without /etc/X11/xorg.conf to see if autoconfiguration works but I got the very same error. Actually I'm editing this post using the VESA driver.

HAL and D-Bus are enabled in /etc/rc.conf and /boot/loader.conf should properly load the Intel KMS thingy.

Code:
zfs_load="YES"
i915_load="YES"
i915kms_load="YES"
autoboot_delay="0"
kern.maxfiles="25000"
kern.vty="vt"
 
Try it without loading the modules in /boot/loader.conf. It seems like many who do that (unnecessarily) have trouble.
 
  • Thanks
Reactions: ntd
Try it without loading the modules in /boot/loader.conf. It seems like many who do that (unnecessarily) have trouble.

Yes, that's it. Removing both i915 modules from /boot/loader.conf and starting without /etc/X11/xorg.conf solved the problem.
 
Back
Top