Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: bumblebee not working

  1. #11
    Join Date
    Dec 2008
    Location
    Between keyboard and chair
    Posts
    96

    Default Re: bumblebee not working

    Quote Originally Posted by deano_ferrari View Post
    I don't have this hardware so can't really advise specifically. Is this what you tried already?
    https://en.opensuse.org/SDB:NVIDIA_Bumblebee
    *The Tumbleweed steps in particular

    It might help others to help you if you can explain what you've tried, and where you got to etc.
    Yes, I followed the official SDB which didn't get the Nvidia card working. My results are exactly those of the OP of this thread. I also tried the steps listed here: https://forums.opensuse.org/showthre...85#post2873785
    Those didn't work either, the end result is the same, unfortunately.

  2. #12
    Join Date
    Dec 2008
    Location
    Between keyboard and chair
    Posts
    96

    Default Re: bumblebee not working

    Quote Originally Posted by deano_ferrari View Post
    Perhaps a good idea to show the output of the following...
    Code:
    sudo systemctl status bumblebeed
    sudo systemctl status dkms
    Alright, here you go:

    Code:
    ● bumblebeed.service - Bumblebee C Daemon
       Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
       Active: active (running) since Wed 2019-02-06 09:00:14 CET; 16min ago
     Main PID: 2082 (bumblebeed)
        Tasks: 1 (limit: 4915)
       Memory: 1.9M
       CGroup: /system.slice/bumblebeed.service
               └─2082 /usr/sbin/bumblebeed
    And the DKMS service:

    Code:
    ● dkms.service - Dynamic Kernel Modules System
       Loaded: loaded (/usr/lib/systemd/system/dkms.service; enabled; vendor preset: disabled)
       Active: active (exited) since Wed 2019-02-06 09:00:14 CET; 16min ago
      Process: 1186 ExecStart=/usr/lib/systemd/system/dkms.systemd start (code=exited, status=0/SUCCESS)
     Main PID: 1186 (code=exited, status=0/SUCCESS)
    
    feb 06 09:00:13 linux systemd[1]: Starting Dynamic Kernel Modules System...
    feb 06 09:00:14 linux dkms.systemd[1186]: modprobe: ERROR: could not insert 'nvidia_drm': No such device
    feb 06 09:00:14 linux dkms.systemd[1186]: modprobe: ERROR: could not insert 'nvidia': No such device
    feb 06 09:00:14 linux dkms.systemd[1186]: modprobe: ERROR: could not insert 'nvidia_modeset': No such device
    feb 06 09:00:14 linux dkms.systemd[1186]: modprobe: ERROR: could not insert 'nvidia_uvm': No such device
    feb 06 09:00:14 linux systemd[1]: Started Dynamic Kernel Modules System.
    Okay, so it seems it can't find an NVidia module to load?

    Zypper has this to say:

    Code:
    $ zypper se nvidia
    Loading repository data...
    Reading installed packages...
    
    S  | Name                   | Summary                                                                       | Type      
    ---+------------------------+-------------------------------------------------------------------------------+-----------
    i+ | nvidia-bumblebee       | Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs | package   
       | nvidia-bumblebee       | Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs | srcpackage
    i+ | nvidia-bumblebee-32bit | Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs | package   
       | nvidia-texture-tools   | NVIDIA Texture Tools                                                          | package   
       | pcp-pmda-nvidia-gpu    | Performance Co-Pilot (PCP) metrics for the Nvidia GPU                         | package
    That's just the installer, not the actual driver? Doesn't the installation process pull that in? Guess we know why there's no driver to load. Doesn't seem to be one there?

  3. #13
    Join Date
    Dec 2008
    Location
    Between keyboard and chair
    Posts
    96

    Default Re: bumblebee not working

    I have removed everything of Bumblebee that I could find, reversed all the steps from the official documentation and then did everything very carefully again, from scratch. However, the problem remains. The system can't activate the NVidia card when requested. I guess Bumblebee doesn't work on the Dell XPS 9570 for some reason which I can't fathom.

    Unfortunately, I can't do things the old way, just disable the Intel card in the BIOS and run only on NVidia, so I can't use my discrete graphics at all, which seems a shame. I'm open to suggestions, help, etc... Anyone?

  4. #14
    Join Date
    Jan 2017
    Location
    Nürnberg, Germany
    Posts
    174

    Default Re: bumblebee not working

    Quote Originally Posted by joopberis View Post
    . I'm open to suggestions, help, etc... Anyone?
    From https://en.opensuse.org/SDB:NVIDIA_Bumblebee
    Add yourself to the video group (here "username" should be replaced with your real username):
    Code:
    sudo usermod -aG video username
    This hint helped me get my NVidia GTX 1050 to display my X session. But it wasn’t the whole story. I had to add the display managers I used (SDDM and, later, KDM) to the »video« group as well:
    Code:
    sudo usermod -aG video username
    sudo usermod -aG video sddm
    # ... and months later, sudo usermod -aG video kdm — as I learned by trial and error that KDM is much faster than SDDM with autologins
    Some users with similar Bumblebee/NVidia problems solved have told me these usermods weren’t necessary anymore with Leap+Tumbleweed, but it can’t hurt to try.

  5. #15
    Join Date
    Dec 2008
    Location
    Between keyboard and chair
    Posts
    96

    Default Re: bumblebee not working

    @unix111: Thank you for your suggestion. It won't hurt to try.
    I'll report back here with my findings once I've had time to test!

  6. #16
    Join Date
    Dec 2008
    Location
    Between keyboard and chair
    Posts
    96

    Default Re: bumblebee not working

    Unfortunately, adding the sddm user to the video group makes no difference with regards to the error message. It's still:

    Code:
    optirun glxgears
    [   71.659381] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
    
    [   71.659415] [ERROR]Aborting because fallback start is disabled.

  7. #17
    Join Date
    Dec 2008
    Location
    Between keyboard and chair
    Posts
    96

    Default Re: bumblebee not working

    After searching further, I finally arrived at this thread: https://github.com/Bumblebee-Project...tch/issues/140 which seems to describe the problem I am having.
    Code:
    bbswitch: enabling discrete graphics
    pci 0000:01:00.0: Refused to change power state, currently in D3
    pci 0000:01:00.0: Refused to change power state, currently in D3
    Following advice in this thread, I decided to uninstall bbswitch from the Dell XPS and lo and behold, I can start the discrete GPU when using optirun!

    Code:
    optirun -vvv glxspheres
    [ 5367.844735] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
    [ 5367.852917] [INFO]Configured driver: nvidia
    [ 5367.853236] [DEBUG]optirun version 3.2.1 starting...
    [ 5367.853262] [DEBUG]Active configuration:
    [ 5367.853275] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
    [ 5367.853289] [DEBUG] X display: :8
    [ 5367.853314] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/nvidia:/usr/lib/nvidia
    [ 5367.853333] [DEBUG] Socket path: /var/run/bumblebee.socket
    [ 5367.853349] [DEBUG] Accel/display bridge: auto
    [ 5367.853370] [DEBUG] VGL Compression: proxy
    [ 5367.853390] [DEBUG] VGLrun extra options: 
    [ 5367.853409] [DEBUG] Primus LD Path: /usr/lib64/primus:/usr/lib/primus
    [ 5367.853574] [DEBUG]Using auto-detected bridge virtualgl
    [ 5368.867279] [INFO]Response: Yes. X is active.
    
    [ 5368.867314] [INFO]Running application using virtualgl.
    [ 5368.867432] [DEBUG]Process vglrun started, PID 11861.
    Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
    Visual ID of window: 0x21
    Context is Direct
    OpenGL Renderer: GeForce GTX 1050/PCIe/SSE2
    280.419504 frames/sec - 312.948166 Mpixels/sec
    238.135725 frames/sec - 265.759469 Mpixels/sec
    231.761183 frames/sec - 258.645480 Mpixels/sec
    238.935969 frames/sec - 266.652542 Mpixels/sec
    So far so good.

    The problem that remains now is how to get my Steam games to run...

  8. #18
    Join Date
    Jan 2017
    Location
    Nürnberg, Germany
    Posts
    174

    Default Re: bumblebee not working

    Quote Originally Posted by joopberis View Post
    The problem that remains now is how to get my Steam games to run...
    I can relate. Having installed Steam twice (once as Debian package using the »alien« deb-to-rpm tool while using openSUSE 42.3, later as RPM packages »steam« and »steamtricks«), I had to install several 32-bit libs manually because they weren’t explicitely listed as Steam dependencies.

    I even had to tweak the startup scripts for some Steam games (e.g. »Lifeless Planet«), because they used pathnames that would be resolvable in a case-agnostic filesystem like HFS+ or NTFS, but not in a proper case-sensitive Unix filesystem like ext4.

    Still, Steam seemed to have trouble starting games, installing its updates or providing in-game Steam overlay. Then, over at StackExchange or some such site I stumbled over this possibility of telling steam via environment variable to go for the openSUSE-packaged libs instead of Steam’s own debian-based libs:
    Code:
    STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 steam
    … and behold, it worked. Maybe this can help you too, joopberis.

    For solving Steam troubles however, it may be a good idea to open another seperate thread with an appropriate Steam-related subject. Cheers!

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •