Driver nvidia for GTX 1650 - XPS 15 7590

I have a problem with my pc XPS 15 7590.
It has two graphics card:

$ inxi -G                                                                                                                                                                         dom 22 set 2019, 21:03:46
Graphics:  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
           Device-2: NVIDIA driver: N/A 
           Display: wayland server: 1.20.5 driver: N/A resolution: <xdpyinfo missing> 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) v: 4.5 Mesa 19.1.5

I follow this wiki for nvidia driver=>
but when I run nvidia-settings, I have this error :

$ sudo nvidia-settings                                                                                                                                               3569ms  dom 22 set 2019, 21:05:44
No protocol specified
Unable to init server: Impossibile connettersi: Connessione rifiutata

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

This is the log of bumblebeed:

$ systemctl status bumblebeed                                                                                                                                         263ms  dom 22 set 2019, 21:07:20
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2019-09-22 20:10:44 CEST; 56min ago
 Main PID: 853 (bumblebeed)
    Tasks: 1 (limit: 4915)
   Memory: 43.8M
   CGroup: /system.slice/bumblebeed.service
           └─853 /usr/bin/bumblebeed --use-syslog

set 22 20:10:44 sarovin-pc systemd[1]: Started Bumblebee C Daemon.
set 22 20:10:44 sarovin-pc bumblebeed[853]: /usr/bin/bumblebeed 3.2.1-2017-02-27-Format:%h$ started
set 22 20:11:11 sarovin-pc bumblebeed[853]: Could not enable discrete graphics card
set 22 21:07:01 sarovin-pc bumblebeed[853]: Could not load GPU driver
set 22 21:07:20 sarovin-pc bumblebeed[853]: Could not load GPU driver

How can I solve?

Other info:

$ cat  /proc/acpi/bbswitch                                                                                                                                            422ms  dom 22 set 2019, 21:09:31
0000:01:00.0 ON
$ mhwd                                                                                                                                                                            dom 22 set 2019, 21:10:49
> 0000:01:00.0 (0302:10de:1f91) Display controller nVidia Corporation:
                  NAME               VERSION          FREEDRIVER           TYPE
video-hybrid-intel-nvidia-430xx-bumblebee            2019.08.24               false            PCI
video-hybrid-intel-nvidia-418xx-bumblebee            2019.08.24               false            PCI
    video-nvidia-435xx            2019.08.25               false            PCI
    video-nvidia-430xx            2019.08.25               false            PCI
    video-nvidia-418xx            2019.08.24               false            PCI
           video-linux            2018.05.04                true            PCI

> 0000:00:02.0 (0300:8086:3e9b) Display controller Intel Corporation:
                  NAME               VERSION          FREEDRIVER           TYPE
video-hybrid-intel-nvidia-430xx-bumblebee            2019.08.24               false            PCI
video-hybrid-intel-nvidia-418xx-bumblebee            2019.08.24               false            PCI
           video-linux            2018.05.04                true            PCI
            video-vesa            2017.03.12                true            PCI
$ sudo dmesg
[ 3901.111921] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[ 3901.112428] NVRM: The NVIDIA GPU 0000:01:00.0
               NVRM: (PCI ID: 10de:1f91) installed in this system has
               NVRM: fallen off the bus and is not responding to commands.
[ 3901.112435] nvidia: probe of 0000:01:00.0 failed with error -1
[ 3901.112443] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 3901.112443] NVRM: None of the NVIDIA devices were initialized.
[ 3901.112706] nvidia-nvlink: Unregistered the Nvlink Core, major device number 236

It seems like you are using bumblebee, which is a pain!
Try following this guide and install optimus-manager

I have Manjaro i3 edition installed on a dual GPU system, here's the post, maybe could be helpful

Thanks Lles, but I read this Only X session is supported (no Wayland).
I need wayland for dual monitor :frowning:

Wayland and Nvidia are not friends. :frowning:

1 Like

So the problem is that you can't configure your system to work on dual monitors?

:disappointed_relieved: not good.

So I must switch to open driver, right?

I must use wayland for dual monitor with different DPI. My laptop have a HiDPI screen.

I think you should uninstall bumblebee and install optimus-manager or prime. After you can see output on your HDMI screen you can set it up with arandr or xrandr. As Pandemum said in this article:

Basically if your hidpi monitor is AxB pixels and your regular monitor is CxD and you are scaling by [ExF], the commandline for right-of is:

xrandr --output eDP1 --auto --output HDMI1 --auto --panning [C*E]x[D*F]+[A]+0 --scale [E]x[F] --right-of eDP1
1 Like

Ok, I switch to X11 and now I can switch from nvidia to intel with optimus-manager :muscle: .

Lles can you help me with xrandr??

I have two screen:

  • laptop screen is HiDPI 3840x2160 ( 16:9 ) 15.6"
  • HDMI Screen is 1920x1080 ( 16:9 ) 27"
1 Like

Before using xrandr i'd say to try with arandr. You can achieve this by running

$ arandr

In terminal, then a window with a GUI will appear and you can set up monitors from there!
You can also right-click on a monitor to set the resolution, if it's active or primary screen. Here's a screenshot of my setup with 1 HDMI

As you can see, i setup the HDMI monitor to the right of the main screen (eDP-1-1) and the black line under the name means it's the primary screen. You can drag the monitor on top of it, left, bottom right, wherever you want! then click the :heavy_check_mark: on upper menu and...BOOM BABY!! Remember that if you are using optimus-manager you have to run

$ optimus-manager --switch nvidia

when you need double HDMI screen, otherwise switch to old one by running

$ optimus-manager --switch intel

PS. When you use the nvidia card, the battery life drastically goes down.
PPS. Tell me if right-clicking on the HDMI screen let you choose the wanted resolution, otherwise we have to use xrandr!

this is my configuration for xrandr:

xrandr --output eDP-1 --primary --scale 0.9999x0.9999 --mode 3840x2160 --pos 0x2160 --rotate normal --output DP-3 --mode 1920x1080 --pos 0x0 --rotate normal --scale 2x2
1 Like

For multi-monitor setup I recommend this video:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by