DRM KMS Modesetting

Jesse Barnes jbarnes at virtuousgeek.org
Mon Nov 14 14:54:46 PST 2011


On Mon, 14 Nov 2011 21:47:09 +0100
David Herrmann <dh.herrmann at googlemail.com> wrote:
> > I had to modify the resolution the test was searching for
> > to 1920x1200 instead of 1024x600 since I tested on a DP attached
> > monitor, and fix the connector id, but other than that it seemed to
> > work fine.
> 
> Thanks for testing. At least my code seems right now, but I still
> cannot get it to work on my machine. The output of modetest is:
> https://gist.github.com/1365083
> 
> There is only one connected connector+encoder+mode so I don't know
> where the problem exactly is. Are there any debug options? Is it
> possible to query the EGLImage for width/height?

Ok maybe the gen3 vs gen4 EGL image code isn't calculating the
width/stride correctly somewhere then.  You'd have to walk through the
gbm_dri2.c and egl_dri2.c code and see where the width is going off
into the weeds.

-- 
Jesse Barnes, Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111114/f1c2bf50/attachment.pgp>


More information about the dri-devel mailing list