From owner-freebsd-x11@freebsd.org Mon Jun 20 05:26:15 2016 Return-Path: Delivered-To: freebsd-x11@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 43412A7A5AA for ; Mon, 20 Jun 2016 05:26:15 +0000 (UTC) (envelope-from jeremy.m.cox@gmail.com) Received: from mail-qk0-x242.google.com (mail-qk0-x242.google.com [IPv6:2607:f8b0:400d:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E73711729 for ; Mon, 20 Jun 2016 05:26:14 +0000 (UTC) (envelope-from jeremy.m.cox@gmail.com) Received: by mail-qk0-x242.google.com with SMTP id l81so21741976qke.3 for ; Sun, 19 Jun 2016 22:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=TstvE91qMSScAKB1rrVVvv/axa7164Zsy1Et8eTWm/Y=; b=lpQJJYEO7mnhrRaojVzNoVTDqh9VkzkHWGSCtLwaXuJHx0brnkG31L4oGOmWfvDtYS 2uBZNXsAi4m7uIX8Szqr6ikM7qxw/Oyt2RecKqsNO0vHQnf56vdDFD7zoT8O3lt1pbru z57Shqhu8W3ogPE86fg6ESTxdJ8Qj+8i2JRbLFgqyDRMtIq1SjH8DdcDVfPnuaRKZWH8 8dXaEHulZeaDtdHwRUFrsin7dCbyUPpdaWt0rBt9+BVOuxlPLnpC/mJT7NO+X+hemfvp pK0JCIQUgIwejIBH7po7WLG2o1yuWV9SAlGR72/2ut/FY3bIybUWPfd2ifgJhhPuH86L u6Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=TstvE91qMSScAKB1rrVVvv/axa7164Zsy1Et8eTWm/Y=; b=Vbo+8yYwLFO3S4q2HJo23YVdkzPK71CeFrmqbHQfQ6tBO5Z5NbnRYSWjzPzPXnmEmt ezpZAXA5yrJZrSpaemGsVZR9tMXertiP44iIv9NF2XZxioUoa932hy09ZLHc2CALR33B QWqKUbg56jwp7YrRFZI9sO+HrXh5dhsr1eJR8hLRWHPRtp39FRdwbQEzHhViw/ABQwOa mevsexdZNfNtfziA9GOvwyXvTlMa+1kavPW4YFdZte7A4HNtqMlGFAgv5Gou9+cPJBiO /Fe6arx3kBWXjaVCBHGNqv1fvdTrkvcNbbGL3o8g5Iv2qaomCygv7WslIh43MBlY6KNr VdNw== X-Gm-Message-State: ALyK8tLseKoWplS1sWAvV1jWCdB+2hkjtpDnGQLASQsU0aou++Cl6j0frt2lBMMrV07/dzJgaASQYEXkwqhEHg== X-Received: by 10.200.52.72 with SMTP id v8mr18725590qtb.21.1466400374065; Sun, 19 Jun 2016 22:26:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.160.19 with HTTP; Sun, 19 Jun 2016 22:25:54 -0700 (PDT) From: Jeremy Date: Mon, 20 Jun 2016 00:25:54 -0500 Message-ID: Subject: x11/nvidia-driver 367.27 issues with supplied library blob To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 05:26:15 -0000 I recently updated the nvidia-driver obtained from the updated patch at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201340 to test if it was working. It compiles and works fine with syscons (I haven't tried to use it with VT), and with xserver 1.18.3 and KDE 4.14.3. I am running FreeBSD 10.3 stable r302020 However, while recompiling virtualbox-ose 4.3.38_1, I encountered an error related to the nvidia-driver. From my limited understanding, the trouble is with the supplied libnvidia-glcore.so.1 blob from Nvidia, so it is nothing FreeBSD can do at its end. Virtualbox failed to compile and stopped at checking for mesa / GLU. When I checked the configure.log I found this issue at the end of it... ***** Checking Mesa / GLU ***** compiling the following source file: #include #include #include #include ...bla bla bla clipped... } printf("found (inactive), OK.\n"); return 0; } using the following command line: clang++37 -g -O -Wall -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.38/.tmp_out /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.38/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lGL -I/usr/local/include" //usr/local/lib/libnvidia-glcore.so.1: undefined reference to `nv_vasprintf_alloc' //usr/local/lib/libnvidia-glcore.so.1: undefined reference to `nv_vasprintf_free' //usr/local/lib/libnvidia-glcore.so.1: undefined reference to `nv_vasprintf_vsnprintf' clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation) So my understanding is that it is an undefined reference issue with the supplied libnvidia-glcore.so.1 blob from the driver itself. If so, who should I contact from nvidia to report the issue? I looked at their FreeBSD developer board and it hasn't been active for 11 months. I know the community is trying to get the driver updated so they can finally land xserver 1.18 in the ports tree. This looks like an issue that needs to be fixed by nvidia now. Thank you all for your time. Jeremy Cox