MrMEEE / bumblebee-Old-and-abbandoned

OUTDATED!!!!! - Replaced by "The Bumblebee Project" and "Ironhide"
http://www.martin-juhl.dk/2011/08/ironhide-reporting-for-duty/
469 stars 50 forks source link

Can't disable card on Dell L502X - Fedora #578

Closed s0101 closed 13 years ago

s0101 commented 13 years ago

I am running Fedora 15 on a Dell XPS 15 l502x. Bumblebee installed correctly, 'optirun64 glxgears' does fine. However, i am unable to turn off the card because the nvidia module is in use:

su -c 'bumblebee-disablecard'
Password: 
FATAL: Module nvidia is in use.
Error: could not unload nvidia module, leaving card turned on

Thinking GNOME3 / X11 might be using the video card, I edited my xorg.conf.nvidia file to use the Intel graphics. I added Intel as a Device0 and moved nvidia to Device1, as suggested by one forum thread I found.

Section "Device"
    Identifier     "Device0"
    Driver          "intel"
    VendorName       "onboard"
    BusID        "PCI:00:02:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "PCI:01:00:0"
    Option         "IgnoreEDID"
    Option         "ConnectedMonitor" "CRT-0"
EndSection

After I did this, I was able to disable the card (at least it did not complain, I don't really know if it actually stopped using power, it just said "disabling succeded"). However, 'optirun64 glxgears' now failed:

[VGL] ERROR: Could not open display :1

I already reverted the conf file back to how it was, with the disablecard error. What must I do? Has anyone configured this computer correctly with bumblebee? I want to keep the card off unless I am actually using it for some game. I believe GNOME3 can run on Sandy Bridge graphics, I don't know what might be using the nvidia module and keeping it from being unloaded. I am using power management configuration 19 on the l502x list, by some Andy Kwong, which supposedly has card shutdown capability.

paulvriens commented 13 years ago

Just a note that disabling/enabling is still considered experimental and hence nothing was added automatically (for Fedora) to disable/enable cards.

The main reason why you can't disable the card is most likely that the nvidia X-server is still runing (check with 'ps -ef | grep Xorg'). To stop the server 'sudo /etc/init.d/bumblebee stop' then you should be able to disable the card. But as said disabling/enabling is not encouraged, by me at least, right now.

ArchangeGabriel commented 13 years ago

Please try the new version here : https://github.com/Bumblebee-Project/Bumblebee.

paulvriens commented 13 years ago

That one doesn't support Fedora (yet)

ArchangeGabriel commented 13 years ago

Yes, sorry, for similar issue I've said to wait for support. Looks like I've forgot to do that here.