You are not logged in.

#1 2016-11-16 06:18:04

mrb101
Member
Registered: 2012-06-30
Posts: 26

[SOLVED] Nvidia, Driver not working properly or changing power state

Hey,
I am trying to use my discrete graphic with bumblebee optirun and i get this error

➜  ~ optirun bash
[39803.789923] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card

[39803.790001] [ERROR]Aborting because fallback start is disabled.

i tried turning on the device with

➜  ~ tee /proc/acpi/bbswitch <<<ON

but i still get the same error.
When i first installed my system a week ago or so it was working when i tried it 2 days ago it was not.
so i removed everything and reinstalled it again. as its the best way to solve propriety driver problems big_smile and i still get the same error
Some useful information

➜  ~ uname -a
Linux archlinux 4.8.7-1-ARCH #1 SMP PREEMPT Thu Nov 10 17:22:48 CET 2016 x86_64 GNU/Linux
➜  ~ lspci -vnn | grep '\''[030[02]\]'
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA controller])
01:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b] (rev ff) (prog-if ff)

xrandr can recognize only one device. i think bbswitch turns off nvidia

➜  ~ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x49 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 6 associated providers: 0 name:Intel

my bbswitch config

➜  ~ cat /etc/modprobe.d/bbswitch.conf 
options bbswitch load_state=0 unload_state=1

I also blacklist nouveau just in case

➜  ~ cat /etc/modprobe.d/blaclist.conf 
blacklist nouveau
➜  ~ sudo systemctl status bumblebeed.service 
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2016-11-16 02:56:45 MYT; 11h ago
 Main PID: 413 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─413 /usr/bin/bumblebeed

Nov 16 02:56:45 archlinux systemd[1]: Started Bumblebee C Daemon.
Nov 16 02:56:45 archlinux bumblebeed[413]: [    4.128315] [INFO]/usr/bin/bumblebeed 3.2.1 started
Nov 16 02:57:07 archlinux bumblebeed[413]: [   26.283459] [ERROR]Could not enable discrete graphics card
Nov 16 13:46:05 archlinux bumblebeed[413]: [38963.963264] [ERROR]Could not enable discrete graphics card
Nov 16 14:00:05 archlinux bumblebeed[413]: [39803.789818] [ERROR]Could not enable discrete graphics card

my bumblebee config

➜  ~ 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=auto
# 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/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
PMMethod=bbswitch
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/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

my bumblebee nvidia confi

➜  ~ sudo cat /etc/bumblebee/xorg.conf.nvidia 
[sudo] password for mrb: 
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

I installed Nvidia Driver

➜  ~ sudo pacman -Ql nvidia
nvidia /usr/
nvidia /usr/lib/
nvidia /usr/lib/modprobe.d/
nvidia /usr/lib/modprobe.d/nvidia.conf
nvidia /usr/lib/modules/
nvidia /usr/lib/modules/extramodules-4.8-ARCH/
nvidia /usr/lib/modules/extramodules-4.8-ARCH/nvidia-drm.ko.gz
nvidia /usr/lib/modules/extramodules-4.8-ARCH/nvidia-modeset.ko.gz
nvidia /usr/lib/modules/extramodules-4.8-ARCH/nvidia-uvm.ko.gz
nvidia /usr/lib/modules/extramodules-4.8-ARCH/nvidia.ko.gz

removed nouveau

➜  ~ sudo pacman -Ql nouveau
error: package 'nouveau' was not found

tried to modprobe nvidia

➜  ~ sudo modprobe nvidia       
modprobe: ERROR: could not insert 'nvidia': No such device

i did install bumblebee and bbswitch

➜  ~ sudo pacman -Ql bumblebee
bumblebee /etc/
bumblebee /etc/bumblebee/
bumblebee /etc/bumblebee/bumblebee.conf
bumblebee /etc/bumblebee/xorg.conf.d/
bumblebee /etc/bumblebee/xorg.conf.d/10-dummy.conf
bumblebee /etc/bumblebee/xorg.conf.nouveau
bumblebee /etc/bumblebee/xorg.conf.nvidia
bumblebee /usr/
bumblebee /usr/bin/
bumblebee /usr/bin/bumblebee-bugreport
bumblebee /usr/bin/bumblebeed
bumblebee /usr/bin/optirun
bumblebee /usr/lib/
bumblebee /usr/lib/modprobe.d/
bumblebee /usr/lib/modprobe.d/bumblebee.conf
bumblebee /usr/lib/systemd/
bumblebee /usr/lib/systemd/system/
bumblebee /usr/lib/systemd/system/bumblebeed.service
bumblebee /usr/lib/udev/
bumblebee /usr/lib/udev/rules.d/
bumblebee /usr/lib/udev/rules.d/99-bumblebee-nvidia-dev.rules
bumblebee /usr/share/
bumblebee /usr/share/bash-completion/
bumblebee /usr/share/bash-completion/completions/
bumblebee /usr/share/bash-completion/completions/optirun
bumblebee /usr/share/doc/
bumblebee /usr/share/doc/bumblebee/
bumblebee /usr/share/doc/bumblebee/README.markdown
bumblebee /usr/share/doc/bumblebee/RELEASE_NOTES_3_2_1
bumblebee /usr/share/man/
bumblebee /usr/share/man/man1/
bumblebee /usr/share/man/man1/bumblebeed.1.gz
bumblebee /usr/share/man/man1/optirun.1.gz
➜  ~ sudo pacman -Ql bbswitch 
bbswitch /usr/
bbswitch /usr/lib/
bbswitch /usr/lib/modules/
bbswitch /usr/lib/modules/extramodules-4.8-ARCH/
bbswitch /usr/lib/modules/extramodules-4.8-ARCH/bbswitch.ko.gz

If list the kernel modules it doesn't show any nvidia or nouveau

➜  ~ lsmod
Module                  Size  Used by
fuse                   98304  3
ctr                    16384  4
ccm                    20480  2
xt_CHECKSUM            16384  1
iptable_mangle         16384  1
ipt_MASQUERADE         16384  3
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
iptable_nat            16384  1
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 24576  2 nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack_ipv4      16384  2
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
xt_conntrack           16384  1
nf_conntrack           94208  5 nf_conntrack_ipv4,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
ipt_REJECT             16384  2
nf_reject_ipv4         16384  1 ipt_REJECT
xt_tcpudp              16384  6
tun                    28672  1
bridge                122880  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
ebtable_filter         16384  0
ebtables               36864  1 ebtable_filter
ip6table_filter        16384  0
ip6_tables             28672  1 ip6table_filter
iptable_filter         16384  1
bnep                   20480  2
msr                    16384  0
joydev                 20480  0
mousedev               20480  0
snd_hda_codec_hdmi     45056  1
hid_multitouch         20480  0
uvcvideo               86016  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         20480  1 uvcvideo
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
videodev              151552  3 uvcvideo,videobuf2_core,videobuf2_v4l2
media                  32768  2 uvcvideo,videodev
btusb                  40960  0
btrtl                  16384  1 btusb
i2c_designware_platform    16384  0
iTCO_wdt               16384  0
mei_wdt                16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
i2c_designware_core    20480  1 i2c_designware_platform
arc4                   16384  2
dell_wmi               16384  0
mxm_wmi                16384  0
dell_laptop            20480  0
dell_led               16384  1
dell_smbios            16384  3 dell_wmi,dell_led,dell_laptop
dcdbas                 16384  1 dell_smbios
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
snd_hda_codec_realtek    69632  1
coretemp               16384  0
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
kvm_intel             188416  0
kvm                   516096  1 kvm_intel
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
crc32c_intel           24576  0
ghash_clmulni_intel    16384  0
aesni_intel           167936  4
aes_x86_64             20480  1 aesni_intel
lrw                    16384  1 aesni_intel
gf128mul               16384  1 lrw
glue_helper            16384  1 aesni_intel
ablk_helper            16384  1 aesni_intel
cryptd                 20480  3 ablk_helper,ghash_clmulni_intel,aesni_intel
intel_cstate           16384  0
intel_rapl_perf        16384  0
pcspkr                 16384  0
nls_iso8859_1          16384  1
nls_cp437              20480  1
vfat                   20480  1
evdev                  24576  19
fat                    65536  1 vfat
snd_hda_intel          32768  6
psmouse               126976  0
iwlmvm                278528  0
input_leds             16384  0
snd_hda_codec         106496  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
mac_hid                16384  0
led_class              16384  4 iwlmvm,input_leds,dell_led,dell_laptop
snd_hda_core           65536  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
mac80211              667648  1 iwlmvm
snd_pcm                90112  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              28672  1 snd_pcm
snd                    69632  20 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
soundcore              16384  1 snd
i2c_i801               24576  0
i2c_smbus              16384  1 i2c_i801
i915                 1241088  17
iwlwifi               188416  1 iwlmvm
cfg80211              495616  3 iwlmvm,iwlwifi,mac80211
rtsx_pci_ms            20480  0
drm_kms_helper        126976  1 i915
memstick               16384  1 rtsx_pci_ms
mei_me                 36864  0
drm                   294912  9 i915,drm_kms_helper
mei                    86016  2 mei_me,mei_wdt
intel_gtt              20480  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
idma64                 20480  0
fb_sys_fops            16384  1 drm_kms_helper
i2c_algo_bit           16384  1 i915
processor_thermal_device    16384  0
shpchp                 32768  0
intel_lpss_pci         16384  0
intel_soc_dts_iosf     16384  1 processor_thermal_device
fan                    16384  0
thermal                20480  0
i2c_hid                20480  0
hid                   114688  2 i2c_hid,hid_multitouch
battery                20480  0
hci_uart               81920  0
btbcm                  16384  2 hci_uart,btusb
btqca                  16384  1 hci_uart
btintel                16384  2 hci_uart,btusb
bluetooth             487424  14 btrtl,hci_uart,btintel,btqca,bnep,btbcm,btusb
int3403_thermal        16384  0
rfkill                 20480  8 bluetooth,dell_laptop,cfg80211
wmi                    16384  3 dell_wmi,dell_led,mxm_wmi
video                  36864  3 dell_wmi,dell_laptop,i915
dell_smo8800           16384  0
intel_lpss_acpi        16384  0
intel_lpss             16384  2 intel_lpss_pci,intel_lpss_acpi
int3400_thermal        16384  0
int3402_thermal        16384  0
intel_hid              16384  0
acpi_thermal_rel       16384  1 int3400_thermal
int340x_thermal_zone    16384  3 int3402_thermal,int3403_thermal,processor_thermal_device
sparse_keymap          16384  2 dell_wmi,intel_hid
button                 16384  1 i915
ac                     16384  0
acpi_als               16384  0
fjes                   28672  0
acpi_pad               20480  0
kfifo_buf              16384  1 acpi_als
tpm_tis                16384  0
tpm_tis_core           20480  1 tpm_tis
industrialio           53248  2 acpi_als,kfifo_buf
tpm                    36864  2 tpm_tis,tpm_tis_core
sch_fq_codel           20480  6
vboxnetflt             28672  0
vboxnetadp             28672  0
pci_stub               16384  1
vboxpci                24576  0
vboxdrv               385024  3 vboxnetadp,vboxnetflt,vboxpci
ip_tables              28672  3 iptable_mangle,iptable_filter,iptable_nat
x_tables               28672  11 ipt_REJECT,iptable_mangle,ip_tables,ebtables,iptable_filter,xt_tcpudp,ipt_MASQUERADE,xt_CHECKSUM,ip6table_filter,xt_conntrack,ip6_tables
ext4                  524288  2
crc16                  16384  2 bluetooth,ext4
jbd2                   90112  1 ext4
fscrypto               24576  1 ext4
mbcache                16384  3 ext4
rtsx_pci_sdmmc         24576  0
mmc_core              122880  1 rtsx_pci_sdmmc
serio_raw              16384  0
atkbd                  24576  0
libps2                 16384  2 atkbd,psmouse
xhci_pci               16384  0
ahci                   36864  0
libahci                28672  1 ahci
xhci_hcd              172032  1 xhci_pci
libata                208896  2 ahci,libahci
rtsx_pci               49152  2 rtsx_pci_sdmmc,rtsx_pci_ms
usbcore               208896  4 uvcvideo,xhci_pci,btusb,xhci_hcd
scsi_mod              159744  1 libata
usb_common             16384  1 usbcore
i8042                  28672  1 dell_laptop
serio                  20480  6 serio_raw,atkbd,psmouse,i8042
bbswitch               16384  0
nvme                   28672  4
nvme_core              28672  6 nvme

