How to make nvidia 1050 mobile works on Tumbleweed?

My hwinfo --gfxcard output

16: PCI 100.0: 0302 3D controller                               
  [Created at pci.386]
  Unique ID: VCu0.E0_6l6ojBFC
  Parent ID: vSkL.iKnhTzBR8RD
  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 0x086f 
  Revision: 0xff
  Memory Range: 0xa3000000-0xa3ffffff (rw,non-prefetchable)
  Memory Range: 0x90000000-0x9fffffff (ro,non-prefetchable)
  Memory Range: 0xa0000000-0xa1ffffff (ro,non-prefetchable)
  I/O Ports: 0x4000-0x4fff (rw)
  Memory Range: 0xa4000000-0xa407ffff (ro,non-prefetchable)
  IRQ: 16 (no events)
  Module Alias: "pci:v000010DEd00001C8Dsv00001028sd0000086Fbc03sc02i00"
  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: #12 (PCI bridge)

When i try to use prime-select and choose nvidia,i’ve got this:

modprobe: ERROR: could not insert 'nvidia': No such device
modprobe: ERROR: could not insert 'nvidia_drm': Unknown symbol in module, or unknown parameter (see dmesg)

ERROR: Unable to query GPU information

PCI BusID of NVIDIA card could not be detected!

The part of dmesg show me this errors:

   64.562567] 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.
   64.562569] 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.
   64.562576] nvidia: probe of 0000:01:00.0 failed with error -1
   64.562599] NVRM: The NVIDIA probe routine failed for 1 device(s).
   64.562600] NVRM: None of the NVIDIA graphics adapters were initialized!
   64.562837] nvidia-nvlink: Unregistered the Nvlink Core, major device number 241
   64.616722] nvidia_modeset: Unknown symbol nv_kthread_q_flush (err -2)
   64.616766] nvidia_modeset: Unknown symbol nvidia_register_module (err -2)
   64.616811] nvidia_modeset: Unknown symbol nv_kthread_q_schedule_q_item (err -2)
   64.616862] nvidia_modeset: Unknown symbol nvidia_get_rm_ops (err -2)
   64.616910] nvidia_modeset: Unknown symbol nv_kthread_q_item_init (err -2)
   64.616949] nvidia_modeset: Unknown symbol nv_kthread_q_stop (err -2)
   64.616986] nvidia_modeset: Unknown symbol nvidia_unregister_module (err -2)
   64.617032] nvidia_modeset: Unknown symbol nv_kthread_q_init (err -2)

How can i fix it? I try easy and hard way for installing driver, but no luck.

**uname -a **

Linux Hastur 5.0.13-1-default #1 SMP Sun May 5 15:48:04 UTC 2019 (b11e2d7) x86_64 x86_64 x86_64 GNU/Linux

Thx for helping

Is there only one graphics card in your system or have you not shown the complete output of **hwinfo --gfxcard?



Its a Intel/Nvidia controller:

16: PCI 100.0: 0302 3D controller

So how was nvidia installed?

I think you need bumblebee:

I found this thread here on the forum.

Post No. 17 ( sounds promising.

Maybe worth trying?!



Thx for all!

Is there only one graphics card in your system or have you not shown the complete output of hwinfo --gfxcard?

No, i just put part of output.

So how was nvidia installed?

Last time it was easiest way, from Nvidia repo.
@susejunky - Thanks for you researching! It helps!

So,finally - I unninstalled bbswitch,bumblebee. Also i’ve got an nvidia update(maybe it also helps) to 430.14-15.1. I also have blacklist noeveau in /etc/modprobe.d/50-blacklist.conf .After rebooting, i used

sudo prime-select nvidia 

and relogin. Now it all works! Thanks a lot!

Fine !!!

I have slightly different hardware (Intel HD Graphics 630 + GeForce GTX 1060 Mobile) and use (a fork of openSUSEs SUSEprime) with openSUSE Tumbleweed. It works fine even with bbswitch (0.8-7.86 from the Tumbleweed repository) installed.

The README which comes with that software states:

Do not use this script with other prime tools such as Bumblebee or the original suse-prime.” and “If Xorg starts with a black screen or not at all … eventually uninstall package xf86-video-nouveau.

So probably the main reason for your problem was having SUSEprime and bumblebee installed in parallel. However i do have different hardware …