So i want see exa with my nvidia-card. i have found an patch for the opensource nv driver: http://wiki.x.org/wiki/ExaStatus i see that the makefile patch part is not working because of other makefiles. so i deletet this part from the patch and made an own make-file-patch so portage patched the files sucessfully but then other errors occured: In file included from nv_driver.c:39: /usr/include/xf86drm.h:39:17: drm.h: No such file or directory In file included from nv_driver.c:39: /usr/include/xf86drm.h:224: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:234: error: syntax error before '}' token /usr/include/xf86drm.h:237: error: syntax error before "drm_handle_t" /usr/include/xf86drm.h:241: error: syntax error before '}' token /usr/include/xf86drm.h:494: error: syntax error before "drm_magic_t" /usr/include/xf86drm.h:498: error: syntax error before "drm_handle_t" /usr/include/xf86drm.h:518: error: syntax error before "drm_magic_t" /usr/include/xf86drm.h:520: error: syntax error before "drm_handle_t" /usr/include/xf86drm.h:525: error: syntax error before "drm_handle_t" /usr/include/xf86drm.h:526: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:533: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:534: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:536: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:538: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:539: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:540: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:541: error: syntax error before '*' token /usr/include/xf86drm.h:542: error: syntax error before '*' token /usr/include/xf86drm.h:543: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:544: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:545: error: syntax error before "drm_drawable_t" /usr/include/xf86drm.h:546: error: syntax error before "drm_drawable_t" /usr/include/xf86drm.h:552: error: syntax error before "drm_handle_t" /usr/include/xf86drm.h:559: error: syntax error before "drmDMAReqPtr" /usr/include/xf86drm.h:562: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:564: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:566: error: syntax error before "drm_context_t" /usr/include/xf86drm.h:575: error: syntax error before "drm_handle_t" /usr/include/xf86drm.h:576: error: syntax error before "drm_handle_t" /usr/include/xf86drm.h:577: error: syntax error before "drm_handle_t" /usr/include/xf86drm.h:579: error: syntax error before "drm_handle_t" /usr/include/xf86drm.h:594: error: syntax error before "drm_handle_t" /usr/include/xf86drm.h:595: error: syntax error before "drm_handle_t" nv_driver.c: In function `NVInitDRM': nv_driver.c:1064: error: `errno' undeclared (first use in this function) nv_driver.c:1064: error: (Each undeclared identifier is reported only once nv_driver.c:1064: error: for each function it appears in.) nv_driver.c: In function `NVInitAGP': nv_driver.c:1127: error: `errno' undeclared (first use in this function) make[2]: *** [nv_driver.lo] Fehler 1 make[2]: *** Warte auf noch nicht beendete Prozesse... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -march=k8 -O2 -pipe -MT nv_hw.lo -MD -MP -MF .deps/nv_hw.Tpo -c nv_hw.c -fPIC -DPIC -o .libs/nv_hw.o make[2]: Leaving directory `/var/tmp/portage/xf86-video-nv-1.2.0/work/xf86-video-nv-1.2.0/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/xf86-video-nv-1.2.0/work/xf86-video-nv-1.2.0' make: *** [all] Fehler 2 !!! ERROR: x11-drivers/xf86-video-nv-1.2.0 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile ebuild.sh, line 1252: Called x-modular_src_compile x-modular.eclass, line 330: Called x-modular_src_make x-modular.eclass, line 325: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. i should now search this file (xf86drm.h) and put it in the src dir or should make a patch for this. but i dont feal like that at the moment. i thought it would be easyer. so if somebody would take this as startpoint i am glad. i found some usefull information on this site: http://www.mail-archive.com/debian-x@lists.debian.org/msg44021.html
Created attachment 94625 [details, diff] the modified exa patch
Created attachment 94626 [details, diff] patch file for Makefile.am
Created attachment 94627 [details] the modified ebuild file
Uh, this is a huge patch. Please, submit such stuff upstream.
i should do what?? upstream is that an gentoo-service or what??
We will not support patches that the upstream source of the code (in this case, X.Org) does not support. If you would like to file a bug at https://bugs.freedesktop.org/enter_bug.cgi?product=xorg requesting that the patch be fixed and committed to X.Org, go ahead.