You are not logged in.

#1 2018-11-24 17:46:05

PetrusEnus
Member
Registered: 2018-11-02
Posts: 4

[SOLVED]MSI Laptop issue with Intel and Nvidia graphics cards and Xorg

Hello,

i have an issue with my Laptop. There are 2 graphics cards in there one is a integrated Intel graphics card and the other one is a Nvidia 1060M wich is wired to the 2 outputs Mini-Displayport and a HDMI Port.
The Problem here is, that the intel graphics card puts out its screen, but the nvidia one doesn't. The second or third monitor only turns on the backlight and shows somehow a loading icon of whatever program i'm starting, like from opera, but it doesn't show anything else, no cursor nothing. And xrandr --listproviders doesn't recognize the second graphics card.

My uname -a:

 Linux archer 4.19.2-arch1-1-ARCH #1 SMP PREEMPT Tue Nov 13 21:16:19 UTC 2018 x86_64 GNU/Linux 

Output of xrandr --listproviders:

Providers: number : 1
Provider 0: id: 0x45 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 2 associated providers: 0 name:Intel

Output of lspci | egrep "(VGA|3D)" is:

00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)

But sudo lshw -c display

  *-display                 
       description: VGA compatible controller
       product: GP106M [GeForce GTX 1060 Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:136 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
  *-display
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:122 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

My /etc/X11/xorg.conf lokks like this

My /etc/bumblebee/xorg.conf.nvidia looks like this

My /etc/bumblebee/bumblebee.conf looks like this

I tried it with and without /etc/X11/xorg.conf and the /etc/bumblebee/xorg.conf.nvidia has been "normal" in the beginning it was worse in the beginning so i thought i keep it like that.

My /etc/X11/xorg.conf.d is nearly empty, just a conf for the keyboard...

My /usr/share/X11/xorg.conf.d/20-intel.conf looks like this:

Section "Device"
    Identifier "IntelDevice"
    Driver "intel"
    BusID "PCI:0:02:0"
    Option "VirtualHeads" "1"
EndSection

In here i have as well nothing else just synaptics and things like that.

/etc/bumblebee/xorg.conf.d is empty.

My /var/log/Xorg.0.log looks like this
My /var/log/Xorg.1.log looks like this
My /var/log/Xorg.8.log looks like this

I've installed these(sudo pacman -Q | grep nvidia):
lib32-nvidia-cg-toolkit 3.1-6
lib32-nvidia-utils 415.18-1
lib32-opencl-nvidia 415.18-1
nvidia 415.18-1
nvidia-cg-toolkit 3.1-5
nvidia-settings 415.18-1
nvidia-utils 415.18-1
opencl-nvidia 415.18-1

And these (sudo pacman -Q | grep intel):
intel-gpu-tools 1.22-3
intel-tbb 2019-1
intel-ucode 20180807.a-1
lib32-libva-intel-driver 2.2.0-1
lib32-libva1-intel-driver 1.8.3-1
lib32-vulkan-intel 18.2.4-1
libva-intel-driver 2.2.0-1
libva1-intel-driver 1.8.3-1
vulkan-intel 18.2.4-1
xf86-video-intel 1:2.99.917+855+g746ab3bb-1

And for sure bumblebee and bbswitch
And activated the bumblebeed.service.


I hope I have showed everything, if not ask me about it.

I tried so much I don't know what to do. Please someone help. hmm sad

Last edited by PetrusEnus (2018-12-14 17:52:06)


I run Arch on a Laptop: msi gp72mvr 7rfx-631de leopard pro.

Offline

#2 2018-12-08 15:25:47

PetrusEnus
Member
Registered: 2018-11-02
Posts: 4

Re: [SOLVED]MSI Laptop issue with Intel and Nvidia graphics cards and Xorg

No answers? Okay... i'm still struggeling with this issue, but i got it that far, that the second graphics Card got detected by xrandr somehow, because the first gpu is detected on screen 0 and as well the monitor of the laptop. On screen 1 is the second gpu detected and its monitors:
xrandr --screen 0 --listproviders

Providers: number : 1
Provider 0: id: 0x43 cap: 0x2, Sink Output crtcs: 3 outputs: 1 associated providers: 0 name:modesetting

xrandr --screen 0 -q   

         
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1920x1080     60.00 +  59.97*   59.96    59.93 
   ....
   320x180       59.84    59.32

xrandr --screen 1 --listproviders

Providers: number : 1
Provider 0: id: 0x22e cap: 0x0 crtcs: 4 outputs: 3 associated providers: 0 name:NVIDIA-1

xrandr --screen 1 -q 

           
Screen 1: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767
HDMI-0 disconnected primary (normal left inverted right x axis y axis)
DP-0 connected 1600x900+0+0 (normal left inverted right x axis y axis) 432mm x 240mm
   1600x900      60.00*+
   1280x800      59.81  
   1280x720      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DP-1 disconnected (normal left inverted right x axis y axis)

Even nvidia-settings detects the second monitor but like I said on the wrong screen..
nvidia-settings

I hope someone can help me now.

Last edited by PetrusEnus (2018-12-08 15:27:45)


I run Arch on a Laptop: msi gp72mvr 7rfx-631de leopard pro.

Offline

#3 2018-12-14 17:51:21

PetrusEnus
Member
Registered: 2018-11-02
Posts: 4

Re: [SOLVED]MSI Laptop issue with Intel and Nvidia graphics cards and Xorg

Well.. I kinda fixed it. And managed it to get a dual-screen setup working. With removing these:

sudo pacman -Rdd xf86-video-intel lib32-nvidia-cg-toolkit lib32-nvidia-utils lib32-opencl-nvidia nvidia-bumblebee-applet nvidia-cg-toolkit nvidia-dkms nvidia-settings nvidia-utils nvidia-xrun opencl-nvidia bumblebee bbswitch-dkms  vulkan-intel mesa virtualgl lib32-virtualgl lib32-libva lib32-libva1 lib32-libva1-intel-driver lib32-libva-intel-driver lib32-libva-mesa-driver lib32-mesa lib32-vulkan-intel lib32-mesa-demos

(I've had a linux-lts kernel installed, to try the dkms packages)
Then I only installed these:

sudo pacman -S mesa xf86-video-nouveau libva-mesa-driver mesa-vdpau

And i removed every .conf from the system, that would configure graphics settings. Like in

/usr/share/X11/

,

/usr/share/X11/xorg.conf.d

,

/etc/X11/

and

/etc/X11/xorg.conf.d


Then I just rebootet, and it loaded somehow.

sudo lshw -c display

  *-display                 
       description: VGA compatible controller
       product: GP106M [GeForce GTX 1060 Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:132 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
  *-display
       description: VGA compatible controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:133 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff

xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x9a cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 1 name:modesetting
Provider 1: id: 0x65 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 4 outputs: 2 associated providers: 1 name:nouveau

xrandr -q

Screen 0: minimum 320 x 200, current 3520 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+1600+0 (normal left inverted right x axis y axis) 382mm x 215mm
   1920x1080     60.00 +  59.97*   59.96    59.93  
   1680x1050     59.95    59.88  
   ......
   320x180       59.84    59.32  
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-1 connected 1600x900+0+180 (normal left inverted right x axis y axis) 432mm x 240mm
   1600x900      60.00*+
   1280x800      59.81  
   .......
  800x600 (0x71) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x75) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

lspci -k | grep -A 2 -E "(VGA|3D)"

00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
        DeviceName:  Onboard IGD
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 11d7
--
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] GP106M [GeForce GTX 1060 Mobile]
        Kernel driver in use: nouveau

my ~/.xinitrc

#!/bin/bash
#
# ~/.xinitrc

xscreensaver &

xrandr --setprovideroutputsource modesetting nouveau
xrandr --auto

exec startkde

Last edited by PetrusEnus (Yesterday 10:45:27)


I run Arch on a Laptop: msi gp72mvr 7rfx-631de leopard pro.

Offline

Board footer

Powered by FluxBB