On Wed, 13 Jan 2021 at 14:40, Giancarlo Razzolini firstname.lastname@example.org wrote:
Em janeiro 12, 2021 15:24 Archange via arch-general escreveu:
OK, will try to check tomorrow with a friend that has an Optimus laptop.
If upstream is willing to pick up these changes, I'll wait on that, instead of making the proposed changes as of now.
I'm not sure I follow - how is upstream supposed to "pick" those up? These are packaging related and upstream doesn't do packaging after all.
The only non-packaging piece is the optirun script. I guess one can teach BB about "glvnd" bridge. In that case, the daemon stays to do power management and the executable correctly sets DRI_PRIME. None of the fancy Xorg instances or Xorg config management.
In the primus(primus_vk*) case they are completely removed in favour of compat script, since I don't want to annoy people. Although if you prefer I can omit the compatibility scripts all together :-P
Thanks Emil *Realised that I did not open a bug about primus_vk, but it's virtually identical to primus.