You are not logged in.

#1 2018-03-13 16:39:58

hiveNzin0
Member
Registered: 2011-10-02
Posts: 84

[SOLVED]Dell XPS 9560 - cannot have a working setup with nvidia

edit :
/etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet ipv6.disable_ipv6=1 acpi_rev_override=5 modprobe.blacklist=nouveau nouveau.modeset=0"

/etc/modprobe.d/blacklist.conf blacklist nouveau

/etc/bumblebee/bumblebee.conf [driver-nvidia]

Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia PMMethod=none

I uninstalled xf86-video-intel

------------------------------------

Hi,

I have been trying to install the nvidia propietary drivers on my Dell XPS 9560 for a while now without success.

The setup I am trying to have is using the Intel GPU for most things and use the Nvidia 1050 when I need it (machine learning).
The only thing I could make work is completely disabling the GPU (from https://wiki.archlinux.org/index.php/De … crete_GPU).

Working setup :
- bbswitch and bumblebee installed
- bumblebeed service enabled on systemd
- acpi_rev_override=1 in /etc/default/grub
- nvidia driver NOT installed
=> I can start SDDM and KDE but I don't have the Nvidia card.

Not working setup :
I tried to follow these documentation but without success, I never reach SDDM, I get a list of OK until "Started Authorization Manager" or another one like "Started Network Manager Script Dispatcher Service" and then a freeze, I cannot go into a tty, I need to reboot my laptop and use kernel parameters "1" in grub.

https://wiki.archlinux.org/index.php/NVIDIA_Optimus
https://wiki.archlinux.org/index.php/NVIDIA
https://wiki.archlinux.org/index.php/Bumblebee

1) I have "nvidia" driver installed
2) I have a file "/etc/modprobe.d/blacklist.conf" containing "blacklist nouveau"
3) I have bumblebeed installed and enabled in systemd
4) I do not have /etc/X11/xorg.conf or any conf regarding nvidia in /etc/X11/xorg.conf.d
5) I added BusID "PCI:01:00:0" in /etc/bumblebee/xorg.conf.nvidia as per the documentation and the comment in the file, my card is 01:00.0 3D NVIDIA GP107M
6) I do not have the module nvidia in /etc/mkinitcpio.conf MODULES param
7) In /usr/share/sddm/scripts/Xsetup, I have the two lines mentioned in the documentation :
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
8) my kernel parameters in /etc/default/grub are GRUB_CMDLINE_LINUX_DEFAULT="quiet ipv6.disable_ipv6=1"
9) cat /proc/acpi/bbswitch returns 0000:01:00:0 ON

When I can boot the kernel without any graphical interface:

- lsmod I grep i915 : returns some information and i915 is used two times
- lsmod I grep nouveau : nothing
- lsmod I grep nvidia : nothing

If I run startx at this moment, I get xterm windows. If I look for EE in Xorg.0.log,
I can see some errors like
failed to load module intel
failed to load module fbdev
no input driver matching synaptics
dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory)

I suppose that I can startx because it uses the intel drivers.

I tried several things like generate a nvidia Xorg config with the nvidia tool, without success.

I encountered errors like no screen found or fails to initialize glx (like here https://bbs.archlinux.org/viewtopic.php?id=224892)

The last thing I tried was just having nvidia installed and xorg.conf generated by the nvidia tool but I don't reach SDDM login screen.
With this setup, I can go to a tty when the boot "freezes", login as root and check the Xorg.log files
grep EE /var/log/Xorg* returns a few errors regarding synaptics but nothing related to the graphic card

lsmod I grep nvidia returns a few lines and nvidia_drm is used 1 time.

if I check the status of sddm : systemctl status sddm
I can see that it is active and everything looks fine (Greeter session started successfully).
I cannot execute startx without getting an error that the server is already running.

Any idea what I have done wrong or badly configured ?
I am learning machine learning and I really need to have this nvidia card working. At this point, I don't mind if it is ON all the time and draining the battery.

Thanks.

Last edited by hiveNzin0 (2018-03-14 15:09:55)

Offline

#2 2018-10-01 20:39:48

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,089
Website

Re: [SOLVED]Dell XPS 9560 - cannot have a working setup with nvidia

marecica2 wrote:

Hi
i'm experiencing same issue with this dell + manjaro 17.1.12. Could you just tell me which driver to install instead of xf86-video-intel?

Welcome to the BBS. As you'll recall from the registration process, these boards only support Archlinux. Please seek help from your own distribution's community. Additionally, necrobumping violates the Code of Conduct.

Closing.

All the best,

-HG

Offline

Board footer

Powered by FluxBB