Display Link Adapter Hot-Swapping with xorg-server 1.13.0 and xrandr 1.4
consume.noise at gmail.com
Mon Nov 5 08:31:11 PST 2012
On Mon, Nov 05, 2012 at 01:22:28PM +0000, Sam Lanning wrote:
> On 11/04/2012 10:12 PM, Dave Airlie wrote:
> > On Mon, Nov 5, 2012 at 12:35 AM, Sam Lanning <sam at samlanning.com> wrote:
> >> On 11/04/2012 10:18 AM, Dave Airlie wrote:
> >>> On Sun, Nov 4, 2012 at 1:17 PM, Sam Lanning <sam at samlanning.com> wrote:
> >>>> 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:
> >>>> NOUVEAU_LIBS=/usr/lib/libdrm_nouveau2.so.2:/usr/lib/libdrm_nouveau2.so.2.0.0
> >>>> NOUVEAU_CFLAGS=empty
You've build and installed libdrm before? If it's installed in a non
standard path you have to tell pkg-config where it has to search for it
> >>>> 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
> >>>> ./configure: line 11987: syntax error near unexpected token `RANDR,'
> >>>> ./configure: line 11987: `XORG_DRIVER_CHECK_EXT(RANDR, randrproto)'
I'm unsure about that. Do you've installed the development packages for
util-macros and xorg-server?
Do those files exist:
The macro XORG_DRIVER_CHECK_EXT is defined in the latter one.
> >> When i try and compile the current source from the repo
> >> git://anongit.freedesktop.org/xorg/app/xrandr i get some errors at
> >> compile time:
> >> xrandr.o: In function `main':
> >> .../xrandr.c:2969: undefined reference to `XRRSetProviderOffloadSink'
> >> .../xrandr.c:2965: undefined reference to `XRRSetProviderOutputSource'
> >> .../xrandr.c:3392: undefined reference to `XRRGetProviderResources'
> >> .../xrandr.c:3397: undefined reference to `XRRGetProviderInfo'
> >> .../xrandr.c:3404: undefined reference to `XRRFreeProviderInfo'
> >> collect2: error: ld returned 1 exit status
> > you need libXrandr.
configure should have checked for libXrandr and it should have failed if
it's not available. What's the output of:
pkg-config --libs xrandr
More information about the xorg-devel