SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#26 2014-01-07 17:56:46

samdraz
#! CrunchBanger
From: Earth
Registered: 2013-03-10
Posts: 227
Website

Re: Help Nvidia Drivers install

output of

sudo service bumblebeed start 
 service bumblebeed status

and again

optirun --debug -b primus glxinfo

Offline

Help fund CrunchBang, donate to the project!

#27 2014-01-07 18:02:24

rizkiarm
Member
Registered: 2014-01-06
Posts: 30

Re: Help Nvidia Drivers install

samdraz wrote:

output of

sudo service bumblebeed start 
 service bumblebeed status
bumblebeed is not running ... failed!
samdraz wrote:

and again

optirun --debug -b primus glxinfo
[ 1752.639973] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 1752.640126] [ERROR]Could not connect to bumblebee daemon - is it running?

#!

Offline

#28 2014-01-07 18:11:00

samdraz
#! CrunchBanger
From: Earth
Registered: 2013-03-10
Posts: 227
Website

Re: Help Nvidia Drivers install

bumblebee not properly installed, try reinstalling it.

sudo apt-get install --reinstall bumblebee bumblee-nvidia

Last edited by samdraz (2014-01-07 18:11:54)

Offline

#29 2014-01-07 18:16:48

rizkiarm
Member
Registered: 2014-01-06
Posts: 30

Re: Help Nvidia Drivers install

samdraz wrote:

bumblebee not properly installed, try reinstalling it.

sudo apt-get install --reinstall bumblebee bumblee-nvidia

i've reinstalled bumblebee, and in the end it prints bumblebee start failed,
rebooted the system yet still fail to start


#!

Offline

#30 2014-01-07 18:29:16

samdraz
#! CrunchBanger
From: Earth
Registered: 2013-03-10
Posts: 227
Website

Re: Help Nvidia Drivers install

output of

cat /etc/bumblebee/bumblebee.conf
lspci | grep NV

Last edited by samdraz (2014-01-07 18:30:30)

Offline

#31 2014-01-07 18:30:24

rizkiarm
Member
Registered: 2014-01-06
Posts: 30

Re: Help Nvidia Drivers install

samdraz wrote:

output of

cat /etc/bumblebee/bumblebee.conf
# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=virtualgl
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

#!

Offline

#32 2014-01-10 06:28:30

rizkiarm
Member
Registered: 2014-01-06
Posts: 30

Re: Help Nvidia Drivers install

Anyone? Please help me


#!

Offline

#33 2014-01-10 19:46:23

cloverskull
#! Junkie
Registered: 2013-10-26
Posts: 288

Re: Help Nvidia Drivers install

Can you run the lspci command and show output as asked above?

Offline

#34 2014-01-10 19:51:15

cloverskull
#! Junkie
Registered: 2013-10-26
Posts: 288

Re: Help Nvidia Drivers install

Also, is your BIOS set to run optimus, or just the onboard graphics, or just the nvidia graphics?

Offline

#35 2014-01-11 03:57:30

samdraz
#! CrunchBanger
From: Earth
Registered: 2013-03-10
Posts: 227
Website

Re: Help Nvidia Drivers install

try checking with dmesg for any bbswitch mechanism(it turns off NVIDIA card)? if possible post bbswitch lines in dmesg output

dmesg | grep bbswitch

and grub too

cat /etc/default/grub

Last edited by samdraz (2014-01-11 04:21:26)

Offline

#36 2014-01-11 17:37:42

rizkiarm
Member
Registered: 2014-01-06
Posts: 30

Re: Help Nvidia Drivers install

cloverskull wrote:

Can you run the lspci command and show output as asked above?

01:00.0 3D controller: NVIDIA Corporation Device 0fdf (rev a1)
cloverskull wrote:

Also, is your BIOS set to run optimus, or just the onboard graphics, or just the nvidia graphics?

Haven't checked it yet, i will take a look at it

samdraz wrote:

try checking with dmesg for any bbswitch mechanism(it turns off NVIDIA card)? if possible post bbswitch lines in dmesg output

dmesg | grep bbswitch
[    3.964030] bbswitch: version 0.7
[    3.964041] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[    3.964055] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[    3.964195] bbswitch: detected an Optimus _DSM function
[    3.964259] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
samdraz wrote:

and grub too

cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`echo CrunchBang`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

# Delay Tree Switch
GRUB_CMDLINE_LINUX_DEFAULT="quiet rcutree.rcu_idle_gp_delay=1"

#!

Offline

#37 2014-01-11 20:41:06

russianmonk
Member
Registered: 2014-01-10
Posts: 10

Re: Help Nvidia Drivers install

rizkiarm wrote:
samdraz wrote:

output of

sudo service bumblebeed start 
 service bumblebeed status
bumblebeed is not running ... failed!
samdraz wrote:

and again

optirun --debug -b primus glxinfo
[ 1752.639973] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 1752.640126] [ERROR]Could not connect to bumblebee daemon - is it running?

I followed your guide samdraz but I'm having the same issues as rizkiarm when I try to start the service. Any idea on how to get it going? I've been trying to get the driver directly from Nvidia to work but It's not detecting my display, figured I would try bumblebee again.

Offline

#38 2014-02-26 14:23:03

samdraz
#! CrunchBanger
From: Earth
Registered: 2013-03-10
Posts: 227
Website

Re: Help Nvidia Drivers install

