Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2016-11-30 09:33:50

  Pakos - Członek DUG

Pakos
Członek DUG
Zarejestrowany: 2007-06-12
Serwis

bumblebee - Failed to load module "nvidia"

kiedyś (https://forum.dug.net.pl/viewtopic.php?id=25133) udało mi się ustawić bumblebee i w sumie cały czas działało.
Teraz jakoś zauważyłem, że coś padło (niestety odpalałem go raz na dwa miesiące więc nie jestem w stanie dokładnie stwierdzić czy to po jakiejś konkretnej aktualizacji czy coś).

Gerealnie config bez zmian w stosunku do tego co działał:

moduły:

Kod:

    bbswitch, 0.8, 4.6.0-1-amd64, x86_64: installed
    bbswitch, 0.8, 4.8.0-1-amd64, x86_64: installed
    nvidia-current, 367.57, 4.6.0-1-amd64, x86_64: installed
    nvidia-current, 367.57, 4.8.0-1-amd64, x86_64: installed

karta nvidia to:

Kod:

07:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)

/etc/bumblebee.conf/bumblebee.conf.conf
z ważnych ustawiony:
Driver=nvidia
KernelDriver=nvidia-current

Kod:

    
    # 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
    # Xorg binary to run
    XorgBinary=/usr/lib/xorg/Xorg

    ## 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/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/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

/etc/bumblebee/xorg.conf.nvidia:
tutaj dodałem tylko kartę bo sam nie radził sobie z wykryciem
BusID "PCI:07:00:0"

Kod:

    xorg.conf.nvidia
    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:07: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

no i szybki test, restart demona itd i dupa:

Kod:

systemctl restart bumblebeed.service
systemctl status bumblebeed.service
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2016-11-29 21:31:07 CET; 11s ago
 Main PID: 6259 (bumblebeed)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bumblebeed.service
           └─6259 /usr/sbin/bumblebeed

Nov 29 21:31:07 baza systemd[1]: Started Bumblebee C Daemon.
Nov 29 21:31:07 baza bumblebeed[6259]: [ 3998.538215] [INFO]/usr/sbin/bumblebeed 3.2.1 started

optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

optirun -vvv glxgears
[ 4067.950712] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 4067.950993] [INFO]Configured driver: nvidia
[ 4067.951137] [DEBUG]optirun version 3.2.1 starting...
[ 4067.951146] [DEBUG]Active configuration:
[ 4067.951149] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 4067.951153] [DEBUG] X display: :8
[ 4067.951156] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[ 4067.951160] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 4067.951163] [DEBUG] Accel/display bridge: auto
[ 4067.951170] [DEBUG] VGL Compression: proxy
[ 4067.951176] [DEBUG] VGLrun extra options:
[ 4067.951180] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 4067.951224] [DEBUG]Using auto-detected bridge primus
[ 4068.128154] [INFO]Response: No - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)

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

[ 4068.128170] [DEBUG]Socket closed.
[ 4068.128185] [ERROR]Aborting because fallback start is disabled.
[ 4068.128187] [DEBUG]Killing all remaining processes.

lsmod|grep nvid
nvidia              11485184  0

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

jakieś pomysły ktoś ma?

Offline

 

#2  2016-11-30 10:05:32

  mati75 - Psuj

mati75
Psuj
Skąd: default city
Zarejestrowany: 2010-03-14
Serwis

Re: bumblebee - Failed to load module "nvidia"

Która wersja debiana?


[img]https://l0calh0st.pl/obrazki/userbar.png[/img]

Offline

 

#3  2016-11-30 10:11:37

  Pakos - Członek DUG

Pakos
Członek DUG
Zarejestrowany: 2007-06-12
Serwis

Re: bumblebee - Failed to load module "nvidia"

[quote=mati75]Która wersja debiana?[/quote]
sid oczywiście :)

Offline

 

#4  2016-11-30 18:49:37

  mati75 - Psuj

mati75
Psuj
Skąd: default city
Zarejestrowany: 2010-03-14
Serwis

Re: bumblebee - Failed to load module "nvidia"

Instaluj sterownik z experimental. Ten z sida nie działa z xserver 1.19


[img]https://l0calh0st.pl/obrazki/userbar.png[/img]

Offline

 

#5  2016-11-30 21:03:32

  Pakos - Członek DUG

Pakos
Członek DUG
Zarejestrowany: 2007-06-12
Serwis

Re: bumblebee - Failed to load module "nvidia"

hmm wgrałem ale nie widzę róznicy

Kod:

nvidia-current, 375.20, 4.8.0-1-amd64, x86_64: installed

root@baza:~# systemctl restart bumblebeed.service 

