From owner-freebsd-current@freebsd.org Sat Oct 6 12:26:32 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04CFE10B88EC for ; Sat, 6 Oct 2018 12:26:32 +0000 (UTC) (envelope-from filippomore@yahoo.com) Received: from sonic312-21.consmr.mail.ne1.yahoo.com (sonic312-21.consmr.mail.ne1.yahoo.com [66.163.191.202]) (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 8F5BF72E46 for ; Sat, 6 Oct 2018 12:26:31 +0000 (UTC) (envelope-from filippomore@yahoo.com) X-YMail-OSG: 2EpM2BQVM1l1i24dpuOYvSNIc.bOCqiaKgo88eKB5JsKKnf7R_L_T4Tb7eK0Q_y RKEBfzQKiPqPS7I10cLZ6vQvoPZkqOZ6ATS8m4zu_viuRYhKeyJKK01d3b8bL5UJFPq8FINbGzam M8X_jIw_TEFb9uXOXLHtRxEgm6rSRHD6SfZYM1_wfpis9wYN6oWsGoX8upwpnsUelbVwTcDF590U 4HYLic9CL9xosQ4HZ5zAoLNAlYewo1qQnyn5uy9pG0zbb.zu1A3pcNDlEe7XPSUN3qnMdnYh9qw1 Ji1Hmf3koaYMOoq8moRIZwTlWiGiJKPpEvvzG8HpdXWFF8CmIi2_8wd9wwkiOqnZEdl6UvLiB3q7 6OrDta8nxfjMg.wP5DPpsMNght3YnYgEAN7L3pUqsVIHVcwugEvd7rkLeZpPosoNquTFnMKOCmcq Vxl635sL9B1LhtD6sNpiM5hLgIyKWF2PdGmNEwxUkECkq8smlmnEl7eKWKssCsxFixwxMD1g0Ctz TP_C8XV.cODOag.X70nJPawqnJQ8cHnumiPdvHcSRJGj_U0k0yX_PIQ_m_0Vi4zL5Setj2fQDYhZ oZStGnH7cb1hM9x0.e6lXPBOb5I2a7Lr5KsGvFVrL75rvW8K31_z24Cte7TCEePQXRdYewTXqKg6 Af.YE6C2iVyYTVXLyXB9NBaV99_vVQ9a1GVtB0tYxeuDyCZmLqdP4tN2_PK04VATpnXtyQ4lYTqC r4iIksQl6qQtFHUwryzOoptbhOv.MeKR3xEyigjIsXmSouhO4POqofiYDmuS8hNK.7.Yqswpdjtx EO_oDa313InQ9T8gwBbDHSwwTGDPkTAs0ezS46Igb3hhh_UHKXuK8aQzJFDl40pY2HyNSG0xonNz 758Wj8SWFwEutEv56Xwxk1_xA.ZBJCnylDeSEvWch9aEbICOTb92aLVI05zQ_Qu6VTKf60WqWoGJ KoSOh4s0bwbgFIjje_S8E8rg6jdDiZOt6qWrcCSWam1JVlfECEh0Cl1_ZqlbV7TMotpi.Yy7o2tu N Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Sat, 6 Oct 2018 12:26:25 +0000 Date: Sat, 6 Oct 2018 12:26:15 +0000 (UTC) From: Filippo Moretti To: FreeBSD Current Message-ID: <1912901660.157423.1538828775273@mail.yahoo.com> Subject: Problem compiling rust MIME-Version: 1.0 References: <1912901660.157423.1538828775273.ref@mail.yahoo.com> X-Mailer: WebService/1.1.12512 YMailNorrin Mozilla/5.0 (X11; FreeBSD amd64; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2018 12:26:32 -0000 =C2=A0 extracting cargo-0.29.0-x86_64-unknown-freebsd/cargo/share/doc/cargo= /README.md=C2=A0 extracting cargo-0.29.0-x86_64-unknown-freebsd/cargo/manif= est.in=C2=A0 extracting cargo-0.29.0-x86_64-unknown-freebsd/cargo/etc/bash_= completion.d/cargo=C2=A0 extracting cargo-0.29.0-x86_64-unknown-freebsd/car= go/bin/cargo=C2=A0 extracting cargo-0.29.0-x86_64-unknown-freebsd/cargo/sha= re/zsh/site-functions/_cargorunning: /usr/ports/lang/rust/work/rustc-1.29.1= -src/build/x86_64-unknown-freebsd/stage0/bin/cargo build --manifest-path /u= sr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/Cargo.toml --frozenT= raceback (most recent call last):=C2=A0 File "/usr/ports/lang/rust/work/rus= tc-1.29.1-src/x.py", line 20, in =C2=A0 =C2=A0 bootstrap.main()=C2= =A0 File "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstra= p.py", line 843, in main=C2=A0 =C2=A0 bootstrap(help_triggered)=C2=A0 File = "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", li= ne 819, in bootstrap=C2=A0 =C2=A0 build.build_bootstrap()=C2=A0 File "/usr/= ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", line 646= , in build_bootstrap=C2=A0 =C2=A0 run(args, env=3Denv, verbose=3Dself.verbo= se)=C2=A0 File "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bo= otstrap.py", line 148, in run=C2=A0 =C2=A0 raise RuntimeError(err)RuntimeEr= ror: failed to run: /usr/ports/lang/rust/work/rustc-1.29.1-src/build/x86_64= -unknown-freebsd/stage0/bin/cargo build --manifest-path /usr/ports/lang/rus= t/work/rustc-1.29.1-src/src/bootstrap/Cargo.toml --frozen*** Error code 1 Stop.make[1]: stopped in /usr/ports/lang/rust*** Error code 1 Stop.make: stopped in /usr/ports/lang/rust[root@sting /usr/ports/lang/rust]= #=C2=A0I always had this problem trying to compiling rust (amd64 alpha3),as= I only need it to compile firefox I wonder if it is possible to disable it= s building.Thanks=C2=A0Filippo From owner-freebsd-current@freebsd.org Sat Oct 6 12:38:12 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30C8B10B8CFD for ; Sat, 6 Oct 2018 12:38:12 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 94CD3732EE for ; Sat, 6 Oct 2018 12:38:11 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Sat, 06 Oct 2018 12:38:04 +0000 Authentication-Results: out.migadu.com; auth=pass (plain) Received: from [192.168.1.141] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 4DBA20CE-F3FF-4192-BC0D-BC79FBB68E39.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sat, 06 Oct 2018 12:38:03 +0000 Date: Sat, 06 Oct 2018 15:38:00 +0300 From: Greg V Subject: Re: linux-c7 and opengl apps? To: Theron Cc: FreeBSD Current , x11-list freebsd Message-Id: <1538829480.11691.0@smtp.migadu.com> In-Reply-To: References: X-Mailer: geary/0.12.4 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; bh=8aBVUM4Ox/pNV5WgKCkXbftK97IRdhwd4h9MzAyszVI=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=Bmg6L99qo48ERfW6BY307mRXUWF+1mAVCMCQpYZ0NlwMtpTh3z72yKFKQsGriDH6F/dImxBGWyfeg3YG9ZdGnULJytkTckQm2zy2USMOVaFJbE7dP6llPQjsbYp2cfKtRrs7le28GKN9fjwQXIHIFMdC+3Zqwc5Whh8GqCuqQz0= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2018 12:38:12 -0000 On Fri, Oct 5, 2018 at 11:21 PM, Theron wrote: > % /compat/linux/opt/VirtualGL/bin/glxinfo | grep OpenGL > libGL error: MESA-LOADER: failed to retrieve device information Do you have linsysfs mounted? Try reading /compat/linux/sys/class/drm/card0/device/uevent. Mesa won't retrieve device information without linsysfs. I wrote the linsysfs patch that exposed the info there so that recent=20 Mesa would work :) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222375 (Wow, that was a year ago=85 interesting note from there: you might=20 need to set LIBGL_DRI3_DISABLE=3D1 for Linux apps) Also, what's with the "/opt/VirtualGL"? Are you using mesa from=20 linux-c7 or something=85 weird? > This problem has existed forever. I am not sure it is actually a=20 > fault in Linux emulation, as these very same symptoms ("failed to=20 > retrieve device information" message, console freeze) existed back in=20 > FreeBSDDesktop/freebsd-base-graphics days when attempting to run=20 > purely FreeBSD OpenGL apps. At the time the workaround was a patch=20 > to Mesa's GPU detection; the underlying kernel problem wasn't=20 > addressed. There was a somewhat related issue (but not the same one, FreeBSD and=20 Linux versions of mesa/libdrm use different mechanisms to get device=20 info). Mostly affected Wayland-EGL clients =97 they would try to access=20 /dev/dri/card408 instead of /dev/dri/card0, fail to get info and fall=20 back to software rendering. I fixed it a while ago:=20 https://gitlab.freedesktop.org/mesa/mesa/commit/db8519a369261cdedda50852fac= c45616d4eba28 But I never saw console freezes when Mesa couldn't properly detect the=20 GPU o_0 =