Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Porting DRM/GEM from OpenBSD

On 02/08/2011 11:07, Pouya D. Tafti wrote:

This is really great news; thank you!  I would definitely want to try
this on my Core i5 laptop, but I am running modular from pkgsrc,
rather than the native version.  Would it be too much to ask what I
would need to update (besides the kernel and the xf86-video-intel
driver from pkgsrc, of course) in order to get this to work with

You would also need to update x11/libdrm, and this should be done
before updating the xf86-video-intel driver.  It may be tricky to
update x11/libdrm, though.  To avoid potential problems, you would
need to make sure that x11/libdrm and the kernel agree on the DRM

To give this port a try, an easier alternative (imho) would be to
install, temporarily, a native -current X server, and then extract
the pre-built binary archive over it.  I seem to recall that I used
a similar configuration at some point, i.e., a native X server and
pkgsrc applications (X clients) linked against pkgsrc Xorg libs.
Or maybe it was the other way around...

> The superficial similarity between
> src/external/mit/xorg and xsrc/external/mit/stuff is particularly
> confusing for me (I don't even have xsrc/ as I have never compiled
> native yet).

The actual source files are in xsrc/external/mit/stuff, but the
makefiles to build these sources are in src/external/mit/xorg.  So
if you go the pkgsrc route, you should use the source files in xsrc,
which are almost identical to the OpenBSD Xenocara ones.


Home | Main Index | Thread Index | Old Index