root@baza:~# optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

root@baza:~# lsmod|grep nvi

root@baza:~# optirun glxgears
[88534.537228] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)

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

root@baza:~# optirun --status
Bumblebee status: Error (3.2.1): [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)

root@baza:~# lsmod|grep nvi
nvidia              11915264  0

chyba, że trzeba wszystkie pakiety nvidii wgrać z experimentala?

Kod:

ii  bumblebee-nvidia                       3.2.1-13                              amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  glx-alternative-nvidia                 0.7.4                                 amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-alternative                     367.57-2                              amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-installer-cleanup               20151021+4                            amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                   20151021+4                            amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                     375.20-2                              amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-kernel-support                  367.57-2                              amd64        NVIDIA binary kernel module support files
ii  nvidia-legacy-check                    367.57-2                              amd64        check for NVIDIA GPUs requiring a legacy driver
ii  nvidia-modprobe                        367.44-1                              amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-vdpau-driver:amd64              367.57-2                              amd64        Video Decode and Presentation API for Unix - NVIDIA driver

może w tym szkopuł, że nvidia-modprobe  nadal jest w jakiejś starszej wersji niż reszta w sidzie 367.44-1   - 367.57-2 i sobie po prostu nie potrafi tylko załadować modułu? Chociaż w sumie nie widzę tej paczki w experimental

Ostatnio edytowany przez Pakos (2016-11-30 21:06:43)

Offline

 

#6  2016-11-30 21:43:58

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: bumblebee - Failed to load module "nvidia"

Chociaż w sumie nie widzę tej paczki w experimental[/quote]
Może przyda się spacerek do okulisty:
https://packages.debian.org/experimental/nvidia-driver

Ostatnio edytowany przez Jacekalex (2016-11-30 21:44:25)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#7  2016-11-30 22:10:13

  Pakos - Członek DUG

Pakos
Członek DUG
Zarejestrowany: 2007-06-12
Serwis

Re: bumblebee - Failed to load module "nvidia"

[quote=Jacekalex]

Chociaż w sumie nie widzę tej paczki w experimental[/quote]
Może przyda się spacerek do okulisty:
https://packages.debian.org/experimental/nvidia-driver[/quote]
generalnie polecam Ci, bo ostatnia linijka od początku do końca traktuje o nvidia-modprobe a nie nvidia-driver :)

Ostatnio edytowany przez Pakos (2016-11-30 22:16:56)

Offline

 

#8  2016-11-30 22:22:34

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/urandom
Zarejestrowany: 2008-01-07

Re: bumblebee - Failed to load module "nvidia"

A jak wklepiesz to:

Kod:

aptitude install -t experimental nvidia-driver

Paczką nvidia-modprobe nie musisz się zajmować z prostej przyczyny:

Kod:

ls -l /opt/bin/nvidia-modprobe
---------- 1 root video 29384 11-27 22:49 /opt/bin/nvidia-modprobe

i Nvidia działa u mnie bez problemu, wersja [s]370.28[/s] 375.20 obecnie.

Ostatnio edytowany przez Jacekalex (2016-11-30 23:04:24)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#9  2016-11-30 23:09:53

  Pakos - Członek DUG

Pakos
Członek DUG
Zarejestrowany: 2007-06-12
Serwis

Re: bumblebee - Failed to load module "nvidia"

szczerze to zawsze instalowałem nvidia-kernel-dkms ale już widzę zależności (sid, experminetal nawet już nie sprawdzam)

Kod:

The following NEW packages will be installed:
  glx-alternative-nvidia{a} glx-diversions{a} libegl-nvidia0{a} libegl-nvidia0:i386{a} libegl1-glvnd-nvidia{a} libegl1-glvnd-nvidia:i386{a} libgl1-glvnd-nvidia-glx{a} 
  libgl1-glvnd-nvidia-glx:i386{a} libgldispatch0-nvidia{a} libgldispatch0-nvidia:i386{a} libgles-nvidia1{a} libgles-nvidia1:i386{a} libgles-nvidia2{a} libgles-nvidia2:i386{a} 
  libgles1-glvnd-nvidia{a} libgles1-glvnd-nvidia:i386{a} libgles2-glvnd-nvidia{a} libgles2-glvnd-nvidia:i386{a} libglx-nvidia0{a} libglx-nvidia0:i386{a} libglx0-glvnd-nvidia{a} 
  libglx0-glvnd-nvidia:i386{a} libnvidia-cfg1{a} libnvidia-cfg1:i386{a} libnvidia-eglcore{a} libnvidia-eglcore:i386{a} libnvidia-glcore{a} libnvidia-glcore:i386{a} libnvidia-ml1{a} 
  libopengl0-glvnd-nvidia{a} libopengl0-glvnd-nvidia:i386{a} nvidia-alternative{a} nvidia-driver nvidia-driver-bin{a} nvidia-driver-libs{a} nvidia-driver-libs:i386{a} 
  nvidia-driver-libs-i386:i386{a} nvidia-installer-cleanup{a} nvidia-kernel-common{a} nvidia-kernel-dkms{a} nvidia-kernel-support{a} nvidia-legacy-check{a} nvidia-modprobe{a} 
  nvidia-persistenced{a} nvidia-support{a} nvidia-vdpau-driver{a} nvidia-vulkan-common{a} nvidia-vulkan-icd{a} nvidia-vulkan-icd:i386{a} xserver-xorg-video-nvidia{ab} 
