Nvidia GT630M lenovo

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
raptor2600

Nvidia GT630M lenovo

Post by raptor2600 »

Hello Guys,

I facing an issue with installing the drivers for nvidia GT630M on lenovo G580 laptop. The gpu is with cuga tech.

I would like to get it fixed because this is the last device that was running linux @home and @work.

I tried the nvidia official driver, bumblebee, nothing worked for me, I received an error every time I tried optirun glxspheres, it returned some API error. I am not sure if it's really installed or not :)

I followed following tutorials:

http://eternalvoid.net/tutorials/linux-optimus-gt650m/

http://www.techlw.com/2012/03/install-n ... -1204.html

-I don't remember the other links :)

OBS: parameters for KernelDriver and Module are:

KernelDriver=nvidia
Module=nvidia

I would like to ask you if somebody had resolved this on a lenovo G580 with Intel+nvidia GT630M running latest Linux Mint with Cinnamon 64-bit? I would really appreciate it.

Thank you very much.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Nvidia GT630M lenovo

Post by AlbertP »

Could you post the exact API error you got? API mismatch errors are often caused by having two NVIDIA drivers installed at the same time.

What I would suggest is to remove everything you installed, then install only Bumblebee: https://wiki.ubuntu.com/Bumblebee

Also the difference in performance between Intel graphics and a GT 630M is rather small. Often it's enough to have Bumblebee turn off your NVIDIA GPU to save power, and use the Intel one.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
raptor2600

Re: Nvidia GT630M lenovo

Post by raptor2600 »

Everything was uninstalled:

raptor ~ # dpkg -l|grep -i nvidia
raptor ~ # dpkg -l|grep -i bumble

Installed bumblebee:

raptor ~ # dpkg -l|grep -i nvidia
ii bbswitch-dkms 0.5-1~quantalppa1 all Interface for toggling the power on nVidia Optimus video cards
ii bumblebee 3.1-1~quantalppa1 amd64 nVidia Optimus support
ii bumblebee-nvidia 3.1-1~quantalppa1 amd64 nVidia Optimus support using the proprietary NVIDIA driver
ii nvidia-current 304.64-0ubuntu1~quantal~xup1 amd64 NVIDIA binary Xorg driver, kernel module and VDPAU library
ii nvidia-settings 304.64-0ubuntu1~quantal~xup1 amd64 Tool for configuring the NVIDIA graphics driver
raptor ~ #

Error:

raptor ~ # optirun firefox
[ 48.515130] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 48.515170] [ERROR]Aborting because fallback start is disabled.
raptor ~ #

Now it cannot load GPU driver.

Any suggestions ?

Thanks.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Nvidia GT630M lenovo

Post by AlbertP »

Did you install any NVIDIA driver in the past using a .run file from NVIDIA's website?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
raptor2600

Re: Nvidia GT630M lenovo

Post by raptor2600 »

I did now a fresh install of mint. I just booted up.

What do you recommend, should I install bumblebee following the link you provided?

Did it work for you the same?

Thanks.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Nvidia GT630M lenovo

Post by AlbertP »

I think you should just install bumblebee (it appears you did that correctly last time) and nothing else.
Note that a new Bumblebee version, 3.1, appeared in that PPA the day before yesterday. Since then, I have seen yet another person with a non-functional Bumblebee. It may be that version 3.1 is not yet working as it should.

I can't try this myself since I don't own any NVIDIA Optimus hardware.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
raptor2600

Re: Nvidia GT630M lenovo

Post by raptor2600 »

Ok, I installed bumblebee from the official site, according to the official procedure.

After the reboot the daemon was not started so I started the daemon from root.

output from optirun:

raptor ~ # optirun firefox
[ 242.798669] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please

[ 242.798780] [ERROR]Aborting because fallback start is disabled.
raptor ~ #

with verbose output:

