Page 1 of 5 123 ... LastLast
Results 1 to 10 of 42

Thread: Anyone get Nvidia Optimus working in Leap 15?

  1. #1

    Angry Anyone get Nvidia Optimus working in Leap 15?

    Trying to get my Intel Skylake / Nvidia 960M optimus graphics working with little luck.

    I followed the guide here : https://en.opensuse.org/SDB:NVIDIA_Bumblebee

    However, no such luck. I also had to make a correction to the Wiki I linked (Leap section, 2nd set of Symlink commands). There's also a few things off about the order of things that isn't right, at least for Skylake... Can't remove drm-kmp-default and reboot, or there's no booting at all.

    Has anyone gotten it to work right? What changes did you make to the procedure?

    Bumblebee IS running with no errors, but trying to run optirun give me the following:

    Code:
    dorian@linux-amu6:~> optirun -vvv glxspheres
    [ 2876.801993] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
    [ 2876.802513] [INFO]Configured driver: nvidia
    [ 2876.802912] [DEBUG]optirun version 3.2.1 starting...
    [ 2876.802945] [DEBUG]Active configuration:
    [ 2876.802958] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
    [ 2876.802972] [DEBUG] X display: :8
    [ 2876.802991] [DEBUG] LD_LIBRARY_PATH: /usr/X11R6/lib64:/usr/X11R6/lib
    [ 2876.803018] [DEBUG] Socket path: /var/run/bumblebee.socket
    [ 2876.803042] [DEBUG] Accel/display bridge: auto
    [ 2876.803064] [DEBUG] VGL Compression: proxy
    [ 2876.803088] [DEBUG] VGLrun extra options: 
    [ 2876.803111] [DEBUG] Primus LD Path: /usr/lib64/primus:/usr/lib/primus
    [ 2876.803213] [DEBUG]Using auto-detected bridge virtualgl
    [ 2876.982409] [INFO]Response: No - error: Could not load GPU driver
    
    [ 2876.982424] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
    
    [ 2876.982430] [DEBUG]Socket closed.
    [ 2876.982448] [ERROR]Aborting because fallback start is disabled.
    [ 2876.982458] [DEBUG]Killing all remaining processes.
    lspci:


    Code:
    00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
    01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
    However, Nvidia GPU not shown with:

    Code:
    dorian@linux-amu6:~> sudo lspci -nnk | grep -i vga -A3
    00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:115b]
        Kernel driver in use: i915
        Kernel modules: i915
    Any takers or successes so far?

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,274
    Blog Entries
    1

    Default Re: Anyone get Nvidia Optimus working in Leap 15?

    However, Nvidia GPU not shown with:

    Code:
    dorian@linux-amu6:~> sudo lspci -nnk | grep -i vga -A3
    00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:115b]
        Kernel driver in use: i915
        Kernel modules: i915
    Any takers or successes so far?
    The grep filtered the output to exclude it. To get all video (class 03) hardware reported you could use
    Code:
    /sbin/lspci -nnk|grep '\[03' -A3
    or via hwinfo...
    Code:
    /usr/sbin/hwinfo --gfxcrd
    openSUSE Leap 15.0; KDE Plasma 5

  3. #3

    Default Re: Anyone get Nvidia Optimus working in Leap 15?

    Ug, forgot the rest of the grep...

    Code:
    dorian@linux-amu6:~> sudo lspci -nnk | grep -ie vga -ie 3d -A3
    00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:191b] (rev 06)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:115b]
        Kernel driver in use: i915
        Kernel modules: i915
    --
    01:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 960M] [10de:139b] (rev ff)
        Kernel modules: nouveau, nvidia_drm, nvidia
    Also, hwinfo

    Code:
    dorian@linux-amu6:~> /usr/sbin/hwinfo --gfxcard
    11: PCI 02.0: 0300 VGA compatible controller (VGA)              
      [Created at pci.378]
      Unique ID: _Znp.P0UC1J64R8F
      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 HD Graphics 530"
      Vendor: pci 0x8086 "Intel Corporation"
      Device: pci 0x191b "HD Graphics 530"
      SubVendor: pci 0x1462 "Micro-Star International Co., Ltd. [MSI]"
      SubDevice: pci 0x115b 
      Revision: 0x06
      Driver: "i915"
      Driver Modules: "i915"
      Memory Range: 0xdd000000-0xddffffff (rw,non-prefetchable)
      Memory Range: 0xb0000000-0xbfffffff (ro,non-prefetchable)
      I/O Ports: 0xf000-0xf03f (rw)
      Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
      IRQ: 137 (28129 events)
      Module Alias: "pci:v00008086d0000191Bsv00001462sd0000115Bbc03sc00i00"
      Driver Info #0:
        Driver Status: i915 is active
        Driver Activation Cmd: "modprobe i915"
      Config Status: cfg=new, avail=yes, need=no, active=unknown
    
    23: PCI 100.0: 0302 3D controller
      [Created at pci.378]
      Unique ID: VCu0.cNJ_FjeMBl0
      Parent ID: vSkL.dMkOgOqT_iB
      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 GM107M [GeForce GTX 960M]"
      Vendor: pci 0x10de "nVidia Corporation"
      Device: pci 0x139b "GM107M [GeForce GTX 960M]"
      SubVendor: pci 0x1462 "Micro-Star International Co., Ltd. [MSI]"
      SubDevice: pci 0x115b 
      Revision: 0xff
      Memory Range: 0xde000000-0xdeffffff (rw,non-prefetchable)
      Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
      Memory Range: 0xd0000000-0xd1ffffff (ro,non-prefetchable)
      I/O Ports: 0xe000-0xe07f (rw)
      Memory Range: 0xdf000000-0xdf07ffff (ro,non-prefetchable)
      IRQ: 16 (no events)
      Module Alias: "pci:v000010DEd0000139Bsv00001462sd0000115Bbc03sc02i00"
      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=new, avail=yes, need=no, active=unknown
      Attached to: #20 (PCI bridge)
    
    Primary display adapter: #11

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,274
    Blog Entries
    1

    Default Re: Anyone get Nvidia Optimus working in Leap 15?

    I don't have Optumus hardware, so can't assist directly unfortunately. Hopefully, someone more knowledgeable than I on this subject can offer some meaningful guidance. However, if you don't get Bumblebee working for you, then nvdia-xrun might be a viable option to pursue perhaps. Anyway, some interesting information on the subject in the following links:

    An interesting mail on the subject...
    https://lists.opensuse.org/opensuse-.../msg00013.html

    Reference...
    https://wiki.archlinux.org/index.php/Nvidia-xrun

    Blog...
    https://cubethethird.wordpress.com/2...-to-bumblebee/

    openSUSE nvidia-run and bbswitch packages...
    https://software.opensuse.org/package/nvidia-xrun
    https://software.opensuse.org/package/bbswitch

    YMMV.
    openSUSE Leap 15.0; KDE Plasma 5

  5. #5
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    347

    Default Re: Anyone get Nvidia Optimus working in Leap 15?

    Quote Originally Posted by DorianDS View Post
    Trying to get my Intel Skylake / Nvidia 960M optimus graphics working with little luck.

    I followed the guide here : https://en.opensuse.org/SDB:NVIDIA_Bumblebee

    However, no such luck. I also had to make a correction to the Wiki I linked (Leap section, 2nd set of Symlink commands). There's also a few things off about the order of things that isn't right, at least for Skylake... Can't remove drm-kmp-default and reboot, or there's no booting at all.

    Has anyone gotten it to work right? What changes did you make to the procedure?
    To start with:

    My hardware is different (Intel Core i7-7820HK KabyLake-CPU, Intel HD Graphics 630, NVIDIA GeForce GTX 1060 graphics card) to yours. I did a fresh installation (on formatted partitions) of openSUSE Leap 15.0 and there is no drm-kmp-default package. So probably not all what i did will fit for your setup.

    However here is where i deviated from the guide you mentioned:

    Instead of the OSS-repository i use http://download.opensuse.org/reposit...USE_Leap_15.0/ for bumblebee and dkms.

    I had to install "xf86-video-intel-2.99.917+git781.c8990575-lp150.1.11.x86_64.rpm" from the OSS-repository otherwise the system would boot into a black screen.

    I started and enabled " dkms"
    Code:
    # systemctl start dkms
    # systemctl enable dkms
    Hope this helps.

    Regards

    susejunky

  6. #6

    Default Re: Anyone get Nvidia Optimus working in Leap 15?

    Quote Originally Posted by susejunky View Post
    To start with:

    My hardware is different (Intel Core i7-7820HK KabyLake-CPU, Intel HD Graphics 630, NVIDIA GeForce GTX 1060 graphics card) to yours. I did a fresh installation (on formatted partitions) of openSUSE Leap 15.0 and there is no drm-kmp-default package. So probably not all what i did will fit for your setup.

    However here is where i deviated from the guide you mentioned:

    Instead of the OSS-repository i use http://download.opensuse.org/reposit...USE_Leap_15.0/ for bumblebee and dkms.

    I had to install "xf86-video-intel-2.99.917+git781.c8990575-lp150.1.11.x86_64.rpm" from the OSS-repository otherwise the system would boot into a black screen.

    I started and enabled " dkms"
    Code:
    # systemctl start dkms
    # systemctl enable dkms
    Hope this helps.

    Regards

    susejunky
    Thanks susejunky. I did indeed use the Leap 15 repo the first time I tried. Just by fluke I tried to change the repo to 15, which didn't work but 15.0 did.

    I did not however try installing the Intel RPM you posted. I'm not entirely sure it would work on Skylake but I'll reinstall openSUSE and give it a shot.

    I would really like to get it going because I like openSUSE, but not having switchable graphics is a dealbreaker for me. The Leap 15 instructions in the SDB:Bumblebee page don't work and are kind of a mess to use. I would like to update the page with working instructions if I can get it going. I feel that people aren't maintaining it. I also think that perhaps a separate page for Leap 15 would make it much cleaner.

    I'll report back my findings after I try it out. Thanks again.

  7. #7

    Default Re: Anyone get Nvidia Optimus working in Leap 15?

    Just a last update here...

    I tried a couple more times with the information provided by susejunky. I also followed the other thread susejunky started with updated information on getting Optimus to work with Leap 15. Every time, it seemed to be working, but never really did. Sometimes the GPU would turn off as it should on boot, it would turn on and run glxspheres perfectly and then turn off, but it would not run any Steam games, or Blender, or Kdenlive. Creating all the symlinks did not help. The only thing I could get to work was the game Rimworld which is 32-bit.

    I installed Manjaro alongside my other distros in a new partition, and I was able to install the Nvidia drivers and get optirun working perfectly with this one command:

    Code:
    sudo mhwd -a pci nonfree 0300
    After that and rebooting, everything works perfectly in Manjaro: Steam games, Blender, Kdenlive, etc... And the GPU properly powers off when done as confirmed with a Gnome extension and tlp-stat. There's also a GUI option to do the same thing.

    After that I deleted the openSUSE partitions. If it isn't supported at all and takes that much work to get it going, I don't think it's worth it.

    Thanks for you assistance but I no longer need assistance as I've deleted everything openSUSE from my systems.

    I apologize for the delay in posting this, but after being told by someone at openSUSE that they don't care about Optimus support, I had no desire to try a 7th time or think of updating this thread... For someone in a high position to say such a thing makes me question and dislike the entire brand.

  8. #8

    Default Re: Anyone get Nvidia Optimus working in Leap 15?

    I tried the official guide and failed. During several attempts I got results from not working at all to working with some kind of software rendering (instead of accelerated GPU rendering with nvidia driver).

    Then I adopted the old guide and succeeded. Obviously, someone is still maintaining the unsupported X11:Bumblebee repository, but why is official SDB databbase pushing the "new method" (that doesn't work anyway) is beyond me. The command sequence that worked for me was (as root):

    Code:
    zypper ar -f http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_Leap_15.0 Bumblebee
    zypper in bumblebee
    usermod -G video,bumblebee insert_your_username_here
    systemctl enable bumblebeed
    systemctl start bumblebeed
    echo "blacklist nouveau" >> /etc/modprobe.d/99-local.conf
    mkinitrd
    reboot
    Continue after reboot, as root:

    Code:
    zypper in patterns-devel-base-devel_kernel
    zypper in nvidia-bumblebee nvidia-bumblebee-32bit
    echo "blacklist nvidia" >> /etc/modprobe.d/99-local.conf
    systemctl enable dkms
    systemctl start dkms
    mkinitrd
    reboot
    After reboot, edit/etc/bumblebee/bumblebee.conf as root and set the following (lines that are not mentioned here, should be left unchanged, not deleted):

    Code:
    [bumblebee]
    TurnCardOffAtExit=true
    Driver=nvidia
    Finally, restart the bumblebeed deamon, as root:

    Code:
    systemctl restart bumblebeed
    And that should make it. Test as usual (as normal user):

    Code:
    optirun --status
    optirun glxspheres
    I hope this will be of use to everybody.

    Regards,
    Stanislav

  9. #9
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,274
    Blog Entries
    1

    Default Re: Anyone get Nvidia Optimus working in Leap 15?

    Quote Originally Posted by standa12 View Post
    I tried the official guide and failed. During several attempts I got results from not working at all to working with some kind of software rendering (instead of accelerated GPU rendering with nvidia driver).

    Then I adopted the old guide and succeeded. Obviously, someone is still maintaining the unsupported X11:Bumblebee repository, but why is official SDB databbase pushing the "new method" (that doesn't work anyway) is beyond me.
    Thanks for sharing what worked for you. I don't own hybrid graphics so can't comment on this, but I do note that there is a link to the old guide

    Procedure

    If you need the old instruction with X11:Bumblebee repository, it's here: https://en.opensuse.org/index.php?ti...e&oldid=118653
    Good to know that the https://download.opensuse.org/reposi...p_15.0/x86_64/ repo is relevant here.
    openSUSE Leap 15.0; KDE Plasma 5

  10. #10
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    1,635

    Default Re: Anyone get Nvidia Optimus working in Leap 15?

    Quote Originally Posted by deano_ferrari View Post
    The grep filtered the output to exclude it. To get all video (class 03) hardware reported you could use
    Code:
    /sbin/lspci -nnk|grep '\[03' -A3
    or via hwinfo...
    Code:
    /usr/sbin/hwinfo --gfxcrd
    or
    Code:
    # inxi -G
    Graphics:  Card-1: Intel HD Graphics 630 driver: i915 v: kernel
               Card-2: NVIDIA G84 [GeForce 8600 GT] driver: nouveau v: kernel
               Display: server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,intel,nouveau,nv,nvidia,vesa
               resolution: 1680x1050~60Hz
               OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2) v: 4.5 Mesa 18.1.3
    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&&&

Page 1 of 5 123 ... 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
  •