You are not logged in.

#1 2020-06-10 10:30:45

thibaulltt
Member
Registered: 2020-06-10
Posts: 5

[SOLVED] Bumblebee launches Xorg on :8, but no screens detected

I have a MSI GS65 stealth as a laptop and the arch wiki page for this laptop has a multihead section, which I followed thoroughly.

My GPU is deactivated at startup (yay, power savings !) and only activated when launching

intel-virtual-output

. However, when launching it, no displays are connected on the VIRTUAL1 output, and no displays are detected on the new Xorg server launched by bumblebee. I don't really know what I've done wrong, has anyone encountered this specific issue before ? Here are relevant parts of my config files :

/etc/bumblebee/bumblebee.conf :

# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## 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=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
# 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=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

/etc/bumblebee/xorg.conf.nvidia :

Section "ServerLayout"
    Identifier  "LayoutBumblebee"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "nvidia"
    Driver      "nvidia"
#    VendorName  "NVIDIA Corporation"
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

Section "Screen"
	Identifier "ExternalScreen"
	Device "nvidia"
EndSection

/etc/X11/xorg.conf.d/11-intel-gpu.conf :

Section "Device"
	Identifier	"intelgpu"
	Driver		"intel"
EndSection

/etc/X11/xorg.conf.d/20-monitor.conf :

Section "Monitor"
	Identifier	"integratedmonitor"
	VendorName	"MSI Integrated Monitor"
	ModelName	"MSI 15-inch Monitor"
EndSection

/etc/X11/xorg.conf.d/30-screen.conf :

Section "Screen"
	Identifier	"default_screen"
	Device		"intelgpu"
	Monitor		"integratedmonitor"
EndSection

Last edited by thibaulltt (2020-06-10 15:29:16)

Offline

#2 2020-06-10 13:29:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Bumblebee launches Xorg on :8, but no screens detected

This is only if you want to drive an external output that's wired to the nvidia chip (typipcally HDMI outputs)
If you want to utilize the nvidia GPU for … scientific projects, you'd run "optirun doom"

In that case, rather remove the config files you created in /etc/X11/xorg.conf.d and ensure to read at least the first sections of https://wiki.archlinux.org/index.php/Bu … stallation

Offline

#3 2020-06-10 14:54:16

thibaulltt
Member
Registered: 2020-06-10
Posts: 5

Re: [SOLVED] Bumblebee launches Xorg on :8, but no screens detected

seth wrote:

This is only if you want to drive an external output that's wired to the nvidia chip (typipcally HDMI outputs)
If you want to utilize the nvidia GPU for … scientific projects, you'd run "optirun doom"

In that case, rather remove the config files you created in /etc/X11/xorg.conf.d and ensure to read at least the first sections of https://wiki.archlinux.org/index.php/Bu … stallation

Oh yeah, I forgot to mention, but that's what I'm trying to do : have a secondary monitor connected via HDMI, and thus through my NVidia card. I can already run "optirun" on all applications, which leads me to believe bumblebee is setup correctly.

I'm working from home, but in a few weeks I'll be going back to work where I have a secondary monitor connected via HDMI, and I'd like to be able to use it.

Offline

#4 2020-06-10 14:55:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Bumblebee launches Xorg on :8, but no screens detected

Do you have it (or anything, eg. a Tv)  attached there *now*?

Offline

#5 2020-06-10 14:59:42

thibaulltt
Member
Registered: 2020-06-10
Posts: 5

Re: [SOLVED] Bumblebee launches Xorg on :8, but no screens detected

When I was trying, yeah : I was wired to my TV, and it was turned on, to the right input. Which is weird. The TV would detect a change when I unplugged/plugged back in the cable, but on my side nothing happened.

The Xorg server on :8 was started, but listed no monitors and yet a resolution applied to it, like this :

~ $ xrandr -d :8 -q
Screen 0: minimum 8 x 8, current 640 x 380, maximum 32767 x 32767
~ $

(The dimensions here are bogus, they would sometimes change when rebooting intel-virtual-output)

Offline

#6 2020-06-10 15:07:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Bumblebee launches Xorg on :8, but no screens detected

Have you seen https://wiki.archlinux.org/index.php/Bu … VIDIA_chip and https://github.com/Bumblebee-Project/Bu … itor-setup ?

Attach the Tv, try and post the resulting Xorg.*.log's and xrandr -q outputs for both servers.

Offline

#7 2020-06-10 15:28:41

thibaulltt
Member
Registered: 2020-06-10
Posts: 5

Re: [SOLVED] Bumblebee launches Xorg on :8, but no screens detected

Alright, well after changing the values of bumblebee's Xorg conf to those in the wiki, it now works ! Thank you, I had missed that part of the wiki. I'm marking it solved.

Offline

Board footer

Powered by FluxBB