hybrid-graphics-linux team mailing list archive
-
hybrid-graphics-linux team
-
Mailing list archive
-
Message #00860
Re: intel/nvidia nouveau working with github.com/awilliam module
On Mon, Apr 25, 2011 at 5:42 PM, Willy Sudiarto Raharjo
<willysr@xxxxxxxxx> wrote:
>>> I don't see any evidence that asus-switcheroo is getting loaded there.
>>> Do you find it in lsmod?
>>
>> This what confuses me
>> I have done all the thing in the Makefile (i have to adjust it with
>> Slackware's way) and the only thing i couldn't find is to add it to
>> initramfs
>> in Slackware, we use initrd, but when i tried to make a new initrd
>> with nouveau module, it failed to load
>>
>> Is it possible to load asus-switcheroo module after the system boot up
>> by putting it into /etc/rc.d/rc.modules ? (this is where all modules
>> are supposed to be loaded in Slackware)
>
> OK, i have put it in /etc/rc.d/rc.modules and it's loading now, but i
> found some errors
> new dmesg attached
If you're talking about these:
ACPI Error: Needed [Buffer/String/Package], found [Integer] f435c690
(20101013/exresop-590)
ACPI Exception: AE_AML_OPERAND_TYPE, While resolving operands for
[OpcodeName unavailable] (20101013/dswexec-460)
ACPI Error: Method parse/execution failed [\_SB_.PCI0.VGA_._DSM] (Node
f4830ac8), AE_AML_OPERAND_TYPE (20101013/psparse-537)
failed to evaluate _DSM: 12291
ACPI Error: Needed [Buffer/String/Package], found [Integer] f435c600
(20101013/exresop-590)
ACPI Exception: AE_AML_OPERAND_TYPE, While resolving operands for
[OpcodeName unavailable] (20101013/dswexec-460)
ACPI Error: Method parse/execution failed [\_SB_.PCI0.VGA_._DSM] (Node
f4830ac8), AE_AML_OPERAND_TYPE (20101013/psparse-537)
ACPI Error: Method parse/execution failed [\_SB_.PCI0.P0P1.VGA_._DSM]
(Node f4832e10), AE_AML_OPERAND_TYPE (20101013/psparse-537)
failed to evaluate _DSM: 12291
VGA switcheroo: detected DSM switching method \_SB_.PCI0.P0P1.VGA_ handle
They're usually from the nouveau driver probing the _DSM method using
the wrong data type for Arg3. But that's ok because asus-switcheroo
already loaded:
Found VGA device 0000:00:02.0 (\_SB_.PCI0.VGA_): IGD
Found VGA device 0000:01:00.0 (\_SB_.PCI0.P0P1.VGA_): DIS
Asus switcheroo: detected DSM switching method \_SB_.PCI0.P0P1.VGA_ handle
It seems you want to use the proprietary nvidia driver, so you
probably want to blacklist nouveau and load asus-switcheroo with the
dummy-client=1 option. The only way I've tried it is to then load the
nvidia kernel module (which I see getting loaded before
asus-switcheroo in your dmesg, not sure if it matters), switch to
discrete, then start X with the nvidia driver. Thanks,
Alex
Follow ups
References