Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No /sys/kernel/debug/vgaswitcheroo after loaded (Ubuntu 12.04) #14

Open
mekpro opened this issue May 1, 2012 · 3 comments
Open

No /sys/kernel/debug/vgaswitcheroo after loaded (Ubuntu 12.04) #14

mekpro opened this issue May 1, 2012 · 3 comments

Comments

@mekpro
Copy link

mekpro commented May 1, 2012

I'm using Asus UL30Vt with a fresh install of Ubuntu 12.04 LTS. I tried install the module with "make install-ubuntu", the make process seems fine as i reboot and got these 4 modules loaded.

modprobe -l
...
extra/asus-switcheroo/asus-switcheroo.ko
extra/asus-switcheroo/byo-switcheroo.ko
extra/asus-switcheroo/nouveau-jprobe.ko
extra/asus-switcheroo/i915-jprobe.ko

Also found /sys/module/asus_switcheroo/ directory too.

I'm pretty sure the module had been loaded, The problem, however, is that the path /sys/kernel/debug/vgaswitcheroo doesn't seems to exists at all. I tried adding debugfs to /etc/fstab and its also not work too.

uname -a
3.2.0-24-generic #37-Ubuntu SMP x86_64 GNU/Linux

Apologize my newbie

@awilliam
Copy link
Owner

awilliam commented May 1, 2012

Please provide dmesg, the vgaswitcheroo file is only created if there are 2 clients registered (nouveau + intel) and 1 handler, asus-switcheroo. If attempting to use this with the nvidia driver, see notes in README about the dummy-client option.

@mekpro
Copy link
Author

mekpro commented May 2, 2012

So many thanks ! It worked now.

I didn't notice that Ubuntu had automatically install NVIDIA driver for me. I uninstalled it and make sure the nouveau driver had been loaded. The debugfs had appeared now but the switch doesn't seem to have effect.

I then change the /etc/initramfs-tools/modules to skip i915-jprobe out and rerun update-initramfs -k all -u. (According to the readme, i think this module is not needed). Reboot, and worked. I'm not quite sure why.

Thanks again :)

@mekpro
Copy link
Author

mekpro commented May 2, 2012

A little note to anyone about the BIOS settings. For UL30Vt, the harddisk mode must be set to "Enhanced". Make sure of this by running lscpi and you should see 2 VGA Device, Intel and Nvidia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants