[Openchrome-users] Building openchrome with XFree86-4.6.0.0

Mr E_T troll
Mon May 22 23:08:42 PDT 2006


On Monday 22 May 2006 21:35, you wrote:
> Mr E_T wrote:
> > On Wednesday 17 May 2006 15:47, Mr E_T wrote:
> >   
> >> I have a problem building openchrome with XFree86
> >> First it could not find drm.h so I copied it from -
> >> lib/GL/dri/drm/drm.h to the unichrome dir.
> >>
> >>     
> >
> > Solved - in via_driver.c
> > this line (405) -
> > static pointer VIASetup(pointer module, pointer opts, int *errmaj, int *errmin)
> >
> > should read -
> > static pointer VIASetup(ModuleDescPtr module, pointer opts, int *errmaj, int *errmin)
> >
> > also in via.h
> > xf86Version.h should be included instead of xorgVersion.h
> >
> > the compile does not find includes in -
> > programs/Xserver/hw/xfree86/os-support/shared/drm/kernel
> > (drm.h and drm_sarea.h)
> >
> >   
> You will also need this to get XVIDEO working:
> 
> Index: unichrome/via_video.c
> ===================================================================
> --- unichrome/via_video.c       (revision 186)
> +++ unichrome/via_video.c       (working copy)
> @@ -73,6 +73,12 @@
>  #define  XV_IMAGE          0
>  #define MAKE_ATOM(a) MakeAtom(a, sizeof(a) - 1, TRUE)
> 
> +#ifdef XF86_VERSION_MAJOR
> +#if XF86_VERSION_MAJOR >= 4 && XF86_VERSION_MINOR >= 6
> +#define XvExtension
> +#endif
> +#endif
> +
>  #ifndef XvExtension
>  void
>  viaInitVideo(ScreenPtr pScreen)
> 
> 4.6.0 no longer makes XVIDEO optional.
> 
> Barry
> 
> 
> 
I am currently using openchrome 20/5/06 and Xorg 6.9.0 with great stability.

I switched back to Xorg - unwillingly - I dont like the new modular approach -
( Too modular )
But XFree doesnt have the unichrome dri driver and wont make it at all.

I am currently working on a semi-modular configure system for Xorg to see if it
is received favouroubly by Xorg ( Here's hoping ).

-- 
regs MR E_T
_______________________
\                      \
 \   OOHH I hate TYPOS  \
  \                      \
   ~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20060523/e974d491/attachment-0001.html



More information about the Openchrome-users mailing list