Open mizeraka opened 13 years ago
Also, I am using the swat X-org updates, not the edgers Xorg updates, so I have the 280.13 Nvidia drivers currently installed.
Oh my xorg.conf.nvidia file says: Section "DRI" Mode 0666 EndSection
Section "ServerLayout" Identifier "Layout0" Screen "Screen0" Option "AutoAddDevices" "false" EndSection
Section "Module" Load "dbe" Load "extmod" Load "glx" Load "record" Load "freetype" Load "type1" EndSection
Section "Files" EndSection
Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BusID "PCI:01:00:0" Option "IgnoreEDID" Option "ConnectedMonitor" "DFP-0" EndSection
Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1920x1200" "1920x1080" "1680x1050" "1600x1200" "1440x900" "1280x1024" "1366x768" "1360x768" "1280x800" "1024x768" "800x600" "640x480" EndSubSection EndSection
Section "Extensions" Option "Composite" "Enable" EndSection
Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 28.0 - 73.0 VertRefresh 43.0 - 72.0 Option "DPMS" Modeline "1920x1200" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync Modeline "1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync Modeline "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync Modeline "1600x1200" 161.00 1600 1712 1880 2160 1200 1203 1207 1245 -hsync +vsync Modeline "1440x900" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync Modeline "1366x768" 85.25 1366 1440 1576 1784 768 771 781 798 -hsync +vsync Modeline "1280x800" 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync Modeline "1280x1024" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
Just tried bumblebee again, and got similar errors. The Bumblebee Xserver failed to start,
the bumblebee.log says:
[ 54.58] Optirun start request received.
[ 54.58] Checking for X server availability before starting X...
[ 54.58] X server is not started
[ 54.59] Enabling graphics card (loading driver)...
[ 54.79]
[ 54.79] Starting X...
[ 54.79] Waiting for X server to become available...
[ 65.08] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log
[ 65.08] Waiting for orders
[ 386.24] Checking for X server availability before stopping it...
[ 386.26] The X server has not started or the pidfile is invalid.
[ 386.27] X is stopped.
[ 386.27] Disabling graphics card (unloading driver)...
the Xorg.8.log says:
55.557 NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
55.557 NVIDIA(0): check your system's kernel log for additional error
55.557 NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
55.557 NVIDIA(0): README for additional information.
55.557 NVIDIA(0): Failed to initialize the NVIDIA graphics device!
55.557 UnloadModule: "nvidia"
...
55.557 Screen(s) found, but none have a usable configuration.
[ 55.557]
Fatal server error:
[ 55.557] no screens found
and the kernel log shows the same thing as above.
try running the ironhide-settings utility and change "Always enable the nVidia card before disabling" to 0/no... and the reboot
OK, I did that... I'm still having problems.
I no longer get that "Failed to insert nvidia-current.ko" error, since I changed the "Always enable the nvidia card before disabling"
I still get "* The Ironhide Xserver failed to start. Please check /var/log/Xorg.8.log ", when I run ironhide-configuration or when I try to run anything under optirun. I don't see the same errors in my kern.log as I did before.
the Xorg.8.log has the same errors as before:
240.002 NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please
240.002 NVIDIA(0): check your system's kernel log for additional error
240.002 NVIDIA(0): messages and refer to Chapter 8: Common Problems in the
240.002 NVIDIA(0): README for additional information.
240.002 NVIDIA(0): Failed to initialize the NVIDIA graphics device!
240.002 UnloadModule: "nvidia"
240.002 Unloading nvidia
240.002 UnloadModule: "wfb"
240.002 Unloading wfb
240.002 UnloadModule: "fb"
240.002 Unloading fb
240.002 Screen(s) found, but none have a usable configuration.
[ 240.002]
Fatal server error:
[ 240.002] no screens found
My kern.log has these interesting parts:
Sep 3 08:36:07 Ankernel: [ 634.179460] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
Sep 3 08:36:07 A kernel: [ 634.179487] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Sep 3 08:36:07 A kernel: [ 634.179502] nvidia 0000:01:00.0: setting latency timer to 64
Sep 3 08:36:07 A kernel: [ 634.179514] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
Sep 3 08:36:07 A kernel: [ 634.179810] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 280.13 Wed Jul 27 16:53:56 PDT 2011
Sep 3 08:36:37 A kernel: [ 664.399586] acpi_call: Calling _SB.PCI0.PEG0.PEGP._ON
Sep 3 08:36:38 A kernel: [ 664.893587] acpi_call: Call successful: 0x1
Sep 3 08:36:38 A kernel: [ 664.898510] acpi_call: Calling _SB.PCI0.PEG0.PEGP._PS0
Sep 3 08:36:38 A kernel: [ 664.898568] acpi_call: Call successful: 0x0
Thanks for helping, do you have any other suggestions, or do you need other info from me?
Please try to update to version -ubuntu35 .. it should be available within the hour.. made a bug...
I tried version -ubuntu36, and I am having the same exact problems. Namely, I get failure of the Ironhide Xserver to start. I resubmitted my bugreport attached to this bug number (37).
I was looking over the bug report #2 by wavded and I notice that if I ls -la /dev/nv* I see
crw-rw-rw- 1 root root 195, 0 2011-09-07 23:47 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 2011-09-07 23:47 /dev/nvidiactl
But when I do "sudo ironhide-enablecard",
followed by "LD_LIBRARY_PATH=/usr/lib/nvidia-current /usr/lib/nvidia-current/bin/nvidia-xconfig --query-gpu-info",
I get
NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
WARNING: Unable to use the nvidia-cfg library to query NVIDIA hardware.
ERROR: Unable to query GPU information
tail /var/log/syslog yields:
Sep 8 00:02:21 A kernel: [ 959.753670] acpi_call: Calling _SB.PCI0.PEG0.PEGP._PS0
Sep 8 00:02:21 A kernel: [ 959.753729] acpi_call: Call successful: 0x0
Sep 8 00:02:25 A kernel: [ 963.838580] NVRM: failed to copy vbios to system memory.
Sep 8 00:02:25 A kernel: [ 963.841938] NVRM: RmInitAdapter failed! (0x30:0xffffffff:859)
Sep 8 00:02:25 A kernel: [ 963.841948] NVRM: rm_init_adapter(0) failed
Sep 8 00:02:33 A kernel: [ 971.961304] nvidia 0000:01:00.0: PCI INT A disabled
Sep 8 00:02:33 A kernel: [ 971.989643] acpi_call: Calling _SB.PCI0.PEG0.PEGP._PS3
Sep 8 00:02:33 A kernel: [ 971.989763] acpi_call: Call successful: 0x0
Sep 8 00:02:33 A kernel: [ 971.994341] acpi_call: Calling _SB.PCI0.PEG0.PEGP._OFF
Sep 8 00:02:34 A kernel: [ 972.194064] acpi_call: Call successful: 0x0
Same here, IdeaPad Y470.
My ironhide-enable/disablecard scripts do work, I see changes in lspci and in battery life. But XServer doesn't start with exactly same errors as above.
P.S. I also was able to run glxgears once in the past :-)
Yeah, issue #59 is also a guy with a Y470 trying to get ironhide to work. I wonder if it is something to do with a proprietary version of the GeForce 550M that is installed in the Y470. I would be interested to know what your ironhide-enablecard / -disablecard scripts look like. I am shutting the NVIDIA card off with:
echo _PS3 $(acpi_call "_SB.PCI0.PEG0.PEGP._PS3")
echo _OFF $(acpi_call "_SB.PCI0.PEG0.PEGP._OFF")
and turning it on with:
echo _ON $(acpi_call "_SB.PCI0.PEG0.PEGP._ON")
echo _PS0 $(acpi_call "_SB.PCI0.PEG0.PEGP._PS0")
Just:
echo $(acpi_call "_SB.PCI0.PEG0.PEGP._OFF")
and:
echo $(acpi_call "_SB.PCI0.PEG0.PEGP._ON")
, but I'm a total newbie in the Optimus technology, ironhide, bumblebee, etc. I'm not sure, what I actually did, but seems above command works, because it removes "[VGA controller]" from lspci output and it greatly improves my battery life. What does your second command (PS0/PS3) do?
LOL. I have no idea what thosr secondary commands do. I never found any real instructions about acpi_call. I just copied that from the examples... I think they were the ThinkPad examples.
Hi Mizerka,
I just got the same laptop the other day and trying to get this to work. Seeing the same errors as you. Were you able to get this to work?
skilambi.
I never got it to work. The best I could do was to get the NVIDIA card to switch off to conserve battery power. I couldn't get bumblebee to work either. Now I am just waiting and dual booting into windows. I still found that Unity works okay. Good Luck, Let me know if you make progress, but don't get too mad at the laptop, because it is a nice laptop other than the poor Linux support for Optimus. mizeraka
From: skilambi reply@reply.github.com To: mizeraka mizeraka@yahoo.com Sent: Wednesday, December 28, 2011 9:33 AM Subject: Re: [ironhide] Can't get Ironhide to install (#37)
Hi Mizerka,
I just got the same laptop the other day and trying to get this to work. Seeing the same errors as you. Were you able to get this to work?
skilambi.
Reply to this email directly or view it on GitHub: https://github.com/MrMEEE/ironhide/issues/37#issuecomment-3291814
Thanks.
Its so sad that this does not work. I was looking forward to working on linux with the laptop. Alas I will have to go the dual-boot route as well.
Thanks for the quick reply though.
skilambi.
On Wed, Dec 28, 2011 at 10:47 AM, mizeraka < reply@reply.github.com
wrote:
I never got it to work. The best I could do was to get the NVIDIA card to switch off to conserve battery power. I couldn't get bumblebee to work either. Now I am just waiting and dual booting into windows. I still found that Unity works okay. Good Luck, Let me know if you make progress, but don't get too mad at the laptop, because it is a nice laptop other than the poor Linux support for Optimus. mizeraka
From: skilambi reply@reply.github.com To: mizeraka mizeraka@yahoo.com Sent: Wednesday, December 28, 2011 9:33 AM Subject: Re: [ironhide] Can't get Ironhide to install (#37)
Hi Mizerka,
I just got the same laptop the other day and trying to get this to work. Seeing the same errors as you. Were you able to get this to work?
skilambi.
Reply to this email directly or view it on GitHub: https://github.com/MrMEEE/ironhide/issues/37#issuecomment-3291814
Reply to this email directly or view it on GitHub: https://github.com/MrMEEE/ironhide/issues/37#issuecomment-3291971
Hi. I have tried to get ironhide working on my Lenovo Y470 with GeForce 550M optimus videocard. I have not been able to get it to work despite multiple attempts over the past few weeks. Once I did get the gears to show up during the installation, but never again.
I am always getting a, " The Ironhide Xserver failed to start." message. I have followed the excellent post by wavded, but never been able to replicate his success. I have never been able to get bumblebee to work either. I think the new bugreport tool reports all my logs, but I'll put them here again just in case. The Xorg log always says:
191.234 NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please 191.234 NVIDIA(0): check your system's kernel log for additional error 191.234 NVIDIA(0): messages and refer to Chapter 8: Common Problems in the 191.234 NVIDIA(0): README for additional information. 191.234 NVIDIA(0): Failed to initialize the NVIDIA graphics device!
the interesting parts of the kernel log say:
Aug 31 20:49:49 A kernel: [ 13.530257] nvidia: module license 'NVIDIA' taints kernel. Aug 31 20:49:49 A kernel: [ 13.530260] Disabling lock debugging due to kernel taint Aug 31 20:49:49 A kernel: [ 13.883922] nvidia 0000:01:00.0: enabling device (0004 -> 0007) Aug 31 20:49:49 A kernel: [ 13.883928] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 Aug 31 20:49:49 A kernel: [ 13.883934] nvidia 0000:01:00.0: setting latency timer to 64 Aug 31 20:49:49 A kernel: [ 13.883939] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none Aug 31 20:49:49 A kernel: [ 13.884088] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 280.13 Wed Jul 27 16:53:56 PDT 2011
andAug 31 20:51:47 A kernel: [ 131.558891] NVRM: failed to copy vbios to system memory. Aug 31 20:51:47 A kernel: [ 131.562064] NVRM: RmInitAdapter failed! (0x30:0xffffffff:859) Aug 31 20:51:47 A kernel: [ 131.562072] NVRM: rm_init_adapter(0) failed Aug 31 20:51:56 A kernel: [ 140.887811] NVRM: failed to copy vbios to system memory. Aug 31 20:51:56 A kernel: [ 140.891042] NVRM: RmInitAdapter failed! (0x30:0xffffffff:859) Aug 31 20:51:56 A kernel: [ 140.891051] NVRM: rm_init_adapter(0) failed Aug 31 20:52:29 A kernel: [ 173.312577] NVRM: failed to copy vbios to system memory. Aug 31 20:52:29 A kernel: [ 173.315737] NVRM: RmInitAdapter failed! (0x30:0xffffffff:859) Aug 31 20:52:29 A kernel: [ 173.315745] NVRM: rm_init_adapter(0) failed Aug 31 20:52:47 A kernel: [ 191.295531] NVRM: failed to copy vbios to system memory. Aug 31 20:52:47 A kernel: [ 191.298639] NVRM: RmInitAdapter failed! (0x30:0xffffffff:859) Aug 31 20:52:47 A kernel: [ 191.298647] NVRM: rm_init_adapter(0) failed
Also of note is the fact that the ironhide-en/dis ablecard scripts actually seem to work if ironhide itself is not installed yet. With ironhide installed, those scripts don't seem to do anything. I had been getting the "Failed to insert nvidia-current.ko" message if I ran those scripts with ironhide installed, now however I simply get no output.
I'm opening this ticket so I have a place to send my bugreport. Thanks, Andy