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

Carsten Grzemba grzemba at contac-dt.de
Fri Jun 14 13:38:49 UTC 2024



Am 14.06.24 14:08 schrieb Stephan Althaus  <Stephan.Althaus at Duedinghausen.eu>: 
> 
> On 6/14/24 13:41, Carsten Grzemba via oi-dev wrote:
> > 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
> >
> >
> > _______________________________________________
> > oi-dev mailing list
> > oi-dev at openindiana.org
> > https://openindiana.org/mailman/listinfo/oi-dev
> 
> Hello!
> 
> Maybe i am asking too high-level, but does the module i915 get loaded?
> 
> i would then re-check /etc/driver-aliases fpr your pci vendor:device id 
> found with prtconf -v ...
> 
> ?
> 
> Regards,
> 
> Stephan
> 

Sure, dtrace don't complains about to trace i915 probes.
-- 

<signatureafterquotedtext>Carsten</signatureafterquotedtext>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20240614/5be8d16f/attachment.html>


More information about the oi-dev mailing list