Hey Everyone,<div><br></div><div>I'm new sending questions to this list so please forgive me. I wasn't sure whether this should be directed at the devel list or users list.</div><div><br></div><div>I am trying to get my DisplayLink adapter working with my Dell Vostro 3700 laptop. With nvidia optimus card.</div>
<div><br></div><div>I came across Dave Airlie's work on hot-swapping slave USB gpus. And discovered his git repo on <a href="http://freedesktop.org">freedesktop.org</a></div><div><br></div><div><a href="http://people.freedesktop.org/~airlied/prime-notes.txt">http://people.freedesktop.org/~airlied/prime-notes.txt</a><br>
</div><div><br></div><div>I have tried to compile each of the parts (from the prime branch), but came across trouble with compiling a few of them.</div><div><br></div><div>Mesa: The first problem occurred when i tried to autogen. It couldnt find a version of libdrm_nouveau greater than 0.6. I solved this with setting the environment variables:</div>
<div><br></div><div>NOUVEAU_LIBS=/usr/lib/libdrm_nouveau2.so.2:/usr/lib/libdrm_nouveau2.so.2.0.0</div><div>NOUVEAU_CFLAGS=empty<br></div><div><br></div><div>so the make files were then generated fine.</div><div><br></div>
<div>At compile time, make seems to get stuck in a loop constantly touching and rm-f ing depend. And entering and leaving the directory src/glsl/.</div><div><br></div><div><br></div><div><br></div><div>The second compile problem occurs when trying to create the make file for xf86-video-nouveau. It comes up with this error after running autogen.sh<br>
<br></div><div><div>./configure: line 11987: syntax error near unexpected token `RANDR,'</div><div>./configure: line 11987: `XORG_DRIVER_CHECK_EXT(RANDR, randrproto)'</div></div><div><br></div><div>Any help would be greatly appreciated.</div>
<div><br></div><div>Thanks,</div><div>Sam Lanning.</div>