@russianmonk, downloading directly from nvidia never works.
can you tell your bumblebee versions?

Offline

#39 2014-03-02 09:58:57

rizkiarm
Member
Registered: 2014-01-06
Posts: 30

Re: Help Nvidia Drivers install

samdraz wrote:

@russianmonk, downloading directly from nvidia never works.
can you tell your bumblebee versions?

Hi samdraz, any idea on how to get this working?


#!

Offline

#40 2014-04-17 02:53:29

rizkiarm
Member
Registered: 2014-01-06
Posts: 30

Re: Help Nvidia Drivers install

Anyone can help me solve this problem?


#!

Offline

#41 2014-04-19 06:54:08

rizkiarm
Member
Registered: 2014-01-06
Posts: 30

Re: Help Nvidia Drivers install

After updating into new backports kernel, i finally can start running bumblebee service.
But, when i try to run primusrun glxinfo.. it give me this error

primus: fatal: Bumblebee daemon reported: error: Could not load GPU driver

then i try to run optirun --debug -b primus glxinfo

[ 1077.550777] [DEBUG]optirun version 3.2.1 starting...
[ 1077.550810] [DEBUG]Active configuration:
[ 1077.550825] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1077.550838] [DEBUG] X display: :8
[ 1077.550849] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[ 1077.550860] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1077.550872] [DEBUG] Accel/display bridge: primus
[ 1077.550883] [DEBUG] VGL Compression: proxy
[ 1077.550894] [DEBUG] VGLrun extra options: 
[ 1077.550904] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 1077.563559] [INFO]Response: No - error: Could not load GPU driver

[ 1077.563579] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 1077.563583] [DEBUG]Socket closed.
[ 1077.563604] [ERROR]Aborting because fallback start is disabled.
[ 1077.563610] [DEBUG]Killing all remaining processes.

dpkg --list | grep -i "nvidia\|primus"

ii  bbswitch-dkms                         0.8-1~bpo70+1                      amd64        Interface for toggling the power on NVIDIA Optimus video cards
ii  bbswitch-source                       0.8-1~bpo70+1                      amd64        Interface for toggling the power on NVIDIA Optimus video cards
ii  bumblebee                             3.2.1-4~bpo70+1                    amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                      3.2.1-4~bpo70+1                    amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  glx-alternative-nvidia                0.4.1~bpo70+1                      amd64        allows the selection of NVIDIA as GLX provider
ii  libgl1-nvidia-glx:amd64               319.82-1~bpo70+1                   amd64        NVIDIA binary OpenGL libraries
ii  libnvidia-ml1:amd64                   319.82-1~bpo70+1                   amd64        NVIDIA Management Library (NVML) runtime library
rc  libxvmcnvidia1:amd64                  304.88-1+deb7u1                    amd64        NVIDIA binary XvMC library
ii  nvidia-alternative                    319.82-1~bpo70+1                   amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-driver                         319.82-1~bpo70+1                   amd64        NVIDIA metapackage
ii  nvidia-glx                            319.82-1~bpo70+1                   amd64        transition to nvidia-driver
ii  nvidia-installer-cleanup              20120630+3                         amd64        Cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                  20120630+3                         amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                    319.82-1~bpo70+1                   amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-settings                       319.72-1~bpo70+1                   amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-support                        20120630+3                         amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64             319.82-1~bpo70+1                   amd64        NVIDIA vdpau driver
ii  primus                                0~20130904-1~bpo70+1               amd64        client-side GPU offloading for NVIDIA Optimus
ii  primus-libs:amd64                     0~20130904-1~bpo70+1               amd64        Shared libraries for primus
ii  xserver-xorg-video-nvidia             319.82-1~bpo70+1                   amd64        NVIDIA binary Xorg driver

lspci | egrep '3D|VGA'

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 3D controller: NVIDIA Corporation Device 0fdf (rev a1)

My VGA is NVidia Geforce 740M

I tried to follow the debian tutorial, updated proper kernel header, setting up busid, clean reinstall, but it doesn't work.
Anyone know how i can fixed it?

Thank you very much

Last edited by rizkiarm (2014-04-19 13:13:46)


#!

Offline

#42 2014-04-23 17:57:45

samdraz
#! CrunchBanger
From: Earth
Registered: 2013-03-10
Posts: 227
Website

Re: Help Nvidia Drivers install

have you added lines to grub? its important to do

Offline

#43 2014-04-26 09:17:45

rizkiarm
Member
Registered: 2014-01-06
Posts: 30

Re: Help Nvidia Drivers install

samdraz wrote:

have you added lines to grub? its important to do

What line i supposed to add to grub?
Are you refferring to this line?

GRUB_CMDLINE_LINUX_DEFAULT="quiet rcutree.rcu_idle_gp_delay=1"

If so, i have already done that.


#!

Offline

#44 2014-05-13 13:39:02

rizkiarm
Member
Registered: 2014-01-06
Posts: 30

Re: Help Nvidia Drivers install

Its been almost 5 month, still trying with no results.
Anyone can help?


#!

Offline

#45 2014-05-13 15:18:55

samdraz
#! CrunchBanger
From: Earth
Registered: 2013-03-10
Posts: 227
Website

Re: Help Nvidia Drivers install

hmm , confused how to help , sorry. Debian wiki is sufficient  for optimus based notebooks, if  that doesn't help try archlinux and try reporting on link. i use sid based system now!

Last edited by samdraz (2014-05-13 15:21:56)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo