From owner-freebsd-questions@FreeBSD.ORG Sat Aug 16 06:56:55 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72EFCEDF for ; Sat, 16 Aug 2014 06:56:55 +0000 (UTC) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0943225C4 for ; Sat, 16 Aug 2014 06:56:54 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id l18so3025938wgh.2 for ; Fri, 15 Aug 2014 23:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=5xBLWzy56pDweGNjbLNNjuGuX5Y+pBsNWxkMG3cZRYw=; b=sHuXUYPdWTQDEtH3igKN/vx7FiCtzvInAfteUcr+J3njbfsQlSQpD7DGAxloPgwy9W 0O0V41nR0nDJnW4Vo4zza6MMO+oHJ7TcRYl18peQRoBY8SpAoooQfo5P9CzV29ppzEU9 ETfK/SUPjLWbmmpJG52J48CUvKZd0eT3Yz7gJvaN9K5vMvqBbzI8S1JgeFjD8G45z32n eCL1cXXBdUlvCN8/HFkMBOlXpjbqxT9KRSzZnU9T7QIwWxKM2fkyXShRi34jE7l++fQ3 W3NXViC9SDkAAnA0y8rUJ4E1LxNWyXFgHTD5egzE4HZIiGKwQgXc3LQx6sLJX9kfINaW xK/Q== X-Received: by 10.194.59.42 with SMTP id w10mr26194836wjq.15.1408172213243; Fri, 15 Aug 2014 23:56:53 -0700 (PDT) Received: from kontrol.kode5.net (host86-139-236-106.range86-139.btcentralplus.com. [86.139.236.106]) by mx.google.com with ESMTPSA id fp6sm14174514wic.11.2014.08.15.23.56.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Aug 2014 23:56:52 -0700 (PDT) Message-ID: <53EF00B2.3050908@gmail.com> Date: Sat, 16 Aug 2014 07:56:50 +0100 From: Jamie Griffin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: New xorg fails with "module ABI major version (6) doesn't match the server's version (12)" References: <2185120.2ReaZYee1X@curlew.lan> <53EC8763.7060708@gmail.com> <1884719.AVqlqasO54@curlew.lan> In-Reply-To: <1884719.AVqlqasO54@curlew.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2014 06:56:55 -0000 On 15/08/2014 16:30, Mike Clarke wrote: > On Thursday 14 August 2014 10:54:43 Jamie Griffin wrote: > >> This is simple to fix - run 'portmaster xf86-' and it will rebuild >> the drivers beginning with xf86- and will then match the servers >> version. >> >> For some reason when building the ports for new xorg the drivers >> built and installed are for an older version of xorg server as >> you've seen when checking pkg info. > Thanks, that fixed it. > > The odd thing is that neither pkg version nor portmaster gave any > indication that the drivers were out of date. All the packages for > xorg were installed in a single run of pkg install so I wouldd have > expected the new repository to have supplied all the relevant drivers. > > Portmaster just re-installed the drivers rather than upgrading them. > > ################################## > curlew:/root# portmaster xf86-input-mouse xf86-video-vesa xf86-video- > nv xf86-input-keyboard > > ===>>> Working on: > xf86-input-mouse-1.9.0_3 > xf86-video-vesa-2.3.3_3 > xf86-video-nv-2.1.20_4 > xf86-input-keyboard-1.8.0_2 > > [snip] > > ===>>> The following actions were performed: > Installation of devel/pkgconf (pkgconf-0.9.6_1) > Installation of devel/xorg-macros (xorg-macros-1.19.0) > Installation of x11/glproto (glproto-1.4.17) > Installation of x11/resourceproto (resourceproto-1.2.0) > Installation of x11/xf86driproto (xf86driproto-2.1.1) > Re-installation of xf86-input-mouse-1.9.0_3 > Re-installation of xf86-video-vesa-2.3.3_3 > Re-installation of xf86-video-nv-2.1.20_4 > Re-installation of xf86-input-keyboard-1.8.0_2 > ################################## > > But I still don't understand why pkg install failed to get the drivers > from the FreeBSD_new_xorg repository which does appear to have them. > > ################################## > curlew:/root# pkg rquery -r FreeBSD_new_xorg "%n %v" xf86-input-mouse\ > ? xf86-video-vesa xf86-video-nv xf86-input-keyboard > xf86-input-mouse 1.9.0_3 > xf86-video-vesa 2.3.3_3 > xf86-video-nv 2.1.20_4 > xf86-input-keyboard 1.8.0_2 > > ################################## > > In fact if I use "pkg install -r FreeBSD_new_xorg xf86-video-vesa" I > do get it from FreeBSD_new_xorg and X works fine with it. But without > the -r option it defaults to giving me the version from the FreeBSD > repository. > > And Sod's law appears to apply here - pkg install did get the ati and > intel video drivers from FreeBSD_new_xorg. Wrong versions of these > Would not have affected me. > Yeah I had exactly the same thing and was confused by that as well. I've stopped using pkg altogether for a while as its got issues. I had to remove all my packages and start over because it screwed everything up and it still won't install the KDE distribution; so i'm using my old friend fvwm2 for now.