some error messages

➜  ~ dmesg | grep failed
[    1.022994] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    2.159462] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff8802b5119e38), AE_NOT_FOUND (20160422/psparse-542)
[    2.159467] ACPI Error: Method parse/execution failed [\_TZ.FN00._ON] (Node ffff8802b5119140), AE_NOT_FOUND (20160422/psparse-542)
[    2.163791] ACPI Error: Method parse/execution failed [\_TZ.TZ00._TMP] (Node ffff8802b5119438), AE_NOT_FOUND (20160422/psparse-542)
[    2.173290] ACPI Error: Method parse/execution failed [\_TZ.TZ00._TMP] (Node ffff8802b5119438), AE_NOT_FOUND (20160422/psparse-542)
[    2.173395] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-24.ucode failed with error -2
[    2.173403] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-8000C-23.ucode failed with error -2
[    2.174324] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff8802b5119e38), AE_NOT_FOUND (20160422/psparse-542)
[    2.174330] ACPI Error: Method parse/execution failed [\_TZ.FN00._ON] (Node ffff8802b5119140), AE_NOT_FOUND (20160422/psparse-542)
[    2.175513] ACPI Error: Method parse/execution failed [\_TZ.TZ01._TMP] (Node ffff8802b51197f8), AE_NOT_FOUND (20160422/psparse-542)
[    2.176654] ACPI Error: Method parse/execution failed [\_TZ.TZ01._TMP] (Node ffff8802b51197f8), AE_NOT_FOUND (20160422/psparse-542)
[    2.201480] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff8802b5119e38), AE_NOT_FOUND (20160422/psparse-542)
[    2.201487] ACPI Error: Method parse/execution failed [\_TZ.FN01._ON] (Node ffff8802b51197a8), AE_NOT_FOUND (20160422/psparse-542)
[    2.213388] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff8802b5119e38), AE_NOT_FOUND (20160422/psparse-542)
[    2.213410] ACPI Error: Method parse/execution failed [\_TZ.FN01._ON] (Node ffff8802b51197a8), AE_NOT_FOUND (20160422/psparse-542)
[    2.240488] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff8802b5119e38), AE_NOT_FOUND (20160422/psparse-542)
[    2.240493] ACPI Error: Method parse/execution failed [\_TZ.FN02._ON] (Node ffff8802b5119af0), AE_NOT_FOUND (20160422/psparse-542)
[    2.247952] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff8802b5119e38), AE_NOT_FOUND (20160422/psparse-542)
[    2.247955] ACPI Error: Method parse/execution failed [\_TZ.FN02._ON] (Node ffff8802b5119af0), AE_NOT_FOUND (20160422/psparse-542)
[    2.291396] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff8802b5119e38), AE_NOT_FOUND (20160422/psparse-542)
[    2.291400] ACPI Error: Method parse/execution failed [\_TZ.FN03._ON] (Node ffff8802b5119cf8), AE_NOT_FOUND (20160422/psparse-542)
[    2.301453] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff8802b5119e38), AE_NOT_FOUND (20160422/psparse-542)
[    2.301457] ACPI Error: Method parse/execution failed [\_TZ.FN03._ON] (Node ffff8802b5119cf8), AE_NOT_FOUND (20160422/psparse-542)
[    2.334814] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff8802b5119e38), AE_NOT_FOUND (20160422/psparse-542)
[    2.334818] ACPI Error: Method parse/execution failed [\_TZ.FN04._ON] (Node ffff8802b5119b18), AE_NOT_FOUND (20160422/psparse-542)
[    2.344803] ACPI Error: Method parse/execution failed [\_TZ.FNCL] (Node ffff8802b5119e38), AE_NOT_FOUND (20160422/psparse-542)
[    2.344809] ACPI Error: Method parse/execution failed [\_TZ.FN04._ON] (Node ffff8802b5119b18), AE_NOT_FOUND (20160422/psparse-542)
[    2.792255] thermal thermal_zone10: failed to read out thermal zone (-5)
[   18.408360] mei_wdt: probe of mei::05b79a6f-4628-4d7f-899d-a91514cb32ab:02 failed with error -22
[  114.030300] nvidia: probe of 0000:01:00.0 failed with error -1
[  114.030420] NVRM: The NVIDIA probe routine failed for 1 device(s).
[  114.030684] NVRM: NVIDIA init module failed!
[38468.881626] ACPI Error: Method parse/execution failed [\PNOT] (Node ffff8802b50d3078), AE_NOT_FOUND (20160422/psparse-542)
[38468.881639] ACPI Error: Method parse/execution failed [\_SB.AC._PSR] (Node ffff8802b50e6de8), AE_NOT_FOUND (20160422/psparse-542)
[38853.286679] nvidia: probe of 0000:01:00.0 failed with error -1
[38853.286792] NVRM: The NVIDIA probe routine failed for 1 device(s).
[38853.287036] NVRM: NVIDIA init module failed!
[39519.880816] nvidia: probe of 0000:01:00.0 failed with error -1
[39519.880932] NVRM: The NVIDIA probe routine failed for 1 device(s).
[39519.881167] NVRM: NVIDIA init module failed!

