You are not logged in.

#1 2012-07-25 19:15:58

timofiend
Member
Registered: 2012-07-25
Posts: 5

Issue with GT650M + bumblebee

I have a new laptop, with an Nvidia GT650M and Intel i7 3610, using Optimus. I have been trying to set up bumblebee, the steps taken so far were to install bumblebee, bumble-nvidia-utils, bumblebee-nvidia, and bbswitch. Optirun is failing, with this error:

[tims@Arch ~]$ sudo optirun -vv glxgears
[DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[DEBUG]Process modinfo started, PID 4853.
[DEBUG]Hiding stderr for execution of modinfo
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Detected nvidia driver (module nvidia)
[DEBUG]Active configuration:
[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[DEBUG] X display: :8
[DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-bumblebee:/usr/lib32/nvidia-bumblebee
[DEBUG] Socket path: /var/run/bumblebee.socket
[DEBUG] VGL Compression: proxy
[DEBUG]optirun version 3.0 starting...
[INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[DEBUG]Socket closed.
[ERROR]Aborting because fallback start is disabled.

I checked xorg.8.log and the output was this:

[  1477.447] (II) Loading sub module "fb"
[  1477.447] (II) LoadModule: "fb"
[  1477.447] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1477.447] (II) Module fb: vendor="X.Org Foundation"
[  1477.447] 	compiled for 1.12.3, module version = 1.0.0
[  1477.447] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1477.447] (II) Loading sub module "wfb"
[  1477.447] (II) LoadModule: "wfb"
[  1477.447] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  1477.447] (II) Module wfb: vendor="X.Org Foundation"
[  1477.447] 	compiled for 1.12.3, module version = 1.0.0
[  1477.447] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1477.447] (II) Loading sub module "ramdac"
[  1477.447] (II) LoadModule: "ramdac"
[  1477.447] (II) Module "ramdac" already built-in
[  1477.447] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  1477.447] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  1477.447] (==) NVIDIA(0): RGB weight 888
[  1477.447] (==) NVIDIA(0): Default visual is TrueColor
[  1477.447] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  1477.447] (**) NVIDIA(0): Option "NoLogo" "true"
[  1477.448] (**) NVIDIA(0): Option "UseEDID" "false"
[  1477.448] (**) NVIDIA(0): Option "ConnectedMonitor" "CRT-0"
[  1477.448] (**) NVIDIA(0): Enabling 2D acceleration
[  1477.448] (**) NVIDIA(0): ConnectedMonitor string: "CRT-0"
[  1477.448] (**) NVIDIA(0): Ignoring EDIDs
[  1477.769] (**) NVIDIA(GPU-0): Using ConnectedMonitor string "CRT-0".
[  1477.769] (II) NVIDIA(GPU-0): Not probing EDID on CRT-0.
[  1477.770] (II) NVIDIA(0): NVIDIA GPU GeForce GT 650M (GK107) at PCI:1:0:0 (GPU-0)
[  1477.770] (--) NVIDIA(0): Memory: 2097152 kBytes
[  1477.770] (--) NVIDIA(0): VideoBIOS: 80.07.12.00.df
[  1477.770] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  1477.770] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[  1477.772] (--) NVIDIA(0): Valid display device(s) on GeForce GT 650M at PCI:1:0:0
[  1477.772] (--) NVIDIA(0):     CRT-0 (connected)
[  1477.772] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[  1477.772] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[  1477.772] (**) NVIDIA(0):     device CRT-0 (Using EDID frequencies has been enabled on
[  1477.772] (**) NVIDIA(0):     all display devices.)
[  1477.773] (==) NVIDIA(0): 
[  1477.773] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[  1477.773] (==) NVIDIA(0):     will be used as the requested mode.
[  1477.773] (==) NVIDIA(0): 
[  1477.773] (II) NVIDIA(0): Validated modes:
[  1477.773] (II) NVIDIA(0):     "CRT-0:nvidia-auto-select"
[  1477.773] (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
[  1477.775] (WW) NVIDIA(0): Unable to get display device CRT-0's EDID; cannot compute DPI
[  1477.775] (WW) NVIDIA(0):     from CRT-0's EDID.
[  1477.775] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[  1477.775] (--) Depth 24 pixmap format is 32 bpp
[  1477.775] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[  1477.775] (II) NVIDIA:     access.
[  1477.780] 
Fatal server error:
[  1477.780] AddScreen/ScreenInit failed for driver 0
[  1477.780] 
[  1477.780] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  1477.780] Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[  1477.780] 
[  1477.780] Server terminated with error (1). Closing log file.

My bumblebee/xorg.conf/nvidia file looks like this:

                                                                                              
Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
EndSection

Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "CRT-0"
EndSection

I changed connectedMonitor to crt-0 because it was suggested as a possible fix on the arch wiki, and before i had it set to that the xorg.8.log was saying the only valid display device was crt-0.
In bumblebee.conf I set PMmethod to none, because bbswitch didnt seem to be working properly. I have no xorg.conf, i'm not totally sure if I need one and if that might help my issue?

I am fairly new to arch linux (and linux in general), and have tried to supply as much info as possible but please let me know if theres something else you want to know/I should do that could help?

Did quite a bit of searching on this issue and found quite a few people with this card having issues - although none exactly the same as mine, and I have also found a coulpe of people who are running it successfully with a 650m/i7 optimus setup, so I figure I must be doing something wrong. Anyone have any ideas? Thanks

Offline

#2 2012-07-30 15:29:01

jarav
Member
Registered: 2008-09-04
Posts: 63

Re: Issue with GT650M + bumblebee

