Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44

Thread: Dell XPS15 L502X - Noob's way for Optimus issue

  1. #1
    Join Date
    Jan 2010
    Location
    India
    Beans
    42
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Smile Dell XPS15 L502X - Noob's way for Optimus issue

    Hey!
    I have a Dell XPS15 L502X with Nvidia GeForce GT 525M switchable with Intel HD Graphics accelerator. I have Ubuntu 11.04 but I am aware there is some issue with Optimus and it.
    I found many threads and posts for the solution for the above but couldn't make all of it.

    I am all new to 'acpi', 'bumblebee' etc.

    Can someone post step-by-step procedure for the solution?

    There is a thread which is regularly updated here.
    though I can't make much from it.

    I just dont want to use my Nvidia card as I use Ubuntu for only light tasks!

    Thanks a lot and appreciate it!

  2. #2
    Join Date
    Apr 2011
    Beans
    17

    Re: Dell XPS15 L502X - Noob's way for Optimus issue

    Hello,

    I don't know what You did, so I'll try to write every step You need.

    First of all, please make backup in case something go wrong.

    Steps to do in terminal:
    0. Don't even try to install nvidia drivers (if you really don't need nvidia graphic card).
    1. Add xorg edgers and install newest xorg
    Code:
    sudo add-apt-repository ppa:xorg-edgers/ppa && sudo apt-get update
    2. Install XORG
    Code:
    sudo apt-get install xorg
    3. For a second go away for terminal, and check updates (if you want you can of course check updates via apt-get):
    - ALT-F2 -> update-manager -> check -> install updates if available
    4. Reboot
    5. Open terminal
    6. If You have git already installed that's cool, otherwise install git-core
    7.
    Code:
    cd ~
    8.
    Code:
    git clone http://github.com/mkottman/acpi_call.git
    9.
    Code:
    cd acpi_call
    10.
    Code:
    make
    11.
    Code:
    sudo insmod acpi_call.ko
    12.
    Code:
    ./test_off.sh
    You probably switched off Your nvidia card!

    13. In my case calling all this acpi_methods, which are in test_off.sh, hangs up system sometimes.
    So I prefer to leave only this one I need:
    If You want this too, just edit test_off.sh and Your methods should look like this:
    Code:
    methods="
    	\_SB.PCI0.PEG0.PEGP._OFF
    	"
    remember about quotes.

    Hope this helps.

    Suspend not always working, I've done suspending works on my XPS, but I'm not sure how I did this .

  3. #3
    Join Date
    Jan 2010
    Location
    India
    Beans
    42
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Dell XPS15 L502X - Noob's way for Optimus issue

    Wow..cool! Thanks for that reply!!! Will try it out soon and let you know!

    But, do I have to run that script everytime I restart (read sumwer like that!) or just once is enough?

  4. #4
    Join Date
    Apr 2011
    Beans
    17

    Re: Dell XPS15 L502X - Noob's way for Optimus issue

    You need to run this every restart if You don't add it to autostart:
    Code:
    cd ~/acpi_call
    sudo insmod acpi_call.ko
    ./test_off.sh
    One more thing.
    If You had kernel updates You will need to recompile this, so like this:
    Code:
    make clean
    make
    and normal procedure then.

  5. #5
    Join Date
    Jan 2010
    Location
    India
    Beans
    42
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Talking Re: Dell XPS15 L502X - Noob's way for Optimus issue

    Amazing!! Thanks a ton!!!

    Again,a doubt!
    The procedure is independent of x32 or x64 bit Ubuntu right?

  6. #6
    Join Date
    Apr 2011
    Beans
    17

    Re: Dell XPS15 L502X - Noob's way for Optimus issue

    Yes, it doesn't matter if You installing that on x32 or x64 architecture.

  7. #7
    Join Date
    Mar 2010
    Location
    Ohio
    Beans
    457
    Distro
    Kubuntu

    Re: Dell XPS15 L502X - Noob's way for Optimus issue

    Hi, I used this to switch of the independent card in my Clevo W150HNQ, but after rebooting, it no longer works.

    The module still inserts into the kernel just fine, but running the test_off.sh files shows it failing on every attempt.

    Any suggestions?

    ETA: The Nvidia card no longer shows up in "lspci"

    EATAM: Running Xubuntu Natty.
    Last edited by Ranko Kohime; May 27th, 2011 at 08:28 PM.

  8. #8
    Join Date
    Jan 2010
    Location
    India
    Beans
    42
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Smile Re: Dell XPS15 L502X - Noob's way for Optimus issue

    @pszafer : Thanks a lot!!! All's working fine...I just didnt understand how to put that script to turn off the card during start-up!..Can u pls explain that as well.. Thanks anyway!!!

  9. #9
    Join Date
    Jun 2006
    Location
    netherlands
    Beans
    198
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Dell XPS15 L502X - Noob's way for Optimus issue

    I can run test_off.sh but though one of them says 'works', it doesn't safe me any battery life. So that should mean it isn't shut down is it?

    Also, I'm not sure how to correctly configure the bumblebee-disablecard and bumblebee-enablecard files.
    We seek to resolve frustration and abide in a comfortable, relaxed mind. We call that 'happiness'. And still I believe in that next upgrade...
    --dell xps m1330 t9300 2.5ghz 4gb 320Gb Nvidia 8400m gs--
    --lenovo w520 2720QM 8Gb Nvidia Quadro 1000

  10. #10
    Join Date
    Apr 2011
    Beans
    17

    Re: Dell XPS15 L502X - Noob's way for Optimus issue

    @Ranko Kohime
    give me output of:
    lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA

    and do You have windows installed on Your laptop?

    ----------
    @asn_knight
    Here is one of at least three ways to add it to startup:
    1. Open terminal
    2. Go to folder where You have your acpi_call.ko module, probably:
    Code:
    cd ~/acpi_call/
    3. Next we will copy this module to kernel modules
    Code:
    sudo cp acpi_call.ko /lib/modules/$(uname -r)/kernel/drivers/acpi/acpi_call.ko
    4. Now we need to add this to modules.
    Just in case we will make backup:
    Code:
    sudo cp /etc/modules /etc/modules.old
    5. Add module acpi_call to /etc/modules
    Code:
    echo acpi_call | sudo tee -a /etc/modules
    6. Restart and it should working now.

    @bro
    About battery life I cannot save as much as You need, but I got 9-cell battery and XPS15 is working about 5 hours on Ubuntu.
    On Windows I've almost not working but battery indicator shows 7 hours.
    In my case main problem and probably main place to find most power consumption is hard drive.
    It got 46 degrees (Celcius), but case is really hot in left hand area.

    About bumblebee last version (from Wednesday) stopped working on my laptop and I'm waiting at least one week to check functionality of it again

    Hope I helped You guys

Page 1 of 5 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •