On 06/15/2014 08:36 PM, Kirill Elagin wrote:
>> Any software such as ‘mpv’ that I put in my
>> configuration.nix will think it's using OpenGL 1.4.
>>
>> This carries over to the user, where you'll see the similar output.
>>
>> What I have noticed in the past is that sometimes if I nix-env -i an
>> existing piece of software on my user account, it will no longer think
>> it's using OpenGL 1.4 and will behave properly. I had this happen with
>> ‘mpv’ before but I can't currently replicate.
> 
> Either the description above is wrong or your patch doesn't fix that
> behaviour as the quote suggests that something's really wrong is going on
> and I can think only of one case fixed by your commit, that is running
> OpenGL programs via `sudo`.
> 
> 
> --
> Кирилл Елагин
> 

As I mention I couldn't replicate when writing the e-mail so perhaps I
am misremembering. I'll make an issue if I stumble upon this specific
behaviour again but the commit in question should solve the other part
of the problem (not all users having LD_LIBRARY_PATH set).

> On Sun, Jun 15, 2014 at 9:19 PM, Vladimír Čunát <[email protected]> wrote:
> 
>> On 06/14/2014 04:22 AM, Mateusz Kowalczyk wrote:
>>
>>> I notice inconsistent behaviour between my root and user accounts when
>>> it comes to OpenGL. [...]
>>>
>>
>> Yes, LD_LIBRARY_PATH should be set for anyone who wants to use OpenGL.
>> Otherwise you may get default mesa driver or none at all (depends on
>> package).
>>
>> I pushed a commit to master, which should fix it.
>> https://github.com/NixOS/nixpkgs/commit/de78327
>>
>>
>> Vlada
>>
>>
>>
>> _______________________________________________
>> nix-dev mailing list
>> [email protected]
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
> 
> 
> 
> _______________________________________________
> nix-dev mailing list
> [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
> 


-- 
Mateusz K.
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to