Re: [qubes-users] Re: Qubes and Broadcom BCM4360 - A Success Story

2017-01-21 Thread Gray Olson
On Friday, January 20, 2017 at 11:48:06 PM UTC-5, Gray Olson wrote:
> On Wednesday, December 21, 2016 at 12:17:52 PM UTC-5, Kent Davis wrote:
> > Maybe you could use sleep, e.g., sleep 30 at the beginning of your
> > rc.local? kinda hacky though...
> > 
> > On Wed, Dec 21, 2016 at 9:58 AM, Dave Cohen <qu...@dave-cohen.com> wrote:
> > >
> > >
> > > On Wed, Dec 21, 2016, at 08:53 AM, Kent Davis wrote:
> > >> I'm not certain, but based on when wireless comes up, I think it runs
> > >> towards the end of the boot process.
> > >>
> > >
> > > I mean rc.local.  Can I put some instruction in there and make sure it is 
> > > performed at the very end of startup?
> 
> I figured it out! The problem is that you ordered your rmmods wrong. I 
> figured this out because if I disabled the rc.local script and just ran it on 
> my own after boot, it would require to be run twice because two of the other 
> modules were being used by b43 and therefore could not be disabled with it 
> still running. So, you need to disable it first. This rc.local works 
> perfectly on Fedora 24:
> 
> ```
> # Unload conflicting modules.
> rmmod b43
> rmmod ssb
> rmmod bcma
> rmmod brcmsmac
> rmmod wl
> 
> # blacklist modules that may interfere with wl (broadcom)
> # Not sure if this matters, haven't tried without
> echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
> echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
> echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
> echo "blacklist brcmsmac" >> /etc/modprobe.d/blacklist.conf
> 
> mount --bind /rw/modules /lib/modules
> systemctl restart systemd-udevd
> 
> modprobe wl
> 
> ```

Okay so I've found another issue. For some reason, when the system is 
hibernated (e.g. lid is closed), the module seems to unload itself and the 
whole netvm freezes, requiring a "kill vm" and restart for it to work again. 
Any ideas on the cause of this?

-- 
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/e1b2a779-792b-4705-afd7-04020266ede1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: NVIDIA DRIVER and OPTIMUS

2017-01-20 Thread Gray Olson
On Friday, January 20, 2017 at 9:38:35 AM UTC-5, nezn...@xy9ce.tk wrote:
> Jesus Christ! Is there are at least one way to install proprietary driver for 
> discrete videocard? I lost so many months! I read tones of manuals! I'm 
> already annoyed! 
> I tried this  https://www.qubes-os.org/doc/install-nvidia-driver/
> I installed fedora 18, but..
> 
> >>>You will need at least kernel-devel (matching your Qubes dom0 kernel)
> 
> ...i haven't in fedora 18 a kernel-devel matching with my Qubes dom0! WTF? 
> How i can did this?
> 
> I think qubes-authors should been create video-support team about 5 years 
> ago! Because i already think to buy a laptop without Optimus, however don't 
> know how i will be solving this problem. Can somebody just create a video for 
> people like me? For future. I'm tired from futile manuals and advices.

It's impossible. It's a known bug with Xen and nVidia drivers past version 
3.19.xxx or something like that. See this thread: 
https://devtalk.nvidia.com/default/topic/691565/geforce-driver-problem-on-centos-6-4-with-xen-installed/

The only way is to use Nouveau. Problem with that is, Nouveau doesn't support 
new-ish GPUs without upgrading to kernels past the current Qubes supported 
kernels. So, nvidia owners are SOL with Qubes atm.

-- 
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/f1bce300-5598-4cc2-8278-00afda269ecf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.