GithubHelp home page GithubHelp logo

Comments (14)

awilliam avatar awilliam commented on June 30, 2024

I've used the modules on 2.6.38, so I don't think there's any fundamental incompatibility. The i915_jprobe module not loading should not affect whether you have a vgaswitcheroo file or not. That should entirely come from the asus-switcheroo module loading and doing so before nouveau loads. Double check that nouveau is blacklisted and only getting registered after asus-switcheroo. For the i915-jprobe error, do you have acpi_lid_notifier_register in /proc/kallsyms?

from asus-switcheroo.

Nicias avatar Nicias commented on June 30, 2024

I just tested this, loading asus-switcheroo before any other modules. I get the same thing as above in dmesg, but still no vgaswitcheroo file.

from asus-switcheroo.

Nicias avatar Nicias commented on June 30, 2024

Also, I just checked for that line in the /proc/kallsyms:

grep acpi_lid_notifier_register kallsyms
ffffffff812f17a9 T acpi_lid_notifier_register
ffffffff81691770 r __ksymtab_acpi_lid_notifier_register
ffffffff816ab40e r __kstrtab_acpi_lid_notifier_register

That is without i915-jprobe being loaded.

from asus-switcheroo.

nstadigs avatar nstadigs commented on June 30, 2024

I can second this issue
I have a fresh install of the latest ubuntu

from asus-switcheroo.

Nicias avatar Nicias commented on June 30, 2024

Perhaps you (awilliam) could post a working .config for 2.6.38?

from asus-switcheroo.

awilliam avatar awilliam commented on June 30, 2024

Works for me on stock Fedora 2.6.38. Can someone post a dmesg? My guess is nouveau isn't loading correctly from the initrd. I've found that blacklisting nouveau and loading it from an init script later often works more reliably.

from asus-switcheroo.

Nicias avatar Nicias commented on June 30, 2024

I'll post a dmesg when I get back to my laptop tonight. However, I think I posted the relevant parts. I'm not using an initrd, and I don't get that debug file, ever before the nvidia driver loads.

from asus-switcheroo.

Nicias avatar Nicias commented on June 30, 2024

here is my dmesg:

http://paste.pocoo.org/show/450885/

Sorry that I keep closing the issue by accident.

from asus-switcheroo.

awilliam avatar awilliam commented on June 30, 2024

I don't see nouveau loading, are you using the dummy_client option? In order to get the debugfs switcheroo file you need 2 clients and 1 handler. i915 should be registering a handler. asus/byo-switcheroo registers a handler. The nouveau driver typically registers the other client or asus/byo-switcher if you use the dummy_client option. If asus-switcheroo were using the dummy client option, I would expect to see "vga_switcheroo: enabled" in your dmesg.

from asus-switcheroo.

Nicias avatar Nicias commented on June 30, 2024

I'm using the dummy client option. The module is loaded with dummy_client=1.

from asus-switcheroo.

awilliam avatar awilliam commented on June 30, 2024

Let's make sure the dummy_client option is actually getting set. Check

cat /sys/module/asus_switcheroo/parameters/dummy_client

It should return Y or N.

from asus-switcheroo.

Nicias avatar Nicias commented on June 30, 2024

It returns Y

from asus-switcheroo.

awilliam avatar awilliam commented on June 30, 2024

Good. If you switch to byo-switcheroo with dummy_client=1 model=AsusUL30VT it will be equivalent to asus-switcheroo, but print whether the registration of the client succeeded. Your config does include CONFIG_VGA_SWITCHEROO=y, right?

from asus-switcheroo.

Nicias avatar Nicias commented on June 30, 2024

Ahhh, that fixed it. I had that turned off since I thought it would conflict with theses modules. Now it works! Thanks.

from asus-switcheroo.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.