On Tuesday, May 5, 2015 at 11:45:50 AM UTC-4, Vít Šesták wrote: > Yes, a wiki topic might be useful, but I will likely not write it until > https://github.com/QubesOS/qubes-issues/issues/988 is fixed, because it makes > explaining the process to all too complicated and fixing it should be > relatively easy. > > Regards, > Vít Šesták 'v6ak' > > On Tuesday, May 5, 2015 at 5:27:52 PM UTC+2, David Hobach wrote:Thanks for > sharing your acquired knowledge; I guess it will help some users! > > > > Personally I didn't care about power consumption too much; that's why I > > didn't have the same problem. I had an nvidia GPU though which I had to > > blacklist (without bumblebee). > > > > Might be worth having a wiki article on the topic. > > > > On 05.05.2015 09:08, Vít Šesták wrote: > > > Now, it seems to be rather solved. At least the Nvidia power consumption > > > seems to be gone. The power consumption now seems to be on par with my > > > non-virtualized Ubuntu 12.04.* with Bumblebee and proprietary Nvidia > > > drivers. This suggests proprietary drivers are not needed (I don't have > > > them in Ubuntu) for low power consumption. Just having a working > > > Bumblebee is likely enough. (BTW, using Nvidia GPU in Qubes does not > > > seem to make any sense if Intel GPU is present, expect for HDMI.) > > > > > > I've done multiple attempts, they include: > > > * Adding the Bumblebee repo to dom0 (the most tricky part for multiple > > > reasons) > > > * Installing Bumblebee (in dom0) > > > * Installing bbswitch (in dom0) > > > * Installing TLP (in dom0) > > > * Now, I don't have blacklisted nouveau through grub. (It might have > > > collided with Bumblebee. The Bumblebee does its own blacklisting, > > > though. But it seems to be reasonable to remove all your attempts to > > > blacklist the Nvidia kernel modules, since it is handled by Bumblebee.) > > > * sudo systemctl enable tlp && sudo systemctl enable tlp-sleep.service > > > && sudo systemctl enable bumblebee # Maybe all of there are unnecessary, > > > but I am not sure about default settings > > > * reboot :) > > > > > > I hope I've written everything important there for solving the Nvidia > > > power consumption. Some of the steps might be unneeded. I hope the most > > > important part is installing Bumblebee (and adding Bumblebee > > > repository). Installing bbswitch might be also needed, but Bumblebee has > > > multiple backends, so I am not 100% sure. Installing TLP has might have > > > no impact on Nvidia power consumption, but it might improve other HW > > > power consumption (powertop is now more happy), so it is advisable. > > > > > > When I reinstall Qubes, I hope I can reproduce these steps. > > > > > > Now, Qubes seems to be usable for me. I've to solve some other issues > > > (backup size, USB isolation, hard SSD+HDD mixing, minor sound issues), > > > but none of them seems to be a blocker. > > > > > > If you are unsure about some of these steps, you can ask. I hope I can > > > provide some help. > > > > > > Regards, > > > Vit Sestak 'v6ak' > > > > > > On Monday, May 4, 2015 at 12:27:03 PM UTC+2, Vít Šesták wrote: > > > > > > Reported the two issues under > > > https://github.com/QubesOS/qubes-issues/issues/988 > > > <https://github.com/QubesOS/qubes-issues/issues/988> and > > > https://github.com/QubesOS/qubes-issues/issues/987 > > > <https://github.com/QubesOS/qubes-issues/issues/987> . > > > > > > I've tried both bbswitch and bumblebee. I was able to install both, > > > but I was not able to cut the power consumption down. But I have not > > > tried to find the issue, I can try it later… At least, I have some > > > little progress :) > > > > > > Regards, > > > Vít Šesták 'v6ak' > > > > > > On Monday, May 4, 2015 at 11:34:06 AM UTC+2, Vít Šesták wrote: > > > > > > Finally got Bumblebee installed! I'll restart the Qubes in order > > > to see if there is a progress. > > > > > > Problem #1: /var/lib/qubes/updates/errors not automatically > > > deleted, so qubes-dom0-updates gave it up if there was a problem > > > in the past: > > > > > https://github.com/abeluck/qubes-core/commit/a680976f1e48664c543272c2f4ce6ef08b024c50#diff-c2fc1ccc6b7d0d54b8baa948e60180d3R90 > > > > > <https://github.com/abeluck/qubes-core/commit/a680976f1e48664c543272c2f4ce6ef08b024c50#diff-c2fc1ccc6b7d0d54b8baa948e60180d3R90> > > > > > > Problem #2: Too strict regexp for parsing the output of rpm -K > > > caused GPG key rejection. On the bumlbebee package, rpm -K 1. > > > returns the checks in different order and 2. returns "gpg" > > > instead of "pgp". Problematic code: > > > > > https://github.com/abeluck/qubes-core/commit/2950ee717005eb148461c83a92eb088c9a542f92#diff-9edf4e30fdc866530e395a45a829c27bR37 > > > > > <https://github.com/abeluck/qubes-core/commit/2950ee717005eb148461c83a92eb088c9a542f92#diff-9edf4e30fdc866530e395a45a829c27bR37> > > > > > > I'll report these two issues on Github. > > > > > > Regards, > > > Vit Sestak 'v6ak' > > > > > > On Monday, May 4, 2015 at 10:53:56 AM UTC+2, Vít Šesták wrote: > > > > > > > > > This seems to be some Qubes bug. When I transfer the package > > > from sys-firewall to dom and run rpm -K > > > bumblebee-3.2.1-7.fc21.x86_64.rpm, it tells me that the GPG > > > signature is OK. > > > > > > When I run the rpm -K bumblebee-3.2.1-7.fc21.x86_64.rpm in > > > the sys-firewall, it used not to recognize the signature. > > > After I imported the public key to sys-firewall, it can > > > verify the RPM package, but sudo qubes-dom0-update bumblebee > > > and sudo qubes-dom0-update still complains about not having > > > the signature. Maybe qubes-dom0-update uses some different > > > keystore? > > > > > > Regards, > > > Vit Sestak 'v6ak' > > > > > > On Saturday, May 2, 2015 at 4:08:34 PM UTC+2, Vít Šesták wrote: > > > > > > I've tried the Bumblebee installation. It is rather > > > hard. I've done the following: > > > > > > 1. Downloaded > > > > > http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora21/noarch/bumblebee-release-1.2-1.noarch.rpm > > > > > <http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora21/noarch/bumblebee-release-1.2-1.noarch.rpm> > > > 2. extracted two files from it: > > > * /etc/yum.repos.d/bumblebee.repo > > > * /etc/pki/rpm-gpg/RPM-GPG-KEY-bumblebeepublic > > > 3. Verified the files that the key is well known and the > > > *.repo requires GPG key check. > > > 4. Copied the files to their location in Dom0 manually. > > > 5. sudo qubes-dom0-update bumblebee - did not install it > > > 6. sudo qubes-dom0-update, which tried to install it, > > > but it compained about missing key with the exactly same > > > key id as /etc/pki/rpm-gpg/RPM-GPG-KEY-bumblebeepublic > > > 7. Tried rpm --import > > > etc/pki/rpm-gpg/RPM-GPG-KEY-bumblebeepublic on the > > > verified key and hoped it will fix the issue. > > > 8. Tried sudo qubes-dom0-update bumblebee and sudo > > > qubes-dom0-update again, with no luck. It again > > > complains about a missing key that exists. > > > > > > Well, it might just improperly complain about someone > > > trying to forge the key using a key id collision, but I > > > don't think this is the case... > > > > > > How can I import the GPG key? > > > > > > Regards, > > > Vit Sestak 'v6ak' > > >
I've been trying to install bumblebee but I have been unable to get it to install properly. I have added the proper repos to dom0 by copying the rpms over to it and installing them. But then I get a "Failed to synchronize cache for repo 'bumblebee', disabling" error when attempting to update dom0 or install bumblebee. How did you get it to work? Thanks -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/f10dd873-e131-4864-944e-39fdd25032eb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.