Gentoo Archives: gentoo-user

From: Davyd McColl <davydm@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] libGL symlinks vs `eselect opengl`
Date: Wed, 29 Aug 2018 18:20:51
Message-Id: CAJjP=BsCFPMCnrS02bFvubMx5Xmy3oveJF7+qps0SA6OE5_07Q@mail.gmail.com
In Reply to: Re: [gentoo-user] libGL symlinks vs `eselect opengl` by Andrew Savchenko
1 Thanks for getting back to me. I'd really like to not make a useless bug
2 report, so please bear with me:
3
4 1. Am I correct that I should report here:
5 https://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux
6 2. I ask the above because I'm not entirely clear on how to CC opengl and
7 celestia at the above url. If that's the right place (and it looks to be
8 right), please let me know how to apply the correct CCs such that the right
9 people get eyes on this and I'm not spamming the wrong people (:
10
11 Thanks
12 -d
13
14 On Wed, 29 Aug 2018 at 18:19, Andrew Savchenko <bircoph@g.o> wrote:
15
16 > Hi!
17 >
18 > On Wed, 22 Aug 2018 20:33:00 +0200 Davyd McColl wrote:
19 > > The other day I installed Celestia for the entertainment of my son, who
20 > is
21 > > delighted with anything stellar / planetary. Celestia wouldn't start up,
22 > > and, long-story-short, I tracked down the issue to the symlinks:
23 > >
24 > > /usr/lib64/libGL.so
25 > > /usr/lib64/libGL.so.1
26 > >
27 > > which ultimately point to
28 > >
29 > > /usr/lib64/libGL.so.1.2.0,
30 > >
31 > > provided by media-libs/mesa. Naturally, I assumed I'd made a mistake with
32 > > `eselect` at some point, so I checked with `eselect opengl list` and
33 > found
34 > > that, as expected, my selected opengl implementation was nvidia. Just in
35 > > case, I switched over to xorg-x11 (mesa) and back again, but this didn't
36 > > fix the problem.
37 > >
38 > > Manually redirecting these to /usr/lib64/opengl/nvidia/lib/libGL.so
39 > > (provided by x11-drivers/nvidia-drivers) works, however, of course,
40 > portage
41 > > doesn't know anything about this, so the update I received today for
42 > > media-libs/mesa reverted these symlinks back to pointing at mesa libs.
43 > >
44 > > So the questions I have are these:
45 > > 1) Am I reasonable in expecting `eselect opengl` to maintain these
46 > > symlinks? I feel like it's a reasonable expectation, but perhaps there's
47 > > just yet another thing I have to learn / understand.
48 >
49 > No, eselect opengl works differently. It uses /etc/env.d to alter
50 > LDPATH and OPENGL_PROFILE environment variables. It also changes
51 > xorg.conf.
52 >
53 > So you may need to restart your X server and source /etc/profile in
54 > active shells for changes to take effect.
55 >
56 > > 2) Should I be logging a bug (against eselect, or perhaps celestia, since
57 > > this is the only app which seems to have suffered this fate -- games like
58 > > Torchlight 2 and utils like glxgears work just fine; glxinfo reports
59 > NVIDIA
60 > > extensions), or is there just something I've fundamentally missed or
61 > messed
62 > > up here?
63 >
64 > If glxinfo reports correct data and glxgears works fine, then this
65 > may be a bug and please report it. You may CC both celestia and
66 > opengl since right now it is not obvious which is the culprit.
67 >
68 > Best regards,
69 > Andrew Savchenko
70 >
71
72
73 --
74 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
75 If you say that getting the money is the most important thing
76 You will spend your life completely wasting your time
77 You will be doing things you don't like doing
78 In order to go on living
79 That is, to go on doing things you don't like doing
80
81 Which is stupid.
82
83 - Alan Watts
84 https://www.youtube.com/watch?v=-gXTZM_uPMY
85
86 *Quidquid latine dictum sit, altum sonatur. *

Replies

Subject Author
Re: [gentoo-user] libGL symlinks vs `eselect opengl` Andrew Savchenko <bircoph@g.o>