You are not logged in.

#1 2020-02-20 02:12:18

jiv222
Member
Registered: 2019-01-14
Posts: 54

Help getting Dell XPS 15 9570 to use Nvidia GPU

Hello,

For a while now, I've been trying to get my Dell XPS 15 9570 to utilize the 1050Ti GPU inside of it.  I have tried all solutions offered in the XPS 9570, but none have worked.  On a prior install of Arch (about a year ago), I managed to get this solution to work perfectly, however either the driver or kernel updates since that time have caused it to not work at all.  I've also tried installing optimus-manager, but was unable to start X when setting the nvidia card as the default startup mode.

Here is everything I believe is or could be relevant to solving this.  In reality, I'd like the ability to turn the GPU completely off when not using it, but really just want to be able to utilize it in some form. I keep my laptop plugged in most of the day, so I'm not overly worried about battery life.  This is the most recent option I've tried, using PRIME, but receive the following errors

NVIDIA GLX Module  440.59  Thu Jan 30 01:05:38 UTC 2020
[    24.881] (II) NVIDIA: The X server supports PRIME Render Offload.
[    28.994] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[    28.994] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[    28.994] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[    28.994] (EE) NVIDIA(GPU-0):     README for additional information.
[    28.994] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[    28.994] (EE) NVIDIA(G0): Failing initialization of X screen

The full Xorg.0.log file is here: https://pastebin.com/rhgjhVKP

Additionally, this is the output of

nvidia-bug-report.sh

https://pastebin.com/BSWvc48c

Here is some additional info that may be important:

uname -r
5.4.19-1-lts
pacman -Q nvidia
nvidia-lts 1:440.59-5
pacman -Q linux-lts
linux-lts 5.4.19-1
pacman -Q | grep nvidia
nvidia-lts 1:440.59-5
nvidia-prime 1.0-1
nvidia-settings 440.59-1
nvidia-utils 440.59-1
opencl-nvidia 440.59-1
journalctl -b | grep nvidia

https://pastebin.com/7Lv2MyDY

I am using this Xorg conf file for nvidia:

/etc/X11/xorg.conf.d/20-nvidia.conf
Section "ServerLayout"
        Identifier      "layout"
        Screen          0 "iGPU"
        Option          "AllowNVIDIAGPUScreens"
EndSection

Section "Device"
        Identifier      "iGPU"
        Driver          "modesetting"
EndSection

Section "Screen"
        Identifier      "iGPU"
        Device          "iGPU"
EndSection

Section "Device"
        Identifier      "dGPU"
        Driver          "nvidia"
        BusID           "01:00.0"
        VendorName      "NVIDIA Corporation"
EndSection

Output of

prime-run glxinfo
name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  39
  Current serial number in output stream:  40

Output of

 lspci | grep -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)

If anyone has any clue what's stopping my GPU from working, any help is greatly appreciated.  I feel like I've tried everything, so I figured posting here may be my last shot until some further updates or a new laptop.  At this point, I'm not even sure the GPU still works.  Thanks a lot for the help in advance.

Offline

#2 2020-02-20 09:38:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,753

Re: Help getting Dell XPS 15 9570 to use Nvidia GPU

Offline

#3 2020-04-08 10:19:30

j0sh_on_arch
Member
Registered: 2020-04-08
Posts: 3

Re: Help getting Dell XPS 15 9570 to use Nvidia GPU

Hi,

I can confirm the exact same problem with my XPS 15 9570.
Looks like it's not possible to use the Nvidia GTX 1050ti. It was working some time ago.
Nothing I found does work. I've really tried everything hmm
it would be really helpful if someone with a deeper understanding could look at the problem.

Thank you!

Offline

#4 2020-04-08 11:39:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,753

Re: Help getting Dell XPS 15 9570 to use Nvidia GPU

Please open your own thread and post your configuration and the outputs like jiv222's example.

Offline

#5 2020-04-08 11:59:19

j0sh_on_arch
Member
Registered: 2020-04-08
Posts: 3

Re: Help getting Dell XPS 15 9570 to use Nvidia GPU

Hello V1del.

I do not have a question. That was my answer.
Without really researching what the problem is, you won't be able to use the graphics card. It has nothing to do with configuration.
The graphics card only works for those who don't have a specific update yet. Maybe a bios upgrade, maybe a kernel upgrade (but I've already tested a lot).
I think you have to put up with it. I already spent days trying to find a solution. We have 50 of the Latops and most have the problem. Some of them running Ubuntu are still working..

Offline

#6 2020-04-08 12:05:07

fistrosan
Member
Registered: 2020-04-01
Posts: 28

Re: Help getting Dell XPS 15 9570 to use Nvidia GPU

jiv222: I managed to get my GTX 1050 Ti working along with my Intel Graphics just yesterday on my Lenovo using optimus. I dunno if my experience can help you, but something you said strikes me as similar because I also had problems to get NVIDIA set up as the starting card using optimus. At the end it turned out to be a missing conf file. The config file is /etc/X11/xorg.conf.d/10-optimus-manager.conf. Can you confirm that it exists in your system ?

Unknown to me and not mentioned here: https://aur.archlinux.org/packages/optimus-manager/, nor here: https://github.com/Askannz/optimus-manager/ this config file had to be created by running a few times:

sudo optimus-manager-setup --setup-gpu

Run the above command while 1) intel card was active on its own (optimus-manager --switch intel), and 2) while NVIVIA was active on its own (optimus-manager --switch nvidia). To have both cards available the config file should have two entries in Section "Device", one with identifier "intel" and another with identifier "nvidia". Only then I managed to switch between them normally. I checked that this one indeed the case by benchmarking my fps with unigine tools.

Offline

#7 2020-04-08 13:21:19

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,083

Re: Help getting Dell XPS 15 9570 to use Nvidia GPU

fistrosan, glad you solved it .

Your description of that conf-file sounds very similar to one that was used before nvidia started supporting prime.
Please post it.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#8 2020-04-08 18:03:18

dkcampbell
Member
Registered: 2009-04-10
Posts: 11

Re: Help getting Dell XPS 15 9570 to use Nvidia GPU

I have the GTX 1050 working on a Dell XPS 16 9570 laptop. One of the things I had to do when I upgraded the drivers to the version that supports prime offloading, was to go back and undo all of the configuration changes I had done to get the older driver working with bumblebee. I don't have any custom X.org conf files, other configurations. Once I cleaned out my old configurations, all I had to do was install the nvidia-prime package.

Offline

#9 2020-04-09 10:01:30

j0sh_on_arch
Member
Registered: 2020-04-08
Posts: 3

Re: Help getting Dell XPS 15 9570 to use Nvidia GPU

Hello Guys,
since you only refer to Optimus Manager. The problem is not only with prime, bb or other offloading tools.
The problem is that the graphics card is not working at all. Not even with the normal driver.

greetings
josh

Last edited by j0sh_on_arch (2020-04-09 10:01:51)

Offline

#10 2020-04-09 10:41:04

YCH
Member
Registered: 2014-01-28
Posts: 47

Re: Help getting Dell XPS 15 9570 to use Nvidia GPU

I've running 1050 on xps 15 9560 with prime render offload(prime-run).

Check whether bumblebee package installed. It black list nvidia module somewhere in /usr/lib/*


YCH

Offline

Board footer

Powered by FluxBB