[oi-dev] Intel grafix do not work with new drm module

Carsten Grzemba grzemba at contac-dt.de
Fri Jun 14 11:41:12 UTC 2024


After updating to the latest drm and libdrm my Xorg uses only the vesa driver in the relolution 1024x768. The older installation uses the resolution 1366x768 and dtrace shows that i915 module is used. 
The dtrace script for check with the new drm: 


dtrace -n 'fbt:i915::entry {@num[probefunc] = count();} fbt:drm::entry {@num[probefunc] = count();}'
 drm_sun_ioctl 25259
 idr_find 25259
 idr_find_used_id 25259
 idr_compare 50518


If I dtrace the new drm and i915 I see no calls in the i915 module, instead mostly only drm_sun_ioctl:


fbt:drm:drm_sun_ioctl:entry
{
 self->rvalp = (int*) arg4;
 printf("cmd=%x mode=%x", arg1, arg2); 
}
fbt:drm:drm_sun_ioctl:return
{
 printf("ret=%x rval=%x", arg1, *self->rvalp);
}



 2 48751 drm_sun_ioctl:entry cmd=5605 mode=fffffe000f919490
 2 48752 drm_sun_ioctl:return ret=0 rval=a9

Xorg is working there only with the vesa driver in the 1024x768 resolution. Try to force resolution with xorg.config.file do not work.


Any hints what is going wrong here?
-- 
Carsten Grzemba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20240614/94e737a4/attachment.html>


More information about the oi-dev mailing list