You are not logged in.

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

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

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-11-24 17:57:16)

Offline

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

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

Re: 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)

Offline

Board footer

Powered by FluxBB