MrMEEE / ironhide

Optimus Support for Linux Through VirtualGL - PPA version also available: https://launchpad.net/~mj-casalogic/+archive/ironhide
http://www.martin-juhl.dk
88 stars 0 forks source link

Installation don't work on Y470 #200

Open choishingwan opened 12 years ago

choishingwan commented 12 years ago

Dear All,

I am trying to do CUDA programming on my Y470 computer using Linux. I have previously tried using Fedora 16 and successfully installed the bumblebee old version following the procedure below (Kindly provided by Viger)

Viger / December 7, 2011 1) Download old version bumblebee from https://github.com/MrMEEE/bumblebee/commits/master 2)install VirtualGl 2.2.90 rpm from: http://www.virtualgl.org/Downloads/VirtualGL 3) blacklist nouveau in /etc/blacklist.conf 4) move old initramfs mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img 5) recreate initramfs without nouveau dracut /boot/initramfs-$(uname -r).img $(uname -r) 6) restart pc 7) install bumblebee

However, I couldn't install the correct gcc version so I try my luck with Ubuntu11.10.

In Ubuntu, it is the opposite story where I can install the correct gcc with no problem but the bumble bee nor ironhide works.

I always get the following error:

[ 5416.306] X.Org X Server 1.10.4 Release Date: 2011-08-19 [ 5416.306] X Protocol Version 11, Revision 0 [ 5416.306] Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu [ 5416.306] Current Operating System: Linux choi-Lenovo-IdeaPad-Y470 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 [ 5416.306] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0-14-generic root=UUID=6eaa6bf6-133a-4853-a5cc-bc5f6aa2427b ro quiet splash pcieaspm=force vt.handoff=7 [ 5416.306] Build Date: 19 October 2011 05:21:26AM [ 5416.306] xorg-server 2:1.10.4-1ubuntu4.2 (For technical support please see http://www.ubuntu.com/support) [ 5416.306] Current version of pixman: 0.22.2 [ 5416.306] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 5416.306] Markers: (--) probed, (*) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. 5416.307 Log file: "/var/log/Xorg.8.log", Time: Tue Dec 13 16:49:44 2011 5416.307 Using config file: "/etc/X11/xorg.conf.nvidia" 5416.307 Using system config directory "/usr/share/X11/xorg.conf.d" 5416.308 ServerLayout "Layout0" 5416.308 |-->Screen "Screen0" (0) 5416.308 | |-->Monitor "Monitor0" 5416.308 | |-->Device "Device0" 5416.308 Option "AutoAddDevices" "false" 5416.308 Not automatically adding devices 5416.308 Automatically enabling devices 5416.308 The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 5416.308] Entry deleted from font path. 5416.308 The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 5416.308] Entry deleted from font path. 5416.308 The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 5416.308] Entry deleted from font path. 5416.308 The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 5416.308] Entry deleted from font path. 5416.308 The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 5416.308] Entry deleted from font path. 5416.308 FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/Type1, /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, built-ins 5416.308 ModulePath set to "/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules" 5416.308 Extension "Composite" is enabled 5416.308 |-->Input Device "" 5416.308 |-->Input Device "" 5416.308 The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration. 5416.308 The core keyboard device wasn't specified explicitly in the layout. Using the default keyboard configuration. 5416.308 Loader magic: 0x7e0220 5416.308 Module ABI versions: [ 5416.308] X.Org ANSI C Emulation: 0.4 [ 5416.308] X.Org Video Driver: 10.0 [ 5416.308] X.Org XInput driver : 12.3 [ 5416.308] X.Org Server Extension : 5.0 5416.310 PCI:_(0:0:2:0) 8086:0116:17aa:3981 rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64 5416.310 PCI: (0:1:0:0) 10de:0df6:0000:0000 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288 5416.310 Open ACPI successful (/var/run/acpid.socket) 5416.311 "extmod" will be loaded. This was enabled by default and also specified in the config file. 5416.311 "dbe" will be loaded. This was enabled by default and also specified in the config file. 5416.311 "glx" will be loaded. This was enabled by default and also specified in the config file. 5416.311 "record" will be loaded. This was enabled by default and also specified in the config file. 5416.311 "dri" will be loaded by default. 5416.311 "dri2" will be loaded by default. 5416.311 LoadModule: "dbe" 5416.311 Loading /usr/lib/xorg/modules/extensions/libdbe.so 5416.312 Module dbe: vendor="X.Org Foundation" [ 5416.312] compiled for 1.10.4, module version = 1.0.0 [ 5416.312] Module class: X.Org Server Extension [ 5416.312] ABI class: X.Org Server Extension, version 5.0 5416.312 Loading extension DOUBLE-BUFFER 5416.312 LoadModule: "extmod" 5416.312 Loading /usr/lib/xorg/modules/extensions/libextmod.so 5416.312 Module extmod: vendor="X.Org Foundation" [ 5416.312] compiled for 1.10.4, module version = 1.0.0 [ 5416.312] Module class: X.Org Server Extension [ 5416.312] ABI class: X.Org Server Extension, version 5.0 5416.312 Loading extension MIT-SCREEN-SAVER 5416.312 Loading extension XFree86-VidModeExtension 5416.312 Loading extension XFree86-DGA 5416.312 Loading extension DPMS 5416.312 Loading extension XVideo 5416.312 Loading extension XVideo-MotionCompensation 5416.312 Loading extension X-Resource 5416.312 LoadModule: "glx" 5416.312 Loading /usr/lib/nvidia-current/xorg/libglx.so 5416.325 Module glx: vendor="NVIDIA Corporation" [ 5416.325] compiled for 4.0.2, module version = 1.0.0 [ 5416.325] Module class: X.Org Server Extension 5416.325 NVIDIA GLX Module 290.10 Wed Nov 16 18:01:24 PST 2011 5416.325 Loading extension GLX 5416.325 LoadModule: "record" 5416.326 Loading /usr/lib/xorg/modules/extensions/librecord.so 5416.326 Module record: vendor="X.Org Foundation" [ 5416.326] compiled for 1.10.4, module version = 1.13.0 [ 5416.326] Module class: X.Org Server Extension [ 5416.326] ABI class: X.Org Server Extension, version 5.0 5416.326 Loading extension RECORD 5416.326 LoadModule: "dri" 5416.326 Loading /usr/lib/xorg/modules/extensions/libdri.so 5416.326 Module dri: vendor="X.Org Foundation" [ 5416.326] compiled for 1.10.4, module version = 1.0.0 [ 5416.326] ABI class: X.Org Server Extension, version 5.0 5416.326 Loading extension XFree86-DRI 5416.326 LoadModule: "dri2" 5416.326 Loading /usr/lib/xorg/modules/extensions/libdri2.so 5416.326 Module dri2: vendor="X.Org Foundation" [ 5416.326] compiled for 1.10.4, module version = 1.2.0 [ 5416.326] ABI class: X.Org Server Extension, version 5.0 5416.326 Loading extension DRI2 5416.326 LoadModule: "nvidia" 5416.326 Loading /usr/lib/nvidia-current/xorg/nvidia_drv.so 5416.326 Module nvidia: vendor="NVIDIA Corporation" [ 5416.326] compiled for 4.0.2, module version = 1.0.0 [ 5416.326] Module class: X.Org Video Driver 5416.326 LoadModule: "mouse" 5416.326 Loading /usr/lib/xorg/modules/input/mouse_drv.so 5416.326 Module mouse: vendor="X.Org Foundation" [ 5416.326] compiled for 1.10.2.902, module version = 1.7.1 [ 5416.326] Module class: X.Org XInput Driver [ 5416.326] ABI class: X.Org XInput driver, version 12.3 5416.326 LoadModule: "kbd" 5416.327 Warning, couldn't open module kbd 5416.327 UnloadModule: "kbd" 5416.327 Unloading kbd 5416.327 Failed to load module "kbd" (module does not exist, 0) 5416.327 NVIDIA dlloader X Driver 290.10 Wed Nov 16 17:41:10 PST 2011 5416.327 NVIDIA Unified Driver for all Supported NVIDIA GPUs 5416.327 using VT number 7

5416.327 xf86OpenConsole: setpgid failed: Operation not permitted 5416.327 Loading sub module "fb" 5416.327 LoadModule: "fb" 5416.327 Loading /usr/lib/xorg/modules/libfb.so 5416.327 Module fb: vendor="X.Org Foundation" [ 5416.327] compiled for 1.10.4, module version = 1.0.0 [ 5416.327] ABI class: X.Org ANSI C Emulation, version 0.4 5416.327 Loading sub module "wfb" 5416.327 LoadModule: "wfb" 5416.327 Loading /usr/lib/xorg/modules/libwfb.so 5416.327 Module wfb: vendor="X.Org Foundation" [ 5416.327] compiled for 1.10.4, module version = 1.0.0 [ 5416.327] ABI class: X.Org ANSI C Emulation, version 0.4 5416.327 Loading sub module "ramdac" 5416.327 LoadModule: "ramdac" 5416.327 Module "ramdac" already built-in 5416.327 Loading /usr/lib/nvidia-current/xorg/nvidia_drv.so 5416.327 Loading /usr/lib/xorg/modules/libwfb.so 5416.327 Loading /usr/lib/xorg/modules/libfb.so 5416.327 NVIDIA(0): Depth 24, (--) framebuffer bpp 32 5416.327 NVIDIA(0): RGB weight 888 5416.327 NVIDIA(0): Default visual is TrueColor 5416.327 NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) 5416.327 NVIDIA(0): Option "ConnectedMonitor" "DFP-0" 5416.327 NVIDIA(0): ConnectedMonitor string: "DFP-0" 5416.327 NVIDIA(0): Enabling 2D acceleration 5416.337 NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please 5416.337 NVIDIA(0): check your system's kernel log for additional error 5416.337 NVIDIA(0): messages and refer to Chapter 8: Common Problems in the 5416.337 NVIDIA(0): README for additional information. 5416.337 NVIDIA(0): Failed to initialize the NVIDIA graphics device! 5416.337 UnloadModule: "nvidia" 5416.337 Unloading nvidia 5416.337 UnloadModule: "wfb" 5416.337 Unloading wfb 5416.337 UnloadModule: "fb" 5416.337 Unloading fb 5416.337 Screen(s) found, but none have a usable configuration. [ 5416.337] Fatal server error: [ 5416.337] no screens found [ 5416.337] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 5416.337] Please also check the log file at "/var/log/Xorg.8.log" for additional information. [ 5416.337] [ 5416.337] ddxSigGiveUp: Closing log

I have followed the following guide too:

http://www.ivegotavirus.com/blog/2011/11/06/how-to-get-optimus-working-on-ubuntu-11-10-oneiric/

but with no luck.

Will anyone have any idea about the problem?

below is the information about my graphic card I guess?

lspci |grep -i VGA 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) 01:00.0 VGA compatible controller: nVidia Corporation Device 0df6 (rev a1)