0 packages upgraded, 50 newly installed, 0 to remove and 0 not upgraded.
Need to get 45.2 MB of archives. After unpacking 190 MB will be used.
The following packages have unmet dependencies:
 xserver-xorg-video-nvidia : Depends: xorg-video-abi-20 which is a virtual package and is not provided by any available package
 or
                                      xorg-video-abi-19 which is a virtual package and is not provided by any available package
 or
                                      xorg-video-abi-18 which is a virtual package and is not provided by any available package
 or
                                      xorg-video-abi-15 which is a virtual package and is not provided by any available package
 or
                                      xorg-video-abi-14 which is a virtual package and is not provided by any available package
 or
                                      xorg-video-abi-13 which is a virtual package and is not provided by any available package
 or
                                      xorg-video-abi-12 which is a virtual package and is not provided by any available package
 or
                                      xorg-video-abi-11 which is a virtual package and is not provided by any available package
 or
                                      xorg-video-abi-10 which is a virtual package and is not provided by any available package
 or
                                      xorg-video-abi-8 which is a virtual package and is not provided by any available package
 or
                                      xorg-video-abi-6.0 which is a virtual package and is not provided by any available package

                             Depends: xserver-xorg-core (< 2:1.18.99) but 2:1.19.0-2 is installed

pytanie teraz czy jakaś paczka jeszcze nie wpadła w nowej wersji czy to ja mam jakiś rozgardiasz w systemie :)

Offline

 

#10  2016-12-01 09:41:40

  mati75 - Psuj

mati75
Psuj
Skąd: default city
Zarejestrowany: 2010-03-14
Serwis

Re: bumblebee - Failed to load module "nvidia"

aptitude update zrobiłeś wcześniej?


[img]https://l0calh0st.pl/obrazki/userbar.png[/img]

Offline

 

#11  2016-12-01 10:35:53

  Pakos - Członek DUG

Pakos
Członek DUG
Zarejestrowany: 2007-06-12
Serwis

Re: bumblebee - Failed to load module "nvidia"

oczywiście, żadnych problemów z zależnościami obecnie też na systemie nie ma

Kod:

root@baza:~# apt install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@baza:~# apt update 
Hit:1 http://aptosid.com/debian unstable InRelease
Hit:2 http://ftp.pl.debian.org/debian sid InRelease                                                            
Hit:3 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu xenial InRelease                                
Ign:4 http://download.opensuse.org/repositories/home:/Horst3180/Debian_8.0  InRelease    
Hit:5 http://download.opensuse.org/repositories/home:/Horst3180/Debian_8.0  Release
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

root@baza:~# apt install nvidia-driver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-driver : Depends: xserver-xorg-video-nvidia (= 367.57-2) but it is not going to be installed
                 Recommends: nvidia-settings (>= 367) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Ostatnio edytowany przez Pakos (2016-12-01 10:36:13)

Offline

 

#12  2016-12-01 10:38:26

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: bumblebee - Failed to load module "nvidia"

Miałeś z experimental instalować.


[img]http://svn.debianart.org/themes/generic/spinner/spinner48px-moreblue.png[/img]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.018 seconds, 10 queries executed ]

Informacje debugowania

Time (s) Query
0.00008 SET CHARSET latin2
0.00005 SET NAMES latin2
0.00109 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.146.37.222' WHERE u.id=1
0.00077 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.146.37.222', 1732492662)
0.00046 SELECT * FROM punbb_online WHERE logged<1732492362
0.00217 DELETE FROM punbb_online WHERE ident='40.77.167.62'
0.00034 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=29191 AND t.moved_to IS NULL
0.00042 SELECT search_for, replace_with FROM punbb_censoring
0.00931 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=29191 ORDER BY p.id LIMIT 0,25
0.00066 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=29191
Total query time: 0.01535 s