You are not logged in.
Hi!
This is getting me really nuts. I've tried many different solutions, and finally decide to post here.
I have a 2016 MSI GS63VR laptop, and I followed the Wiki (https://wiki.archlinux.org/index.php/MSI_GS63VR) to set it up. Everything is working all right except the external monitor configuration. First of all, I'm using Wayland, and I'm not sure if this might be the cause of it all, I tried finding info about it, but didn't get anything.
I'm using Bumblebee. When running
intel-virtual-output
I get "No VIRTUAL outputs on ":0".". When running
optirun intel-virtual-output
I get the same output, although if I use optirun to run the glxgears program it works properly... I'd like to be able to use only Bumblebee to manage the external monitor, but I don't know if that's possible and I'll have to use the integrated Intel video card via optirun.
When connecting an external monitor in the HDMI port there is no reaction at all. Here are my config files, if I'm missing something, just let me know and I'll include it here.
/etc/bumblebee/xorg.conf.nvidia
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "true"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
BusID "PCI:01:00:0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "false"
Option "AllowEmptyInitialConfiguration" "true"
Option "NoLogo" "true"
Option "UseEDID" "true"
#Option "UseDisplayDevice" "none"
EndSection
/etc/bumblebee/bumblebee.conf
[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=true
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=
XorgConfDir=/etc/bumblebee/xorg.conf.d
[optirun]
Bridge=auto
VGLTransport=proxy
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
AllowFallbackToIGC=false
## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=bbswitch
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=bbswitch
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
lspci | egrep 'VGA|3D' output
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 ff)
Any help will be much appreciated. Thanks! :-)
Last edited by PizzicatoAlAparato (2018-12-11 10:36:40)
Offline
You using wayland is the cause of this all, try on Xorg.
xf86-video-intel is never invoked in a wayland context so intel-virtual-output will not work either way, furthermore nvidia doesn't properly support wayland (or GNOME doesn't on nvidia, but ultimately a technicality, it simply won't work on wayland right now)
"Just" optirun works because that opens up a hidden xorg server that can then register as a normal window on your normal intel context, however the fact that you have to be able to display something on the nvidia gpu complicates this and you are likely to have to use intel-virtual-output
Last edited by V1del (2018-12-05 10:52:56)
Online
All right!
Now everything seems to be moving forward. I haven't been able to make it work yet, but I'm almost there. Should I mark this as solved or wait until I got it fully working, in case something comes up that I cannot solve?
Thanks a ton!!
Offline
That's your call to make, however if there's still anything off in this regard, it would be better to keep it in this topic so that it's logically at the same spot.
Online
Yay! Finally it's working! Thanks for your help, I could have been ages changes things, but not fixing anything.
Offline