raptor ~ # optirun -vv firefox
[ 466.636289] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 466.637220] [DEBUG]optirun version 3.1 starting...
[ 466.637247] [DEBUG]Active configuration:
[ 466.637258] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 466.637279] [DEBUG] X display: :8
[ 466.637288] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[ 466.637298] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 466.637308] [DEBUG] Accel/display bridge: auto
[ 466.637318] [DEBUG] VGL Compression: proxy
[ 466.637358] [DEBUG]Using auto-detected bridge virtualgl
[ 466.677758] [INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please

[ 466.677782] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please

[ 466.677789] [DEBUG]Socket closed.
[ 466.677808] [ERROR]Aborting because fallback start is disabled.
[ 466.677815] [DEBUG]Killing all remaining processes.

Kernel log:

Feb 27 19:16:25 raptor kernel: [ 226.578284] bbswitch: version 0.5
Feb 27 19:16:25 raptor kernel: [ 226.578303] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
Feb 27 19:16:25 raptor kernel: [ 226.578318] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.VGA_
Feb 27 19:16:25 raptor kernel: [ 226.578349] bbswitch: failed to evaluate _DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
Feb 27 19:16:25 raptor kernel: [ 226.578365] bbswitch: failed to evaluate _DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
Feb 27 19:16:25 raptor kernel: [ 226.578383] bbswitch: failed to evaluate _DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
Feb 27 19:16:25 raptor kernel: [ 226.578386] bbswitch: No suitable _DSM call found.
Feb 27 19:16:41 raptor kernel: [ 242.539895] nvidia: module license 'NVIDIA' taints kernel.
Feb 27 19:16:41 raptor kernel: [ 242.539899] Disabling lock debugging due to kernel taint
Feb 27 19:16:41 raptor kernel: [ 242.550351] nvidia 0000:01:00.0: >enabling device (0006 -> 0007)
Feb 27 19:16:41 raptor kernel: [ 242.550368] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
Feb 27 19:16:41 raptor kernel: [ 242.550496] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 304.43 Sun Aug 19 20:14:03 PDT 2012
Feb 27 19:16:41 raptor kernel: [ 242.663987] NVRM: failed to copy vbios to system memory.
Feb 27 19:16:41 raptor kernel: [ 242.665640] NVRM: RmInitAdapter failed! (0x30:0xffffffff:861)
Feb 27 19:16:41 raptor kernel: [ 242.665648] NVRM: rm_init_adapter(0) failed
Feb 27 19:20:21 raptor kernel: [ 462.371872] NVRM: failed to copy vbios to system memory.
Feb 27 19:20:21 raptor kernel: [ 462.373516] NVRM: RmInitAdapter failed! (0x30:0xffffffff:861)
Feb 27 19:20:21 raptor kernel: [ 462.373525] NVRM: rm_init_adapter(0) failed
Feb 27 19:20:25 raptor kernel: [ 466.321968] NVRM: failed to copy vbios to system memory.
Feb 27 19:20:25 raptor kernel: [ 466.323599] NVRM: RmInitAdapter failed! (0x30:0xffffffff:861)
Feb 27 19:20:25 raptor kernel: [ 466.323607] NVRM: rm_init_adapter(0) failed

Config for bumblebee, starting from [driver-nvidia] section:

[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/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/xorg,/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

Got to the same point as before the mint reinstall.

Any suggestions ?
raptor2600

Re: Nvidia GT630M lenovo

Post by raptor2600 »

Dmesg output for nvidia:

raptor log # dmesg | grep nvidia
[ 242.539895] nvidia: module license 'NVIDIA' taints kernel.
[ 242.550351] nvidia 0000:01:00.0: >enabling device (0006 -> 0007)
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Nvidia GT630M lenovo

Post by AlbertP »

Code: Select all

[ 242.663987] NVRM: failed to copy vbios to system memory
It seems this is an NVIDIA driver issue.

I think you're best off leaving it this way. The NVIDIA GPU is not much faster than your Intel graphics I think.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Nvidia GT630M lenovo

Post by AlbertP »

There is no such thing as an "official" installation. The Bumblebee page (https://github.com/Bumblebee-Project/Bu ... -and-usage) says that it's recommended to install distribution packages, pointing to the same page I linked to for Ubuntu.

If you're fine with using no NVIDIA card, please uninstall bumblebee-nvidia and nvidia-current; with only the bumblebee and bbswitch packages installed the NVIDIA GPU can be powered down, then the laptop will run less hot and last longer on battery.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
raptor2600

Re: Nvidia GT630M lenovo

Post by raptor2600 »

Thanks for the help, but I would like to continue finding a solution to use also the nvidia gpu .. I would like to play sometimes and to use some 3d applications with run smooth on nvidia and on the intel not :)

I will search further on the *net and if I find something I will post it here.

Thanks again.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Nvidia GT630M lenovo

Post by AlbertP »

Since it appears it was an NVIDIA driver problem, you could try upgrading the driver by installing nvidia-experimental-310 from the repository. This driver is supposed to replace nvidia-current, not requiring you to uninstall nvidia-current manually.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Locked

Return to “Hardware Support”