From owner-freebsd-x11@freebsd.org Sun Aug 9 21:00:31 2015 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 8537099DA20 for ; Sun, 9 Aug 2015 21:00:31 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 72808BC for ; Sun, 9 Aug 2015 21:00:31 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 70D3B99DA1F; Sun, 9 Aug 2015 21:00:31 +0000 (UTC) Delivered-To: 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 7075699DA1E for ; Sun, 9 Aug 2015 21:00:31 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D0FBB9 for ; Sun, 9 Aug 2015 21:00:31 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t79L0VIe040415 for ; Sun, 9 Aug 2015 21:00:31 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201508092100.t79L0VIe040415@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: x11@FreeBSD.org Subject: Problem reports for x11@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 09 Aug 2015 21:00:31 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Aug 2015 21:00:31 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 188833 | [suspend/resume] Suspend/resume with Intel GMA HD 1 problems total for which you should take action. From owner-freebsd-x11@freebsd.org Fri Aug 14 15:21:11 2015 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 82EBE9B9967 for ; Fri, 14 Aug 2015 15:21:11 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6307F1130 for ; Fri, 14 Aug 2015 15:21:11 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 5F6999B9966; Fri, 14 Aug 2015 15:21:11 +0000 (UTC) Delivered-To: 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 5F07D9B9965 for ; Fri, 14 Aug 2015 15:21:11 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (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 2AC5E112E for ; Fri, 14 Aug 2015 15:21:11 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: by igbjg10 with SMTP id jg10so14210990igb.0 for ; Fri, 14 Aug 2015 08:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9lB4p4z9CSjK7yelBSmNn5uRO04fPA1MucibqjcXjts=; b=YDjLU2HXCqP5l4319kHHsAGpIuLP79GWkQQhpTt4sN5H4DJWxRpLWBiNn0c9O+doW4 ef+BeaXUrpraXk9h4hmpPx0thOoHHChon9IlhrlNivNNaj1IOLOqcOuP5qgMDOvT3mQf 0/mgvxEmTcyL1OOTOEK9rLpC8VN/2WT7bvKUKUfHE+/FzVNQ6oRf6bpITVp2j3VsXUSH z3JkHnjgdhV2VYT8rPjFmFh6t5+agm6bUR8cUV30/RbeZvm8Gw/ZRwmkN8V7Y005YlID yzU8QJhVg4NaGP4UecwLOsnHC5EnJsRlKq88eZ4oSm6AwAeCYNkgmb+nowL2NtI+KK1D xRTw== MIME-Version: 1.0 X-Received: by 10.50.61.243 with SMTP id t19mr3305221igr.24.1439565670572; Fri, 14 Aug 2015 08:21:10 -0700 (PDT) Received: by 10.79.89.197 with HTTP; Fri, 14 Aug 2015 08:21:10 -0700 (PDT) Date: Fri, 14 Aug 2015 16:21:10 +0100 Message-ID: Subject: [RFC] Embed the mesa version in the library/binary name From: Emil Velikov To: mesa@packages.debian.org, Jonathan Gray , x11@FreeBSD.org, =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= , =?UTF-8?Q?Fran=C3=A7ois_Tigeot?= , riastradh@netbsd.org, Matthew Green , Jan de Groot , Andreas Radke , Igor Gnatenko , Stefan Dirsch Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Fri, 14 Aug 2015 16:07:17 +0000 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 15:21:11 -0000 Hello all, My name is Emil and I'm the person breaking^w fixing mesa's build amongst others. A while back I had this idea of renaming the libraries provided by mesa to include the actual version number. Prior to doing anything "crazy" I've decided to seek your feedback. * What The idea is to rename (ideally) all of the versioned libraries. Unversioned ones such as radeonsi_dri.so will remain as is. Note: the soname and symlinks will stay to avoid breaking compatibility. * How While I haven't fully decided on the exact approach I'm thinking of something like: libGL.so.1.0.0 -> libGL.so.11.0 or libGL.so.110.1 or libGL.so.11.01 Other suggestions and ideas are welcome but please keep the version to X.Y * Why A number of reasons: - The binary driver by Nvidia has been using this approach for years. - It provides quick and easy feedback in traces - In most cases, one can easily establish if the distro provided library is overwritten. - Allows multiple binaries to coexist, making the dynamic switching between libGL.so.110.1, libGL.so.11.2.0 (mesa), libGL.so.352.14 (nvidia) libGL.so.XX.Y (another vendor) a little bit easier. - OpenBSD, Solaris(?) use sunos 4 style versioning -> .so.major.minor How does this sound, do you foresee any pros/cons with the above proposal ? Any and all input is greatly appreciated, but please try to keep your replies technical and constructive. If there are any concerns wrt the required updates (of the build/packaging recipes) I'm willing to help out. As I'm not sure how many of you follow mesa-dev, would you be OK if I CC you in distro related~ish topics. Some (not so crazy) examples: - libEGL.so has additional dependency (via libdl) of X - OpenCL only works with render node devices, kernel vY or later is required - Mesa's new library libfoo.so should be shipped with libbar.so Thanks Emil From owner-freebsd-x11@freebsd.org Fri Aug 14 17:52:11 2015 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 26FAA9B8CA7 for ; Fri, 14 Aug 2015 17:52:11 +0000 (UTC) (envelope-from i.gnatenko.brain@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0071C1632 for ; Fri, 14 Aug 2015 17:52:11 +0000 (UTC) (envelope-from i.gnatenko.brain@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id F41669B8CA6; Fri, 14 Aug 2015 17:52:10 +0000 (UTC) Delivered-To: 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 D9D079B8CA5 for ; Fri, 14 Aug 2015 17:52:10 +0000 (UTC) (envelope-from i.gnatenko.brain@gmail.com) Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (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 5C3761631 for ; Fri, 14 Aug 2015 17:52:10 +0000 (UTC) (envelope-from i.gnatenko.brain@gmail.com) Received: by lbbtg9 with SMTP id tg9so50058677lbb.1 for ; Fri, 14 Aug 2015 10:52:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=wSoa9w3IY92I1F6J8vI6srz6K9MH3Cn2Wsgmow/Ju+Y=; b=NdosU9YWU3GQoblrGbImmmV0xl4Sxan3jczsTYLb+tJEqRvszB7BaqbTeKk0LJz2zW CJ0htluv609rjwhPZFU8b9JYFbGoXlz26aURhkE2Oplxnc5v43RZpkh75tQqG9Zmd3hu nM5zdKk4UwkuziieefMPJyRxUpuAfxb8kMEFfWxT+KbpvYYKC+hYunAQOPQeqwLzhU1V 7cSOwZ4X9ea0J68d8uslPfyZx2jwprrSF2JVAxAS03wU4kjg9mVdB2ei5d5rm3h+41Eq 8ugw4+Yhu1yMfczmT8gjkuEWq+5sCsjSb6IuJtACuVd6zCgOVJ6EWs0p97Prpk4hpKIu Lsng== MIME-Version: 1.0 X-Received: by 10.152.8.38 with SMTP id o6mr45224803laa.116.1439574728031; Fri, 14 Aug 2015 10:52:08 -0700 (PDT) Sender: i.gnatenko.brain@gmail.com Received: by 10.25.162.21 with HTTP; Fri, 14 Aug 2015 10:52:07 -0700 (PDT) Received: by 10.25.162.21 with HTTP; Fri, 14 Aug 2015 10:52:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 14 Aug 2015 20:52:07 +0300 X-Google-Sender-Auth: Xe58x3uT_7Sy73H-v9GSXatS11s Message-ID: Subject: Re: [RFC] Embed the mesa version in the library/binary name From: Igor Gnatenko To: Emil Velikov Cc: riastradh@netbsd.org, Stefan Dirsch , Andreas Radke , Jan de Groot , Jonathan Gray , =?UTF-8?Q?Fran=C3=A7ois_Tigeot?= , Matthew Green , =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= , mesa@packages.debian.org, x11@freebsd.org, mesa-owner X-Mailman-Approved-At: Fri, 14 Aug 2015 18:56:55 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 17:52:11 -0000 On Aug 14, 2015 6:21 PM, "Emil Velikov" wrote: > > Hello all, Hi, > > My name is Emil and I'm the person breaking^w fixing mesa's build > amongst others. Yes, we know :D > > A while back I had this idea of renaming the libraries provided by > mesa to include the actual version number. Prior to doing anything > "crazy" I've decided to seek your feedback. > > > * What > The idea is to rename (ideally) all of the versioned libraries. > Unversioned ones such as radeonsi_dri.so will remain as is. > > Note: the soname and symlinks will stay to avoid breaking compatibility. > > > * How > While I haven't fully decided on the exact approach I'm thinking of > something like: > libGL.so.1.0.0 -> libGL.so.11.0 or libGL.so.110.1 or libGL.so.11.01 I'd like to see 11.0 for 11.0, 11.1 for 11.1 and etc. > > Other suggestions and ideas are welcome but please keep the version to X.Y > > > * Why > A number of reasons: > - The binary driver by Nvidia has been using this approach for years. > - It provides quick and easy feedback in traces > - In most cases, one can easily establish if the distro provided > library is overwritten. > - Allows multiple binaries to coexist, making the dynamic switching > between libGL.so.110.1, libGL.so.11.2.0 (mesa), libGL.so.352.14 > (nvidia) libGL.so.XX.Y (another vendor) a little bit easier. > - OpenBSD, Solaris(?) use sunos 4 style versioning -> .so.major.minor > > > How does this sound, do you foresee any pros/cons with the above > proposal ? Any and all input is greatly appreciated, but please try to > keep your replies technical and constructive. I'm fully agree with proposal, but one question. How much libs/programs links against libGL or other libs? I mean how much programs we will rebuild every release? > > If there are any concerns wrt the required updates (of the > build/packaging recipes) I'm willing to help out. > > > As I'm not sure how many of you follow mesa-dev, would you be OK if I > CC you in distro related~ish topics. > Some (not so crazy) examples: > - libEGL.so has additional dependency (via libdl) of X > - OpenCL only works with render node devices, kernel vY or later is required > - Mesa's new library libfoo.so should be shipped with libbar.so I would be happy to be CCed. > > > Thanks > Emil From owner-freebsd-x11@freebsd.org Fri Aug 14 19:56:41 2015 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 0988E9BA4C2 for ; Fri, 14 Aug 2015 19:56:41 +0000 (UTC) (envelope-from rclark@redhat.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DE3991C33 for ; Fri, 14 Aug 2015 19:56:40 +0000 (UTC) (envelope-from rclark@redhat.com) Received: by mailman.ysv.freebsd.org (Postfix) id DD3C79BA4C1; Fri, 14 Aug 2015 19:56:40 +0000 (UTC) Delivered-To: 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 C2F689BA4C0 for ; Fri, 14 Aug 2015 19:56:40 +0000 (UTC) (envelope-from rclark@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A21C11C31 for ; Fri, 14 Aug 2015 19:56:40 +0000 (UTC) (envelope-from rclark@redhat.com) Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 5C92B36AA28; Fri, 14 Aug 2015 19:47:58 +0000 (UTC) Received: from mail.corp.redhat.com (unused [10.10.50.236] (may be forged)) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7EJlrgS002428 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 14 Aug 2015 15:47:55 -0400 Date: Fri, 14 Aug 2015 15:47:53 -0400 From: Rob Clark To: Igor Gnatenko Cc: Emil Velikov , riastradh@netbsd.org, Stefan Dirsch , Andreas Radke , Jan de Groot , Jonathan Gray , =?utf-8?B?RnJhbsOnb2lz?= Tigeot , Matthew Green , =?utf-8?Q?Jean-S=C3=A9bastien_P=C3=A9dron?= , mesa@packages.debian.org, x11@freebsd.org, mesa-owner , ajax@redhat.com Subject: Re: [RFC] Embed the mesa version in the library/binary name Message-ID: <20150814194753.GC19762@mail.corp.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Mailman-Approved-At: Fri, 14 Aug 2015 20:30:31 +0000 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 19:56:41 -0000 On Aug 14 2015 or thereabouts, Igor Gnatenko wrote: > On Aug 14, 2015 6:21 PM, "Emil Velikov" wrote: > > > > Hello all, > Hi, > > > > My name is Emil and I'm the person breaking^w fixing mesa's build > > amongst others. > Yes, we know :D > > > > A while back I had this idea of renaming the libraries provided by > > mesa to include the actual version number. Prior to doing anything > > "crazy" I've decided to seek your feedback. > > > > > > * What > > The idea is to rename (ideally) all of the versioned libraries. > > Unversioned ones such as radeonsi_dri.so will remain as is. > > > > Note: the soname and symlinks will stay to avoid breaking compatibility. > > > > > > * How > > While I haven't fully decided on the exact approach I'm thinking of > > something like: > > libGL.so.1.0.0 -> libGL.so.11.0 or libGL.so.110.1 or libGL.so.11.01 > I'd like to see 11.0 for 11.0, 11.1 for 11.1 and etc. Adam probably knows better, but I thought libGL.so/.1/.1.2.0 as part of the linux/unix GL ABI? So not really sure that it is something we can actually change. That said, with the libOpenGL stuff we could probably do something better. BR, -R > > > > Other suggestions and ideas are welcome but please keep the version to X.Y > > > > > > * Why > > A number of reasons: > > - The binary driver by Nvidia has been using this approach for years. > > - It provides quick and easy feedback in traces > > - In most cases, one can easily establish if the distro provided > > library is overwritten. > > - Allows multiple binaries to coexist, making the dynamic switching > > between libGL.so.110.1, libGL.so.11.2.0 (mesa), libGL.so.352.14 > > (nvidia) libGL.so.XX.Y (another vendor) a little bit easier. > > - OpenBSD, Solaris(?) use sunos 4 style versioning -> .so.major.minor > > > > > > How does this sound, do you foresee any pros/cons with the above > > proposal ? Any and all input is greatly appreciated, but please try to > > keep your replies technical and constructive. > I'm fully agree with proposal, but one question. How much libs/programs > links against libGL or other libs? I mean how much programs we will rebuild > every release? > > > > If there are any concerns wrt the required updates (of the > > build/packaging recipes) I'm willing to help out. > > > > > > As I'm not sure how many of you follow mesa-dev, would you be OK if I > > CC you in distro related~ish topics. > > Some (not so crazy) examples: > > - libEGL.so has additional dependency (via libdl) of X > > - OpenCL only works with render node devices, kernel vY or later is > required > > - Mesa's new library libfoo.so should be shipped with libbar.so > I would be happy to be CCed. > > > > > > Thanks > > Emil From owner-freebsd-x11@freebsd.org Fri Aug 14 21:49:09 2015 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 9621D9B98AE for ; Fri, 14 Aug 2015 21:49:09 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 720C717C5 for ; Fri, 14 Aug 2015 21:49:09 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6F11A9B98AD; Fri, 14 Aug 2015 21:49:09 +0000 (UTC) Delivered-To: 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 55C1D9B98AC for ; Fri, 14 Aug 2015 21:49:09 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (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 1DF0E17C2 for ; Fri, 14 Aug 2015 21:49:09 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: by igbjg10 with SMTP id jg10so21072565igb.0 for ; Fri, 14 Aug 2015 14:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UbWM/6+cwnI1XVmaPJQUzOtiZU04v9Qon3OitS0Oiic=; b=v2Fdi2JhDwXbdNjep1UqLQmCnXbEzGyk2M/tGLgGN+FNi089bnLlFeh/mrnAJzAOxg 82A3Yjn+a1yvU6nIdjPcS4SrDSe9ze3jCvAwnv7phpevNQoKocHr4aJWENIiGpxpOPFO E8NWy5GWlFZh8yl7fdQ/LeTR7KVsiTUFjzDbRHdvKHqr9rogiCP83iOaq9A9BPM339m5 s4LSZA+UthkCtnalX8yNDlyo4jkEnpDHAhQBfsbeeOGrF6GGEBuYNTk3S2g2lwGY+EMz G+U6lMg3aM2Ify0bdHh4iIASRLQ/zLGkUOU1FZ8bUxsVCd1w8aC7XjM3oSmGmC7nkan4 0T7g== MIME-Version: 1.0 X-Received: by 10.50.29.101 with SMTP id j5mr4754413igh.50.1439588948580; Fri, 14 Aug 2015 14:49:08 -0700 (PDT) Received: by 10.79.89.197 with HTTP; Fri, 14 Aug 2015 14:49:08 -0700 (PDT) In-Reply-To: <20150814194753.GC19762@mail.corp.redhat.com> References: <20150814194753.GC19762@mail.corp.redhat.com> Date: Fri, 14 Aug 2015 22:49:08 +0100 Message-ID: Subject: Re: [RFC] Embed the mesa version in the library/binary name From: Emil Velikov To: Rob Clark Cc: Igor Gnatenko , riastradh@netbsd.org, Stefan Dirsch , Andreas Radke , Jan de Groot , Jonathan Gray , =?UTF-8?Q?Fran=C3=A7ois_Tigeot?= , Matthew Green , =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= , mesa@packages.debian.org, x11@freebsd.org, mesa-owner , Adam Jackson Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Fri, 14 Aug 2015 22:36:53 +0000 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 21:49:09 -0000 On 14 August 2015 at 20:47, Rob Clark wrote: > On Aug 14 2015 or thereabouts, Igor Gnatenko wrote: >> On Aug 14, 2015 6:21 PM, "Emil Velikov" wrote: >> > >> > Hello all, >> Hi, >> > >> > My name is Emil and I'm the person breaking^w fixing mesa's build >> > amongst others. >> Yes, we know :D >> > >> > A while back I had this idea of renaming the libraries provided by >> > mesa to include the actual version number. Prior to doing anything >> > "crazy" I've decided to seek your feedback. >> > >> > >> > * What >> > The idea is to rename (ideally) all of the versioned libraries. >> > Unversioned ones such as radeonsi_dri.so will remain as is. >> > >> > Note: the soname and symlinks will stay to avoid breaking compatibility. >> > >> > >> > * How >> > While I haven't fully decided on the exact approach I'm thinking of >> > something like: >> > libGL.so.1.0.0 -> libGL.so.11.0 or libGL.so.110.1 or libGL.so.11.01 >> I'd like to see 11.0 for 11.0, 11.1 for 11.1 and etc. > > Adam probably knows better, but I thought libGL.so/.1/ These files are symlinks to the actual library and will not be renamed. >.1.2.0 as part of > the linux/unix GL ABI? So not really sure that it is something we can > actually change. > I'm fairly confident it's not part of the ABI. I've been through the documentation five+ times, solely looking for it and did not see any hints, let alone explicit statement. Not to mention that nvidia has been using this approach since dawn of time. Even their oldest legacy driver 71.x (one supporting Geforce 256) uses it. > That said, with the libOpenGL stuff we could probably do something > better. > That does not prevent us from doing minor tweaks :) Cheers, Emil From owner-freebsd-x11@freebsd.org Fri Aug 14 22:00:30 2015 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 139A99B9A35 for ; Fri, 14 Aug 2015 22:00:30 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E4AE11BBA for ; Fri, 14 Aug 2015 22:00:29 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id E08829B9A34; Fri, 14 Aug 2015 22:00:29 +0000 (UTC) Delivered-To: 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 E01CB9B9A33 for ; Fri, 14 Aug 2015 22:00:29 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (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 A8C291BB8 for ; Fri, 14 Aug 2015 22:00:29 +0000 (UTC) (envelope-from emil.l.velikov@gmail.com) Received: by igui7 with SMTP id i7so21134810igu.0 for ; Fri, 14 Aug 2015 15:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2pXSB3CfRmib62rQ0mcvpRXNJZV62SrW6JqG2A0ILnI=; b=KYkjDBiwBkpq/pCMsXIDFJCVKzzHoRgEi2tno0/Pc9VmXqKKDk7f145UQhQIIQRoMB BnpAfsQViIcEMuU2OxYI63aN/ap7vEfwLAw+hhBJCyu3kd3b6A6hLTa0B9hTQV/Evd+l WjvLm6qe2m06QhxrTo8X+mrxELN/Fxt7B/AE4SXykz/zJL3Pp66uke9gsq/rzOcgA7N7 nGKtGmZPTQjdgWriMKoVWG3Ymw1HBINnPG5TLXlRgJfjSFJGvV7poktnVW/bSSoMsOl3 smLrQo+LgZrfcsATSEj9ZqKFZKtcfAUq1mPbrgcxQwmIzheJ7YUPjts7uvadGzj6GKQP ixlQ== MIME-Version: 1.0 X-Received: by 10.50.78.133 with SMTP id b5mr4797560igx.70.1439589629166; Fri, 14 Aug 2015 15:00:29 -0700 (PDT) Received: by 10.79.89.197 with HTTP; Fri, 14 Aug 2015 15:00:29 -0700 (PDT) In-Reply-To: References: Date: Fri, 14 Aug 2015 23:00:29 +0100 Message-ID: Subject: Re: [RFC] Embed the mesa version in the library/binary name From: Emil Velikov To: Igor Gnatenko Cc: riastradh@netbsd.org, Stefan Dirsch , Andreas Radke , Jan de Groot , Jonathan Gray , =?UTF-8?Q?Fran=C3=A7ois_Tigeot?= , Matthew Green , =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= , mesa@packages.debian.org, x11@freebsd.org, mesa-owner Content-Type: text/plain; charset=UTF-8 X-Mailman-Approved-At: Fri, 14 Aug 2015 22:37:04 +0000 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 22:00:30 -0000 On 14 August 2015 at 18:52, Igor Gnatenko wrote: > I'm fully agree with proposal, but one question. How much libs/programs > links against libGL or other libs? I mean how much programs we will rebuild > every release? The libGL.so and libGL.so.1 (and equivalents for other libraries) will not be renamed. Thus nothing will need to be rebuild, as everything is (and will be) using the original libGL.so.1 soname. Hmm guess I should have included this example in the original email :) $ ls -la /usr/lib/libGL*.so* libGLESv1_CM.so -> libGLESv1_CM.so.11.1 libGLESv1_CM.so.1 -> libGLESv1_CM.so.11.1 libGLESv1_CM.so.11.1 libGLESv2.so -> libGLESv2.so.11.1 libGLESv2.so.2 -> libGLESv2.so.11.1 libGLESv2.so.11.1 libGL.so -> libGL.so.11.1 libGL.so.1 -> libGL.so.11.1 libGL.so.11.1 > I would be happy to be CCed. Great, thanks. -Emil From owner-freebsd-x11@freebsd.org Fri Aug 14 23:37:32 2015 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 1716F9BA992 for ; Fri, 14 Aug 2015 23:37:32 +0000 (UTC) (envelope-from rclark@redhat.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EA6BE1893 for ; Fri, 14 Aug 2015 23:37:31 +0000 (UTC) (envelope-from rclark@redhat.com) Received: by mailman.ysv.freebsd.org (Postfix) id E707B9BA991; Fri, 14 Aug 2015 23:37:31 +0000 (UTC) Delivered-To: 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 CCB2E9BA990 for ; Fri, 14 Aug 2015 23:37:31 +0000 (UTC) (envelope-from rclark@redhat.com) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ADFDB1892 for ; Fri, 14 Aug 2015 23:37:31 +0000 (UTC) (envelope-from rclark@redhat.com) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 603758E766; Fri, 14 Aug 2015 23:37:30 +0000 (UTC) Received: from mail.corp.redhat.com (vpn-61-243.rdu2.redhat.com [10.10.61.243]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7ENbQiV019084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 14 Aug 2015 19:37:28 -0400 Date: Fri, 14 Aug 2015 19:37:26 -0400 From: Rob Clark To: Emil Velikov Cc: Igor Gnatenko , riastradh@netbsd.org, Stefan Dirsch , Andreas Radke , Jan de Groot , Jonathan Gray , =?utf-8?B?RnJhbsOnb2lz?= Tigeot , Matthew Green , =?utf-8?Q?Jean-S=C3=A9bastien_P=C3=A9dron?= , mesa@packages.debian.org, x11@freebsd.org, mesa-owner , Adam Jackson Subject: Re: [RFC] Embed the mesa version in the library/binary name Message-ID: <20150814233726.GD19762@mail.corp.redhat.com> References: <20150814194753.GC19762@mail.corp.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Mailman-Approved-At: Sat, 15 Aug 2015 01:01:55 +0000 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 23:37:32 -0000 On Aug 14 2015 or thereabouts, Emil Velikov wrote: > On 14 August 2015 at 20:47, Rob Clark wrote: > > On Aug 14 2015 or thereabouts, Igor Gnatenko wrote: > >> On Aug 14, 2015 6:21 PM, "Emil Velikov" wrote: > >> > > >> > Hello all, > >> Hi, > >> > > >> > My name is Emil and I'm the person breaking^w fixing mesa's build > >> > amongst others. > >> Yes, we know :D > >> > > >> > A while back I had this idea of renaming the libraries provided by > >> > mesa to include the actual version number. Prior to doing anything > >> > "crazy" I've decided to seek your feedback. > >> > > >> > > >> > * What > >> > The idea is to rename (ideally) all of the versioned libraries. > >> > Unversioned ones such as radeonsi_dri.so will remain as is. > >> > > >> > Note: the soname and symlinks will stay to avoid breaking compatibility. > >> > > >> > > >> > * How > >> > While I haven't fully decided on the exact approach I'm thinking of > >> > something like: > >> > libGL.so.1.0.0 -> libGL.so.11.0 or libGL.so.110.1 or libGL.so.11.01 > >> I'd like to see 11.0 for 11.0, 11.1 for 11.1 and etc. > > > > Adam probably knows better, but I thought libGL.so/.1/ > These files are symlinks to the actual library and will not be renamed. > > >.1.2.0 as part of > > the linux/unix GL ABI? So not really sure that it is something we can > > actually change. > > > I'm fairly confident it's not part of the ABI. I've been through the > documentation five+ times, solely looking for it and did not see any > hints, let alone explicit statement. Not to mention that nvidia has > been using this approach since dawn of time. Even their oldest legacy > driver 71.x (one supporting Geforce 256) uses it. Ok, if it is just a matter of adding symlinks, and apps can still link against libGL.so or libGL.so.1 or whatever, it seems fine. And I guess if nv is doing it, then it is probably not non-compliant. Anyways, I'm defn not the expert in such things, but I think there is some expectation that apps can link against a driver agnostic shared lib path an expect things to work with other drivers.. (ofc having an icd seems like it would be a good thing, so hopefully libOpenGL actually happens some day) BR, -R > > > That said, with the libOpenGL stuff we could probably do something > > better. > > > That does not prevent us from doing minor tweaks :) > > Cheers, > Emil From owner-freebsd-x11@freebsd.org Sat Aug 15 10:11:29 2015 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 5E5779B9E0A for ; Sat, 15 Aug 2015 10:11:29 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 47F9212B9 for ; Sat, 15 Aug 2015 10:11:29 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 473A29B9E09; Sat, 15 Aug 2015 10:11:29 +0000 (UTC) Delivered-To: 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 46DC59B9E08 for ; Sat, 15 Aug 2015 10:11:29 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org (portscout.freebsd.org [IPv6:2001:1900:2254:206a::50:6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3807A12B7 for ; Sat, 15 Aug 2015 10:11:29 +0000 (UTC) (envelope-from portscout@FreeBSD.org) Received: from portscout.freebsd.org ([127.0.1.123]) by portscout.freebsd.org (8.15.2/8.15.2) with ESMTP id t7FABTnp023351 for ; Sat, 15 Aug 2015 10:11:29 GMT (envelope-from portscout@FreeBSD.org) Received: (from portscout@localhost) by portscout.freebsd.org (8.15.2/8.15.2/Submit) id t7FABTtG023350; Sat, 15 Aug 2015 10:11:29 GMT (envelope-from portscout@FreeBSD.org) Message-Id: <201508151011.t7FABTtG023350@portscout.freebsd.org> X-Authentication-Warning: portscout.freebsd.org: portscout set sender to portscout@FreeBSD.org using -f Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain MIME-Version: 1.0 Date: Sat, 15 Aug 2015 10:11:29 +0000 From: portscout@FreeBSD.org To: x11@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Aug 2015 10:11:29 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/x11@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ graphics/gbm | 9.1.7 | 9.2.5 ------------------------------------------------+-----------------+------------ graphics/libEGL | 9.1.7 | 9.2.5 ------------------------------------------------+-----------------+------------ graphics/libdrm | 2.4.60 | 2.4.63 ------------------------------------------------+-----------------+------------ graphics/libglapi | 9.1.7 | 9.2.5 ------------------------------------------------+-----------------+------------ graphics/libglesv2 | 9.1.7 | 9.2.5 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Thanks.