From owner-freebsd-arm@freebsd.org Sun May 28 17:51:45 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A201D86068; Sun, 28 May 2017 17:51:45 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 568E3179A; Sun, 28 May 2017 17:51:44 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dF2Lj-0007Tq-NS; Sun, 28 May 2017 19:51:32 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: ports@freebsd.org, freebsd-arm@freebsd.org, "bob prohaska" Subject: Re: libGL error: unable to load driver: swrast_dri.so References: <20170527164437.GA47374@www.zefox.net> Date: Sun, 28 May 2017 19:51:31 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <20170527164437.GA47374@www.zefox.net> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 919fae14bc17c74543a025539baad412 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2017 17:51:45 -0000 On Sat, 27 May 2017 18:44:37 +0200, bob prohaska wrote: > On an RPI2 www/epiphany finally compiled using portmaster. When started > it runs (somewhat) but reports > > libGL error: unable to load driver: swrast_dri.so > > Web searches suggest it's something to do with an Nvidia driver, which > seems inapplicable to an RPI2. > > Is there a workaround? /usr/ports are at 441746, /usr/src is at 318674. > > Thanks for reading, > > bob prohaska AFAIK swrast is the Software Raster driver. So I don't think the link is with NVidia in your case. I had the same error on my laptop with a Radeon driver (r600_dri.so) a while back, but don't see it anymore when I start a GL program. What I remember in my case the error was harmless. The driver was already loaded or something like that. Do you experience actual errors or only the message, i.e. does the program run as expected? I run the latest packages on amd64, but your ports tree is also quite up-to-date as far as I see. Ronald.