>
> http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/snapshot/xf86-video-nouveau-1.0.9.tar.gz
>
> an already created tar file for a defined version rather than using tar file 
> of snapshot by
> creating a temporary clone of the git repository
>
> The main-gen-distfile in the Makefile is only meant to be run by the 
> maintainer to create a
> tar file for others building the port. Possibly they are building regular 
> snapshots, if that's
> the case then it's too unstable to consider at this time. The Makefile.Rev is 
> created to
> contain the SNAPREV/SNAPDATE to tell the Makefile the tar file to be fetched 
> to build the port.
>
> From the log since 1.0.9 there have only been 3 changes in git, total 8lines, 
> those could be
> added as patches to the extracted 1.0.9 tar file, looks like the whole git 
> thing is a waste
> of time in the Makefile.
>
> These are the three patches to apply to the extracted tar file
>
> diff --git a/src/nouveau_xv.c b/src/nouveau_xv.c
> index 5569b7c..e19378d 100644
> --- a/src/nouveau_xv.c
> +++ b/src/nouveau_xv.c
> @@ -25,7 +25,9 @@
> #include "config.h"
> #endif
> +#ifdef __SSE2__
> #include <immintrin.h>
> +#endif
> #include "xf86xv.h"
> #include <X11/extensions/Xv.h>
>
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index 570a9e4..3563b2a 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -1098,6 +1098,10 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr 
> drmmode, int num)
> if (koutput->connector_type>= NUM_OUTPUT_NAMES)
> snprintf(name, 32, "Unknown%d-%d", koutput->connector_type,
> koutput->connector_type_id);
> + else if (pScrn->is_gpu)
> + snprintf(name, 32, "%s-%d-%d",
> + output_names[koutput->connector_type], pScrn->scrnIndex - GPU_SCREEN_OFFSET 
> + 1,
> + koutput->connector_type_id);
> else
> snprintf(name, 32, "%s-%d",
> output_names[koutput->connector_type],
>
> diff --git a/src/drmmode_display.c b/src/drmmode_display.c
> index 3563b2a..cc141a0 100644
> --- a/src/drmmode_display.c
> +++ b/src/drmmode_display.c
> @@ -1098,10 +1098,12 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr 
> drmmode, int num)
> if (koutput->connector_type>= NUM_OUTPUT_NAMES)
> snprintf(name, 32, "Unknown%d-%d", koutput->connector_type,
> koutput->connector_type_id);
> +#ifdef NOUVEAU_PIXMAP_SHARING
> else if (pScrn->is_gpu)
> snprintf(name, 32, "%s-%d-%d",
> output_names[koutput->connector_type], pScrn->scrnIndex - GPU_SCREEN_OFFSET + 
> 1,
> koutput->connector_type_id);
> +#endif
> else
> snprintf(name, 32, "%s-%d",
> output_names[koutput->connector_type],
> genera
>
>

Thanks, I have to check if I have all four steps then.

•Nouveau DRM : The privileged part of Nouveau, running in the kernel;
•Libdrm : A library that wraps the DRM & Nouveau IOCTLs, it simplifies memory 
management and command submission;
•xf86-video-nouveau : The device-dependent part of X (DDX) for NVIDIA cards 
whose role is to provide 2D acceleration (EXA) and some simple video 
acceleration (XV);
•Mesa : It provides 3D, GPGPU and video acceleration to open source drivers. 
For more information, please read MesaDrivers.

Roelof                                    

Reply via email to