Please see towards this: https://github.com/Bumblebee-Project/Bu … leshooting (bottom of the page)

Apparently you need the latest Nvidia drivers( beta version).

Offline

#3 2012-07-30 18:14:52

mac1202
Member
Registered: 2011-05-24
Posts: 33

Re: Issue with GT650M + bumblebee

Try this from the wiki :
you will need to move the file /etc/X11/xorg.conf.d/20-intel.conf to somewhere else. Restart the bumblebeed daemon, and it should work. Credit for this goes to Lekensteyn on #bumblebee at freenode.net

Offline

#4 2012-08-03 09:41:59

timofiend
Member
Registered: 2012-07-25
Posts: 5

Re: Issue with GT650M + bumblebee

Hi,

Thanks for the replies, mac1202 I dont have an intel conf file there, nor any other intel references in my xorg files, so I dont think thats the problem.

Jarav thanks for that, I tried installing the latest driver (304.22), and the issue did not change. I did not change my bumblebee packages though - which I assume are still set up for the 302 drivers? I tried uninstalling the bumblebee nvidia package (keeping 304 drivers installed) and optirun seemed to work, but then I got the error Xlib: extension GLX missing on display ":0" when trying to run glxinfo or glxgears etc without using optirun. Reinstalling bumblebee nvidia resulted in the original problem.

Do I need a different bumblebee setup to use the newer beta drivers? I had a look on AUR but only saw bumblebee packaged for 302 drivers.

Also I saw the error message (glx missing) on that bumblebee troubleshooting page, and it suggests that this was because bumblebee nvidia was not installed, so I assume I need that installed but maybe packaged differently for the new drivers?

Thanks again

Offline

#5 2012-08-03 10:54:11

derhamster
Member
Registered: 2012-07-08
Posts: 86

Re: Issue with GT650M + bumblebee

Make sure the nvidia driver package and the utils package have the same version! The current version in Arch is 302.17 and it should support your gpu. I suggest installing nvidia-utils-bumblebee from aur and nvidia from extra.
But I have no real solution for your problem. Maybe try just "CRT" for your connected monitor. I had to do that since "CRT-something" didn't work for me.

Offline

#6 2012-08-03 14:00:45

timofiend
Member
Registered: 2012-07-25
Posts: 5

Re: Issue with GT650M + bumblebee

Thanks derhamster, I figured there might be an issue with having a different version utils package. I tried what you suggested but have the same issue.

The only successes I have seen other people having with this card seem to be when using the 304 beta drivers, is there somewhere I can get an nvidia utils bumblebee package to match the beta drivers? If not how have others been using the latest beta drivers with bumblebee? Specifically this thread https://github.com/Bumblebee-Project/Bu … issues/216

Im tempted to try a ubuntu install on another partition and follow what the users near the end of that thread did to see if it works, but I would like to have it working on arch too

Offline

#7 2012-08-04 14:23:07

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: Issue with GT650M + bumblebee

timofiend wrote:

The only successes I have seen other people having with this card seem to be when using the 304 beta drivers, is there somewhere I can get an nvidia utils bumblebee package to match the beta drivers?

I'm not using bumblebee, but you can adjust the package version you want it to download to the 304.30 beta driver easily (just edit the PKGBUILD file - package versions are variables at the top). My guess would be thats all you have to do. If "makepkg" works, you should be set.
As a reference you can use the beta package versions used in the other "nvidia-utils" beta package in AUR, or just look up the up-to-date URL on ftp.nvidia.com for the package.

Offline

#8 2012-08-08 13:08:51

plasmabee
Member
Registered: 2012-07-21
Posts: 5

Re: Issue with GT650M + bumblebee

timofiend, i have hp laptop with nvidia 650M too.
using latest 304 from AUR and CRT-0 finally managed to run optirun glxgears withour error.
please try, maybe you can have working 650M too.

Offline

#9 2012-08-16 09:34:06

timofiend
Member
Registered: 2012-07-25
Posts: 5

Re: Issue with GT650M + bumblebee

Thanks very much for the replies, glad to hear you got it working plasmabee! I havent had a chance to try yet I have had loads of work to do, but i shall try it tonight and post an update back here

Offline

#10 2012-08-16 14:54:36

timofiend
Member
Registered: 2012-07-25
Posts: 5

Re: Issue with GT650M + bumblebee

Awesome it worked!

For anyone else having the same issue - I uninstalled bumblebee, nvidia-bumblebee and nvidia-utils-bumblebee. Then rebooted, used packer to install bumblebee from the AUR, then used packer to install nvidia-utils-bumblebee(304.37-1) from aur. Packer was having issues installing nvidia-bumblebee from AUR (md5s werent matching), so I downloaded manually (nvidia-bumblebee 304-37-02) and built with no issues. I installed the package built by that, and rebooted again. I then added myself to the bumblebee user group ( sudo gpasswd -a $(user) bumblebee ) and logged out/in again for it to take effect.

I also changed /etc/bumblebee/bumblebee.conf so it said driver=nvidia  and /etc/bumblebee/xorg.conf.nvidia so that "ConnectedMonitor" was set to "CRT-0" . I started the bumblebee daemon (sudo bumblebeed --daemon) and tried a normal glxgears, which ran with no trouble, then tried optirun glxgears, which went off without a hitch too.

Cheers for the help everyone smile

Edit: Although I do note both glxgears and glxspheres have lower framerates using optirun than they do without, any idea why this might be? I know they arent meant to be benchmarks but I would have thought they would run faster?

Last edited by timofiend (2012-08-16 14:58:55)

Offline

Board footer

Powered by FluxBB