Funny thing happened... I recompiled the module and then turned off the card, and the screen froze. Does this mean that the nvidia card was being used (nouveau)? and that's why I couldn't turn it off with vgaswitcheroo? How can I check which card (driver) is actually in use?
> -----Original Message----- > From: [email protected] > Sent: Thu, 28 Jul 2011 16:46:06 +0100 > To: [email protected], [email protected] > Subject: Re: [Hybrid-graphics-linux] Bumblebee test on PCI ID: 10de:0a75 > >> insmod: error inserting 'acpi_call.ko': -1 Invalid module format > > This error may just mean that you need to recompile the module: > cd /wherever/you/have/acpi_call > sudo make install > > On Thu, Jul 28, 2011 at 4:30 PM, Leonardo Morelli <[email protected]> > wrote: >> Well, after updating bumblebee my system reached the "leave me alone >> please!" state, so I uninstalled bumblebee, nvidia-current, etc. >> One of the main issues was that it was trying to boot with the nouveau >> driver, apparently, and the following message appears: >> >> [drm] nouveau 0000:01:00.0: LVDS present in DCB table, but couldn't >> determine its native mode. Disabling. >> >> After that I saw some scary messages such as "soft lockup on cpu#2 for >> 61s!", the system got unusable. >> >> Luckily, I was able to enter in recovery mode, and managed to reinstall >> libgl1-mesa-dri & -glx, uninstall bumblebee and (fingers-crossed) it is >> working as usual, except for turning off the nvidia card, it doesn't >> work now: >> >> insmod: error inserting 'acpi_call.ko': -1 Invalid module format >> >> but at least I can use my notebook. VGA-switcheroo is enabled but echo >> OFF says Permission denied (even with sudo). >> >> $ cat /sys/kernel/debug/vgaswitcheroo/switch >> 0:+:Pwr:0000:00:02.0 >> 1: :Pwr:0000:01:00.0 >> >> >>> -----Original Message----- >>> From: [email protected] >>> Sent: Sat, 16 Jul 2011 17:48:18 -0300 >>> To: [email protected] >>> Subject: Re: [Hybrid-graphics-linux] Bumblebee test on PCI ID: >>> 10de:0a75 >>> >>> Vga switcheroo reports that can handle the card. The problem is a >>> conflict with the method called to turn off the card at system startup. >>> >>> Try to disable the bumblebee "turnoff on startup" script, it seems that >>> it's not turning off the card correctly, that's why you see this kind >>> of >>> message: >>> FATAL: Error inserting nvidia_current >>> (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No >>> such >>> device >>> >>> Vga-switcheroo will work when the card is on and usable (nouveau driver >>> loaded). >>> The workaround to use vga-switcheroo is to unload the nvidia driver, >>> load the nouveau driver, call OFF on vga-switcheroo. To turn the card >>> on >>> the process is exactly tho opposite: call ON on vga-switcheroo, unload >>> the nouveau module, load the nvidia module. >>> >>> -- >>> Joaquín Ignacio Aramendía <[email protected]> >>> >>> El sáb, 16-07-2011 a las 12:16 -0800, Leonardo Morelli escribió: >>>> Under kubuntu 10.10 I tried the following: >>>> >>>> $ sudo service bumblebee stop >>>> * Starting Bumblebee X server bumblebee >>>> _PS0 Enabling nVidia Card Succeded. >>>> FATAL: Error inserting nvidia_current >>>> (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No >>>> such >>>> device >>>> [ OK ] >>>> $ sudo rmmod nvidia-current >>>> ERROR: Module nvidia_current does not exist in /proc/modules >>>> $ sudo modprobe -v nouveau >>>> insmod >>>> /lib/modules/2.6.35-30-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko >>>> $ dmesg | grep -i vga >>>> [26295.530661] VGA switcheroo: detected DSM switching method >>>> \_SB_.PCI0.P0P1.PEGP handle >>>> >>>> the "vgaswitcheroo: enabled" doesn't show up and neither the file >>>> /sys/.../vgaswitcheroo*. >>>> >>>> >>>> >>>>> -----Original Message----- >>>>> From: [email protected] >>>>> Sent: Sat, 16 Jul 2011 15:39:52 -0300 >>>>> To: [email protected] >>>>> Subject: Re: [Hybrid-graphics-linux] Bumblebee test on PCI ID: >>>>> 10de:0a75 >>>>> >>>>> Once you mount the debugfs, the /sys/vgaswitcheroo/switch file will >>>>> appear when you load the nouveau driver (the vga-switcheroo module >>>>> will >>>>> enable then, detect the DSM method and will handle acpi events from >>>>> the >>>>> nvidia card). >>>>> Try this: >>>>> https://wiki.archlinux.org/index.php/Bumblebee#Power_Switching_Using_Vga-switcheroo >>>>> >>>>> -- >>>>> Joaquín Ignacio Aramendía <[email protected]> >>>>> >>>>> El sáb, 16-07-2011 a las 07:34 -0800, Leonardo Morelli escribió: >>>>>> Tried mounting but mtab says it is already mounted, in fact, I can >>>>>> see >>>>>> many directories under /sys/kernel/debug except for vgaswitcheroo... >>>>>> >>>>>> >>>>>>> -----Original Message----- >>>>>>> From: [email protected] >>>>>>> Sent: Sat, 16 Jul 2011 00:56:16 -0300 >>>>>>> To: [email protected] >>>>>>> Subject: Re: [Hybrid-graphics-linux] Bumblebee test on PCI ID: >>>>>>> 10de:0a75 >>>>>>> >>>>>>> You must mount the debugfs filesystem: >>>>>>> # mount -t debugfs none /sys/kernel/debug/ >>>>>>> >>>>>>> To mount no every boot, add this line to the file "/etc/fstab": >>>>>>> none /sys/kernel/debug debugfs defaults 0 0 >>>>>>> >>>>>>> -- >>>>>>> Joaquín Ignacio Aramendía <[email protected]> >>>>>>> >>>>>>> El vie, 15-07-2011 a las 19:24 -0800, Leonardo Morelli escribió: >>>>>>>> After reading https://help.ubuntu.com/community/HybridGraphics, >>>>>>>> the vga_switcheroo thing is enabled: >>>>>>>> >>>>>>>> $ grep -i switcheroo /boot/config-2.6.35... >>>>>>>> CONFIG_VGA_SWITCHEROO=y >>>>>>>> >>>>>>>> but the file /sys/kernel/debug/vgaswitcheroo/switch doesn't exist, >>>>>>>> nor >>>>>>>> even the dir vgaswitcheroo... >>>>>>>> (I'm running Kubuntu 10.10) >>>>>>>> >>>>>>>> Do I need to do something else to make it appear? >>>>>>>> >>>>>>>> >>>>>>>>> -----Original Message----- >>>>>>>>> From: [email protected] >>>>>>>>> Sent: Fri, 15 Jul 2011 23:40:51 -0300 >>>>>>>>> To: [email protected] >>>>>>>>> Subject: Re: [Hybrid-graphics-linux] Bumblebee test on PCI ID: >>>>>>>>> 10de:0a75 >>>>>>>>> >>>>>>>>> This "error" is spreading. Is related to the methods called to >>>>>>>>> turn >>>>>>>>> on/off the card and the kernel being able to recognize the card >>>>>>>>> again >>>>>>>>> once turned on. This means that either the card was not properly >>>>>>>>> shut >>>>>>>>> down/turned on, or the kernel does not recognize it properly. Try >>>>>>>>> the >>>>>>>>> vga-switcheroo switch, it is known to work on some machines with >>>>>>>>> that >>>>>>>>> problem. >>>>>>>>> -- >>>>>>>>> Joaquín Ignacio Aramendía <[email protected]> >>>>>>>>> >>>>>>>>> El vie, 15-07-2011 a las 11:48 -0800, Leonardo Morelli escribió: >>>>>>>>>> Well, after installing Bumblebee and running optirun glxgears, I >>>>>>>>>> got >>>>>>>>>> the >>>>>>>>>> "FATAL: Error inserting nvidia_current" :s >>>>>>>>>> The acpi calls (on and off) are working. >>>>>>>>>> >>>>>>>>>> The thing is that after checking the /var/log/messages it says: >>>>>>>>>> >>>>>>>>>> NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:0a75) installed >>>>>>>>>> in >>>>>>>>>> this >>>>>>>>>> system is not supported by the 275.09.07 NVIDIA Linux graphics >>>>>>>>>> driver >>>>>>>>>> release. >>>>>>>>>> >>>>>>>>>> but... >>>>>>>>>> >>>>>>>>>> when I see the /usr/share/doc/nvidia-current/README.txt.gz, this >>>>>>>>>> line >>>>>>>>>> appears at the APPENDIX A: >>>>>>>>>> GeForce 310M 0x0A75 C >>>>>>>>>> >>>>>>>>>> so, apparently, ID 0x0a75 is supported... >>>>>>>>>> >>>>>>>>>> Should I file a bug report? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Leo >>>>>>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> TRY FREE IM TOOLPACK at >>>>>> http://www.imtoolpack.com/default.aspx?rc=if5 >>>>>> Capture screenshots, upload images, edit and send them to your >>>>>> friends >>>>>> through IMs, post on Twitter®, Facebook®, MySpace™, LinkedIn® – >>>>>> FAST! >>>>>> >>>>>> _______________________________________________ >>>>>> Mailing list: https://launchpad.net/~hybrid-graphics-linux >>>>>> Post to : [email protected] >>>>>> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux >>>>>> More help : https://help.launchpad.net/ListHelp >>>> >>>> ____________________________________________________________ >>>> Publish your photos in seconds for FREE >>>> TRY IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if4 >>>> >>>> _______________________________________________ >>>> Mailing list: https://launchpad.net/~hybrid-graphics-linux >>>> Post to : [email protected] >>>> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux >>>> More help : https://help.launchpad.net/ListHelp >> >> ____________________________________________________________ >> Send your photos by email in seconds... >> TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if3 >> Works in all emails, instant messengers, blogs, forums and social >> networks. >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~hybrid-graphics-linux >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux >> More help : https://help.launchpad.net/ListHelp >> ____________________________________________________________ Send any screenshot to your friends in seconds... Works in all emails, instant messengers, blogs, forums and social networks. TRY IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if2 for FREE _______________________________________________ Mailing list: https://launchpad.net/~hybrid-graphics-linux Post to : [email protected] Unsubscribe : https://launchpad.net/~hybrid-graphics-linux More help : https://help.launchpad.net/ListHelp

