Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: bumblebee not working

  1. #1

    Default bumblebee not working

    Hi,

    The hardware is a Dell XPS 9570:

    00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
    00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
    00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
    00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
    00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
    00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
    00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
    00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
    00:15.0 Serial bus controller [0c80]: Intel Corporation LPSS I2C Controller #0 (rev 10)
    00:15.1 Serial bus controller [0c80]: Intel Corporation Device a369 (rev 10)
    00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
    00:17.0 SATA controller: Intel Corporation Device a353 (rev 10)
    00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0)
    00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 (rev f0)
    00:1c.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #5 (rev f0)
    00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
    00:1f.0 ISA bridge: Intel Corporation Device a30e (rev 10)
    00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
    00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
    00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
    01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev ff)
    3b:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
    3c:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
    3d:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 0116


    After disabling Secure Boot in BIOS I did a fresh install of Tumbleweed and followed this guide:

    https://en.opensuse.org/SDB:NVIDIA_Bumblebee

    Please notice that I followed only Tumbleweed specific sections and I did not installed the Nvidia driver or configure the X11 links. Basically (from the history output):

    2 sudo snapper create -d BeforeBB
    3 sudo zypper in bumblebee bbswitch
    4 sudo usermod -aG bumblebee codrut
    5 sudo usermod -aG video codrut
    6 id codrut
    7 sudo systemctl enable bumblebeed
    8 sudo systemctl start bumblebeed
    9 cat /etc/modprobe.d/
    10 cat /etc/modprobe.d/99-local.conf
    11 echo "blacklist nouveau" | sudo tee -a /etc/modprobe.d/99-local.conf
    12 cat /etc/modprobe.d/99-local.conf
    13 sudo mkinitrd
    14 sudo zypper in Mesa-libGL1-32bit libX11-6-32bit primus-32bit
    15 sudo zypper addrepo https://download.opensuse.org/reposi...Bumblebee.repo
    16 sudo zypper in nvidia-bumblebee nvidia-bumblebee-32bit
    17 sudo systemctl enable dkms
    18 sudo mkinitrd
    19 optirun --status
    20 optirun glxgears

    This failed to run even after I blacklisted the GPU in TLP, stopping TLP and powertop is not configured on my system.

    codrut@linux-ht9t:/etc/bumblebee> sudo systemctl status tlp
    ● tlp.service - TLP system startup/shutdown
    Loaded: loaded (/usr/lib/systemd/system/tlp.service; disabled; vendor preset: disabled)
    Active: inactive (dead)
    Docs: http://linrunner.de/tlp
    codrut@linux-ht9t:/etc/bumblebee> sudo systemctl status powertop
    Unit powertop.service could not be found.

    In dmesg for boot time:

    [ 9.388463] Bluetooth: hci0: Firmware revision 0.1 build 113 week 38 2018
    [ 9.394848] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input33
    [ 9.394963] usbcore: registered new interface driver uvcvideo
    [ 9.394964] USB Video Class driver (1.1.1)
    [ 9.470946] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
    [ 9.471191] NVRM: This is a 64-bit BAR mapped above 4GB by the system
    NVRM: BIOS or the Linux kernel, but the PCI bridge
    NVRM: immediately upstream of this GPU does not define
    NVRM: a matching prefetchable memory window.
    [ 9.471191] NVRM: This may be due to a known Linux kernel bug. Please
    NVRM: see the README section on 64-bit BARs for additional
    NVRM: information.
    [ 9.471194] nvidia: probe of 0000:01:00.0 failed with error -1
    [ 9.471205] NVRM: The NVIDIA probe routine failed for 1 device(s).
    [ 9.471205] NVRM: None of the NVIDIA graphics adapters were initialized!
    [ 9.471290] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242
    [ 9.487780] bpfilter: Loaded bpfilter_umh pid 1781
    [ 9.543363] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 9.543364] Bluetooth: BNEP filters: protocol multicast
    [ 9.543366] Bluetooth: BNEP socket layer initialized
    [ 9.560592] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
    [ 9.560784] NVRM: This is a 64-bit BAR mapped above 4GB by the system
    NVRM: BIOS or the Linux kernel, but the PCI bridge
    NVRM: immediately upstream of this GPU does not define
    NVRM: a matching prefetchable memory window.
    [ 9.560785] NVRM: This may be due to a known Linux kernel bug. Please
    NVRM: see the README section on 64-bit BARs for additional
    NVRM: information.
    [ 9.560788] nvidia: probe of 0000:01:00.0 failed with error -1
    [ 9.560795] NVRM: The NVIDIA probe routine failed for 1 device(s).
    [ 9.560796] NVRM: None of the NVIDIA graphics adapters were initialized!
    [ 9.560915] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242
    [ 9.643870] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
    [ 9.644080] NVRM: This is a 64-bit BAR mapped above 4GB by the system
    NVRM: BIOS or the Linux kernel, but the PCI bridge
    NVRM: immediately upstream of this GPU does not define
    NVRM: a matching prefetchable memory window.
    [ 9.644081] NVRM: This may be due to a known Linux kernel bug. Please
    NVRM: see the README section on 64-bit BARs for additional
    NVRM: information.
    [ 9.644083] nvidia: probe of 0000:01:00.0 failed with error -1
    [ 9.644092] NVRM: The NVIDIA probe routine failed for 1 device(s).
    [ 9.644092] NVRM: None of the NVIDIA graphics adapters were initialized!
    [ 9.644180] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242
    [ 9.736615] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
    [ 9.736853] NVRM: This is a 64-bit BAR mapped above 4GB by the system
    NVRM: BIOS or the Linux kernel, but the PCI bridge
    NVRM: immediately upstream of this GPU does not define
    NVRM: a matching prefetchable memory window.
    [ 9.736854] NVRM: This may be due to a known Linux kernel bug. Please
    NVRM: see the README section on 64-bit BARs for additional
    NVRM: information.
    [ 9.736858] nvidia: probe of 0000:01:00.0 failed with error -1
    [ 9.736868] NVRM: The NVIDIA probe routine failed for 1 device(s).
    [ 9.736869] NVRM: None of the NVIDIA graphics adapters were initialized!
    [ 9.736984] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242



    after issuing the command:

    codrut@linux-ht9t:/etc/bumblebee> optirun --status
    Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

    codrut@linux-ht9t:/etc/bumblebee> optirun glxgears

    in dmesg:

    [ 585.957616] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card

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

    [ 585.894214] bbswitch: enabling discrete graphics
    [ 585.894274] pci 0000:01:00.0: Refused to change power state, currently in D3

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

    Default Re: bumblebee not working

    I have the exact same problem with this laptop. Been searching for a solution for days now.
    I came across this post which looked promising but I can't get it to work. Any advice would be appreciated!

  3. #3
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,415

    Default Re: bumblebee not working

    https://bugzilla.opensuse.org/show_bug.cgi?id=1110041 may point to links that could be of use. Adding a comment there might sway developers to think about putting more effort into having your kind of trouble avoided. Note its highlight is the cmdline string "nomodeset", which is a band-aid, not a solution.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 42.3,TW,15.0 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&42.3 on 965P/Radeon
    Tertiary: TW,15.0,42.3,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

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

    Default Re: bumblebee not working

    Quote Originally Posted by mrmazda View Post
    https://bugzilla.opensuse.org/show_bug.cgi?id=1110041 may point to links that could be of use. Adding a comment there might sway developers to think about putting more effort into having your kind of trouble avoided. Note its highlight is the cmdline string "nomodeset", which is a band-aid, not a solution.
    Thanks for the reply. I've been through several of the threads linked in that discussion. I have tried switching to the discrete graphics card using both the "official" documentation and the process list in this post: https://forums.opensuse.org/showthre...85#post2873785
    Neither process works on the XPS 15 9570, however.

    I have also tried upgrading the BIOS to the latest 1.7.0. but this also does not make a difference. The BIOS unfortunately also does not have an option to disable the Intel card so that the system will use the Nvidia card exclusively, as far as I can tell.

    It appears the system doesn't even "see" the Nvidia card either:

    xrandr --listproviders
    Providers: number : 1
    Provider 0: id: 0x46; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 3; outputs: 4; associated providers: 0; name: modesetting
    output eDP-1
    output DP-1
    output DP-2
    output DP-3
    Only 1 "provider" is listed.

    I am out of ideas right now and would appreciate any insight because I am out of my depth getting this to work. Anyone?

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    19,888
    Blog Entries
    1

    Default Re: bumblebee not working

    Quote Originally Posted by joopberis View Post
    It appears the system doesn't even "see" the Nvidia card either:



    Only 1 "provider" is listed.

    I am out of ideas right now and would appreciate any insight because I am out of my depth getting this to work. Anyone?
    Can you please share your graphics hardware details?
    Code:
    /usr/sbin/hwinfo --gfxcard
    openSUSE Leap 15.0; KDE Plasma 5

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

    Default Re: bumblebee not working

    Sure, here is the output:

    Code:
    16: PCI 100.0: 0302 3D controller                               
      [Created at pci.386]
      Unique ID: VCu0.x1dj2r4ptE7
      Parent ID: vSkL.PMQInhUWqQ8
      SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
      SysFS BusID: 0000:01:00.0
      Hardware Class: graphics card
      Model: "nVidia GP107M [GeForce GTX 1050 Mobile]"
      Vendor: pci 0x10de "nVidia Corporation"
      Device: pci 0x1c8d "GP107M [GeForce GTX 1050 Mobile]"
      SubVendor: pci 0x1028 "Dell"
      SubDevice: pci 0x087c 
      Revision: 0xff
      Memory Range: 0xec000000-0xecffffff (rw,non-prefetchable)
      Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
      Memory Range: 0xd0000000-0xd1ffffff (ro,non-prefetchable)
      I/O Ports: 0x3000-0x3fff (rw)
      Memory Range: 0xed000000-0xed07ffff (ro,non-prefetchable)
      IRQ: 16 (no events)
      Module Alias: "pci:v000010DEd00001C8Dsv00001028sd0000087Cbc03sc02i00"
      Driver Info #0:
        Driver Status: nouveau is not active
        Driver Activation Cmd: "modprobe nouveau"
      Driver Info #1:
        Driver Status: nvidia_drm is not active
        Driver Activation Cmd: "modprobe nvidia_drm"
      Driver Info #2:
        Driver Status: nvidia is not active
        Driver Activation Cmd: "modprobe nvidia"
      Config Status: cfg=no, avail=yes, need=no, active=unknown
      Attached to: #13 (PCI bridge)
    
    28: PCI 02.0: 0300 VGA compatible controller (VGA)
      [Created at pci.386]
      Unique ID: _Znp.oMe2NkQFlO3
      SysFS ID: /devices/pci0000:00/0000:00:02.0
      SysFS BusID: 0000:00:02.0
      Hardware Class: graphics card
      Device Name: "Onboard IGD"
      Model: "Intel UHD Graphics 630 (Mobile)"
      Vendor: pci 0x8086 "Intel Corporation"
      Device: pci 0x3e9b "UHD Graphics 630 (Mobile)"
      SubVendor: pci 0x1028 "Dell"
      SubDevice: pci 0x087c 
      Driver: "i915"
      Driver Modules: "i915"
      Memory Range: 0xeb000000-0xebffffff (rw,non-prefetchable)
      Memory Range: 0x80000000-0x8fffffff (ro,non-prefetchable)
      I/O Ports: 0x4000-0x403f (rw)
      Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
      IRQ: 134 (151348 events)
      Module Alias: "pci:v00008086d00003E9Bsv00001028sd0000087Cbc03sc00i00"
      Driver Info #0:
        Driver Status: i915 is active
        Driver Activation Cmd: "modprobe i915"
      Config Status: cfg=no, avail=yes, need=no, active=unknown
    
    Primary display adapter: #28

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    19,888
    Blog Entries
    1

    Default Re: bumblebee not working

    There is no kernel driver loaded for your nvidia hardware.
    openSUSE Leap 15.0; KDE Plasma 5

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

    Default Re: bumblebee not working

    Quote Originally Posted by deano_ferrari View Post
    There is no kernel driver loaded for your nvidia hardware.
    It's probably my ignorance of the whole bumblebee setup (I'm mostly a networking guy) but I thought this is what the Bumblebee daemon was supposed to take care of when you try to use the card, for instance through optirun?
    Did I get that wrong? And if so, how do I get the kernel driver loaded the correct way when using Bumblebee?

  9. #9
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    19,888
    Blog Entries
    1

    Default Re: bumblebee not working

    Quote Originally Posted by joopberis View Post
    It's probably my ignorance of the whole bumblebee setup (I'm mostly a networking guy) but I thought this is what the Bumblebee daemon was supposed to take care of when you try to use the card, for instance through optirun?
    Did I get that wrong? And if so, how do I get the kernel driver loaded the correct way when using Bumblebee?
    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.
    openSUSE Leap 15.0; KDE Plasma 5

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    19,888
    Blog Entries
    1

    Default Re: bumblebee not working

    Perhaps a good idea to show the output of the following...
    Code:
    sudo systemctl status bumblebeed
    sudo systemctl status dkms
    openSUSE Leap 15.0; KDE Plasma 5

Page 1 of 2 12 LastLast

Posting Permissions

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