I don't have experience with NVIDIA Optimus, but according to https://wiki.debian.org/NVIDIA%20Optimus#Using_NVIDIA_PRIME_Render_Offload, and assuming it's up-to-date, it looks like passing those environment variables (__NV_PRIME_RENDER_OFFLOAD=1 and __GLX_VENDOR_LIBRARY_NAME=nvidia) is expected from the user. Has this changed? Is there a way for for a strictly-confined snap to detect that it's running with the PRIME profile, and set those variables accordingly, maybe?
** Tags added: snap ** Changed in: thunderbird (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to thunderbird in Ubuntu. https://bugs.launchpad.net/bugs/1945031 Title: Thunderbird snap won't launch unless with offloading variable __NV_PRIME_RENDER_OFFLOAD=1 Status in thunderbird package in Ubuntu: Incomplete Bug description: After installing Thunderbird snap, it won't launch while on PRIME profile "NVIDIA on-demand" unless it is run with the offloading variable __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia thunderbird Here's the info for the latest/beta snap v93.0b3 but the same is confirmed to occur with the latest/stable v78.13.0 Description: Ubuntu Impish Indri (development branch) Release: 21.10 name: thunderbird summary: Mozilla Thunderbird email application publisher: Canonical✓ store-url: https://snapcraft.io/thunderbird contact: https://launchpad.net/distros/ubuntu/+source/thunderbird license: unset description: | Thunderbird is a free and open source email, newsfeed, chat, and calendaring client, that’s easy to set up and customize. One of the core principles of Thunderbird is the use and promotion of open standards - this focus is a rejection of our world of closed platforms and services that can’t communicate with each other. We want our users to have freedom and choice in how they communicate. commands: - thunderbird snap-id: k1Ml1O9GzSO2QftV0ZlWSbUfQ78nN460 tracking: latest/beta refresh-date: hoje às 02:57 +00 channels: latest/stable: 78.13.0 2021-08-19 (138) 69MB - latest/candidate: 91.1.1 2021-09-20 (148) 76MB - latest/beta: 93.0b3 2021-09-22 (149) 77MB - latest/edge: ↑ installed: 93.0b3 (149) 77MB - What I expected to happen: Thunderbird launching successfully What happened instead: Thunderbird did not launch, without any warning or error displayed. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1945031/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp