[arch-dev-public] Mesa, Nvidia and libglvnd (the good, the bad and the ugly) :)

Laurent Carlier lordheavym at gmail.com
Sun Feb 12 20:10:42 UTC 2017

Le dimanche 12 février 2017, 20:17:07 CET Bruno Pagani a écrit :
> Hi,
> Thanks for thinking about libglvnd support in Arch. ;)
> Le 12/02/2017 à 19:22, Laurent Carlier via arch-dev-public a écrit :
> > Bumblebee will not work anymore with Nvidia and Mesa, but only with prime
> > (1).
> This sentence doesn’t really make sense. Bumblebee doesn’t work with
> PRIME, they are two different solutions to Optimus support under Linux.
> Some more correct statements:

Doh, yes, really badly worded. I had the wild idea that bumblebee wasn't 
supporting libglvnd, and i was wrong. 

> – Bumblebee will still work with VirtualGL, but some changes will be
> required for primus [1] (I’m not sure since I did not have time to test
> it yet, but it could be as simple as patching bumblebee/primusrun for
> exporting __GLVND_DISALLOW_PATCHING=1 when running optirun with primus
> or primusrun, anyway I asked the person who fixed it in Fedora what
> changes this has required);
> – what will change with Nvidia PRIME support is that it would be easier
> to switch from a X server running on Intel to a one running on Nvidia,
> like nvidia-prime allows on Ubuntu, because you won’t have to switch
> libgl packages on-the-fly. That’s a big win from an usability POV.
> > Nvidia-340xx driver will still work with bumblebee but will need a
> > specific
> > (non libglvnd?) Mesa version.
> Hum… What makes nvidia-340xx situation different from nvidia-304xx, and
> without even talking of Bumblebee, does it even work with libglvnd?
> AFAIK, the support was introduced in 361 series, and wasn’t backported
> to the 340xx branch.

yes, nvidia-340xx doesn't provide any libglvnd support, and i don't know if 
it's planned

> Regarding Bumblebee, I don’t think it would require anything specific,
> but I should be able to test that and work around once everything will
> have landed. ;)

Thanks Bruno for explaination about bumblebee situation
> Regards,
> Bruno
> [1] https://github.com/amonakov/primus/issues/193

Laurent Carlier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20170212/ef7742f6/attachment-0001.asc>

More information about the arch-dev-public mailing list