Open sfehlandt opened 12 years ago
This is the content of: /var/log/Xorg.8.log
[ 4600.015]
X.Org X Server 1.10.1
Release Date: 2011-04-15
[ 4600.015] X Protocol Version 11, Revision 0
[ 4600.015] Build Operating System: Linux 2.6.24-28-server x86_64 Ubuntu
[ 4600.015] Current Operating System: Linux sfehland-RF511-RF411-RF711 2.6.38-12-generic #51-Ubuntu SMP Wed Sep 28 14:27:32 UTC 2011 x86_64
[ 4600.015] Kernel command line: BOOTIMAGE=/boot/vmlinuz-2.6.38-12-generic root=UUID=8b22c5c7-0cc5-416f-a40e-bed63436d5fd ro quiet splash vt.handoff=7
[ 4600.015] Build Date: 13 October 2011 05:43:01PM
[ 4600.015] xorg-server 2:1.10.1-1ubuntu1.3 (For technical support please see http://www.ubuntu.com/support)
[ 4600.015] Current version of pixman: 0.20.2
[ 4600.015] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4600.015] Markers: (--) probed, (*) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
4600.015 Log file: "/var/log/Xorg.8.log", Time: Sat Oct 29 01:38:56 2011
4600.015 Using config file: "/etc/X11/xorg.conf.nvidia"
4600.015 Using system config directory "/usr/share/X11/xorg.conf.d"
4600.016 ServerLayout "Layout0"
4600.016 |-->Screen "Screen0" (0)
4600.016 | |-->Monitor "Monitor0"
4600.016 | |-->Device "Device0"
4600.016 Option "AutoAddDevices" "false"
4600.016 Not automatically adding devices
4600.016 Automatically enabling devices
4600.017 The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 4600.017] Entry deleted from font path.
4600.017 The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 4600.017] Entry deleted from font path.
4600.017 The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 4600.017] Entry deleted from font path.
4600.017 The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 4600.017] Entry deleted from font path.
4600.017 The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 4600.017] Entry deleted from font path.
4600.017 FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
4600.017 ModulePath set to "/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules"
4600.017 Extension "Composite" is enabled
4600.017 |-->Input Device "
$sudo ironhide-settings
then change "Always enable the nVidia card before disabling" option to "No" reboot and try again to work
Thanks for your help.
I was searching for solutions before your answer and I found this: https://github.com/MrMEEE/ironhide/issues/13. So I tried it with a manual configuration (It seems what happened before was because of the another users settings I used) and it works again. I just had to get the power off working.
After a lot of reading and searching I found an script for Dell L702x that powers off and on the nvidia card (this is the link: http://linux-hybrid-graphics.blogspot.com/2011/06/dell-l702x-linux-hybrid-graphics-step.html). This script works perfect in mi Samsung RF511. So I tried to use it with the ironhide-disablecard and ironhide-enablecard.
I tried making the ironhide-disablecard and ironhide-enablecard run the script. It worked ok the first time I called optirun glxgears, then I closed, ok too. But when I tried to call optirun glxgears again it didn't work, throwing this:
"FATAL: Error inserting nvidia_current (/lib/modules/2.6.38-12-generic/updates/dkms/nvidia-current.ko): No such device ... * The nvidia driver was not loaded, try: sudo modprobe nvidia-current * The Ironhide Xserver failed to start. Please check /var/log/Xorg.8.log[fail] ironhide could not be started - optirun cannot be executed."
Then I realized my script is very similar to an example I found here for the Dell L702x, so I used those ironhide-disablecard and ironhide-enablecard files instead of calling the script, but o got the same result.
This is my ironhide-disablecard: https://github.com/MrMEEE/ironhide/blob/master/examples/ironhide-disablecard.dell.InspironN5110.XPSL702X
And this is my ironhide-enablecard file: https://github.com/MrMEEE/ironhide/blob/master/examples/ironhide-enablecard.dell.InspironN5110.XPSL702X
Also the ironhide indicator works fine but the ironhide-app-settings isn't. I tried to erase the examples.desktop in my home/.local/shar/applications but there's no file with that name.
Also I made what lunderlini said.
The nvidia driver was not loaded is one thing what I talk about. The indicator-app-settings is another problem, #77 give a way to fix. First, edit /usr/share/ironhide-ui/app/Config.py as #77 said. Second, copy the script under #77 to replace /usr/share/ironhide-ui/ironhide-indicator then reboot to see if it works with indicator-app-settings
Thanks! That fixed the app-settings problem :)
But I still have the other problem. I re-installed nvidia-current, nvidia-settings, ironhide and ironhide-ui, reconfigured ironhide, and I made some tests.
When I don't use the power management scripts (ironhide-enablecard and ironhide-disablecard), it works ok. If I just use the ironhide-enablecard it works ok too, but if I use the ironhide-disablecard it crashes after the 2° optirun call. Also (even just after a reboot) if I power off the card and then I powered it on, the optirun call crashes too. So the problem is disabling the card (it is in fact powered off, but then, even if I powered it back on, I can't enable it)
PS: I did what you said about change "Always enable the nVidia card before disabling" option to "No". And I have Option ConnectedMonitor DFP-0 in my /etc/X11/xorg.conf.nvidia.
I had confuse before, about how to use ironhide-enable and ironhide-disable. I know now optirun can control the card on or off with ironhide-enable and ironhide-disable. So you just use the ironhide-app-settings to control if app use card or not, or write some shortcut for app with optirun. Whenever the app close, the card turn off automatically. Only some case eg. #156, need to use ironhide-enable and ironhide-disable to make thing right.
I think you misunderstood me. I know optimus automatically powers on or off the card, by running the ironhide-enablecard before calling the application and then running ironhide-disablecard after it is closed.
What I did was always try optirun but editing the ironhide-enablecard and the ironhide-disablecard, and commenting the instructions that power the card on and off in each file. So when I run optimus when the ironhide-enablecard with all the instructions (including the one that powers the card on) it works fine.
But when I run optimus with ironhide-disablecard with the instructions to power the card off, it crashes the 2° time. I mean, I call optirun glxgears and works fine, I close the window it's still ok, but then I call optimus glxgears again and then it crashes throwing:
"FATAL: Error inserting nvidia_current (/lib/modules/2.6.38-12-generic/updates/dkms/nvidia-current.ko): No such device ... * The nvidia driver was not loaded, try: sudo modprobe nvidia-current * The Ironhide Xserver failed to start. Please check /var/log/Xorg.8.log[fail] ironhide could not be started - optirun cannot be executed."
I made some tests now without the AC plug (just battery) and the battery life is about 3 hours, then I run optirun glxgears and the battery life is about 1:30 hours. Then I closed the window, the battery life goes back to 3 hours. Then I run the other script I mentioned later to just power the card off and the battery life goes up to 5 hours. (all this with the same programs running, the same screen bright, etc). So I have to configure the ironhide-disablecard to do this.
Maybe you can try ironhide-xen: ironhide is Optimus support for Linux, with real offloading, but I never try. https://launchpad.net/~mj-casalogic/+archive/ironhide/+sourcepub/2035562/+listing-archive-extra
Hi
I have a Samsung RF511 with an NVIDIA GeForce GT540M, mi OS is Ubuntu 11.04 Natty 64 bits I first tried bumblebee but then I heard of ironhide so I installed it and I installed the ironhide ui. I ran ironhide-configuration and selected one of the recommended settings, continued with the steps and it was done. Everything was fine, optirun command were ok and the ironhide notification icon showed when the discrete card was enabled.
But I couldn't ran the ironhide-app-settings and the recommended setting I selected didn't have power managemente script so I tried to reconfigure it and selected another setting recommended but with power management script. But in this case the NVIDIA dindn't work and I got this error message in the terminal:
The nvidia driver was not loaded, try: sudo modprobe nvidia-current * The Ironhide Xserver failed to start. Please check /var/log/Xorg.8.log[fail]
So please helpe me!! What should I do? I've heard that reinstall the nvidia drivers can make my system crash, but i'm not sure, now I get the full Intel fonctionality, like the Unity and compiz effects...
Please help!!! Best Regards