hybrid-graphics-linux team mailing list archive
-
hybrid-graphics-linux team
-
Mailing list archive
-
Message #00832
Re: doubs asus-switcheroo in asus u36jc
On Fri, Apr 22, 2011 at 4:38 AM, Diego <diegosolor@xxxxxxxxx> wrote:
> firstable, many many thanks for make this module, I was waiting for months
> to can use my nvidia card in linux
> I have ubuntu 11.04 beta, with the kernel 2.6.38, and I have a doub about
> when to launch the order "echo OFF > ..." or "echo DIS > ...", because if I
> do for example a "echo DDIS > ..." and then I reboot de X, I only obtain a
> black screen.
> If I lauch ubuntu in recovery mode, with no X up, and then I tray to power
> off the intel card or change between then, the sreen freezes again and
> nothing happends
> I had no problems with the compilation part, and the module asus-switcheroo
> starts any time I boot
> can you help me plz?
I've been finding that with newer kernels, like the one in Ubuntu
11.04 and Fedora 15, nouveau often isn't loading properly from the
initramfs. It will complain about finding an unsupported chipset. If
you unload it after boot and reload it loads ok, but something isn't
quite right with switcheroo then. What seems to work is to blacklist
nouveau so it doesn't get loaded in the initramfs, then load it during
the initscripts. To do this, try:
1) Add this line to /etc/modprobe.d/asus-switcheroo.conf:
blacklist nouveau
2) Add this line to /etc/modules:
nouveau
3) Remove the asus-switcheroo line from /etc/initramfs-tools/modules
4) Rebuild initramfs: update-initramfs -u -k `uname -r`
5) Reboot
That works for me on ubuntu 11.04 on my ul30vt, though unity doesn't
want to run with nouveau. For Fedora 15, the equivalent instructions
are:
1) Add this line to /etc/modprobe.d/asus-switcheroo.conf:
blacklist nouveau
2) Create /etc/sysconfig/modules/asus-switcheroo.modules containing:
#!/bin/sh
modprobe nouveau
3) chmod 0755 /etc/sysconfig/modules/asus-switcheroo.modules
4) Remove asus-switcheroo from /etc/dracut.conf.d/asus-switcheroo.conf
5) Rebuild initramfs with: dracut -f /boot/initramfs-`uname -r`.img `uname -r`
6) Reboot
This also works for Fedora 14 and should maybe be how we set things up
by default. Fedora doesn't seem to have any trouble running gnome3
with 3D support on nouveau after switching to DIS, so I'm not sure why
Ubuntu isn't working. Hope this helps,
Alex
Follow ups
References