I hope these information could be helpful to discover the issue.
thanks smile

Note: Sorry if its too much information i just thought it would be easier to figure out like that smile

EDIT: I have uninstalled bumblebee, bbswitch and nvidia driver and reinstalled nvidia and now i can load the driver

➜  ~ lsmod | grep nv    
nvidia_drm             49152  0
nvidia_modeset        782336  1 nvidia_drm
nvidia              11816960  1 nvidia_modeset
drm_kms_helper        126976  2 i915,nvidia_drm
drm                   294912  10 i915,nvidia_drm,drm_kms_helper
nvme                   28672  4
nvme_core              28672  6 nvme

but if i install bumblebee it goes off. I think bumblebee turns off the GPU for power saving but it can't turn it on for some reason.

Last edited by mrb101 (2016-11-17 10:38:38)

Offline

#2 2016-11-16 17:42:40

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Nvidia, Driver not working properly or changing power state

What kind of laptop? There is information on here specifically to kernel 4.8 and a similar issue concerning bbswitch and I think Dell laptops. Try searching.


Matt

"It is very difficult to educate the educated."

Offline

#3 2016-11-17 07:13:53

mrb101
Member
Registered: 2012-06-30
Posts: 26

Re: [SOLVED] Nvidia, Driver not working properly or changing power state

Yes, I have Dell XPS 15 i7-9550
i did check before. it does seem there some people facing  similar problems. ill keep an eye smile thanks

Offline

#4 2016-11-17 10:37:43

mrb101
Member
Registered: 2012-06-30
Posts: 26

Re: [SOLVED] Nvidia, Driver not working properly or changing power state

I have found the solution here
https://bbs.archlinux.org/viewtopic.php?id=150315
needed to change the runlevel from graphical to multi-user in bumblebee conf smile
It took a whole 2 days of searching hehehe

Offline

#5 2017-01-22 18:01:04

edoantonioco
Member
Registered: 2015-04-15
Posts: 3

Re: [SOLVED] Nvidia, Driver not working properly or changing power state

mrb101 wrote:

I have found the solution here
https://bbs.archlinux.org/viewtopic.php?id=150315
needed to change the runlevel from graphical to multi-user in bumblebee conf smile
It took a whole 2 days of searching hehehe

Hello, if this is really a solution for this problem, then it would be nice if you post this on the bumblebee github thread https://github.com/Bumblebee-Project/Bu … issues/810

On my case I cant use this workaround since the file doesnt exist

Last edited by edoantonioco (2017-01-22 18:09:33)

Offline

Board footer

Powered by FluxBB